[INFO] fetching crate rchess 2.3.0... [INFO] building rchess-2.3.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate rchess 2.3.0 into /workspace/builds/worker-7-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rchess 2.3.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b59f1128a034804e18cf68fd38f796e532f009a8826df3c62756f3e4e0bb0757 [INFO] running `Command { std: "docker" "start" "-a" "b59f1128a034804e18cf68fd38f796e532f009a8826df3c62756f3e4e0bb0757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b59f1128a034804e18cf68fd38f796e532f009a8826df3c62756f3e4e0bb0757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b59f1128a034804e18cf68fd38f796e532f009a8826df3c62756f3e4e0bb0757", kill_on_drop: false }` [INFO] [stdout] b59f1128a034804e18cf68fd38f796e532f009a8826df3c62756f3e4e0bb0757 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72400cb3334626a940fbd55a69c8511ee18ebdfbbb216361b85ca2b1ac72fd7b [INFO] running `Command { std: "docker" "start" "-a" "72400cb3334626a940fbd55a69c8511ee18ebdfbbb216361b85ca2b1ac72fd7b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling fastrand v2.3.0 [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: 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: 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: 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 19.11s [INFO] running `Command { std: "docker" "inspect" "72400cb3334626a940fbd55a69c8511ee18ebdfbbb216361b85ca2b1ac72fd7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72400cb3334626a940fbd55a69c8511ee18ebdfbbb216361b85ca2b1ac72fd7b", kill_on_drop: false }` [INFO] [stdout] 72400cb3334626a940fbd55a69c8511ee18ebdfbbb216361b85ca2b1ac72fd7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ade221741b181fee6cb8c5e75597a184d27ba8b76aaa3fec4aa0824936374198 [INFO] running `Command { std: "docker" "start" "-a" "ade221741b181fee6cb8c5e75597a184d27ba8b76aaa3fec4aa0824936374198", 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 rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling clap_lex v0.7.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling memchr v2.7.4 [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 itertools v0.10.5 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.21 [INFO] [stderr] Compiling rchess v2.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling once_cell v1.20.2 [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] [stderr] Compiling num-traits v0.2.19 [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 crossbeam-deque v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] error: could not compile `regex-syntax` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/bin/rustc --crate-name regex_syntax --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/regex-syntax-0.8.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C debuginfo=2 -C debug-assertions=on --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "default", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"))' -C metadata=3881450f07006b78 -C extra-filename=-e7d0c3bca40278f6 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ade221741b181fee6cb8c5e75597a184d27ba8b76aaa3fec4aa0824936374198", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ade221741b181fee6cb8c5e75597a184d27ba8b76aaa3fec4aa0824936374198", kill_on_drop: false }` [INFO] [stdout] ade221741b181fee6cb8c5e75597a184d27ba8b76aaa3fec4aa0824936374198