[INFO] cloning repository https://github.com/nipzu/watson [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nipzu/watson" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnipzu%2Fwatson", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnipzu%2Fwatson'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f82fe42caa920be659596f3fa5670c845caf16e [INFO] testing nipzu/watson against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnipzu%2Fwatson" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nipzu/watson on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nipzu/watson [INFO] finished tweaking git repo https://github.com/nipzu/watson [INFO] tweaked toml for git repo https://github.com/nipzu/watson written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/nipzu/watson already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80179e2057cb063b788d49d8e3d53218720154678f797b317005df3f94e9271b [INFO] running `Command { std: "docker" "start" "-a" "80179e2057cb063b788d49d8e3d53218720154678f797b317005df3f94e9271b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80179e2057cb063b788d49d8e3d53218720154678f797b317005df3f94e9271b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80179e2057cb063b788d49d8e3d53218720154678f797b317005df3f94e9271b", kill_on_drop: false }` [INFO] [stdout] 80179e2057cb063b788d49d8e3d53218720154678f797b317005df3f94e9271b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63ee27590918e6d7d15eae938f4df1c5c4dbe11e2b2ed2b48dc24c39d4fde422 [INFO] running `Command { std: "docker" "start" "-a" "63ee27590918e6d7d15eae938f4df1c5c4dbe11e2b2ed2b48dc24c39d4fde422", kill_on_drop: false }` [INFO] [stderr] Compiling watson v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `from_raw` [INFO] [stdout] --> src/evaluation.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn from_raw(value: i16) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_raw` [INFO] [stdout] --> src/evaluation.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | pub const fn to_raw(self) -> i16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HashTable` [INFO] [stdout] --> src/hashtable.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct HashTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EMPTY_TABLE_ENTRY` [INFO] [stdout] --> src/hashtable.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const EMPTY_TABLE_ENTRY: u32 = (Evaluation::RESERVED_VALUE as u32) << 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/hashtable.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(order_buckets: u32, bucket_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/hashtable.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_eval` [INFO] [stdout] --> src/hashtable.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_eval(&self, hash: u64) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_eval` [INFO] [stdout] --> src/hashtable.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn insert_eval(&self, hash: u64, eval: Evaluation) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Position` [INFO] [stdout] --> src/position.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `evaluation` [INFO] [stdout] --> src/position.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn evaluation(&self) -> Evaluation { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hash` [INFO] [stdout] --> src/position.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | pub const fn hash(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_move` [INFO] [stdout] --> src/position.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn make_move(&mut self, move_to_make: Move) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unmake_move` [INFO] [stdout] --> src/position.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn unmake_move(&mut self, move_to_unmake: Move) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_piece_color_occupancy_board` [INFO] [stdout] --> src/position.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn get_piece_color_occupancy_board(&mut self, piece: PieceType) -> &mut u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `captured_piece` [INFO] [stdout] --> src/position.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | captured_piece: PieceType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Move` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Clone, Copy, 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: `moved_piece` [INFO] [stdout] --> src/position.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | moved_piece: PieceType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Move` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Clone, Copy, 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: `move_mask` [INFO] [stdout] --> src/position.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | move_mask: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Move` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Clone, Copy, 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: `captured_mask` [INFO] [stdout] --> src/position.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | captured_mask: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Move` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Clone, Copy, 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: `WhiteKing` [INFO] [stdout] --> src/position.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | WhiteKing = 0, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `WhiteQueen` [INFO] [stdout] --> src/position.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | WhiteQueen = 1, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `WhiteRook` [INFO] [stdout] --> src/position.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | WhiteRook = 2, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `WhiteBishop` [INFO] [stdout] --> src/position.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | WhiteBishop = 3, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `WhiteKnight` [INFO] [stdout] --> src/position.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | WhiteKnight = 4, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `WhitePawn` [INFO] [stdout] --> src/position.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | WhitePawn = 5, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `BlackKing` [INFO] [stdout] --> src/position.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | BlackKing = 6, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `BlackQueen` [INFO] [stdout] --> src/position.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | BlackQueen = 7, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `BlackRook` [INFO] [stdout] --> src/position.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | BlackRook = 8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `BlackBishop` [INFO] [stdout] --> src/position.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | BlackBishop = 9, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `BlackKnight` [INFO] [stdout] --> src/position.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | BlackKnight = 10, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `BlackPawn` [INFO] [stdout] --> src/position.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | BlackPawn = 11, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "63ee27590918e6d7d15eae938f4df1c5c4dbe11e2b2ed2b48dc24c39d4fde422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63ee27590918e6d7d15eae938f4df1c5c4dbe11e2b2ed2b48dc24c39d4fde422", kill_on_drop: false }` [INFO] [stdout] 63ee27590918e6d7d15eae938f4df1c5c4dbe11e2b2ed2b48dc24c39d4fde422 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a959f07d688f33ffaa4a5c400ccb605dc922b2cf79f55d0f3e2470e81edcefd0 [INFO] running `Command { std: "docker" "start" "-a" "a959f07d688f33ffaa4a5c400ccb605dc922b2cf79f55d0f3e2470e81edcefd0", kill_on_drop: false }` [INFO] [stderr] Compiling watson v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `from_raw` [INFO] [stdout] --> src/evaluation.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn from_raw(value: i16) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_raw` [INFO] [stdout] --> src/evaluation.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | pub const fn to_raw(self) -> i16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HashTable` [INFO] [stdout] --> src/hashtable.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct HashTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EMPTY_TABLE_ENTRY` [INFO] [stdout] --> src/hashtable.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const EMPTY_TABLE_ENTRY: u32 = (Evaluation::RESERVED_VALUE as u32) << 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/hashtable.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(order_buckets: u32, bucket_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/hashtable.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_eval` [INFO] [stdout] --> src/hashtable.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_eval(&self, hash: u64) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_eval` [INFO] [stdout] --> src/hashtable.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn insert_eval(&self, hash: u64, eval: Evaluation) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Position` [INFO] [stdout] --> src/position.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `evaluation` [INFO] [stdout] --> src/position.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn evaluation(&self) -> Evaluation { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hash` [INFO] [stdout] --> src/position.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | pub const fn hash(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_move` [INFO] [stdout] --> src/position.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn make_move(&mut self, move_to_make: Move) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unmake_move` [INFO] [stdout] --> src/position.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn unmake_move(&mut self, move_to_unmake: Move) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_piece_color_occupancy_board` [INFO] [stdout] --> src/position.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn get_piece_color_occupancy_board(&mut self, piece: PieceType) -> &mut u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `captured_piece` [INFO] [stdout] --> src/position.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | captured_piece: PieceType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Move` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Clone, Copy, 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: `moved_piece` [INFO] [stdout] --> src/position.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | moved_piece: PieceType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Move` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Clone, Copy, 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: `move_mask` [INFO] [stdout] --> src/position.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | move_mask: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Move` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Clone, Copy, 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: `captured_mask` [INFO] [stdout] --> src/position.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | captured_mask: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Move` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Clone, Copy, 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: `WhiteKing` [INFO] [stdout] --> src/position.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | WhiteKing = 0, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `WhiteQueen` [INFO] [stdout] --> src/position.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | WhiteQueen = 1, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `WhiteRook` [INFO] [stdout] --> src/position.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | WhiteRook = 2, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `WhiteBishop` [INFO] [stdout] --> src/position.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | WhiteBishop = 3, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `WhiteKnight` [INFO] [stdout] --> src/position.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | WhiteKnight = 4, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `WhitePawn` [INFO] [stdout] --> src/position.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | WhitePawn = 5, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `BlackKing` [INFO] [stdout] --> src/position.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | BlackKing = 6, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `BlackQueen` [INFO] [stdout] --> src/position.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | BlackQueen = 7, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `BlackRook` [INFO] [stdout] --> src/position.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | BlackRook = 8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `BlackBishop` [INFO] [stdout] --> src/position.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | BlackBishop = 9, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `BlackKnight` [INFO] [stdout] --> src/position.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | BlackKnight = 10, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `BlackPawn` [INFO] [stdout] --> src/position.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | BlackPawn = 11, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/position.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "a959f07d688f33ffaa4a5c400ccb605dc922b2cf79f55d0f3e2470e81edcefd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a959f07d688f33ffaa4a5c400ccb605dc922b2cf79f55d0f3e2470e81edcefd0", kill_on_drop: false }` [INFO] [stdout] a959f07d688f33ffaa4a5c400ccb605dc922b2cf79f55d0f3e2470e81edcefd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 06de95d21db0c82c4b8cfc0148db91b0ebb60e8bb443790b204fa59cd57f9690 [INFO] running `Command { std: "docker" "start" "-a" "06de95d21db0c82c4b8cfc0148db91b0ebb60e8bb443790b204fa59cd57f9690", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: associated function is never used: `from_raw` [INFO] [stderr] --> src/evaluation.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn from_raw(value: i16) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `to_raw` [INFO] [stderr] --> src/evaluation.rs:38:18 [INFO] [stderr] | [INFO] [stderr] 38 | pub const fn to_raw(self) -> i16 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `HashTable` [INFO] [stderr] --> src/hashtable.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct HashTable { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `EMPTY_TABLE_ENTRY` [INFO] [stderr] --> src/hashtable.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | const EMPTY_TABLE_ENTRY: u32 = (Evaluation::RESERVED_VALUE as u32) << 16; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/hashtable.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn new(order_buckets: u32, bucket_size: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `clear` [INFO] [stderr] --> src/hashtable.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_eval` [INFO] [stderr] --> src/hashtable.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn get_eval(&self, hash: u64) -> Option { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `insert_eval` [INFO] [stderr] --> src/hashtable.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn insert_eval(&self, hash: u64, eval: Evaluation) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Position` [INFO] [stderr] --> src/position.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Position { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `evaluation` [INFO] [stderr] --> src/position.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn evaluation(&self) -> Evaluation { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `hash` [INFO] [stderr] --> src/position.rs:22:18 [INFO] [stderr] | [INFO] [stderr] 22 | pub const fn hash(&self) -> u64 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `make_move` [INFO] [stderr] --> src/position.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn make_move(&mut self, move_to_make: Move) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `unmake_move` [INFO] [stderr] --> src/position.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn unmake_move(&mut self, move_to_unmake: Move) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_piece_color_occupancy_board` [INFO] [stderr] --> src/position.rs:56:8 [INFO] [stderr] | [INFO] [stderr] 56 | fn get_piece_color_occupancy_board(&mut self, piece: PieceType) -> &mut u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `captured_piece` [INFO] [stderr] --> src/position.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | captured_piece: PieceType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Move` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/position.rs:74:10 [INFO] [stderr] | [INFO] [stderr] 74 | #[derive(Clone, Copy, 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: `moved_piece` [INFO] [stderr] --> src/position.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 77 | moved_piece: PieceType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Move` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/position.rs:74:10 [INFO] [stderr] | [INFO] [stderr] 74 | #[derive(Clone, Copy, 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] [stdout] [INFO] [stderr] warning: field is never read: `move_mask` [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/position.rs:78:5 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 78 | move_mask: u64, [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Move` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/position.rs:74:10 [INFO] [stderr] | [INFO] [stderr] 74 | #[derive(Clone, Copy, 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: `captured_mask` [INFO] [stderr] --> src/position.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | captured_mask: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Move` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/position.rs:74:10 [INFO] [stderr] | [INFO] [stderr] 74 | #[derive(Clone, Copy, 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: variant is never constructed: `WhiteKing` [INFO] [stderr] --> src/position.rs:84:5 [INFO] [stderr] | [INFO] [stderr] 84 | WhiteKing = 0, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/position.rs:82:10 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: variant is never constructed: `WhiteQueen` [INFO] [stderr] --> src/position.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | WhiteQueen = 1, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/position.rs:82:10 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: variant is never constructed: `WhiteRook` [INFO] [stderr] --> src/position.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | WhiteRook = 2, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/position.rs:82:10 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: variant is never constructed: `WhiteBishop` [INFO] [stderr] --> src/position.rs:87:5 [INFO] [stderr] | [INFO] [stderr] 87 | WhiteBishop = 3, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/position.rs:82:10 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: variant is never constructed: `WhiteKnight` [INFO] [stderr] --> src/position.rs:88:5 [INFO] [stderr] | [INFO] [stderr] 88 | WhiteKnight = 4, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/position.rs:82:10 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: variant is never constructed: `WhitePawn` [INFO] [stderr] --> src/position.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | WhitePawn = 5, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/position.rs:82:10 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: variant is never constructed: `BlackKing` [INFO] [stderr] --> src/position.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | BlackKing = 6, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/position.rs:82:10 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: variant is never constructed: `BlackQueen` [INFO] [stderr] --> src/position.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | BlackQueen = 7, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/position.rs:82:10 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: variant is never constructed: `BlackRook` [INFO] [stderr] --> src/position.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | BlackRook = 8, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/position.rs:82:10 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: variant is never constructed: `BlackBishop` [INFO] [stderr] --> src/position.rs:93:5 [INFO] [stderr] | [INFO] [stderr] 93 | BlackBishop = 9, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/position.rs:82:10 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: variant is never constructed: `BlackKnight` [INFO] [stderr] --> src/position.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | BlackKnight = 10, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/position.rs:82:10 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: variant is never constructed: `BlackPawn` [INFO] [stderr] --> src/position.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | BlackPawn = 11, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/position.rs:82:10 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Clone, Copy, PartialEq, Eq, 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: `watson` (bin "watson" test) generated 30 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/watson-ff7d26458e2a0465) [INFO] running `Command { std: "docker" "inspect" "06de95d21db0c82c4b8cfc0148db91b0ebb60e8bb443790b204fa59cd57f9690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06de95d21db0c82c4b8cfc0148db91b0ebb60e8bb443790b204fa59cd57f9690", kill_on_drop: false }` [INFO] [stdout] 06de95d21db0c82c4b8cfc0148db91b0ebb60e8bb443790b204fa59cd57f9690