[INFO] cloning repository https://github.com/robinsonj/ruke-cli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robinsonj/ruke-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinsonj%2Fruke-cli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinsonj%2Fruke-cli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4f70a38ae77b279d01fc9ed023a365abe0e7f619
[INFO] testing robinsonj/ruke-cli against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinsonj%2Fruke-cli" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/robinsonj/ruke-cli on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/robinsonj/ruke-cli
[INFO] finished tweaking git repo https://github.com/robinsonj/ruke-cli
[INFO] tweaked toml for git repo https://github.com/robinsonj/ruke-cli written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/robinsonj/ruke-cli already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded toml v0.4.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8b25b426254cd0b46f062305f606c3043b58c602566d9206261784752b2869b4
[INFO] running `Command { std: "docker" "start" "-a" "8b25b426254cd0b46f062305f606c3043b58c602566d9206261784752b2869b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8b25b426254cd0b46f062305f606c3043b58c602566d9206261784752b2869b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b25b426254cd0b46f062305f606c3043b58c602566d9206261784752b2869b4", kill_on_drop: false }`
[INFO] [stdout] 8b25b426254cd0b46f062305f606c3043b58c602566d9206261784752b2869b4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b7d4b6ae3d0af8c4308b8b94aeca968a7de142167663bdf1d9bcbc4aa5b16c44
[INFO] running `Command { std: "docker" "start" "-a" "b7d4b6ae3d0af8c4308b8b94aeca968a7de142167663bdf1d9bcbc4aa5b16c44", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.8
[INFO] [stderr]    Compiling libc v0.2.23
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling rand v0.3.15
[INFO] [stderr]    Compiling serde_derive_internals v0.15.1
[INFO] [stderr]    Compiling serde_derive v1.0.8
[INFO] [stderr]    Compiling toml v0.4.1
[INFO] [stderr]    Compiling ruke v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `FULL`
[INFO] [stdout]  --> src/duke/board.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitboard::{BitBoard, EMPTY, FULL};
[INFO] [stdout]   |                                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/duke/player/mod.rs:12:24
[INFO] [stdout]    |
[INFO] [stdout] 12 |   fn setup_duke(&self, &Board) -> Option<MoveType>;
[INFO] [stdout]    |                        ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Board`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pink_duke`
[INFO] [stdout]   --> src/duke/mod.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let pink_duke: Option<MoveType> = self.pink.as_ref().unwrap().setup_duke(&(self.board));
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pink_duke`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `square`
[INFO] [stdout]   --> src/duke/player/ai_random.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 |       let square: Square = *(thread_rng().choose(&valid).take().unwrap());
[INFO] [stdout]    |           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `summon`
[INFO] [stdout]   --> src/duke/player/ai_random.rs:35:11
[INFO] [stdout]    |
[INFO] [stdout] 35 |       let summon = Summon::new();
[INFO] [stdout]    |           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_summon`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/duke/board.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mut board = String::new();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/duke/board.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let mut board = String::new();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `FULL`
[INFO] [stdout]  --> src/bitboard.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const FULL:   BitBoard  = BitBoard(0xFFFFFFFFFFFFFFFFu64);
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `GRAVEYARD`
[INFO] [stdout]  --> src/duke/board.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const GRAVEYARD:  u8  = 255;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `BAG`
[INFO] [stdout]   --> src/duke/board.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const BAG:        u8  = 254;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `NUM_COLORS`
[INFO] [stdout]   --> src/duke/color.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const NUM_COLORS: usize = 2;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ALL_COLORS`
[INFO] [stdout]   --> src/duke/color.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const ALL_COLORS: [Color; NUM_COLORS] = [Color::Pink, Color::Blue];
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `index`
[INFO] [stdout]   --> src/duke/color.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 |   pub fn index(&self) -> usize {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `opponent_backrank`
[INFO] [stdout]   --> src/duke/color.rs:33:10
[INFO] [stdout]    |
[INFO] [stdout] 33 |   pub fn opponent_backrank(&self) -> Rank {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `A`
[INFO] [stdout]  --> src/duke/file.rs:4:3
[INFO] [stdout]   |
[INFO] [stdout] 4 |   A,
[INFO] [stdout]   |   ^
[INFO] [stdout]   |
[INFO] [stdout] note: `File` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/duke/file.rs:2:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[derive(PartialOrd, PartialEq, Copy, Clone, Debug)]
[INFO] [stdout]   |                                       ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `B`
[INFO] [stdout]  --> src/duke/file.rs:5:3
[INFO] [stdout]   |
[INFO] [stdout] 5 |   B,
[INFO] [stdout]   |   ^
[INFO] [stdout]   |
[INFO] [stdout] note: `File` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/duke/file.rs:2:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[derive(PartialOrd, PartialEq, Copy, Clone, Debug)]
[INFO] [stdout]   |                                       ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `C`
[INFO] [stdout]  --> src/duke/file.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 |   C,
[INFO] [stdout]   |   ^
[INFO] [stdout]   |
[INFO] [stdout] note: `File` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/duke/file.rs:2:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[derive(PartialOrd, PartialEq, Copy, Clone, Debug)]
[INFO] [stdout]   |                                       ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `D`
[INFO] [stdout]  --> src/duke/file.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 7 |   D,
[INFO] [stdout]   |   ^
[INFO] [stdout]   |
[INFO] [stdout] note: `File` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/duke/file.rs:2:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[derive(PartialOrd, PartialEq, Copy, Clone, Debug)]
[INFO] [stdout]   |                                       ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `E`
[INFO] [stdout]  --> src/duke/file.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 |   E,
[INFO] [stdout]   |   ^
[INFO] [stdout]   |
[INFO] [stdout] note: `File` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/duke/file.rs:2:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[derive(PartialOrd, PartialEq, Copy, Clone, Debug)]
[INFO] [stdout]   |                                       ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `F`
[INFO] [stdout]  --> src/duke/file.rs:9:3
[INFO] [stdout]   |
[INFO] [stdout] 9 |   F
[INFO] [stdout]   |   ^
[INFO] [stdout]   |
[INFO] [stdout] note: `File` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/duke/file.rs:2:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[derive(PartialOrd, PartialEq, Copy, Clone, Debug)]
[INFO] [stdout]   |                                       ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ALL_FILES`
[INFO] [stdout]   --> src/duke/file.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | / pub const ALL_FILES: [File; NUM_FILES] = [
[INFO] [stdout] 17 | |   File::A,
[INFO] [stdout] 18 | |   File::B,
[INFO] [stdout] 19 | |   File::C,
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |   File::F
[INFO] [stdout] 23 | | ];
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `from_index`
[INFO] [stdout]   --> src/duke/file.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 |   pub fn from_index(i: usize) -> File {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `index`
[INFO] [stdout]   --> src/duke/file.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 |   pub fn index(&self) -> usize {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `left`
[INFO] [stdout]   --> src/duke/file.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 |   pub fn left(&self) -> File {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `right`
[INFO] [stdout]   --> src/duke/file.rs:49:10
[INFO] [stdout]    |
[INFO] [stdout] 49 |   pub fn right(&self) -> File {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `source`
[INFO] [stdout]  --> src/duke/move_type/mod.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 7 |   source:       Option<Square>,
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `MoveType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/duke/move_type/mod.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Copy, Clone, Debug)]
[INFO] [stdout]   |                ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `destination`
[INFO] [stdout]  --> src/duke/move_type/mod.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 |   destination:  Option<Square>,
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `MoveType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/duke/move_type/mod.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Copy, Clone, Debug)]
[INFO] [stdout]   |                ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `remove`
[INFO] [stdout]  --> src/duke/move_type/mod.rs:9:3
[INFO] [stdout]   |
[INFO] [stdout] 9 |   remove:       Option<Square>,
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `MoveType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/duke/move_type/mod.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Copy, Clone, Debug)]
[INFO] [stdout]   |                ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `flip`
[INFO] [stdout]   --> src/duke/move_type/mod.rs:10:3
[INFO] [stdout]    |
[INFO] [stdout] 10 |   flip:         Option<Square>
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `MoveType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/duke/move_type/mod.rs:5:16
[INFO] [stdout]    |
[INFO] [stdout] 5  | #[derive(Copy, Clone, Debug)]
[INFO] [stdout]    |                ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Second`
[INFO] [stdout]  --> src/duke/rank.rs:5:3
[INFO] [stdout]   |
[INFO] [stdout] 5 |   Second,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Rank` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/duke/rank.rs:2:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[derive(PartialOrd, PartialEq, Copy, Clone, Debug)]
[INFO] [stdout]   |                                       ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Third`
[INFO] [stdout]  --> src/duke/rank.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 |   Third,
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Rank` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/duke/rank.rs:2:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[derive(PartialOrd, PartialEq, Copy, Clone, Debug)]
[INFO] [stdout]   |                                       ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Fourth`
[INFO] [stdout]  --> src/duke/rank.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 7 |   Fourth,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Rank` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/duke/rank.rs:2:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[derive(PartialOrd, PartialEq, Copy, Clone, Debug)]
[INFO] [stdout]   |                                       ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Fifth`
[INFO] [stdout]  --> src/duke/rank.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 |   Fifth,
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Rank` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/duke/rank.rs:2:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[derive(PartialOrd, PartialEq, Copy, Clone, Debug)]
[INFO] [stdout]   |                                       ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ALL_RANKS`
[INFO] [stdout]   --> src/duke/rank.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | / pub const ALL_RANKS: [Rank; NUM_RANKS] = [
[INFO] [stdout] 17 | |   Rank::First,
[INFO] [stdout] 18 | |   Rank::Second,
[INFO] [stdout] 19 | |   Rank::Third,
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |   Rank::Sixth
[INFO] [stdout] 23 | | ];
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `from_index`
[INFO] [stdout]   --> src/duke/rank.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 |   pub fn from_index(i: usize) -> Rank {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `down`
[INFO] [stdout]   --> src/duke/rank.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 |   pub fn down(&self) -> Rank {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `up`
[INFO] [stdout]   --> src/duke/rank.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 |   pub fn up (&self) -> Rank {
[INFO] [stdout]    |          ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `NUM_SQUARES`
[INFO] [stdout]   --> src/duke/square.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const NUM_SQUARES: usize = 36;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `make`
[INFO] [stdout]   --> src/duke/square.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 |   pub fn make(r: Rank, f: File) -> Square {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `rank`
[INFO] [stdout]   --> src/duke/square.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 24 |   pub fn rank(&self) -> Rank {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `file`
[INFO] [stdout]   --> src/duke/square.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 |   pub fn file(&self) -> File {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `up`
[INFO] [stdout]   --> src/duke/square.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 |   pub fn up(&self) -> Option<Square> {
[INFO] [stdout]    |          ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `down`
[INFO] [stdout]   --> src/duke/square.rs:43:10
[INFO] [stdout]    |
[INFO] [stdout] 43 |   pub fn down(&self) -> Option<Square> {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `right`
[INFO] [stdout]   --> src/duke/square.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 |   pub fn right(&self) -> Option<Square> {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `left`
[INFO] [stdout]   --> src/duke/square.rs:61:10
[INFO] [stdout]    |
[INFO] [stdout] 61 |   pub fn left(&self) -> Option<Square> {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `player_forward`
[INFO] [stdout]   --> src/duke/square.rs:70:10
[INFO] [stdout]    |
[INFO] [stdout] 70 |   pub fn player_forward(&self, color: Color) -> Option<Square> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `player_backward`
[INFO] [stdout]   --> src/duke/square.rs:78:10
[INFO] [stdout]    |
[INFO] [stdout] 78 |   pub fn player_backward(&self, color: Color) -> Option<Square> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `player_left`
[INFO] [stdout]   --> src/duke/square.rs:86:10
[INFO] [stdout]    |
[INFO] [stdout] 86 |   pub fn player_left(&self, color: Color) -> Option<Square> {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `player_right`
[INFO] [stdout]   --> src/duke/square.rs:94:10
[INFO] [stdout]    |
[INFO] [stdout] 94 |   pub fn player_right(&self, color: Color) -> Option<Square> {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `name`
[INFO] [stdout]  --> src/duke/tile/mod.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 |   name: String,
[INFO] [stdout]   |   ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Tile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/duke/tile/mod.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Deserialize)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `a`
[INFO] [stdout]  --> src/duke/tile/mod.rs:9:3
[INFO] [stdout]   |
[INFO] [stdout] 9 |   a:    Side,
[INFO] [stdout]   |   ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Tile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/duke/tile/mod.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Deserialize)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `b`
[INFO] [stdout]   --> src/duke/tile/mod.rs:10:3
[INFO] [stdout]    |
[INFO] [stdout] 10 |   b:    Side
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Tile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/duke/tile/mod.rs:6:10
[INFO] [stdout]    |
[INFO] [stdout] 6  | #[derive(Debug, Deserialize)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/duke/tile/mod.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 |   pub fn new(name: String, a: Side, b: Side) -> Tile {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `OpenError`
[INFO] [stdout]  --> src/duke/tile/config.rs:9:3
[INFO] [stdout]   |
[INFO] [stdout] 9 |   OpenError(std::io::Error),
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/duke/tile/config.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `ReadError`
[INFO] [stdout]   --> src/duke/tile/config.rs:10:3
[INFO] [stdout]    |
[INFO] [stdout] 10 |   ReadError(std::io::Error),
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/duke/tile/config.rs:7:10
[INFO] [stdout]    |
[INFO] [stdout] 7  | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `ParseError`
[INFO] [stdout]   --> src/duke/tile/config.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 11 |   ParseError(toml::de::Error)
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/duke/tile/config.rs:7:10
[INFO] [stdout]    |
[INFO] [stdout] 7  | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `Result`
[INFO] [stdout]   --> src/duke/tile/config.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | type Result<T> = std::result::Result<T, Error>;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `name`
[INFO] [stdout]   --> src/duke/tile/config.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 |   name: Option<String>,
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/duke/tile/config.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Debug, Deserialize)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `a`
[INFO] [stdout]   --> src/duke/tile/config.rs:19:3
[INFO] [stdout]    |
[INFO] [stdout] 19 |   a:    Option<Side>,
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/duke/tile/config.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Debug, Deserialize)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `b`
[INFO] [stdout]   --> src/duke/tile/config.rs:20:3
[INFO] [stdout]    |
[INFO] [stdout] 20 |   b:    Option<Side>
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/duke/tile/config.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Debug, Deserialize)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `parse`
[INFO] [stdout]   --> src/duke/tile/config.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 24 |   fn parse(filename: &str) -> Result<Config> {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `tile`
[INFO] [stdout]   --> src/duke/tile/config.rs:39:6
[INFO] [stdout]    |
[INFO] [stdout] 39 |   fn tile(&self) -> Tile {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]  --> src/duke/tile/side.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 |   pub fn new(x: u8, y: u8) -> Side {
[INFO] [stdout]   |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `x`
[INFO] [stdout]   --> src/duke/tile/side.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 |   pub fn x(&self) -> u8 {
[INFO] [stdout]    |          ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `y`
[INFO] [stdout]   --> src/duke/tile/side.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 |   pub fn y(&self) -> u8 {
[INFO] [stdout]    |          ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 65 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 9.37s
[INFO] running `Command { std: "docker" "inspect" "b7d4b6ae3d0af8c4308b8b94aeca968a7de142167663bdf1d9bcbc4aa5b16c44", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b7d4b6ae3d0af8c4308b8b94aeca968a7de142167663bdf1d9bcbc4aa5b16c44", kill_on_drop: false }`
[INFO] [stdout] b7d4b6ae3d0af8c4308b8b94aeca968a7de142167663bdf1d9bcbc4aa5b16c44
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 42be8108bb910b24b8a6a6323b4a59c35a5968dc42a18526f1bbe8368474dc62
[INFO] running `Command { std: "docker" "start" "-a" "42be8108bb910b24b8a6a6323b4a59c35a5968dc42a18526f1bbe8368474dc62", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling ruke v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `FULL`
[INFO] [stdout]  --> src/duke/board.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitboard::{BitBoard, EMPTY, FULL};
[INFO] [stdout]   |                                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BitBoard`
[INFO] [stdout]   --> src/duke/board.rs:75:18
[INFO] [stdout]    |
[INFO] [stdout] 75 |   use bitboard::{BitBoard, EMPTY};
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Board`
[INFO] [stdout]   --> src/duke/player/ai_random.rs:51:21
[INFO] [stdout]    |
[INFO] [stdout] 51 |   use duke::board::{Board};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/duke/player/mod.rs:12:24
[INFO] [stdout]    |
[INFO] [stdout] 12 |   fn setup_duke(&self, &Board) -> Option<MoveType>;
[INFO] [stdout]    |                        ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Board`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pink_duke`
[INFO] [stdout]   --> src/duke/mod.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let pink_duke: Option<MoveType> = self.pink.as_ref().unwrap().setup_duke(&(self.board));
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pink_duke`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `square`
[INFO] [stdout]   --> src/duke/player/ai_random.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 |       let square: Square = *(thread_rng().choose(&valid).take().unwrap());
[INFO] [stdout]    |           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `summon`
[INFO] [stdout]   --> src/duke/player/ai_random.rs:35:11
[INFO] [stdout]    |
[INFO] [stdout] 35 |       let summon = Summon::new();
[INFO] [stdout]    |           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_summon`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/duke/board.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mut board = String::new();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/duke/board.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let mut board = String::new();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `source`
[INFO] [stdout]  --> src/duke/move_type/mod.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 7 |   source:       Option<Square>,
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `MoveType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/duke/move_type/mod.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Copy, Clone, Debug)]
[INFO] [stdout]   |                ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `destination`
[INFO] [stdout]  --> src/duke/move_type/mod.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 |   destination:  Option<Square>,
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `MoveType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/duke/move_type/mod.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Copy, Clone, Debug)]
[INFO] [stdout]   |                ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `remove`
[INFO] [stdout]  --> src/duke/move_type/mod.rs:9:3
[INFO] [stdout]   |
[INFO] [stdout] 9 |   remove:       Option<Square>,
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `MoveType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/duke/move_type/mod.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Copy, Clone, Debug)]
[INFO] [stdout]   |                ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `flip`
[INFO] [stdout]   --> src/duke/move_type/mod.rs:10:3
[INFO] [stdout]    |
[INFO] [stdout] 10 |   flip:         Option<Square>
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `MoveType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/duke/move_type/mod.rs:5:16
[INFO] [stdout]    |
[INFO] [stdout] 5  | #[derive(Copy, Clone, Debug)]
[INFO] [stdout]    |                ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `tile`
[INFO] [stdout]   --> src/duke/tile/config.rs:63:6
[INFO] [stdout]    |
[INFO] [stdout] 63 |   fn tile() {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.81s
[INFO] [stderr]   Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/ruke-b59962143e1fd8db)
[INFO] running `Command { std: "docker" "inspect" "42be8108bb910b24b8a6a6323b4a59c35a5968dc42a18526f1bbe8368474dc62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42be8108bb910b24b8a6a6323b4a59c35a5968dc42a18526f1bbe8368474dc62", kill_on_drop: false }`
[INFO] [stdout] 42be8108bb910b24b8a6a6323b4a59c35a5968dc42a18526f1bbe8368474dc62
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 7079318e607e3ef7adc9cf24db47e02bd990b27f8baae19c79cb3922022c45a6
[INFO] running `Command { std: "docker" "start" "-a" "7079318e607e3ef7adc9cf24db47e02bd990b27f8baae19c79cb3922022c45a6", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `FULL`
[INFO] [stderr]  --> src/duke/board.rs:3:33
[INFO] [stderr]   |
[INFO] [stderr] 3 | use bitboard::{BitBoard, EMPTY, FULL};
[INFO] [stderr]   |                                 ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `BitBoard`
[INFO] [stderr]   --> src/duke/board.rs:75:18
[INFO] [stderr]    |
[INFO] [stderr] 75 |   use bitboard::{BitBoard, EMPTY};
[INFO] [stderr]    |                  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Board`
[INFO] [stderr]   --> src/duke/player/ai_random.rs:51:21
[INFO] [stderr]    |
[INFO] [stderr] 51 |   use duke::board::{Board};
[INFO] [stderr]    |                     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stderr]   --> src/duke/player/mod.rs:12:24
[INFO] [stderr]    |
[INFO] [stderr] 12 |   fn setup_duke(&self, &Board) -> Option<MoveType>;
[INFO] [stderr]    |                        ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Board`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stderr]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pink_duke`
[INFO] [stderr]   --> src/duke/mod.rs:96:9
[INFO] [stderr]    |
[INFO] [stderr] 96 |     let pink_duke: Option<MoveType> = self.pink.as_ref().unwrap().setup_duke(&(self.board));
[INFO] [stderr]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pink_duke`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `square`
[INFO] [stderr]   --> src/duke/player/ai_random.rs:34:11
[INFO] [stderr]    |
[INFO] [stderr] 34 |       let square: Square = *(thread_rng().choose(&valid).take().unwrap());
[INFO] [stderr]    |           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `summon`
[INFO] [stderr]   --> src/duke/player/ai_random.rs:35:11
[INFO] [stderr]    |
[INFO] [stderr] 35 |       let summon = Summon::new();
[INFO] [stderr]    |           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_summon`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/duke/board.rs:58:9
[INFO] [stderr]    |
[INFO] [stderr] 58 |     let mut board = String::new();
[INFO] [stderr]    |         ----^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/duke/board.rs:66:9
[INFO] [stderr]    |
[INFO] [stderr] 66 |     let mut board = String::new();
[INFO] [stderr]    |         ----^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `source`
[INFO] [stderr]  --> src/duke/move_type/mod.rs:7:3
[INFO] [stderr]   |
[INFO] [stderr] 7 |   source:       Option<Square>,
[INFO] [stderr]   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] note: `MoveType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/duke/move_type/mod.rs:5:16
[INFO] [stderr]   |
[INFO] [stderr] 5 | #[derive(Copy, Clone, Debug)]
[INFO] [stderr]   |                ^^^^^  ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `destination`
[INFO] [stderr]  --> src/duke/move_type/mod.rs:8:3
[INFO] [stderr]   |
[INFO] [stderr] 8 |   destination:  Option<Square>,
[INFO] [stderr]   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] note: `MoveType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/duke/move_type/mod.rs:5:16
[INFO] [stderr]   |
[INFO] [stderr] 5 | #[derive(Copy, Clone, Debug)]
[INFO] [stderr]   |                ^^^^^  ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `remove`
[INFO] [stderr]  --> src/duke/move_type/mod.rs:9:3
[INFO] [stderr]   |
[INFO] [stderr] 9 |   remove:       Option<Square>,
[INFO] [stderr]   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] note: `MoveType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/duke/move_type/mod.rs:5:16
[INFO] [stderr]   |
[INFO] [stderr] 5 | #[derive(Copy, Clone, Debug)]
[INFO] [stderr]   |                ^^^^^  ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `flip`
[INFO] [stderr]   --> src/duke/move_type/mod.rs:10:3
[INFO] [stderr]    |
[INFO] [stderr] 10 |   flip:         Option<Square>
[INFO] [stderr]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `MoveType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/duke/move_type/mod.rs:5:16
[INFO] [stderr]    |
[INFO] [stderr] 5  | #[derive(Copy, Clone, Debug)]
[INFO] [stderr]    |                ^^^^^  ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `tile`
[INFO] [stderr]   --> src/duke/tile/config.rs:63:6
[INFO] [stderr]    |
[INFO] [stderr] 63 |   fn tile() {
[INFO] [stderr]    |      ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `ruke` (bin "ruke" test) generated 14 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ruke-b59962143e1fd8db)
[INFO] [stdout] 
[INFO] [stdout] running 48 tests
[INFO] [stdout] test bitboard::tests::bitor ... ok
[INFO] [stdout] test bitboard::tests::bitxor ... ok
[INFO] [stdout] test bitboard::tests::bitand_assign ... ok
[INFO] [stdout] test bitboard::tests::bitor_assign ... ok
[INFO] [stdout] test bitboard::tests::bitand ... ok
[INFO] [stdout] test bitboard::tests::bitxor_assign ... ok
[INFO] [stdout] test bitboard::tests::empty ... ok
[INFO] [stdout] test bitboard::tests::full ... ok
[INFO] [stdout] test bitboard::tests::not ... ok
[INFO] [stdout] test duke::board::tests::bag ... ok
[INFO] [stdout] test duke::board::tests::graveyard ... ok
[INFO] [stdout] test duke::board::tests::new ... ok
[INFO] [stdout] test duke::board::tests::starting_squares ... ok
[INFO] [stdout] test duke::color::tests::all_colors ... ok
[INFO] [stdout] test duke::color::tests::backrank ... ok
[INFO] [stdout] test duke::color::tests::index ... ok
[INFO] [stdout] test duke::color::tests::not ... ok
[INFO] [stdout] test duke::color::tests::num_colors ... ok
[INFO] [stdout] test duke::color::tests::opponent_backrank ... ok
[INFO] [stdout] test duke::file::tests::all_files ... ok
[INFO] [stdout] test duke::file::tests::from_index ... ok
[INFO] [stdout] test duke::file::tests::index ... ok
[INFO] [stdout] test duke::file::tests::left ... ok
[INFO] [stdout] test duke::file::tests::num_files ... ok
[INFO] [stdout] test duke::file::tests::right ... ok
[INFO] [stdout] test duke::player::ai_random::tests::color ... ok
[INFO] [stdout] test duke::rank::tests::all_ranks ... ok
[INFO] [stdout] test duke::rank::tests::down ... ok
[INFO] [stdout] test duke::rank::tests::from_index ... ok
[INFO] [stdout] test duke::rank::tests::index ... ok
[INFO] [stdout] test duke::rank::tests::num_ranks ... ok
[INFO] [stdout] test duke::rank::tests::up ... ok
[INFO] [stdout] test duke::square::tests::down ... ok
[INFO] [stdout] test duke::square::tests::display ... ok
[INFO] [stdout] test duke::square::tests::file ... ok
[INFO] [stdout] test duke::square::tests::left ... ok
[INFO] [stdout] test duke::square::tests::make ... ok
[INFO] [stdout] test duke::square::tests::num_squares ... ok
[INFO] [stdout] test duke::square::tests::player_backward ... ok
[INFO] [stdout] test duke::square::tests::player_forward ... ok
[INFO] [stdout] test duke::square::tests::player_left ... ok
[INFO] [stdout] test duke::square::tests::player_right ... ok
[INFO] [stdout] test duke::square::tests::rank ... ok
[INFO] [stdout] test duke::square::tests::right ... ok
[INFO] [stdout] test duke::square::tests::up ... ok
[INFO] [stdout] test duke::tile::side::tests::new ... ok
[INFO] [stdout] test duke::tile::tests::initialize ... ok
[INFO] [stdout] test duke::tile::config::tests::parse ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 48 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "7079318e607e3ef7adc9cf24db47e02bd990b27f8baae19c79cb3922022c45a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7079318e607e3ef7adc9cf24db47e02bd990b27f8baae19c79cb3922022c45a6", kill_on_drop: false }`
[INFO] [stdout] 7079318e607e3ef7adc9cf24db47e02bd990b27f8baae19c79cb3922022c45a6
