[INFO] cloning repository https://github.com/sgibson21/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/sgibson21/chess-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsgibson21%2Fchess-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsgibson21%2Fchess-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0fa01c834da21f3dd579656640f8ece582a4361 [INFO] checking sgibson21/chess-engine against master#092a284ba0421695f2032c947765429fd7095796 for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsgibson21%2Fchess-engine" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sgibson21/chess-engine on toolchain 092a284ba0421695f2032c947765429fd7095796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sgibson21/chess-engine [INFO] finished tweaking git repo https://github.com/sgibson21/chess-engine [INFO] tweaked toml for git repo https://github.com/sgibson21/chess-engine written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sgibson21/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" "+092a284ba0421695f2032c947765429fd7095796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9afe438862ae76b1fee82ce8d921ca44f6c8661c52a8304d1d6ca5eee17d325 [INFO] running `Command { std: "docker" "start" "-a" "e9afe438862ae76b1fee82ce8d921ca44f6c8661c52a8304d1d6ca5eee17d325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9afe438862ae76b1fee82ce8d921ca44f6c8661c52a8304d1d6ca5eee17d325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9afe438862ae76b1fee82ce8d921ca44f6c8661c52a8304d1d6ca5eee17d325", kill_on_drop: false }` [INFO] [stdout] e9afe438862ae76b1fee82ce8d921ca44f6c8661c52a8304d1d6ca5eee17d325 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28594aefed3510396fb7600c4ab3045eff8ce2a6f7f7b46f04d658f117fd4ff2 [INFO] running `Command { std: "docker" "start" "-a" "28594aefed3510396fb7600c4ab3045eff8ce2a6f7f7b46f04d658f117fd4ff2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking chess-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fen_to_asci_board` [INFO] [stdout] --> src/position.rs:469:54 [INFO] [stdout] | [INFO] [stdout] 469 | use crate::{board_navigator::CastlingSide, fen::{fen_to_asci_board, from_fen}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/evaluator.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn evaluate(fen: &str, depth: u8) -> f32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/board_navigator/board_navigator.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let result = position.make_move(&mv.from, &mv.to, &mv.castling); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `half_move_clock` and `full_moves` are never read [INFO] [stdout] --> src/position.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub half_move_clock: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | [INFO] [stdout] 26 | pub full_moves: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/position.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl Position { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | fn get_white_pieces_mut(&mut self) -> &mut BitBoard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn get_black_pieces_mut(&mut self) -> &mut BitBoard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn get_pawns_mut(&mut self) -> &mut BitBoard { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn get_bishops_mut(&mut self) -> &mut BitBoard { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn get_knights_mut(&mut self) -> &mut BitBoard { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn get_rooks_mut(&mut self) -> &mut BitBoard { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn get_queens_mut(&mut self) -> &mut BitBoard { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn get_kings_mut(&mut self) -> &mut BitBoard { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn make_move(&mut self, from: &Coord, to: &Coord, castling: &Option) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn remove_piece(&mut self, index: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn remove_pawn_by_en_passant(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | fn place_piece(&mut self, index: i32, side: Side, piece: Piece) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | fn castle(&mut self, castling: &Option) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | fn get_side(&self, index: i32) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | fn get_piece(&self, index: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | fn get_side_bitboard(&mut self, index: i32) -> &mut BitBoard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | fn get_piece_bitboard(&mut self, index: i32) -> Option<&mut BitBoard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `count`, `set_index`, `unset_index`, and `format` are never used [INFO] [stdout] --> src/bitboard.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl BitBoard { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn count(self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn set_index(&mut self, index: u8) -> BitBoard { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn unset_index(&mut self, index: u8) -> BitBoard { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn format(self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/playground.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub enum SquareLabels { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 78 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 79 | A1, B1, C1, D1, E1, F1, G1, H1, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 80 | A2, B2, C2, D2, E2, F2, G2, H2, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 81 | A3, B3, C3, D3, E3, F3, G3, H3, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 82 | A4, B4, C4, D4, E4, F4, G4, H4, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 83 | A5, B5, C5, D5, E5, F5, G5, H5, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 84 | A6, B6, C6, D6, E6, F6, G6, H6, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 85 | A7, B7, C7, D7, E7, F7, G7, H7, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 86 | A8, B8, C8, D8, E8, F8, G8, H8, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `SquareLabels` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `P` is never constructed [INFO] [stdout] --> src/board_navigator/board_navigator.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Piece { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 13 | P, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Piece` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `en_passant` is never read [INFO] [stdout] --> src/board_navigator/board_navigator.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Move { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | en_passant: bool, // just a bool, as the Position holds the en_passant_target [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Move` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_move` is never used [INFO] [stdout] --> src/board_navigator/board_navigator.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn make_move(position: &mut Position, mv: &Move) -> /*Position*/ () { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `s`, `se`, `sw`, and `rank_diff` are never used [INFO] [stdout] --> src/board_navigator/coord.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Coord { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn s(&self, direction: i32, count: i32) -> Option { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn se(&self, direction: i32, count: i32) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn sw(&self, direction: i32, count: i32) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn rank_diff(&self, other: &Coord) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/position.rs:641:13 [INFO] [stdout] | [INFO] [stdout] 641 | let result = position.remove_pawn_by_en_passant(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/evaluator.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn evaluate(fen: &str, depth: u8) -> f32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/board_navigator/board_navigator.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let result = position.make_move(&mv.from, &mv.to, &mv.castling); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `half_move_clock` and `full_moves` are never read [INFO] [stdout] --> src/position.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub half_move_clock: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | [INFO] [stdout] 26 | pub full_moves: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `count` and `format` are never used [INFO] [stdout] --> src/bitboard.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl BitBoard { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn count(self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn format(self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/playground.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub enum SquareLabels { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 78 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 79 | A1, B1, C1, D1, E1, F1, G1, H1, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 80 | A2, B2, C2, D2, E2, F2, G2, H2, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 81 | A3, B3, C3, D3, E3, F3, G3, H3, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 82 | A4, B4, C4, D4, E4, F4, G4, H4, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 83 | A5, B5, C5, D5, E5, F5, G5, H5, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 84 | A6, B6, C6, D6, E6, F6, G6, H6, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 85 | A7, B7, C7, D7, E7, F7, G7, H7, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 86 | A8, B8, C8, D8, E8, F8, G8, H8, [INFO] [stdout] | ^^ ^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `SquareLabels` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `en_passant` is never read [INFO] [stdout] --> src/board_navigator/board_navigator.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Move { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | en_passant: bool, // just a bool, as the Position holds the en_passant_target [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Move` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_move` is never used [INFO] [stdout] --> src/board_navigator/board_navigator.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn make_move(position: &mut Position, mv: &Move) -> /*Position*/ () { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `se` and `sw` are never used [INFO] [stdout] --> src/board_navigator/coord.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Coord { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn se(&self, direction: i32, count: i32) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn sw(&self, direction: i32, count: i32) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.79s [INFO] running `Command { std: "docker" "inspect" "28594aefed3510396fb7600c4ab3045eff8ce2a6f7f7b46f04d658f117fd4ff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28594aefed3510396fb7600c4ab3045eff8ce2a6f7f7b46f04d658f117fd4ff2", kill_on_drop: false }` [INFO] [stdout] 28594aefed3510396fb7600c4ab3045eff8ce2a6f7f7b46f04d658f117fd4ff2