[INFO] cloning repository https://github.com/ikcilrep/sherlock [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ikcilrep/sherlock" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fikcilrep%2Fsherlock"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fikcilrep%2Fsherlock'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 30ea1f2dc4be2eb4350bf66ce637230b424efeac [INFO] checking ikcilrep/sherlock against try#96b3c169cd2d8959926fa240f10342f1659f8ae3 for pr-71896 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fikcilrep%2Fsherlock" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ikcilrep/sherlock on toolchain 96b3c169cd2d8959926fa240f10342f1659f8ae3 [INFO] running `"/workspace/cargo-home/bin/cargo" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ikcilrep/sherlock [INFO] finished tweaking git repo https://github.com/ikcilrep/sherlock [INFO] tweaked toml for git repo https://github.com/ikcilrep/sherlock written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/ikcilrep/sherlock already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b0f23fc3d3e1e3845598be438a39d8ef797e7373ca0bb4e1d0169df67857b6c3 [INFO] running `"docker" "start" "-a" "b0f23fc3d3e1e3845598be438a39d8ef797e7373ca0bb4e1d0169df67857b6c3"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking sherlock v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `crate::board::Board` [INFO] [stderr] --> src/board/board_state.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::board::Board; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::distributions::Uniform` [INFO] [stderr] --> src/pieces/king.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use rand::distributions::Uniform; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::distributions::Uniform` [INFO] [stderr] --> src/pieces/knight.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use rand::distributions::Uniform; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::board::Board` [INFO] [stderr] --> src/board/board_state.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::board::Board; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::distributions::Uniform` [INFO] [stderr] --> src/pieces/king.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use rand::distributions::Uniform; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::distributions::Uniform` [INFO] [stderr] --> src/pieces/knight.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use rand::distributions::Uniform; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color` [INFO] [stderr] --> src/board/board_state.rs:69:49 [INFO] [stderr] | [INFO] [stderr] 69 | fn revert_has_stayed(self: &mut BoardState, color: usize) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from_file` [INFO] [stderr] --> src/pieces/pawn.rs:95:31 [INFO] [stderr] | [INFO] [stderr] 95 | fn is_move_north_pseudo_legal(from_file: i8, to: i8, board: &Board, pawn_color: Color) -> bool { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_file` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pawn_color` [INFO] [stderr] --> src/pieces/pawn.rs:95:69 [INFO] [stderr] | [INFO] [stderr] 95 | fn is_move_north_pseudo_legal(from_file: i8, to: i8, board: &Board, pawn_color: Color) -> bool { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pawn_color` [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `KING_POSITIONS` [INFO] [stderr] --> src/board/board_state.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub const KING_POSITIONS: [usize; 2] = [4, 60]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `KINGS_ROOKS_POSITIONS` [INFO] [stderr] --> src/board/board_state.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | pub const KINGS_ROOKS_POSITIONS: [usize; 2] = [7, 63]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `QUEENS_ROOKS_POSITIONS` [INFO] [stderr] --> src/board/board_state.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | pub const QUEENS_ROOKS_POSITIONS: [usize; 2] = [0, 56]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `KINGS_ROOKS_AFTER_CASTLING_POSITIONS` [INFO] [stderr] --> src/board/board_state.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | pub const KINGS_ROOKS_AFTER_CASTLING_POSITIONS: [usize; 2] = [5, 61]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `QUEENS_ROOKS_AFTER_CASTLING_POSITIONS` [INFO] [stderr] --> src/board/board_state.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | pub const QUEENS_ROOKS_AFTER_CASTLING_POSITIONS: [usize; 2] = [3, 59]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `INVERSED_PAWN_STEPS` [INFO] [stderr] --> src/board/board_state.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | pub const INVERSED_PAWN_STEPS: [i8; 2] = [-8, 8]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update_fifty_moves` [INFO] [stderr] --> src/board/board_state.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | / fn update_fifty_moves( [INFO] [stderr] 37 | | self: &mut BoardState, [INFO] [stderr] 38 | | last_state: &mut BoardState, [INFO] [stderr] 39 | | moved_piece: ColorizedPiece, [INFO] [stderr] ... | [INFO] [stderr] 47 | | } [INFO] [stderr] 48 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update_has_stayed` [INFO] [stderr] --> src/board/board_state.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | / fn update_has_stayed( [INFO] [stderr] 52 | | self: &mut BoardState, [INFO] [stderr] 53 | | last_state: &mut BoardState, [INFO] [stderr] 54 | | from: usize, [INFO] [stderr] ... | [INFO] [stderr] 65 | | self.has_queens_rook_stayed_in_place[color] &= QUEENS_ROOKS_POSITIONS[color] != from; [INFO] [stderr] 66 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `revert_has_stayed` [INFO] [stderr] --> src/board/board_state.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | fn revert_has_stayed(self: &mut BoardState, color: usize) {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update_en_passant_square` [INFO] [stderr] --> src/board/board_state.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | / fn update_en_passant_square( [INFO] [stderr] 74 | | self: &mut BoardState, [INFO] [stderr] 75 | | last_state: &mut BoardState, [INFO] [stderr] 76 | | from: usize, [INFO] [stderr] ... | [INFO] [stderr] 88 | | }; [INFO] [stderr] 89 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update_king_position` [INFO] [stderr] --> src/board/board_state.rs:93:5 [INFO] [stderr] | [INFO] [stderr] 93 | / fn update_king_position( [INFO] [stderr] 94 | | self: &mut BoardState, [INFO] [stderr] 95 | | last_state: &mut BoardState, [INFO] [stderr] 96 | | moved_piece: ColorizedPiece, [INFO] [stderr] ... | [INFO] [stderr] 103 | | } [INFO] [stderr] 104 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update_side` [INFO] [stderr] --> src/board/board_state.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 107 | fn update_side(self: &mut BoardState, last_state: &mut BoardState) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update` [INFO] [stderr] --> src/board/board_state.rs:113:5 [INFO] [stderr] | [INFO] [stderr] 113 | / pub fn update( [INFO] [stderr] 114 | | self: &mut BoardState, [INFO] [stderr] 115 | | last_state: &mut BoardState, [INFO] [stderr] 116 | | moved_piece: ColorizedPiece, [INFO] [stderr] ... | [INFO] [stderr] 126 | | self.update_side(last_state); [INFO] [stderr] 127 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `revert` [INFO] [stderr] --> src/board/board_state.rs:130:5 [INFO] [stderr] | [INFO] [stderr] 130 | pub fn revert(self: &mut BoardState, last_state: &BoardState) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `last_state` [INFO] [stderr] --> src/board/mod.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | last_state: BoardState, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `make_move` [INFO] [stderr] --> src/board/mod.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn make_move(self: &mut Board, half_move: Move) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `undo_move` [INFO] [stderr] --> src/board/mod.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn undo_move(self: &mut Board, half_move: Move) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_from` [INFO] [stderr] --> src/moves/mod.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn get_from(half_move: Move) -> usize { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_captured_piece_position` [INFO] [stderr] --> src/moves/mod.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn get_captured_piece_position(half_move: Move) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_captured_piece` [INFO] [stderr] --> src/moves/mod.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn get_captured_piece(half_move: Move) -> ColorizedPiece { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_promoted_piece` [INFO] [stderr] --> src/moves/mod.rs:58:8 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn get_promoted_piece(half_move: Move) -> ColorizedPiece { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_moved_piece` [INFO] [stderr] --> src/moves/mod.rs:63:8 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn get_moved_piece(half_move: Move) -> ColorizedPiece { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_move_type` [INFO] [stderr] --> src/moves/mod.rs:68:8 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn get_move_type(half_move: Move) -> MoveType { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BLACK` [INFO] [stderr] --> src/pieces/color.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub const BLACK: Color = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PAWN` [INFO] [stderr] --> src/pieces/mod.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | pub const PAWN: Piece = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `KING` [INFO] [stderr] --> src/pieces/mod.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | pub const KING: Piece = 5; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color` [INFO] [stderr] --> src/board/board_state.rs:69:49 [INFO] [stderr] | [INFO] [stderr] 69 | fn revert_has_stayed(self: &mut BoardState, color: usize) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from_file` [INFO] [stderr] --> src/pieces/pawn.rs:95:31 [INFO] [stderr] | [INFO] [stderr] 95 | fn is_move_north_pseudo_legal(from_file: i8, to: i8, board: &Board, pawn_color: Color) -> bool { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_file` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pawn_color` [INFO] [stderr] --> src/pieces/pawn.rs:95:69 [INFO] [stderr] | [INFO] [stderr] 95 | fn is_move_north_pseudo_legal(from_file: i8, to: i8, board: &Board, pawn_color: Color) -> bool { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pawn_color` [INFO] [stderr] [INFO] [stderr] warning: 32 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `KING_POSITIONS` [INFO] [stderr] --> src/board/board_state.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub const KING_POSITIONS: [usize; 2] = [4, 60]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `KINGS_ROOKS_POSITIONS` [INFO] [stderr] --> src/board/board_state.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | pub const KINGS_ROOKS_POSITIONS: [usize; 2] = [7, 63]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `QUEENS_ROOKS_POSITIONS` [INFO] [stderr] --> src/board/board_state.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | pub const QUEENS_ROOKS_POSITIONS: [usize; 2] = [0, 56]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `KINGS_ROOKS_AFTER_CASTLING_POSITIONS` [INFO] [stderr] --> src/board/board_state.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | pub const KINGS_ROOKS_AFTER_CASTLING_POSITIONS: [usize; 2] = [5, 61]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `QUEENS_ROOKS_AFTER_CASTLING_POSITIONS` [INFO] [stderr] --> src/board/board_state.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | pub const QUEENS_ROOKS_AFTER_CASTLING_POSITIONS: [usize; 2] = [3, 59]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `INVERSED_PAWN_STEPS` [INFO] [stderr] --> src/board/board_state.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | pub const INVERSED_PAWN_STEPS: [i8; 2] = [-8, 8]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update_fifty_moves` [INFO] [stderr] --> src/board/board_state.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | / fn update_fifty_moves( [INFO] [stderr] 37 | | self: &mut BoardState, [INFO] [stderr] 38 | | last_state: &mut BoardState, [INFO] [stderr] 39 | | moved_piece: ColorizedPiece, [INFO] [stderr] ... | [INFO] [stderr] 47 | | } [INFO] [stderr] 48 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update_has_stayed` [INFO] [stderr] --> src/board/board_state.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | / fn update_has_stayed( [INFO] [stderr] 52 | | self: &mut BoardState, [INFO] [stderr] 53 | | last_state: &mut BoardState, [INFO] [stderr] 54 | | from: usize, [INFO] [stderr] ... | [INFO] [stderr] 65 | | self.has_queens_rook_stayed_in_place[color] &= QUEENS_ROOKS_POSITIONS[color] != from; [INFO] [stderr] 66 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `revert_has_stayed` [INFO] [stderr] --> src/board/board_state.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | fn revert_has_stayed(self: &mut BoardState, color: usize) {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update_en_passant_square` [INFO] [stderr] --> src/board/board_state.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | / fn update_en_passant_square( [INFO] [stderr] 74 | | self: &mut BoardState, [INFO] [stderr] 75 | | last_state: &mut BoardState, [INFO] [stderr] 76 | | from: usize, [INFO] [stderr] ... | [INFO] [stderr] 88 | | }; [INFO] [stderr] 89 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update_king_position` [INFO] [stderr] --> src/board/board_state.rs:93:5 [INFO] [stderr] | [INFO] [stderr] 93 | / fn update_king_position( [INFO] [stderr] 94 | | self: &mut BoardState, [INFO] [stderr] 95 | | last_state: &mut BoardState, [INFO] [stderr] 96 | | moved_piece: ColorizedPiece, [INFO] [stderr] ... | [INFO] [stderr] 103 | | } [INFO] [stderr] 104 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update_side` [INFO] [stderr] --> src/board/board_state.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 107 | fn update_side(self: &mut BoardState, last_state: &mut BoardState) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update` [INFO] [stderr] --> src/board/board_state.rs:113:5 [INFO] [stderr] | [INFO] [stderr] 113 | / pub fn update( [INFO] [stderr] 114 | | self: &mut BoardState, [INFO] [stderr] 115 | | last_state: &mut BoardState, [INFO] [stderr] 116 | | moved_piece: ColorizedPiece, [INFO] [stderr] ... | [INFO] [stderr] 126 | | self.update_side(last_state); [INFO] [stderr] 127 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `revert` [INFO] [stderr] --> src/board/board_state.rs:130:5 [INFO] [stderr] | [INFO] [stderr] 130 | pub fn revert(self: &mut BoardState, last_state: &BoardState) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `last_state` [INFO] [stderr] --> src/board/mod.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | last_state: BoardState, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `make_move` [INFO] [stderr] --> src/board/mod.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn make_move(self: &mut Board, half_move: Move) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `undo_move` [INFO] [stderr] --> src/board/mod.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn undo_move(self: &mut Board, half_move: Move) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_from` [INFO] [stderr] --> src/moves/mod.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn get_from(half_move: Move) -> usize { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_captured_piece_position` [INFO] [stderr] --> src/moves/mod.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn get_captured_piece_position(half_move: Move) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_captured_piece` [INFO] [stderr] --> src/moves/mod.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn get_captured_piece(half_move: Move) -> ColorizedPiece { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_promoted_piece` [INFO] [stderr] --> src/moves/mod.rs:58:8 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn get_promoted_piece(half_move: Move) -> ColorizedPiece { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_moved_piece` [INFO] [stderr] --> src/moves/mod.rs:63:8 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn get_moved_piece(half_move: Move) -> ColorizedPiece { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_move_type` [INFO] [stderr] --> src/moves/mod.rs:68:8 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn get_move_type(half_move: Move) -> MoveType { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BLACK` [INFO] [stderr] --> src/pieces/color.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub const BLACK: Color = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PAWN` [INFO] [stderr] --> src/pieces/mod.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | pub const PAWN: Piece = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `KING` [INFO] [stderr] --> src/pieces/mod.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | pub const KING: Piece = 5; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 32 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.90s [INFO] running `"docker" "inspect" "b0f23fc3d3e1e3845598be438a39d8ef797e7373ca0bb4e1d0169df67857b6c3"` [INFO] running `"docker" "rm" "-f" "b0f23fc3d3e1e3845598be438a39d8ef797e7373ca0bb4e1d0169df67857b6c3"` [INFO] [stdout] b0f23fc3d3e1e3845598be438a39d8ef797e7373ca0bb4e1d0169df67857b6c3