[INFO] fetching crate rchess 2.3.0... [INFO] building rchess-2.3.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate rchess 2.3.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate rchess 2.3.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rchess 2.3.0 [INFO] tweaked toml for crates.io crate rchess 2.3.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rchess 2.3.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rchess 2.3.0 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded is-terminal v0.4.13 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.95 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.95 [INFO] [stderr] Downloaded wasm-bindgen v0.2.95 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.95 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Downloaded clap v4.5.21 [INFO] [stderr] Downloaded clap_builder v4.5.21 [INFO] [stderr] Downloaded js-sys v0.3.72 [INFO] [stderr] Downloaded libc v0.2.162 [INFO] [stderr] Downloaded web-sys v0.3.72 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 281804cf2a6b1d6595a6cbf327be73d531bac3d19e13ae3f81e62baa7842885e [INFO] running `Command { std: "docker" "start" "-a" "281804cf2a6b1d6595a6cbf327be73d531bac3d19e13ae3f81e62baa7842885e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "281804cf2a6b1d6595a6cbf327be73d531bac3d19e13ae3f81e62baa7842885e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "281804cf2a6b1d6595a6cbf327be73d531bac3d19e13ae3f81e62baa7842885e", kill_on_drop: false }` [INFO] [stdout] 281804cf2a6b1d6595a6cbf327be73d531bac3d19e13ae3f81e62baa7842885e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c4765a44f73e49e49206f46819eb97c46854f0cd25bdb07d383b6fdce947e89 [INFO] running `Command { std: "docker" "start" "-a" "9c4765a44f73e49e49206f46819eb97c46854f0cd25bdb07d383b6fdce947e89", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rchess v2.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `piece::*` [INFO] [stdout] --> src/defs/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use piece::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `START_FEN` is never used [INFO] [stdout] --> src/defs/mod.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const START_FEN: &str = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq -"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CastleSide` is never used [INFO] [stdout] --> src/defs/mod.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum CastleSide { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `FULL`, `WHITE_SQUARES`, `BLACK_SQUARES`, `popcnt`, and `from_u64` are never used [INFO] [stdout] --> src/defs/bitboard.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 12 | impl BitBoard { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub const FULL: BitBoard = Self { val: u64::MAX }; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub const WHITE_SQUARES: BitBoard = Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub const BLACK_SQUARES: BitBoard = Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub const fn popcnt(&self) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub const fn from_u64(val: u64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Magic` is never constructed [INFO] [stdout] --> src/defs/magic.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Magic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/defs/magic.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl Magic { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 13 | /// Creates a new [`Magic`] struct. [INFO] [stdout] 14 | pub const fn new(mask: BitBoard, magic: u64, shift: u8, offset: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn key(&self, occupancy: BitBoard) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn calculate_key(occupancy: BitBoard, mask: BitBoard, magic: u64, shift: u8) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn mask(&self) -> BitBoard { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn magic(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn shift(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn offset(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_string`, `color`, `up`, `down`, `left`, and `right` are never used [INFO] [stdout] --> src/defs/square.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 35 | impl Square { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub const fn from_string(str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub const fn color(&self) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn up(self) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn down(self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn left(self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn right(self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_magic_tables` is never used [INFO] [stdout] --> src/table_gen/mod.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn generate_magic_tables(f: &mut File) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BISHOP_BITS` is never used [INFO] [stdout] --> src/table_gen/sliders.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const BISHOP_BITS: [u8; 64] = [ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROOK_BITS` is never used [INFO] [stdout] --> src/table_gen/sliders.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const ROOK_BITS: [u8; 64] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_bishop_magics` is never used [INFO] [stdout] --> src/table_gen/sliders.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn generate_bishop_magics() -> (Box<[Magic; 64]>, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_rook_magics` is never used [INFO] [stdout] --> src/table_gen/sliders.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn generate_rook_magics() -> (Box<[Magic; 64]>, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_magic_candidate` is never used [INFO] [stdout] --> src/table_gen/sliders.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn get_magic_candidate(rng: &mut Rng) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_bishop_attacks` is never used [INFO] [stdout] --> src/table_gen/sliders.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn generate_bishop_attacks() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_rook_attacks` is never used [INFO] [stdout] --> src/table_gen/sliders.rs:161:4 [INFO] [stdout] | [INFO] [stdout] 161 | fn generate_rook_attacks() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bishop_mask` is never used [INFO] [stdout] --> src/table_gen/sliders.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn get_bishop_mask(square: Square) -> BitBoard { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rook_mask` is never used [INFO] [stdout] --> src/table_gen/sliders.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn get_rook_mask(square: Square) -> BitBoard { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Occupancies` is never constructed [INFO] [stdout] --> src/table_gen/sliders.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct Occupancies { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/table_gen/sliders.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 218 | impl Occupancies { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 219 | /// Creates a new [`Occupancies`] object for a given mask. [INFO] [stdout] 220 | pub fn new(mask: BitBoard) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stdout] warning: unused import: `super::ChessBoard` [INFO] [stdout] --> src/chessboard/zobrist.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::ChessBoard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `magic::*` [INFO] [stdout] --> src/defs/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use magic::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unset_color` is never used [INFO] [stdout] --> src/chessboard/castling_rights.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl CastlingRights { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn unset_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_castle_right` is never used [INFO] [stdout] --> src/chessboard/chessboard.rs:868:8 [INFO] [stdout] | [INFO] [stdout] 172 | impl ChessBoard { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 868 | fn set_castle_right(&mut self, side: CastleSide, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIRS` is never used [INFO] [stdout] --> src/defs/direction.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DIRS: [Direction; 8] = [ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Magic` is never constructed [INFO] [stdout] --> src/defs/magic.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Magic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/defs/magic.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl Magic { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 13 | /// Creates a new [`Magic`] struct. [INFO] [stdout] 14 | pub const fn new(mask: BitBoard, magic: u64, shift: u8, offset: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn key(&self, occupancy: BitBoard) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn calculate_key(occupancy: BitBoard, mask: BitBoard, magic: u64, shift: u8) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn mask(&self) -> BitBoard { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn magic(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn shift(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn offset(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.26s [INFO] running `Command { std: "docker" "inspect" "9c4765a44f73e49e49206f46819eb97c46854f0cd25bdb07d383b6fdce947e89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c4765a44f73e49e49206f46819eb97c46854f0cd25bdb07d383b6fdce947e89", kill_on_drop: false }` [INFO] [stdout] 9c4765a44f73e49e49206f46819eb97c46854f0cd25bdb07d383b6fdce947e89 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53b5a66ff1616f6a7ae77f1ec888f3636416da82408e81cf7bf4cf8f5b1ffe3f [INFO] running `Command { std: "docker" "start" "-a" "53b5a66ff1616f6a7ae77f1ec888f3636416da82408e81cf7bf4cf8f5b1ffe3f", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling clap_lex v0.7.3 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stdout] warning: unused import: `piece::*` [INFO] [stdout] --> src/defs/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use piece::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `START_FEN` is never used [INFO] [stdout] --> src/defs/mod.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const START_FEN: &str = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq -"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CastleSide` is never used [INFO] [stdout] --> src/defs/mod.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum CastleSide { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `FULL`, `WHITE_SQUARES`, `BLACK_SQUARES`, `popcnt`, and `from_u64` are never used [INFO] [stdout] --> src/defs/bitboard.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 12 | impl BitBoard { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub const FULL: BitBoard = Self { val: u64::MAX }; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub const WHITE_SQUARES: BitBoard = Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub const BLACK_SQUARES: BitBoard = Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub const fn popcnt(&self) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub const fn from_u64(val: u64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Magic` is never constructed [INFO] [stdout] --> src/defs/magic.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Magic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/defs/magic.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl Magic { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 13 | /// Creates a new [`Magic`] struct. [INFO] [stdout] 14 | pub const fn new(mask: BitBoard, magic: u64, shift: u8, offset: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn key(&self, occupancy: BitBoard) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn calculate_key(occupancy: BitBoard, mask: BitBoard, magic: u64, shift: u8) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn mask(&self) -> BitBoard { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn magic(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn shift(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn offset(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_string`, `color`, `up`, `down`, `left`, and `right` are never used [INFO] [stdout] --> src/defs/square.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 35 | impl Square { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub const fn from_string(str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub const fn color(&self) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn up(self) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn down(self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn left(self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn right(self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_magic_tables` is never used [INFO] [stdout] --> src/table_gen/mod.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn generate_magic_tables(f: &mut File) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BISHOP_BITS` is never used [INFO] [stdout] --> src/table_gen/sliders.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const BISHOP_BITS: [u8; 64] = [ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROOK_BITS` is never used [INFO] [stdout] --> src/table_gen/sliders.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const ROOK_BITS: [u8; 64] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_bishop_magics` is never used [INFO] [stdout] --> src/table_gen/sliders.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn generate_bishop_magics() -> (Box<[Magic; 64]>, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_rook_magics` is never used [INFO] [stdout] --> src/table_gen/sliders.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn generate_rook_magics() -> (Box<[Magic; 64]>, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_magic_candidate` is never used [INFO] [stdout] --> src/table_gen/sliders.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn get_magic_candidate(rng: &mut Rng) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_bishop_attacks` is never used [INFO] [stdout] --> src/table_gen/sliders.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn generate_bishop_attacks() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_rook_attacks` is never used [INFO] [stdout] --> src/table_gen/sliders.rs:161:4 [INFO] [stdout] | [INFO] [stdout] 161 | fn generate_rook_attacks() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bishop_mask` is never used [INFO] [stdout] --> src/table_gen/sliders.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn get_bishop_mask(square: Square) -> BitBoard { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rook_mask` is never used [INFO] [stdout] --> src/table_gen/sliders.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn get_rook_mask(square: Square) -> BitBoard { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Occupancies` is never constructed [INFO] [stdout] --> src/table_gen/sliders.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct Occupancies { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/table_gen/sliders.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 218 | impl Occupancies { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 219 | /// Creates a new [`Occupancies`] object for a given mask. [INFO] [stdout] 220 | pub fn new(mask: BitBoard) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling clap_builder v4.5.21 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rchess v2.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stdout] warning: unused import: `super::ChessBoard` [INFO] [stdout] --> src/chessboard/zobrist.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::ChessBoard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `magic::*` [INFO] [stdout] --> src/defs/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use magic::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stdout] warning: method `unset_color` is never used [INFO] [stdout] --> src/chessboard/castling_rights.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl CastlingRights { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn unset_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_castle_right` is never used [INFO] [stdout] --> src/chessboard/chessboard.rs:868:8 [INFO] [stdout] | [INFO] [stdout] 172 | impl ChessBoard { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 868 | fn set_castle_right(&mut self, side: CastleSide, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIRS` is never used [INFO] [stdout] --> src/defs/direction.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DIRS: [Direction; 8] = [ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Magic` is never constructed [INFO] [stdout] --> src/defs/magic.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Magic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/defs/magic.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl Magic { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 13 | /// Creates a new [`Magic`] struct. [INFO] [stdout] 14 | pub const fn new(mask: BitBoard, magic: u64, shift: u8, offset: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn key(&self, occupancy: BitBoard) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn calculate_key(occupancy: BitBoard, mask: BitBoard, magic: u64, shift: u8) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn mask(&self) -> BitBoard { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn magic(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn shift(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn offset(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling clap v4.5.21 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stdout] warning: unused import: `super::ChessBoard` [INFO] [stdout] --> src/chessboard/zobrist.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::ChessBoard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `magic::*` [INFO] [stdout] --> src/defs/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use magic::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unset_color` is never used [INFO] [stdout] --> src/chessboard/castling_rights.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl CastlingRights { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn unset_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_castle_right` is never used [INFO] [stdout] --> src/chessboard/chessboard.rs:868:8 [INFO] [stdout] | [INFO] [stdout] 172 | impl ChessBoard { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 868 | fn set_castle_right(&mut self, side: CastleSide, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIRS` is never used [INFO] [stdout] --> src/defs/direction.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DIRS: [Direction; 8] = [ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Magic` is never constructed [INFO] [stdout] --> src/defs/magic.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Magic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/defs/magic.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl Magic { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 13 | /// Creates a new [`Magic`] struct. [INFO] [stdout] 14 | pub const fn new(mask: BitBoard, magic: u64, shift: u8, offset: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn key(&self, occupancy: BitBoard) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn calculate_key(occupancy: BitBoard, mask: BitBoard, magic: u64, shift: u8) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn mask(&self) -> BitBoard { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn magic(&self) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn shift(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn offset(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "53b5a66ff1616f6a7ae77f1ec888f3636416da82408e81cf7bf4cf8f5b1ffe3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53b5a66ff1616f6a7ae77f1ec888f3636416da82408e81cf7bf4cf8f5b1ffe3f", kill_on_drop: false }` [INFO] [stdout] 53b5a66ff1616f6a7ae77f1ec888f3636416da82408e81cf7bf4cf8f5b1ffe3f