[INFO] cloning repository https://github.com/3nabla3/ttt_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/3nabla3/ttt_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3nabla3%2Fttt_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3nabla3%2Fttt_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d1dd5e80c0371a45a1b5ed5cf9964f1067bc8859
[INFO] checking 3nabla3/ttt_rust against master#f8463896a9b36a04899c013bd8825a7fd29dd7a4 for pr-151920
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3nabla3%2Fttt_rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/3nabla3/ttt_rust
[INFO] finished tweaking git repo https://github.com/3nabla3/ttt_rust
[INFO] tweaked toml for git repo https://github.com/3nabla3/ttt_rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/3nabla3/ttt_rust on toolchain f8463896a9b36a04899c013bd8825a7fd29dd7a4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/3nabla3/ttt_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fdec94df9501ad093b758fd72fbbd0062753d626b8416fbc6ea3cc3ac0ce28c4
[INFO] running `Command { std: "docker" "start" "-a" "fdec94df9501ad093b758fd72fbbd0062753d626b8416fbc6ea3cc3ac0ce28c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fdec94df9501ad093b758fd72fbbd0062753d626b8416fbc6ea3cc3ac0ce28c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fdec94df9501ad093b758fd72fbbd0062753d626b8416fbc6ea3cc3ac0ce28c4", kill_on_drop: false }`
[INFO] [stdout] fdec94df9501ad093b758fd72fbbd0062753d626b8416fbc6ea3cc3ac0ce28c4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] af222f8fdc573e70abeb9973308a0be3902cec108527f1285ad16390a76422fd
[INFO] running `Command { std: "docker" "start" "-a" "af222f8fdc573e70abeb9973308a0be3902cec108527f1285ad16390a76422fd", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking ttt_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `playing` is never read
[INFO] [stdout]   --> src/minimax/mod.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct Minimax {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 40 |     playing: Player,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_playing`, `get_difficulty`, `get_node_score`, and `minimax` are never used
[INFO] [stdout]    --> src/minimax/mod.rs:48:12
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl Minimax {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  48 |     pub fn new(playing: Player) -> Minimax {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  61 |     pub fn get_playing(&self) -> Player {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub fn get_difficulty(&self) -> Difficulty {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     fn get_node_score(node: &mut Node, maximizing: bool) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn minimax(node: &Node, mut alpha: i32, mut beta: i32, maximizing: bool) -> i32 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidInput` is never constructed
[INFO] [stdout]   --> src/ttt/error.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub enum TicTacToeError {
[INFO] [stdout]    |          -------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     InvalidInput(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TicTacToeError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/minimax/child_gen.rs:10:31
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn generate_children(ttt: &TicTacToe) -> ChildGen {
[INFO] [stdout]    |                               ^^^^^^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn generate_children(ttt: &TicTacToe) -> ChildGen<'_> {
[INFO] [stdout]    |                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `playing` is never read
[INFO] [stdout]   --> src/minimax/mod.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct Minimax {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 40 |     playing: Player,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `get_playing`, `get_difficulty`, `get_node_score`, and `minimax` are never used
[INFO] [stdout]    --> src/minimax/mod.rs:61:12
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl Minimax {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  61 |     pub fn get_playing(&self) -> Player {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub fn get_difficulty(&self) -> Difficulty {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     fn get_node_score(node: &mut Node, maximizing: bool) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn minimax(node: &Node, mut alpha: i32, mut beta: i32, maximizing: bool) -> i32 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidInput` is never constructed
[INFO] [stdout]   --> src/ttt/error.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub enum TicTacToeError {
[INFO] [stdout]    |          -------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     InvalidInput(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TicTacToeError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/minimax/child_gen.rs:10:31
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn generate_children(ttt: &TicTacToe) -> ChildGen {
[INFO] [stdout]    |                               ^^^^^^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn generate_children(ttt: &TicTacToe) -> ChildGen<'_> {
[INFO] [stdout]    |                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.72s
[INFO] running `Command { std: "docker" "inspect" "af222f8fdc573e70abeb9973308a0be3902cec108527f1285ad16390a76422fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af222f8fdc573e70abeb9973308a0be3902cec108527f1285ad16390a76422fd", kill_on_drop: false }`
[INFO] [stdout] af222f8fdc573e70abeb9973308a0be3902cec108527f1285ad16390a76422fd
