[INFO] cloning repository https://github.com/binarybana/mancala_ai [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/binarybana/mancala_ai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinarybana%2Fmancala_ai", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinarybana%2Fmancala_ai'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 313c942e9dcfc52cfa0ccbcf70384a64fbdb840d [INFO] checking binarybana/mancala_ai against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinarybana%2Fmancala_ai" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/binarybana/mancala_ai on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/binarybana/mancala_ai [INFO] finished tweaking git repo https://github.com/binarybana/mancala_ai [INFO] tweaked toml for git repo https://github.com/binarybana/mancala_ai written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/binarybana/mancala_ai already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded docopt v0.6.86 [INFO] [stderr] Downloaded log v0.4.0 [INFO] [stderr] Downloaded bincode v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e0536217966db8350581a03fa78581f251cf802ba261b79d657444468c8551f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1e0536217966db8350581a03fa78581f251cf802ba261b79d657444468c8551f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e0536217966db8350581a03fa78581f251cf802ba261b79d657444468c8551f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e0536217966db8350581a03fa78581f251cf802ba261b79d657444468c8551f", kill_on_drop: false }` [INFO] [stdout] 1e0536217966db8350581a03fa78581f251cf802ba261b79d657444468c8551f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bccbafa88317e17fde8a2aab5bf93e20ee0b029d6d678622cb040de6ac20447 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6bccbafa88317e17fde8a2aab5bf93e20ee0b029d6d678622cb040de6ac20447", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking log v0.4.0 [INFO] [stderr] Checking docopt v0.6.86 [INFO] [stderr] Checking bincode v0.6.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking mancala v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mancala.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | try!(write!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mancala.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | try!(write!(f, "{:2} |", house)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mancala.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | try!(write!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mancala.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | try!(write!(f, "{:2} |", house)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/packed_actions.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | try!(write!(f, "(len: {}; ", self.length())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/packed_actions.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | try!(write!(f, "{},", val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/player.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | mut p1: Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/player.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | mut p2: Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | p1 as Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | p2 as Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AIPlayer` [INFO] [stdout] --> src/mancala.rs:456:22 [INFO] [stdout] | [INFO] [stdout] 456 | let mut p1 = AIPlayer::new(state); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 309 | use player::AIPlayer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mancala.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | try!(write!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mancala.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | try!(write!(f, "{:2} |", house)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mancala.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | try!(write!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mancala.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | try!(write!(f, "{:2} |", house)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/packed_actions.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | try!(write!(f, "(len: {}; ", self.length())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/packed_actions.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | try!(write!(f, "{},", val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/player.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | mut p1: Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/player.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | mut p2: Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | p1 as Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | p2 as Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `P1Win` is named the same as one of the variants of the type `Outcome` [INFO] [stdout] --> src/player.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 174 | Some(P1Win) => println!("You won!"), [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `Outcome::P1Win` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `P2Win` is named the same as one of the variants of the type `Outcome` [INFO] [stdout] --> src/player.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | Some(P2Win) => println!("You Lost!"), [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `Outcome::P2Win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Tie` is named the same as one of the variants of the type `Outcome` [INFO] [stdout] --> src/player.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | Some(Tie) => println!("Tied!?!"), [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `Outcome::Tie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/player.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | Some(P2Win) => println!("You Lost!"), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/player.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | Some(Tie) => println!("Tied!?!"), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `P1Win` [INFO] [stdout] --> src/player.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 174 | Some(P1Win) => println!("You won!"), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_P1Win` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `P2Win` [INFO] [stdout] --> src/player.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | Some(P2Win) => println!("You Lost!"), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_P2Win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Tie` [INFO] [stdout] --> src/player.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | Some(Tie) => println!("Tied!?!"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Tie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_state` [INFO] [stdout] --> src/player.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | starting_state: GameState, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mancala` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variant is never constructed: `P1` [INFO] [stdout] --> src/mancala.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | P1, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `P2` [INFO] [stdout] --> src/mancala.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | P2, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P1Win` should have a snake case name [INFO] [stdout] --> src/player.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 174 | Some(P1Win) => println!("You won!"), [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `p1_win` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P2Win` should have a snake case name [INFO] [stdout] --> src/player.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | Some(P2Win) => println!("You Lost!"), [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `p2_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Tie` should have a snake case name [INFO] [stdout] --> src/player.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | Some(Tie) => println!("Tied!?!"), [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `tie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6bccbafa88317e17fde8a2aab5bf93e20ee0b029d6d678622cb040de6ac20447", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bccbafa88317e17fde8a2aab5bf93e20ee0b029d6d678622cb040de6ac20447", kill_on_drop: false }` [INFO] [stdout] 6bccbafa88317e17fde8a2aab5bf93e20ee0b029d6d678622cb040de6ac20447