[INFO] cloning repository https://github.com/TriForMine/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/TriForMine/chess-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTriForMine%2Fchess-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTriForMine%2Fchess-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54fa8bbace2005adcc32e204d3c47f0f46a08a41 [INFO] checking TriForMine/chess-engine/54fa8bbace2005adcc32e204d3c47f0f46a08a41 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTriForMine%2Fchess-engine" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TriForMine/chess-engine on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TriForMine/chess-engine [INFO] finished tweaking git repo https://github.com/TriForMine/chess-engine [INFO] tweaked toml for git repo https://github.com/TriForMine/chess-engine written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TriForMine/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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9cbe97d203e518a0c2a94cc6470f5b099a7b552fd771cd77c49a216afa9d8af [INFO] running `Command { std: "docker" "start" "-a" "f9cbe97d203e518a0c2a94cc6470f5b099a7b552fd771cd77c49a216afa9d8af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9cbe97d203e518a0c2a94cc6470f5b099a7b552fd771cd77c49a216afa9d8af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9cbe97d203e518a0c2a94cc6470f5b099a7b552fd771cd77c49a216afa9d8af", kill_on_drop: false }` [INFO] [stdout] f9cbe97d203e518a0c2a94cc6470f5b099a7b552fd771cd77c49a216afa9d8af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aed64bb1342f06dc94a04c8bf87b876a071826bb4653564c1d273d3b78300317 [INFO] running `Command { std: "docker" "start" "-a" "aed64bb1342f06dc94a04c8bf87b876a071826bb4653564c1d273d3b78300317", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking chess-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::board::Board` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::board::Board; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/cache/bishop.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/cache/rook.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board::Board` [INFO] [stdout] --> src/evaluate.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::board::Board; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::coord::Coord` [INFO] [stdout] --> src/evaluate.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::coord::Coord; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bitboard::BitBoard` [INFO] [stdout] --> src/move.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bitboard::BitBoard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::piece::Piece` [INFO] [stdout] --> src/move.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::piece::Piece; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board::Board` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::board::Board; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::r#move::Move` [INFO] [stdout] --> src/board.rs:481:9 [INFO] [stdout] | [INFO] [stdout] 481 | use crate::r#move::Move; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/cache/bishop.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/cache/rook.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::coord::Coord` [INFO] [stdout] --> src/evaluate.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::coord::Coord; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::r#move::Move` [INFO] [stdout] --> src/evaluate.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | use crate::r#move::Move; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bitboard::BitBoard` [INFO] [stdout] --> src/move.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bitboard::BitBoard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::piece::Piece` [INFO] [stdout] --> src/move.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::piece::Piece; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_checkmate` [INFO] [stdout] --> src/board.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | let is_checkmate = self.is_checkmate(self.turn); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_checkmate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_stalemate` [INFO] [stdout] --> src/board.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | let is_stalemate = self.is_stalemate(self.turn); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_stalemate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_checkmate` [INFO] [stdout] --> src/board.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | let is_checkmate = self.is_checkmate(self.turn); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_checkmate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_stalemate` [INFO] [stdout] --> src/board.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | let is_stalemate = self.is_stalemate(self.turn); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_stalemate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fen` [INFO] [stdout] --> src/engine.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let fen = self.board.to_fen(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fen` [INFO] [stdout] --> src/engine.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let fen = self.board.to_fen(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fen` [INFO] [stdout] --> src/engine.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let fen = self.board.to_fen(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fen` [INFO] [stdout] --> src/engine.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let fen = self.board.to_fen(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let m = engine.run(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from`, `from_bitboard`, `trailing_zeros`, `in_bounds`, and `set_index` are never used [INFO] [stdout] --> src/bitboard.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl BitBoard { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn from(board: u64) -> BitBoard { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn from_bitboard(bit_board: BitBoard) -> BitBoard { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn trailing_zeros(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn in_bounds(coord: Coord) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_index(&mut self, index: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/board.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get_current_player(&self) -> &OneSideBoard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn is_draw(&self, color: bool) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn get_piece_index(&self, index: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn has_piece(&self, coord: Coord) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn is_white(&self, coord: Coord) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn is_black(&self, coord: Coord) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn is_empty(&self, coord: Coord) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn is_opponent(&self, coord: Coord) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_piece_index` and `has_piece` are never used [INFO] [stdout] --> src/board.rs:443:12 [INFO] [stdout] | [INFO] [stdout] 417 | impl OneSideBoard { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 443 | pub fn get_piece_index(&self, index: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | pub fn has_piece(&self, coord: Coord) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `in_bounds` is never used [INFO] [stdout] --> src/coord.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Coord { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn in_bounds(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_fen` is never used [INFO] [stdout] --> src/engine.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Engine { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn from_fen(fen: &str) -> Engine { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_capture` is never used [INFO] [stdout] --> src/move.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Move { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_capture(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_index` is never used [INFO] [stdout] --> src/piece.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl PieceEnum { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn to_index(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/piece.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl Piece { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn is_black(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn is_pawn(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn is_knight(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn is_bishop(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn is_rook(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn is_queen(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn is_king(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let m = engine.run(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from`, `from_bitboard`, `trailing_zeros`, `in_bounds`, and `set_index` are never used [INFO] [stdout] --> src/bitboard.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl BitBoard { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn from(board: u64) -> BitBoard { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn from_bitboard(bit_board: BitBoard) -> BitBoard { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn trailing_zeros(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn in_bounds(coord: Coord) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_index(&mut self, index: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/board.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get_current_player(&self) -> &OneSideBoard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn is_draw(&self, color: bool) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn get_piece_index(&self, index: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn has_piece(&self, coord: Coord) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn is_white(&self, coord: Coord) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn is_black(&self, coord: Coord) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn is_empty(&self, coord: Coord) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn is_opponent(&self, coord: Coord) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_piece_index` and `has_piece` are never used [INFO] [stdout] --> src/board.rs:443:12 [INFO] [stdout] | [INFO] [stdout] 417 | impl OneSideBoard { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 443 | pub fn get_piece_index(&self, index: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | pub fn has_piece(&self, coord: Coord) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `in_bounds` is never used [INFO] [stdout] --> src/coord.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Coord { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn in_bounds(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_fen` is never used [INFO] [stdout] --> src/engine.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Engine { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn from_fen(fen: &str) -> Engine { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_capture` is never used [INFO] [stdout] --> src/move.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Move { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_capture(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_index` is never used [INFO] [stdout] --> src/piece.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl PieceEnum { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn to_index(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/piece.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl Piece { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn is_black(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn is_pawn(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn is_knight(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn is_bishop(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn is_rook(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn is_queen(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn is_king(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.12s [INFO] running `Command { std: "docker" "inspect" "aed64bb1342f06dc94a04c8bf87b876a071826bb4653564c1d273d3b78300317", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aed64bb1342f06dc94a04c8bf87b876a071826bb4653564c1d273d3b78300317", kill_on_drop: false }` [INFO] [stdout] aed64bb1342f06dc94a04c8bf87b876a071826bb4653564c1d273d3b78300317