[INFO] cloning repository https://github.com/panicd9/chess-engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/panicd9/chess-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanicd9%2Fchess-engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanicd9%2Fchess-engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] edbee770db9f6e47f6f22ea496338fbdc1ec16bc
[INFO] testing panicd9/chess-engine against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanicd9%2Fchess-engine" "/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/panicd9/chess-engine
[INFO] finished tweaking git repo https://github.com/panicd9/chess-engine
[INFO] tweaked toml for git repo https://github.com/panicd9/chess-engine written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/panicd9/chess-engine on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/panicd9/chess-engine 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded oorandom v11.1.4
[INFO] [stderr]   Downloaded clap v4.5.26
[INFO] [stderr]   Downloaded clap_builder v4.5.26
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3979b6b9acac8412b3bf2d24d9a0e26c3f44d5ef007f83ac8103e1074768b592
[INFO] running `Command { std: "docker" "start" "-a" "3979b6b9acac8412b3bf2d24d9a0e26c3f44d5ef007f83ac8103e1074768b592", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3979b6b9acac8412b3bf2d24d9a0e26c3f44d5ef007f83ac8103e1074768b592", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3979b6b9acac8412b3bf2d24d9a0e26c3f44d5ef007f83ac8103e1074768b592", kill_on_drop: false }`
[INFO] [stdout] 3979b6b9acac8412b3bf2d24d9a0e26c3f44d5ef007f83ac8103e1074768b592
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 742c6043422565b82eabf57018b8f535bd8e203994f2b76d5438c9cafd6524ce
[INFO] running `Command { std: "docker" "start" "-a" "742c6043422565b82eabf57018b8f535bd8e203994f2b76d5438c9cafd6524ce", kill_on_drop: false }`
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling chess-engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Piece`, `display_board`, `self`, and `single_queen_attacks`
[INFO] [stdout]   --> src/chessboard.rs:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 |     display::{self, display_board},
[INFO] [stdout]    |                     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |         move_gen_queen::{all_queens_attacks, single_queen_attacks},
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     piece::{self, ColoredPiece, Piece, PromotionPiece},
[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: `display::display_board`
[INFO] [stdout]  --> src/move_gen/move_gen_rook.rs:1:73
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{chessboard::{Bitboard, Chessboard, FILE_MASKS, RANK_MASKS}, display::display_board, utils::{calculate_sliding_attacks, re...
[INFO] [stdout]   |                                                                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FILE_A` and `FILE_H`
[INFO] [stdout]  --> src/move_gen/move_gen_pawn.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |     file_masks::{FILE_A, FILE_H},
[INFO] [stdout]   |                  ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bitboard`
[INFO] [stdout]  --> src/move_gen/move_gen_bishop.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{chessboard::{Bitboard, Chessboard}, utils::{calculate_sliding_attacks, reverse_bits, ANTI_DIAGONAL_MASKS, DIAGONAL_MASKS}};
[INFO] [stdout]   |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bitboard`
[INFO] [stdout]  --> src/move_gen/move_gen_queen.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{chessboard::{Bitboard, Chessboard, FILE_MASKS, RANK_MASKS}, utils::{calculate_sliding_attacks, ANTI_DIAGONAL_MASKS, DIAGO...
[INFO] [stdout]   |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `all_bishops_attacks` and `all_rooks_attacks`
[INFO] [stdout]  --> src/move_gen/move_gen_queen.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::{move_gen_bishop::{all_bishops_attacks, single_bishop_attacks}, move_gen_rook::{all_rooks_attacks, single_rook_attacks}};
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^^^^                                          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `display::display_board`
[INFO] [stdout]  --> src/move_gen/move_gen_king.rs:1:76
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{chessboard::{Bitboard, Chessboard, SingletonBitboard, Square}, display::display_board, utils::{BLACK_KING_CASTLE_EMPTY_SQ...
[INFO] [stdout]   |                                                                            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Piece` and `self`
[INFO] [stdout]  --> src/move_gen/check_and_make_move.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     piece::{self, Piece, PromotionPiece},
[INFO] [stdout]   |             ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Instant`
[INFO] [stdout]   --> src/search.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     use std::time::Instant;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chessboard::Chessboard`
[INFO] [stdout]   --> src/search.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     use crate::chessboard::Chessboard;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::nega_max`
[INFO] [stdout]   --> src/search.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     use super::nega_max;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `display_bitboard`, `display_board`, and `self`
[INFO] [stdout]  --> src/perft.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::display::{self, display_bitboard, display_board};
[INFO] [stdout]   |                      ^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Piece`, `black_legal_moves`, `display::display_board_string`, `get_piece_at_square`, and `white_legal_moves`
[INFO] [stdout]  --> src/eval.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...d, display::display_board_string, move_gen::{black_legal_moves, white_legal_moves}, piece::{ColoredPiece, Piece}, piece_square_tables::{get_piece_at_square, B...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^             ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^                         ^^^^^                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Piece`
[INFO] [stdout]  --> src/piece_square_tables.rs:1:80
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{chessboard::{Chessboard, SingletonBitboard}, piece::{ColoredPiece, Piece}};
[INFO] [stdout]   |                                                                                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/search.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let mut beta = beta;
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BOARD_SIZE` is never used
[INFO] [stdout]   --> src/chessboard.rs:60:7
[INFO] [stdout]    |
[INFO] [stdout] 60 | const BOARD_SIZE: usize = 64;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLACK_KING_START_SQUARE` is never used
[INFO] [stdout]    --> src/chessboard.rs:113:18
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub(crate) const BLACK_KING_START_SQUARE: u64 = 0x1000000000000000;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_3` is never used
[INFO] [stdout]   --> src/chessboard.rs:69:15
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub const RANK_3: u64 = 0x0000000000FF0000;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_4` is never used
[INFO] [stdout]   --> src/chessboard.rs:70:15
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub const RANK_4: u64 = 0x00000000FF000000;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_5` is never used
[INFO] [stdout]   --> src/chessboard.rs:71:15
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub const RANK_5: u64 = 0x000000FF00000000;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_6` is never used
[INFO] [stdout]   --> src/chessboard.rs:72:15
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub const RANK_6: u64 = 0x0000FF0000000000;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_B` is never used
[INFO] [stdout]   --> src/chessboard.rs:79:15
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub const FILE_B: u64 = 0x0202020202020202;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_C` is never used
[INFO] [stdout]   --> src/chessboard.rs:80:15
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub const FILE_C: u64 = 0x0404040404040404;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_D` is never used
[INFO] [stdout]   --> src/chessboard.rs:81:15
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub const FILE_D: u64 = 0x0808080808080808;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_E` is never used
[INFO] [stdout]   --> src/chessboard.rs:82:15
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub const FILE_E: u64 = 0x1010101010101010;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_F` is never used
[INFO] [stdout]   --> src/chessboard.rs:83:15
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub const FILE_F: u64 = 0x2020202020202020;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_G` is never used
[INFO] [stdout]   --> src/chessboard.rs:84:15
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub const FILE_G: u64 = 0x4040404040404040;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `piece_to_move` is never read
[INFO] [stdout]   --> src/move.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Move {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 11 |     piece_to_move: Piece,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Move` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `CHECK` and `CHECKMATE` are never used
[INFO] [stdout]   --> src/move.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Move {
[INFO] [stdout]    | --------- associated constants in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     const CHECK: u32 = 8;
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 28 |     const CHECKMATE: u32 = 9;
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `black_legal_moves`, `nega_max`, and `white_legal_moves`
[INFO] [stdout]  --> src/main.rs:5:89
[INFO] [stdout]   |
[INFO] [stdout] 5 | ...gen::{black_legal_moves, white_legal_moves}, perft::{compare_boards, format_move}, piece::PromotionPiece, search::{nega_max, nega_...
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^                                                                         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.62s
[INFO] running `Command { std: "docker" "inspect" "742c6043422565b82eabf57018b8f535bd8e203994f2b76d5438c9cafd6524ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "742c6043422565b82eabf57018b8f535bd8e203994f2b76d5438c9cafd6524ce", kill_on_drop: false }`
[INFO] [stdout] 742c6043422565b82eabf57018b8f535bd8e203994f2b76d5438c9cafd6524ce
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f67fca15405763ad7a13fd28320ded4275f3e7342c2f05c1ec36b628b9bd191e
[INFO] running `Command { std: "docker" "start" "-a" "f67fca15405763ad7a13fd28320ded4275f3e7342c2f05c1ec36b628b9bd191e", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling serde_json v1.0.135
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling clap_builder v4.5.26
[INFO] [stderr]    Compiling oorandom v11.1.4
[INFO] [stdout] warning: unused imports: `Piece`, `display_board`, `self`, and `single_queen_attacks`
[INFO] [stdout]   --> src/chessboard.rs:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 |     display::{self, display_board},
[INFO] [stdout]    |                     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |         move_gen_queen::{all_queens_attacks, single_queen_attacks},
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     piece::{self, ColoredPiece, Piece, PromotionPiece},
[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: `display::display_board`
[INFO] [stdout]  --> src/move_gen/move_gen_rook.rs:1:73
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{chessboard::{Bitboard, Chessboard, FILE_MASKS, RANK_MASKS}, display::display_board, utils::{calculate_sliding_attacks, re...
[INFO] [stdout]   |                                                                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FILE_A` and `FILE_H`
[INFO] [stdout]  --> src/move_gen/move_gen_pawn.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |     file_masks::{FILE_A, FILE_H},
[INFO] [stdout]   |                  ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bitboard`
[INFO] [stdout]  --> src/move_gen/move_gen_bishop.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{chessboard::{Bitboard, Chessboard}, utils::{calculate_sliding_attacks, reverse_bits, ANTI_DIAGONAL_MASKS, DIAGONAL_MASKS}};
[INFO] [stdout]   |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bitboard`
[INFO] [stdout]  --> src/move_gen/move_gen_queen.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{chessboard::{Bitboard, Chessboard, FILE_MASKS, RANK_MASKS}, utils::{calculate_sliding_attacks, ANTI_DIAGONAL_MASKS, DIAGO...
[INFO] [stdout]   |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `all_bishops_attacks` and `all_rooks_attacks`
[INFO] [stdout]  --> src/move_gen/move_gen_queen.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::{move_gen_bishop::{all_bishops_attacks, single_bishop_attacks}, move_gen_rook::{all_rooks_attacks, single_rook_attacks}};
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^^^^                                          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `display::display_board`
[INFO] [stdout]  --> src/move_gen/move_gen_king.rs:1:76
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{chessboard::{Bitboard, Chessboard, SingletonBitboard, Square}, display::display_board, utils::{BLACK_KING_CASTLE_EMPTY_SQ...
[INFO] [stdout]   |                                                                            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Piece` and `self`
[INFO] [stdout]  --> src/move_gen/check_and_make_move.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     piece::{self, Piece, PromotionPiece},
[INFO] [stdout]   |             ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Instant`
[INFO] [stdout]   --> src/search.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     use std::time::Instant;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::chessboard::Chessboard`
[INFO] [stdout]   --> src/search.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     use crate::chessboard::Chessboard;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::nega_max`
[INFO] [stdout]   --> src/search.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     use super::nega_max;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `display_bitboard`, `display_board`, and `self`
[INFO] [stdout]  --> src/perft.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::display::{self, display_bitboard, display_board};
[INFO] [stdout]   |                      ^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Piece`, `black_legal_moves`, `display::display_board_string`, `get_piece_at_square`, and `white_legal_moves`
[INFO] [stdout]  --> src/eval.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...d, display::display_board_string, move_gen::{black_legal_moves, white_legal_moves}, piece::{ColoredPiece, Piece}, piece_square_tables::{get_piece_at_square, B...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^             ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^                         ^^^^^                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Piece`
[INFO] [stdout]  --> src/piece_square_tables.rs:1:80
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{chessboard::{Chessboard, SingletonBitboard}, piece::{ColoredPiece, Piece}};
[INFO] [stdout]   |                                                                                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/search.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let mut beta = beta;
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BOARD_SIZE` is never used
[INFO] [stdout]   --> src/chessboard.rs:60:7
[INFO] [stdout]    |
[INFO] [stdout] 60 | const BOARD_SIZE: usize = 64;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLACK_KING_START_SQUARE` is never used
[INFO] [stdout]    --> src/chessboard.rs:113:18
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub(crate) const BLACK_KING_START_SQUARE: u64 = 0x1000000000000000;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_3` is never used
[INFO] [stdout]   --> src/chessboard.rs:69:15
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub const RANK_3: u64 = 0x0000000000FF0000;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_4` is never used
[INFO] [stdout]   --> src/chessboard.rs:70:15
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub const RANK_4: u64 = 0x00000000FF000000;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_5` is never used
[INFO] [stdout]   --> src/chessboard.rs:71:15
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub const RANK_5: u64 = 0x000000FF00000000;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_6` is never used
[INFO] [stdout]   --> src/chessboard.rs:72:15
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub const RANK_6: u64 = 0x0000FF0000000000;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_B` is never used
[INFO] [stdout]   --> src/chessboard.rs:79:15
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub const FILE_B: u64 = 0x0202020202020202;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_C` is never used
[INFO] [stdout]   --> src/chessboard.rs:80:15
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub const FILE_C: u64 = 0x0404040404040404;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_D` is never used
[INFO] [stdout]   --> src/chessboard.rs:81:15
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub const FILE_D: u64 = 0x0808080808080808;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_E` is never used
[INFO] [stdout]   --> src/chessboard.rs:82:15
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub const FILE_E: u64 = 0x1010101010101010;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_F` is never used
[INFO] [stdout]   --> src/chessboard.rs:83:15
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub const FILE_F: u64 = 0x2020202020202020;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_G` is never used
[INFO] [stdout]   --> src/chessboard.rs:84:15
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub const FILE_G: u64 = 0x4040404040404040;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `piece_to_move` is never read
[INFO] [stdout]   --> src/move.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Move {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 11 |     piece_to_move: Piece,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Move` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `CHECK` and `CHECKMATE` are never used
[INFO] [stdout]   --> src/move.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Move {
[INFO] [stdout]    | --------- associated constants in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     const CHECK: u32 = 8;
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 28 |     const CHECKMATE: u32 = 9;
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stdout] warning: unused imports: `black_legal_moves`, `nega_max`, and `white_legal_moves`
[INFO] [stdout]  --> src/main.rs:5:89
[INFO] [stdout]   |
[INFO] [stdout] 5 | ...gen::{black_legal_moves, white_legal_moves}, perft::{compare_boards, format_move}, piece::PromotionPiece, search::{nega_max, nega_...
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^                                                                         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]    Compiling is-terminal v0.4.13
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling clap v4.5.26
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stderr]    Compiling chess-engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Piece`, `display_board`, `self`, and `single_queen_attacks`
[INFO] [stdout]   --> src/chessboard.rs:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 |     display::{self, display_board},
[INFO] [stdout]    |                     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |         move_gen_queen::{all_queens_attacks, single_queen_attacks},
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     piece::{self, ColoredPiece, Piece, PromotionPiece},
[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: `display::display_board`
[INFO] [stdout]  --> src/move_gen/move_gen_rook.rs:1:73
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{chessboard::{Bitboard, Chessboard, FILE_MASKS, RANK_MASKS}, display::display_board, utils::{calculate_sliding_attacks, re...
[INFO] [stdout]   |                                                                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/move_gen/move_gen_rook.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FILE_A` and `FILE_H`
[INFO] [stdout]  --> src/move_gen/move_gen_pawn.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |     file_masks::{FILE_A, FILE_H},
[INFO] [stdout]   |                  ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bitboard`
[INFO] [stdout]  --> src/move_gen/move_gen_bishop.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{chessboard::{Bitboard, Chessboard}, utils::{calculate_sliding_attacks, reverse_bits, ANTI_DIAGONAL_MASKS, DIAGONAL_MASKS}};
[INFO] [stdout]   |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bitboard`
[INFO] [stdout]  --> src/move_gen/move_gen_queen.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{chessboard::{Bitboard, Chessboard, FILE_MASKS, RANK_MASKS}, utils::{calculate_sliding_attacks, ANTI_DIAGONAL_MASKS, DIAGO...
[INFO] [stdout]   |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `all_bishops_attacks` and `all_rooks_attacks`
[INFO] [stdout]  --> src/move_gen/move_gen_queen.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::{move_gen_bishop::{all_bishops_attacks, single_bishop_attacks}, move_gen_rook::{all_rooks_attacks, single_rook_attacks}};
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^^^^                                          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `display::display_board`
[INFO] [stdout]  --> src/move_gen/move_gen_king.rs:1:76
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{chessboard::{Bitboard, Chessboard, SingletonBitboard, Square}, display::display_board, utils::{BLACK_KING_CASTLE_EMPTY_SQ...
[INFO] [stdout]   |                                                                            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Piece` and `self`
[INFO] [stdout]  --> src/move_gen/check_and_make_move.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     piece::{self, Piece, PromotionPiece},
[INFO] [stdout]   |             ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/perft.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::display::{self, display_bitboard, display_board};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Color`
[INFO] [stdout]    --> src/perft.rs:142:34
[INFO] [stdout]     |
[INFO] [stdout] 142 |         chessboard::{Chessboard, Color},
[INFO] [stdout]     |                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Piece`, `black_legal_moves`, `display::display_board_string`, `get_piece_at_square`, and `white_legal_moves`
[INFO] [stdout]  --> src/eval.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...d, display::display_board_string, move_gen::{black_legal_moves, white_legal_moves}, piece::{ColoredPiece, Piece}, piece_square_tables::{get_piece_at_square, B...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^             ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^                         ^^^^^                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Piece`
[INFO] [stdout]  --> src/piece_square_tables.rs:1:80
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{chessboard::{Chessboard, SingletonBitboard}, piece::{ColoredPiece, Piece}};
[INFO] [stdout]   |                                                                                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `black_legal_moves`, `nega_max`, and `white_legal_moves`
[INFO] [stdout]  --> src/main.rs:5:89
[INFO] [stdout]   |
[INFO] [stdout] 5 | ...gen::{black_legal_moves, white_legal_moves}, perft::{compare_boards, format_move}, piece::PromotionPiece, search::{nega_max, nega_...
[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 imports: `Color`, `display_board`, `perft_divide`, `self`, and `squares::SquareBitboard`
[INFO] [stdout]  --> tests/fen_positions.rs:1:45
[INFO] [stdout]   |
[INFO] [stdout] 1 | ...ard::{Chessboard, Color}, display::{self, display_board}, perft::{perft, perft_divide}, squares::SquareBitboard};
[INFO] [stdout]   |                      ^^^^^             ^^^^  ^^^^^^^^^^^^^                  ^^^^^^^^^^^^   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/search.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let mut beta = beta;
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BOARD_SIZE` is never used
[INFO] [stdout]   --> src/chessboard.rs:60:7
[INFO] [stdout]    |
[INFO] [stdout] 60 | const BOARD_SIZE: usize = 64;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLACK_KING_START_SQUARE` is never used
[INFO] [stdout]    --> src/chessboard.rs:113:18
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub(crate) const BLACK_KING_START_SQUARE: u64 = 0x1000000000000000;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_3` is never used
[INFO] [stdout]   --> src/chessboard.rs:69:15
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub const RANK_3: u64 = 0x0000000000FF0000;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_4` is never used
[INFO] [stdout]   --> src/chessboard.rs:70:15
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub const RANK_4: u64 = 0x00000000FF000000;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_5` is never used
[INFO] [stdout]   --> src/chessboard.rs:71:15
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub const RANK_5: u64 = 0x000000FF00000000;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RANK_6` is never used
[INFO] [stdout]   --> src/chessboard.rs:72:15
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub const RANK_6: u64 = 0x0000FF0000000000;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_B` is never used
[INFO] [stdout]   --> src/chessboard.rs:79:15
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub const FILE_B: u64 = 0x0202020202020202;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_C` is never used
[INFO] [stdout]   --> src/chessboard.rs:80:15
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub const FILE_C: u64 = 0x0404040404040404;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_D` is never used
[INFO] [stdout]   --> src/chessboard.rs:81:15
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub const FILE_D: u64 = 0x0808080808080808;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_E` is never used
[INFO] [stdout]   --> src/chessboard.rs:82:15
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub const FILE_E: u64 = 0x1010101010101010;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_F` is never used
[INFO] [stdout]   --> src/chessboard.rs:83:15
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub const FILE_F: u64 = 0x2020202020202020;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FILE_G` is never used
[INFO] [stdout]   --> src/chessboard.rs:84:15
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub const FILE_G: u64 = 0x4040404040404040;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `piece_to_move` is never read
[INFO] [stdout]   --> src/move.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Move {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 11 |     piece_to_move: Piece,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Move` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `CHECK` and `CHECKMATE` are never used
[INFO] [stdout]   --> src/move.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Move {
[INFO] [stdout]    | --------- associated constants in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     const CHECK: u32 = 8;
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 28 |     const CHECKMATE: u32 = 9;
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 24.11s
[INFO] running `Command { std: "docker" "inspect" "f67fca15405763ad7a13fd28320ded4275f3e7342c2f05c1ec36b628b9bd191e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f67fca15405763ad7a13fd28320ded4275f3e7342c2f05c1ec36b628b9bd191e", kill_on_drop: false }`
[INFO] [stdout] f67fca15405763ad7a13fd28320ded4275f3e7342c2f05c1ec36b628b9bd191e
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 38c2fdbae8d5ec57ecd6d6389f55089dd07f2c70e414b36befcd682d9a611b42
[INFO] running `Command { std: "docker" "start" "-a" "38c2fdbae8d5ec57ecd6d6389f55089dd07f2c70e414b36befcd682d9a611b42", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `Piece`, `display_board`, `self`, and `single_queen_attacks`
[INFO] [stderr]   --> src/chessboard.rs:28:21
[INFO] [stderr]    |
[INFO] [stderr] 28 |     display::{self, display_board},
[INFO] [stderr]    |                     ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 42 |         move_gen_queen::{all_queens_attacks, single_queen_attacks},
[INFO] [stderr]    |                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 45 |     piece::{self, ColoredPiece, Piece, PromotionPiece},
[INFO] [stderr]    |             ^^^^                ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `display::display_board`
[INFO] [stderr]  --> src/move_gen/move_gen_rook.rs:1:73
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::{chessboard::{Bitboard, Chessboard, FILE_MASKS, RANK_MASKS}, display::display_board, utils::{calculate_sliding_attacks, re...
[INFO] [stderr]   |                                                                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `FILE_A` and `FILE_H`
[INFO] [stderr]  --> src/move_gen/move_gen_pawn.rs:2:18
[INFO] [stderr]   |
[INFO] [stderr] 2 |     file_masks::{FILE_A, FILE_H},
[INFO] [stderr]   |                  ^^^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Bitboard`
[INFO] [stderr]  --> src/move_gen/move_gen_bishop.rs:1:26
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::{chessboard::{Bitboard, Chessboard}, utils::{calculate_sliding_attacks, reverse_bits, ANTI_DIAGONAL_MASKS, DIAGONAL_MASKS}};
[INFO] [stderr]   |                          ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Bitboard`
[INFO] [stderr]  --> src/move_gen/move_gen_queen.rs:1:26
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::{chessboard::{Bitboard, Chessboard, FILE_MASKS, RANK_MASKS}, utils::{calculate_sliding_attacks, ANTI_DIAGONAL_MASKS, DIAGO...
[INFO] [stderr]   |                          ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `all_bishops_attacks` and `all_rooks_attacks`
[INFO] [stderr]  --> src/move_gen/move_gen_queen.rs:3:31
[INFO] [stderr]   |
[INFO] [stderr] 3 | use super::{move_gen_bishop::{all_bishops_attacks, single_bishop_attacks}, move_gen_rook::{all_rooks_attacks, single_rook_attacks}};
[INFO] [stderr]   |                               ^^^^^^^^^^^^^^^^^^^                                          ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `display::display_board`
[INFO] [stderr]  --> src/move_gen/move_gen_king.rs:1:76
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::{chessboard::{Bitboard, Chessboard, SingletonBitboard, Square}, display::display_board, utils::{BLACK_KING_CASTLE_EMPTY_SQ...
[INFO] [stderr]   |                                                                            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Piece` and `self`
[INFO] [stderr]  --> src/move_gen/check_and_make_move.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 |     piece::{self, Piece, PromotionPiece},
[INFO] [stderr]   |             ^^^^  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::time::Instant`
[INFO] [stderr]   --> src/search.rs:77:9
[INFO] [stderr]    |
[INFO] [stderr] 77 |     use std::time::Instant;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::chessboard::Chessboard`
[INFO] [stderr]   --> src/search.rs:79:9
[INFO] [stderr]    |
[INFO] [stderr] 79 |     use crate::chessboard::Chessboard;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::nega_max`
[INFO] [stderr]   --> src/search.rs:81:9
[INFO] [stderr]    |
[INFO] [stderr] 81 |     use super::nega_max;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `display_bitboard`, `display_board`, and `self`
[INFO] [stderr]  --> src/perft.rs:2:22
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::display::{self, display_bitboard, display_board};
[INFO] [stderr]   |                      ^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Piece`, `black_legal_moves`, `display::display_board_string`, `get_piece_at_square`, and `white_legal_moves`
[INFO] [stderr]  --> src/eval.rs:2:29
[INFO] [stderr]   |
[INFO] [stderr] 2 | ...d, display::display_board_string, move_gen::{black_legal_moves, white_legal_moves}, piece::{ColoredPiece, Piece}, piece_square_tables::{get_piece_at_square, B...
[INFO] [stderr]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^             ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^                         ^^^^^                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Piece`
[INFO] [stderr]  --> src/piece_square_tables.rs:1:80
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::{chessboard::{Chessboard, SingletonBitboard}, piece::{ColoredPiece, Piece}};
[INFO] [stderr]   |                                                                                ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/search.rs:18:9
[INFO] [stderr]    |
[INFO] [stderr] 18 |     let mut beta = beta;
[INFO] [stderr]    |         ----^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `BOARD_SIZE` is never used
[INFO] [stderr]   --> src/chessboard.rs:60:7
[INFO] [stderr]    |
[INFO] [stderr] 60 | const BOARD_SIZE: usize = 64;
[INFO] [stderr]    |       ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `BLACK_KING_START_SQUARE` is never used
[INFO] [stderr]    --> src/chessboard.rs:113:18
[INFO] [stderr]     |
[INFO] [stderr] 113 | pub(crate) const BLACK_KING_START_SQUARE: u64 = 0x1000000000000000;
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `RANK_3` is never used
[INFO] [stderr]   --> src/chessboard.rs:69:15
[INFO] [stderr]    |
[INFO] [stderr] 69 |     pub const RANK_3: u64 = 0x0000000000FF0000;
[INFO] [stderr]    |               ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `RANK_4` is never used
[INFO] [stderr]   --> src/chessboard.rs:70:15
[INFO] [stderr]    |
[INFO] [stderr] 70 |     pub const RANK_4: u64 = 0x00000000FF000000;
[INFO] [stderr]    |               ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `RANK_5` is never used
[INFO] [stderr]   --> src/chessboard.rs:71:15
[INFO] [stderr]    |
[INFO] [stderr] 71 |     pub const RANK_5: u64 = 0x000000FF00000000;
[INFO] [stderr]    |               ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `RANK_6` is never used
[INFO] [stderr]   --> src/chessboard.rs:72:15
[INFO] [stderr]    |
[INFO] [stderr] 72 |     pub const RANK_6: u64 = 0x0000FF0000000000;
[INFO] [stderr]    |               ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `FILE_B` is never used
[INFO] [stderr]   --> src/chessboard.rs:79:15
[INFO] [stderr]    |
[INFO] [stderr] 79 |     pub const FILE_B: u64 = 0x0202020202020202;
[INFO] [stderr]    |               ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `FILE_C` is never used
[INFO] [stderr]   --> src/chessboard.rs:80:15
[INFO] [stderr]    |
[INFO] [stderr] 80 |     pub const FILE_C: u64 = 0x0404040404040404;
[INFO] [stderr]    |               ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `FILE_D` is never used
[INFO] [stderr]   --> src/chessboard.rs:81:15
[INFO] [stderr]    |
[INFO] [stderr] 81 |     pub const FILE_D: u64 = 0x0808080808080808;
[INFO] [stderr]    |               ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `FILE_E` is never used
[INFO] [stderr]   --> src/chessboard.rs:82:15
[INFO] [stderr]    |
[INFO] [stderr] 82 |     pub const FILE_E: u64 = 0x1010101010101010;
[INFO] [stderr]    |               ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `FILE_F` is never used
[INFO] [stderr]   --> src/chessboard.rs:83:15
[INFO] [stderr]    |
[INFO] [stderr] 83 |     pub const FILE_F: u64 = 0x2020202020202020;
[INFO] [stderr]    |               ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `FILE_G` is never used
[INFO] [stderr]   --> src/chessboard.rs:84:15
[INFO] [stderr]    |
[INFO] [stderr] 84 |     pub const FILE_G: u64 = 0x4040404040404040;
[INFO] [stderr]    |               ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `piece_to_move` is never read
[INFO] [stderr]   --> src/move.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub struct Move {
[INFO] [stderr]    |            ---- field in this struct
[INFO] [stderr] 11 |     piece_to_move: Piece,
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Move` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated constants `CHECK` and `CHECKMATE` are never used
[INFO] [stderr]   --> src/move.rs:27:11
[INFO] [stderr]    |
[INFO] [stderr] 17 | impl Move {
[INFO] [stderr]    | --------- associated constants in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 27 |     const CHECK: u32 = 8;
[INFO] [stderr]    |           ^^^^^
[INFO] [stderr] 28 |     const CHECKMATE: u32 = 9;
[INFO] [stderr]    |           ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `chess-engine` (lib) generated 29 warnings (run `cargo fix --lib -p chess-engine` to apply 15 suggestions)
[INFO] [stderr] warning: unused imports: `Color`, `display_board`, `perft_divide`, `self`, and `squares::SquareBitboard`
[INFO] [stderr]  --> tests/fen_positions.rs:1:45
[INFO] [stderr]   |
[INFO] [stderr] 1 | ...ard::{Chessboard, Color}, display::{self, display_board}, perft::{perft, perft_divide}, squares::SquareBitboard};
[INFO] [stderr]   |                      ^^^^^             ^^^^  ^^^^^^^^^^^^^                  ^^^^^^^^^^^^   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `black_legal_moves`, `nega_max`, and `white_legal_moves`
[INFO] [stderr]  --> src/main.rs:5:89
[INFO] [stderr]   |
[INFO] [stderr] 5 | ...gen::{black_legal_moves, white_legal_moves}, perft::{compare_boards, format_move}, piece::PromotionPiece, search::{nega_max, nega_...
[INFO] [stderr]   |          ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^                                                                         ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]    --> src/move_gen/move_gen_rook.rs:173:9
[INFO] [stdout] 
[INFO] [stderr]     |
[INFO] [stdout] running 10 tests
[INFO] [stderr] 173 |     use super::*;
[INFO] [stdout] test perft::perft_tests::test_perft_divide ... ok
[INFO] [stderr]     |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]  --> src/perft.rs:2:22
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::display::{self, display_bitboard, display_board};
[INFO] [stderr]   |                      ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Color`
[INFO] [stdout] test perft::perft_tests::test_perft_depth_2 ... ok
[INFO] [stderr]    --> src/perft.rs:142:34
[INFO] [stdout] test perft::perft_tests::test_perft_depth_3 ... ok
[INFO] [stderr]     |
[INFO] [stderr] 142 |         chessboard::{Chessboard, Color},
[INFO] [stderr]     |                                  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `chess-engine` (test "fen_positions") generated 1 warning (run `cargo fix --test "fen_positions" -p chess-engine` to apply 1 suggestion)
[INFO] [stderr] warning: `chess-engine` (bin "chess-engine") generated 1 warning (run `cargo fix --bin "chess-engine" -p chess-engine` to apply 1 suggestion)
[INFO] [stderr] warning: `chess-engine` (bin "chess-engine" test) generated 1 warning (1 duplicate)
[INFO] [stderr] warning: `chess-engine` (lib test) generated 28 warnings (25 duplicates) (run `cargo fix --lib -p chess-engine --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/chess_engine-8a35c140eedac0ae)
[INFO] [stdout] test perft::perft_tests::test_perft_depth_2_divide ... ok
[INFO] [stdout] test perft::perft_tests::test_perft_initial_position ... ok
[INFO] [stdout] test perft::perft_tests::test_perft_depth_4_divide ... FAILED
[INFO] [stdout] test perft::perft_tests::test_perft_depth_4 ... ok
[INFO] [stdout] test perft::perft_tests::test_perft_depth_5 ... ok
[INFO] [stdout] test search::test::test_negamax ... ok
[INFO] [stdout] test perft::perft_tests::test_perft_depth_6 ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- perft::perft_tests::test_perft_depth_4_divide stdout ----
[INFO] [stdout] 
[INFO] [stdout]  +---+---+---+---+---+---+---+---+
[INFO] [stdout]  | r | n | b | q | k | b | n | r | 8
[INFO] [stdout]  +---+---+---+---+---+---+---+---+
[INFO] [stdout]  | p | p | p | p | p | p |   |   | 7
[INFO] [stdout]  +---+---+---+---+---+---+---+---+
[INFO] [stdout]  |   |   |   |   |   |   |   |   | 6
[INFO] [stdout]  +---+---+---+---+---+---+---+---+
[INFO] [stdout]  |   |   |   |   |   |   | p | p | 5
[INFO] [stdout]  +---+---+---+---+---+---+---+---+
[INFO] [stdout]  |   |   |   |   |   |   |   | P | 4
[INFO] [stdout]  +---+---+---+---+---+---+---+---+
[INFO] [stdout]  | P |   |   |   |   |   |   |   | 3
[INFO] [stdout]  +---+---+---+---+---+---+---+---+
[INFO] [stdout]  |   | P | P | P | P | P | P |   | 2
[INFO] [stdout]  +---+---+---+---+---+---+---+---+
[INFO] [stdout]  | R | N | B | Q | K | B | N | R | 1
[INFO] [stdout]  +---+---+---+---+---+---+---+---+
[INFO] [stdout]    a   b   c   d   e   f   g   h
[INFO] [stdout] 
[INFO] [stdout] FEN: rnbqkbnr/pppppp2/8/6pp/7P/P7/1PPPPPP1/RNBQKBNR w KQkq - 0 1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] thread 'perft::perft_tests::test_perft_depth_4_divide' (29) panicked at src/chessboard.rs:557:18:
[INFO] [stdout] Invalid piece
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x62610355d052 - std[3b51380354919863]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x62610355d052 - std[3b51380354919863]::backtrace_rs::backtrace::trace_unsynchronized::<std[3b51380354919863]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x62610355d052 - std[3b51380354919863]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x62610355d052 - <<std[3b51380354919863]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[27de1724e4349be2]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x6261035719ba - <core[27de1724e4349be2]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x6261035719ba - core[27de1724e4349be2]::fmt::write
[INFO] [stdout]    6:     0x626103561e56 - std[3b51380354919863]::io::default_write_fmt::<alloc[a57f19327c0ad893]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x626103561e56 - <alloc[a57f19327c0ad893]::vec::Vec<u8> as std[3b51380354919863]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x62610353b7ef - <std[3b51380354919863]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x62610353b7ef - std[3b51380354919863]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x626103555339 - std[3b51380354919863]::panicking::default_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x6261034e47ae - <alloc[a57f19327c0ad893]::boxed::Box<dyn for<'a, 'b> core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x6261034e47ae - test[182b2e79ecd7bbd9]::test_main_with_exit_callback::<test[182b2e79ecd7bbd9]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x6261035554f2 - <alloc[a57f19327c0ad893]::boxed::Box<dyn for<'a, 'b> core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x6261035554f2 - std[3b51380354919863]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x62610353b8da - std[3b51380354919863]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x626103530b29 - std[3b51380354919863]::sys::backtrace::__rust_end_short_backtrace::<std[3b51380354919863]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x62610353c6fd - __rustc[d79c0ace40940972]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x62610357208c - core[27de1724e4349be2]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x6261034d48a2 - <chess_engine[4a7e627c716bb4c7]::chessboard::Chessboard>::capture_black_piece
[INFO] [stdout]                                at /opt/rustwide/workdir/src/chessboard.rs:557:18
[INFO] [stdout]   20:     0x6261034d6825 - <chess_engine[4a7e627c716bb4c7]::chessboard::Chessboard>::make_white_pawn_capture_move
[INFO] [stdout]                                at /opt/rustwide/workdir/src/chessboard.rs:968:24
[INFO] [stdout]   21:     0x6261034d1dca - chess_engine[4a7e627c716bb4c7]::move_gen::move_gen_pawn::white_pawns_legal_moves
[INFO] [stdout]                                at /opt/rustwide/workdir/src/move_gen/move_gen_pawn.rs:240:39
[INFO] [stdout]   22:     0x6261034d018b - chess_engine[4a7e627c716bb4c7]::move_gen::white_legal_moves
[INFO] [stdout]                                at /opt/rustwide/workdir/src/move_gen.rs:81:31
[INFO] [stdout]   23:     0x6261034cd130 - chess_engine[4a7e627c716bb4c7]::perft::perft_divide
[INFO] [stdout]                                at /opt/rustwide/workdir/src/perft.rs:85:9
[INFO] [stdout]   24:     0x6261034cad4b - chess_engine[4a7e627c716bb4c7]::perft::perft_tests::test_perft_depth_4_divide
[INFO] [stdout]                                at /opt/rustwide/workdir/src/perft.rs:231:9
[INFO] [stdout]   25:     0x6261034c8807 - chess_engine[4a7e627c716bb4c7]::perft::perft_tests::test_perft_depth_4_divide::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/perft.rs:222:35
[INFO] [stdout]   26:     0x6261034d4466 - <chess_engine[4a7e627c716bb4c7]::perft::perft_tests::test_perft_depth_4_divide::{closure#0} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   27:     0x6261034d8b5b - <fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x6261034d8b5b - test[182b2e79ecd7bbd9]::__rust_begin_short_backtrace::<core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>, fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:663:18
[INFO] [stdout]   29:     0x6261034e53ba - test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:74
[INFO] [stdout]   30:     0x6261034e53ba - <core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   31:     0x6261034e53ba - std[3b51380354919863]::panicking::catch_unwind::do_call::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   32:     0x6261034e53ba - std[3b51380354919863]::panicking::catch_unwind::<core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>, core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   33:     0x6261034e53ba - std[3b51380354919863]::panic::catch_unwind::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   34:     0x6261034e53ba - test[182b2e79ecd7bbd9]::run_test_in_process
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:27
[INFO] [stdout]   35:     0x6261034e53ba - test[182b2e79ecd7bbd9]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:607:43
[INFO] [stdout]   36:     0x6261034e0964 - test[182b2e79ecd7bbd9]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:637:41
[INFO] [stdout]   37:     0x6261034e0964 - std[3b51380354919863]::sys::backtrace::__rust_begin_short_backtrace::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   38:     0x6261034e7eb2 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   39:     0x6261034e7eb2 - <core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   40:     0x6261034e7eb2 - std[3b51380354919863]::panicking::catch_unwind::do_call::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   41:     0x6261034e7eb2 - std[3b51380354919863]::panicking::catch_unwind::<(), core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   42:     0x6261034e7eb2 - std[3b51380354919863]::panic::catch_unwind::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   43:     0x6261034e7eb2 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   44:     0x6261034e7eb2 - <std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x62610355c8ff - <alloc[a57f19327c0ad893]::boxed::Box<dyn core[27de1724e4349be2]::ops::function::FnOnce<(), Output = ()> + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   46:     0x62610355c8ff - <std[3b51380354919863]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   47:     0x70985a549aa4 - <unknown>
[INFO] [stdout]   48:     0x70985a5d6a64 - clone
[INFO] [stdout]   49:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     perft::perft_tests::test_perft_depth_4_divide
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 9 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 46.32s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "38c2fdbae8d5ec57ecd6d6389f55089dd07f2c70e414b36befcd682d9a611b42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38c2fdbae8d5ec57ecd6d6389f55089dd07f2c70e414b36befcd682d9a611b42", kill_on_drop: false }`
[INFO] [stdout] 38c2fdbae8d5ec57ecd6d6389f55089dd07f2c70e414b36befcd682d9a611b42
