[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] checking nipzu/watson against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnipzu%2Fwatson" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nipzu/watson on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nipzu/watson already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bf77d7adf464b8a9d9ce11015fdc3529e14d5e51299a3d787f5c362feb13f25 [INFO] running `Command { std: "docker" "start" "-a" "7bf77d7adf464b8a9d9ce11015fdc3529e14d5e51299a3d787f5c362feb13f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bf77d7adf464b8a9d9ce11015fdc3529e14d5e51299a3d787f5c362feb13f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bf77d7adf464b8a9d9ce11015fdc3529e14d5e51299a3d787f5c362feb13f25", kill_on_drop: false }` [INFO] [stdout] 7bf77d7adf464b8a9d9ce11015fdc3529e14d5e51299a3d787f5c362feb13f25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b43a7ceb388ab59fdcef39c67506fdd5c5797600534e1162644db23296842fae [INFO] running `Command { std: "docker" "start" "-a" "b43a7ceb388ab59fdcef39c67506fdd5c5797600534e1162644db23296842fae", kill_on_drop: false }` [INFO] [stderr] Checking watson v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Evaluation` is never constructed [INFO] [stdout] --> src/evaluation.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Evaluation { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `RESERVED_VALUE`, `MAX_CENTIPAWN_EVALUATION`, `MIN_CENTIPAWN_EVALUATION`, `from_raw`, and `to_raw` are never used [INFO] [stdout] --> src/evaluation.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 19 | impl Evaluation { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 20 | pub const RESERVED_VALUE: i16 = i16::MIN; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub const MAX_CENTIPAWN_EVALUATION: i16 = 30_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub const MIN_CENTIPAWN_EVALUATION: i16 = -Self::MAX_CENTIPAWN_EVALUATION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn from_raw(value: i16) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub const fn to_raw(self) -> i16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashTable` is never constructed [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 `EMPTY_TABLE_ENTRY` is never used [INFO] [stdout] --> src/hashtable.rs:12:7 [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 items `new`, `clear`, `get_eval`, and `insert_eval` are never used [INFO] [stdout] --> src/hashtable.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl HashTable { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(order_buckets: u32, bucket_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_eval(&self, hash: u64) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn insert_eval(&self, hash: u64, eval: Evaluation) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Position` is never constructed [INFO] [stdout] --> src/position.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `evaluation`, `hash`, `make_move`, `unmake_move`, and `get_piece_color_occupancy_board` are never used [INFO] [stdout] --> src/position.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Position { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 15 | // TODO: what about mate [INFO] [stdout] 16 | pub fn evaluation(&self) -> Evaluation { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub const fn hash(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn make_move(&mut self, move_to_make: Move) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn unmake_move(&mut self, move_to_unmake: Move) { [INFO] [stdout] | ^^^^^^^^^^^ [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: struct `Move` is never constructed [INFO] [stdout] --> src/position.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Move { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PieceType` is never used [INFO] [stdout] --> src/position.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | enum PieceType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bitboards` is never constructed [INFO] [stdout] --> src/position.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | struct Bitboards { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Evaluation` is never constructed [INFO] [stdout] --> src/evaluation.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Evaluation { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `RESERVED_VALUE`, `MAX_CENTIPAWN_EVALUATION`, `MIN_CENTIPAWN_EVALUATION`, `from_raw`, and `to_raw` are never used [INFO] [stdout] --> src/evaluation.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 19 | impl Evaluation { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 20 | pub const RESERVED_VALUE: i16 = i16::MIN; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub const MAX_CENTIPAWN_EVALUATION: i16 = 30_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub const MIN_CENTIPAWN_EVALUATION: i16 = -Self::MAX_CENTIPAWN_EVALUATION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn from_raw(value: i16) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub const fn to_raw(self) -> i16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashTable` is never constructed [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 `EMPTY_TABLE_ENTRY` is never used [INFO] [stdout] --> src/hashtable.rs:12:7 [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 items `new`, `clear`, `get_eval`, and `insert_eval` are never used [INFO] [stdout] --> src/hashtable.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl HashTable { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(order_buckets: u32, bucket_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_eval(&self, hash: u64) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn insert_eval(&self, hash: u64, eval: Evaluation) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Position` is never constructed [INFO] [stdout] --> src/position.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `evaluation`, `hash`, `make_move`, `unmake_move`, and `get_piece_color_occupancy_board` are never used [INFO] [stdout] --> src/position.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Position { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 15 | // TODO: what about mate [INFO] [stdout] 16 | pub fn evaluation(&self) -> Evaluation { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub const fn hash(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn make_move(&mut self, move_to_make: Move) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn unmake_move(&mut self, move_to_unmake: Move) { [INFO] [stdout] | ^^^^^^^^^^^ [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: struct `Move` is never constructed [INFO] [stdout] --> src/position.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Move { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PieceType` is never used [INFO] [stdout] --> src/position.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | enum PieceType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bitboards` is never constructed [INFO] [stdout] --> src/position.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | struct Bitboards { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "b43a7ceb388ab59fdcef39c67506fdd5c5797600534e1162644db23296842fae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b43a7ceb388ab59fdcef39c67506fdd5c5797600534e1162644db23296842fae", kill_on_drop: false }` [INFO] [stdout] b43a7ceb388ab59fdcef39c67506fdd5c5797600534e1162644db23296842fae