[INFO] cloning repository https://github.com/sunspcts/ferrite-chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sunspcts/ferrite-chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunspcts%2Fferrite-chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunspcts%2Fferrite-chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8823acd83e0d3bd379358014353d9634994c96e [INFO] checking sunspcts/ferrite-chess against try#f17e3a389e192f83fe27a581774a9d1dbb8e565b for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunspcts%2Fferrite-chess" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sunspcts/ferrite-chess on toolchain f17e3a389e192f83fe27a581774a9d1dbb8e565b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sunspcts/ferrite-chess [INFO] finished tweaking git repo https://github.com/sunspcts/ferrite-chess [INFO] tweaked toml for git repo https://github.com/sunspcts/ferrite-chess written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sunspcts/ferrite-chess 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" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e5f5426e30b4cc95b7d249c30b0847d6b97f28e2434fd6e8e2d6c12a9a64802 [INFO] running `Command { std: "docker" "start" "-a" "7e5f5426e30b4cc95b7d249c30b0847d6b97f28e2434fd6e8e2d6c12a9a64802", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e5f5426e30b4cc95b7d249c30b0847d6b97f28e2434fd6e8e2d6c12a9a64802", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e5f5426e30b4cc95b7d249c30b0847d6b97f28e2434fd6e8e2d6c12a9a64802", kill_on_drop: false }` [INFO] [stdout] 7e5f5426e30b4cc95b7d249c30b0847d6b97f28e2434fd6e8e2d6c12a9a64802 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8bc3ed4c2c7b544c6ca57bb875a84ef5005eb87fcc92f56fdd066b5a9cbf0e2 [INFO] running `Command { std: "docker" "start" "-a" "a8bc3ed4c2c7b544c6ca57bb875a84ef5005eb87fcc92f56fdd066b5a9cbf0e2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling zerocopy v0.8.17 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking rand_core v0.9.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking ferrite-chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/board.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let mut values: Vec = (0..781).map(|_| rng.random::()).collect(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ep_sqr_str` [INFO] [stdout] --> src/board.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | let ep_sqr_str = split.next().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ep_sqr_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let board = boardbuilder.init(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_GAME_MOVES` is never used [INFO] [stdout] --> src/board.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const MAX_GAME_MOVES: usize = 1024; //sure. [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/board.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let mut values: Vec = (0..781).map(|_| rng.random::()).collect(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `serialize` is never used [INFO] [stdout] --> src/board.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Bitboard { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 46 | pub fn serialize(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Piece` is never used [INFO] [stdout] --> src/board.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum Piece { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Piece` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `piece_bitboards`, `side_bitboards`, `game_state`, and `zobrist_randoms` are never read [INFO] [stdout] --> src/board.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Board { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 79 | pub piece_bitboards: [[Bitboard; 6]; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 80 | pub side_bitboards: [Bitboard; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 81 | pub game_state: GameState, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | // pub history: StateHistory, // I need to implement some defaults to fill the history array! [INFO] [stdout] 83 | pub zobrist_randoms: [u64; 781], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `active_side`, `castling`, `half_moves`, `move_counter`, `en_passant_square`, and `next_move` are never read [INFO] [stdout] --> src/board.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct GameState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 130 | pub active_side: Side, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 131 | pub castling: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 132 | pub half_moves: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 133 | pub move_counter: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 134 | pub en_passant_square: Option, //unfortunately, it's unprofessional to call this the holy_hell_square. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | pub curr_zobrist_key: u64, [INFO] [stdout] 136 | pub next_move: Move [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StateHistory` is never constructed [INFO] [stdout] --> src/board.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct StateHistory { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index_to_piece` is never used [INFO] [stdout] --> src/board.rs:151:4 [INFO] [stdout] | [INFO] [stdout] 151 | fn index_to_piece (idx: usize) -> Piece { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ep_sqr_str` [INFO] [stdout] --> src/board.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | let ep_sqr_str = split.next().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ep_sqr_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let board = boardbuilder.init(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_GAME_MOVES` is never used [INFO] [stdout] --> src/board.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const MAX_GAME_MOVES: usize = 1024; //sure. [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `serialize` is never used [INFO] [stdout] --> src/board.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Bitboard { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 46 | pub fn serialize(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Piece` is never used [INFO] [stdout] --> src/board.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum Piece { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Piece` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `piece_bitboards`, `side_bitboards`, `game_state`, and `zobrist_randoms` are never read [INFO] [stdout] --> src/board.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Board { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 79 | pub piece_bitboards: [[Bitboard; 6]; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 80 | pub side_bitboards: [Bitboard; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 81 | pub game_state: GameState, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | // pub history: StateHistory, // I need to implement some defaults to fill the history array! [INFO] [stdout] 83 | pub zobrist_randoms: [u64; 781], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `active_side`, `castling`, `half_moves`, `move_counter`, `en_passant_square`, and `next_move` are never read [INFO] [stdout] --> src/board.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct GameState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 130 | pub active_side: Side, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 131 | pub castling: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 132 | pub half_moves: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 133 | pub move_counter: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 134 | pub en_passant_square: Option, //unfortunately, it's unprofessional to call this the holy_hell_square. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | pub curr_zobrist_key: u64, [INFO] [stdout] 136 | pub next_move: Move [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StateHistory` is never constructed [INFO] [stdout] --> src/board.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct StateHistory { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index_to_piece` is never used [INFO] [stdout] --> src/board.rs:151:4 [INFO] [stdout] | [INFO] [stdout] 151 | fn index_to_piece (idx: usize) -> Piece { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.70s [INFO] running `Command { std: "docker" "inspect" "a8bc3ed4c2c7b544c6ca57bb875a84ef5005eb87fcc92f56fdd066b5a9cbf0e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8bc3ed4c2c7b544c6ca57bb875a84ef5005eb87fcc92f56fdd066b5a9cbf0e2", kill_on_drop: false }` [INFO] [stdout] a8bc3ed4c2c7b544c6ca57bb875a84ef5005eb87fcc92f56fdd066b5a9cbf0e2