[INFO] cloning repository https://github.com/rom-thom/chess-project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rom-thom/chess-project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2From-thom%2Fchess-project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2From-thom%2Fchess-project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ba3ddc8a9e07b9285af712a339afb0d82df8ac7 [INFO] building rom-thom/chess-project against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2From-thom%2Fchess-project" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rom-thom/chess-project [INFO] finished tweaking git repo https://github.com/rom-thom/chess-project [INFO] tweaked toml for git repo https://github.com/rom-thom/chess-project written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rom-thom/chess-project on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rom-thom/chess-project 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded comma_serde_urlencoded v0.8.1 [INFO] [stderr] Downloaded schemars v1.0.4 [INFO] [stderr] Downloaded serde_with_macros v3.14.0 [INFO] [stderr] Downloaded licheszter v0.4.0 [INFO] [stderr] Downloaded schemars v0.9.0 [INFO] [stderr] Downloaded serde_with v3.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c532be5d20922046c47605d55a38bf6b979518dd01ad98f40e26ed90ceadc44d [INFO] running `Command { std: "docker" "start" "-a" "c532be5d20922046c47605d55a38bf6b979518dd01ad98f40e26ed90ceadc44d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c532be5d20922046c47605d55a38bf6b979518dd01ad98f40e26ed90ceadc44d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c532be5d20922046c47605d55a38bf6b979518dd01ad98f40e26ed90ceadc44d", kill_on_drop: false }` [INFO] [stdout] c532be5d20922046c47605d55a38bf6b979518dd01ad98f40e26ed90ceadc44d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5b3ab9830a5d1963413d380e395f45d3b5f32e15d732a4c061933df8a3e51e5 [INFO] running `Command { std: "docker" "start" "-a" "c5b3ab9830a5d1963413d380e395f45d3b5f32e15d732a4c061933df8a3e51e5", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling comma_serde_urlencoded v0.8.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling chess-core v0.1.0 (/opt/rustwide/workdir/chess-core) [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> chess-core/src/position.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::FromStr; [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: `Bitboard` [INFO] [stdout] --> chess-core/src/position.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::board::{Bitboards, Bitboard}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitMove`, `MoveList`, `MoveType`, and `Move` [INFO] [stdout] --> chess-core/src/position.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::moves::{BitMove, Move, MoveList, MoveType}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Piece` [INFO] [stdout] --> chess-core/src/position.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::piece::{Piece, PieceIndex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CastlingSide` and `Imposter` [INFO] [stdout] --> chess-core/src/position.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::kastling::{Castling, CastlingSide, Imposter}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `attack` and `position` [INFO] [stdout] --> chess-core/src/position.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{attack, position}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CORNERS` and `self` [INFO] [stdout] --> chess-core/src/position.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::bitboard_consts::{self, CORNERS}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::position::Position` [INFO] [stdout] --> chess-core/src/board.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::position::Position; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `position::Color` [INFO] [stdout] --> chess-core/src/square.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{board::Bitboard, position::Color}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::consts` [INFO] [stdout] --> chess-core/src/moves.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::consts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DebugList` [INFO] [stdout] --> chess-core/src/moves.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, DebugList}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> chess-core/src/moves.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `iter` and `result` [INFO] [stdout] --> chess-core/src/moves.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{iter, result}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CastlingSide` and `Castling` [INFO] [stdout] --> chess-core/src/moves.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::kastling::{Castling, CastlingSide, Imposter}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::movegen::MoveGen` [INFO] [stdout] --> chess-core/src/moves.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::movegen::MoveGen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::position::Position` [INFO] [stdout] --> chess-core/src/moves.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::position::Position; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_moves` [INFO] [stdout] --> chess-core/src/movegen.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::attack::{get_attacks, get_moves}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bitboards` [INFO] [stdout] --> chess-core/src/movegen.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::board::{Bitboards, Bitboard}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MoveType` [INFO] [stdout] --> chess-core/src/movegen.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::moves::{BitMove, MoveList, MoveType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Castling` [INFO] [stdout] --> chess-core/src/movegen.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::kastling::{Castling, CastlingSide, Imposter}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `position` [INFO] [stdout] --> chess-core/src/movegen.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{attack, position}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitMove`, `Move`, and `self` [INFO] [stdout] --> chess-core/src/test_core.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{movegen::MoveGen, moves::{BitMove, Move, MoveList}, position::{self, Color, Position}}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> chess-core/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod test_core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::movegen::MoveGen` [INFO] [stdout] --> chess-core/src/move_convertion.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::movegen::MoveGen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MoveList` and `Move` [INFO] [stdout] --> chess-core/src/move_convertion.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::moves::{BitMove, Move, MoveList, MoveType}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bitboards` [INFO] [stdout] --> chess-core/src/movegen_per_piece.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::board::{Bitboards, Bitboard}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Castling` [INFO] [stdout] --> chess-core/src/movegen_per_piece.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::kastling::{Castling, CastlingSide, Imposter}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `position` [INFO] [stdout] --> chess-core/src/movegen_per_piece.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{attack, position}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CASTLE_EMPTY_BLACK_KINGSIDE`, `CASTLE_EMPTY_BLACK_QUEENSIDE`, `CASTLE_EMPTY_WHITE_KINGSIDE`, `CASTLE_EMPTY_WHITE_QUEENSIDE`, `CORNERS`, and `WHITE_KING` [INFO] [stdout] --> chess-core/src/movegen_per_piece.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | ...f, CASTLE_EMPTY_BLACK_KINGSIDE, CASTLE_EMPTY_BLACK_QUEENSIDE, CASTLE_EMPTY_WHITE_KINGSIDE, CASTLE_EMPTY_WHITE_QUEENSIDE, CORNERS, WHITE_KING}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> chess-core/src/movegen.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn captures(&self, out: &mut MoveList){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_occ` [INFO] [stdout] --> chess-core/src/movegen.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | let (my_occ, opponent_occ) = match self.current.side_to_move { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 178 | let (_my_occ, opponent_occ) = match self.current.side_to_move { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CASTLE_PATH_BLACK_QUEENSIDE` [INFO] [stdout] | [INFO] [stdout] 178 - let (my_occ, opponent_occ) = match self.current.side_to_move { [INFO] [stdout] 178 + let (bitboard_consts::CASTLE_PATH_BLACK_QUEENSIDE, opponent_occ) = match self.current.side_to_move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opponent_occ` [INFO] [stdout] --> chess-core/src/movegen.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | let (my_occ, opponent_occ) = match self.current.side_to_move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 178 | let (my_occ, _opponent_occ) = match self.current.side_to_move { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CASTLE_PATH_BLACK_QUEENSIDE` [INFO] [stdout] | [INFO] [stdout] 178 - let (my_occ, opponent_occ) = match self.current.side_to_move { [INFO] [stdout] 178 + let (my_occ, bitboard_consts::CASTLE_PATH_BLACK_QUEENSIDE) = match self.current.side_to_move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all_occ` [INFO] [stdout] --> chess-core/src/movegen.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let all_occ = self.current.bitboards.all_occupancy; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 182 | let _all_occ = self.current.bitboards.all_occupancy; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CASTLE_PATH_BLACK_QUEENSIDE` [INFO] [stdout] | [INFO] [stdout] 182 - let all_occ = self.current.bitboards.all_occupancy; [INFO] [stdout] 182 + let bitboard_consts::CASTLE_PATH_BLACK_QUEENSIDE = self.current.bitboards.all_occupancy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `full_castle_path` [INFO] [stdout] --> chess-core/src/movegen_per_piece.rs:183:35 [INFO] [stdout] | [INFO] [stdout] 183 | for (side, empty_squares, full_castle_path) in castling_side_and_bb{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 183 | for (side, empty_squares, _full_castle_path) in castling_side_and_bb{ [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CASTLE_PATH_BLACK_QUEENSIDE` [INFO] [stdout] | [INFO] [stdout] 183 - for (side, empty_squares, full_castle_path) in castling_side_and_bb{ [INFO] [stdout] 183 + for (side, empty_squares, bitboard_consts::CASTLE_PATH_BLACK_QUEENSIDE) in castling_side_and_bb{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAG_MASK` is never used [INFO] [stdout] --> chess-core/src/moves.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const FLAG_MASK: u16 = 0b111; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_random_engine` is never used [INFO] [stdout] --> chess-core/src/test_core.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn play_random_engine(starting_fen_string: Option<&str>, your_color: Color){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling engine v0.1.0 (/opt/rustwide/workdir/engine) [INFO] [stdout] warning: unused import: `chess_core::piece::PieceIndex` [INFO] [stdout] --> engine/src/static_eval.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chess_core::piece::PieceIndex; [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: `crate::piece_square_table` [INFO] [stdout] --> engine/src/static_eval.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::piece_square_table; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> engine/src/static_eval.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::positional_eval::{self, evaluate_piece_pos}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::Debug` and `min` [INFO] [stdout] --> engine/src/serch.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::{max, min}, fmt::Debug, i32}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitMove`, `Color`, `MoveList`, `Move`, and `self` [INFO] [stdout] --> engine/src/serch.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use chess_core::{movegen::{self, MoveGen}, moves::{BitMove, Move, MoveList, MovePath}, position::{Color, Position}}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serch` [INFO] [stdout] --> engine/src/serch.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{serch, static_eval::{evaluate, INF}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling licheszter v0.4.0 [INFO] [stderr] Compiling ui v0.1.0 (/opt/rustwide/workdir/lichess_connection) [INFO] [stdout] warning: unused import: `tokio::time` [INFO] [stdout] --> lichess_connection/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::time; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> lichess_connection/src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct LichessEvent { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 19 | #[serde(rename = "type")] [INFO] [stdout] 20 | kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LichessEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_move` is never used [INFO] [stdout] --> lichess_connection/src/main.rs:226:4 [INFO] [stdout] | [INFO] [stdout] 226 | fn random_move(history: &[&str]) -> Option { // random for now [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "c5b3ab9830a5d1963413d380e395f45d3b5f32e15d732a4c061933df8a3e51e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5b3ab9830a5d1963413d380e395f45d3b5f32e15d732a4c061933df8a3e51e5", kill_on_drop: false }` [INFO] [stdout] c5b3ab9830a5d1963413d380e395f45d3b5f32e15d732a4c061933df8a3e51e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9a90882ebbe9ca36687aa98b8d21763b49abc67de8a221970c28ca43b6bde7b [INFO] running `Command { std: "docker" "start" "-a" "e9a90882ebbe9ca36687aa98b8d21763b49abc67de8a221970c28ca43b6bde7b", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> chess-core/src/position.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::FromStr; [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: `Bitboard` [INFO] [stdout] --> chess-core/src/position.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::board::{Bitboards, Bitboard}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitMove`, `MoveList`, `MoveType`, and `Move` [INFO] [stdout] --> chess-core/src/position.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::moves::{BitMove, Move, MoveList, MoveType}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Piece` [INFO] [stdout] --> chess-core/src/position.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::piece::{Piece, PieceIndex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CastlingSide` and `Imposter` [INFO] [stdout] --> chess-core/src/position.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::kastling::{Castling, CastlingSide, Imposter}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `attack` and `position` [INFO] [stdout] --> chess-core/src/position.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{attack, position}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CORNERS` and `self` [INFO] [stdout] --> chess-core/src/position.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::bitboard_consts::{self, CORNERS}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::position::Position` [INFO] [stdout] --> chess-core/src/board.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::position::Position; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `position::Color` [INFO] [stdout] --> chess-core/src/square.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{board::Bitboard, position::Color}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::consts` [INFO] [stdout] --> chess-core/src/moves.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::consts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DebugList` [INFO] [stdout] --> chess-core/src/moves.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, DebugList}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> chess-core/src/moves.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `iter` and `result` [INFO] [stdout] --> chess-core/src/moves.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{iter, result}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CastlingSide` and `Castling` [INFO] [stdout] --> chess-core/src/moves.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::kastling::{Castling, CastlingSide, Imposter}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::movegen::MoveGen` [INFO] [stdout] --> chess-core/src/moves.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::movegen::MoveGen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::position::Position` [INFO] [stdout] --> chess-core/src/moves.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::position::Position; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_moves` [INFO] [stdout] --> chess-core/src/movegen.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::attack::{get_attacks, get_moves}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bitboards` [INFO] [stdout] --> chess-core/src/movegen.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::board::{Bitboards, Bitboard}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MoveType` [INFO] [stdout] --> chess-core/src/movegen.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::moves::{BitMove, MoveList, MoveType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Castling` [INFO] [stdout] --> chess-core/src/movegen.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::kastling::{Castling, CastlingSide, Imposter}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `position` [INFO] [stdout] --> chess-core/src/movegen.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{attack, position}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitMove`, `Move`, and `self` [INFO] [stdout] --> chess-core/src/test_core.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{movegen::MoveGen, moves::{BitMove, Move, MoveList}, position::{self, Color, Position}}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> chess-core/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod test_core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::movegen::MoveGen` [INFO] [stdout] --> chess-core/src/move_convertion.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::movegen::MoveGen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MoveList` and `Move` [INFO] [stdout] --> chess-core/src/move_convertion.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::moves::{BitMove, Move, MoveList, MoveType}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bitboards` [INFO] [stdout] --> chess-core/src/movegen_per_piece.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::board::{Bitboards, Bitboard}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Castling` [INFO] [stdout] --> chess-core/src/movegen_per_piece.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::kastling::{Castling, CastlingSide, Imposter}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `position` [INFO] [stdout] --> chess-core/src/movegen_per_piece.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{attack, position}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CASTLE_EMPTY_BLACK_KINGSIDE`, `CASTLE_EMPTY_BLACK_QUEENSIDE`, `CASTLE_EMPTY_WHITE_KINGSIDE`, `CASTLE_EMPTY_WHITE_QUEENSIDE`, `CORNERS`, and `WHITE_KING` [INFO] [stdout] --> chess-core/src/movegen_per_piece.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | ...f, CASTLE_EMPTY_BLACK_KINGSIDE, CASTLE_EMPTY_BLACK_QUEENSIDE, CASTLE_EMPTY_WHITE_KINGSIDE, CASTLE_EMPTY_WHITE_QUEENSIDE, CORNERS, WHITE_KING}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> chess-core/src/movegen.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn captures(&self, out: &mut MoveList){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_occ` [INFO] [stdout] --> chess-core/src/movegen.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | let (my_occ, opponent_occ) = match self.current.side_to_move { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 178 | let (_my_occ, opponent_occ) = match self.current.side_to_move { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CASTLE_PATH_BLACK_QUEENSIDE` [INFO] [stdout] | [INFO] [stdout] 178 - let (my_occ, opponent_occ) = match self.current.side_to_move { [INFO] [stdout] 178 + let (bitboard_consts::CASTLE_PATH_BLACK_QUEENSIDE, opponent_occ) = match self.current.side_to_move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opponent_occ` [INFO] [stdout] --> chess-core/src/movegen.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | let (my_occ, opponent_occ) = match self.current.side_to_move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 178 | let (my_occ, _opponent_occ) = match self.current.side_to_move { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CASTLE_PATH_BLACK_QUEENSIDE` [INFO] [stdout] | [INFO] [stdout] 178 - let (my_occ, opponent_occ) = match self.current.side_to_move { [INFO] [stdout] 178 + let (my_occ, bitboard_consts::CASTLE_PATH_BLACK_QUEENSIDE) = match self.current.side_to_move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all_occ` [INFO] [stdout] --> chess-core/src/movegen.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let all_occ = self.current.bitboards.all_occupancy; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 182 | let _all_occ = self.current.bitboards.all_occupancy; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CASTLE_PATH_BLACK_QUEENSIDE` [INFO] [stdout] | [INFO] [stdout] 182 - let all_occ = self.current.bitboards.all_occupancy; [INFO] [stdout] 182 + let bitboard_consts::CASTLE_PATH_BLACK_QUEENSIDE = self.current.bitboards.all_occupancy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `full_castle_path` [INFO] [stdout] --> chess-core/src/movegen_per_piece.rs:183:35 [INFO] [stdout] | [INFO] [stdout] 183 | for (side, empty_squares, full_castle_path) in castling_side_and_bb{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 183 | for (side, empty_squares, _full_castle_path) in castling_side_and_bb{ [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CASTLE_PATH_BLACK_QUEENSIDE` [INFO] [stdout] | [INFO] [stdout] 183 - for (side, empty_squares, full_castle_path) in castling_side_and_bb{ [INFO] [stdout] 183 + for (side, empty_squares, bitboard_consts::CASTLE_PATH_BLACK_QUEENSIDE) in castling_side_and_bb{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAG_MASK` is never used [INFO] [stdout] --> chess-core/src/moves.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const FLAG_MASK: u16 = 0b111; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_random_engine` is never used [INFO] [stdout] --> chess-core/src/test_core.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn play_random_engine(starting_fen_string: Option<&str>, your_color: Color){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chess_core::piece::PieceIndex` [INFO] [stdout] --> engine/src/static_eval.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chess_core::piece::PieceIndex; [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: `crate::piece_square_table` [INFO] [stdout] --> engine/src/static_eval.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::piece_square_table; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> engine/src/static_eval.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::positional_eval::{self, evaluate_piece_pos}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::Debug` and `min` [INFO] [stdout] --> engine/src/serch.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::{max, min}, fmt::Debug, i32}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitMove`, `Color`, `MoveList`, `Move`, and `self` [INFO] [stdout] --> engine/src/serch.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use chess_core::{movegen::{self, MoveGen}, moves::{BitMove, Move, MoveList, MovePath}, position::{Color, Position}}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serch` [INFO] [stdout] --> engine/src/serch.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{serch, static_eval::{evaluate, INF}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling engine v0.1.0 (/opt/rustwide/workdir/engine) [INFO] [stderr] Compiling chess-core v0.1.0 (/opt/rustwide/workdir/chess-core) [INFO] [stderr] Compiling ui v0.1.0 (/opt/rustwide/workdir/lichess_connection) [INFO] [stdout] warning: unused import: `chess_core::piece::PieceIndex` [INFO] [stdout] --> engine/src/static_eval.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chess_core::piece::PieceIndex; [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: `crate::piece_square_table` [INFO] [stdout] --> engine/src/static_eval.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::piece_square_table; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> engine/src/static_eval.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::positional_eval::{self, evaluate_piece_pos}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::Debug` and `min` [INFO] [stdout] --> engine/src/serch.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::{max, min}, fmt::Debug, i32}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitMove`, `Color`, `MoveList`, `Move`, and `self` [INFO] [stdout] --> engine/src/serch.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use chess_core::{movegen::{self, MoveGen}, moves::{BitMove, Move, MoveList, MovePath}, position::{Color, Position}}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serch` [INFO] [stdout] --> engine/src/serch.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{serch, static_eval::{evaluate, INF}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> chess-core/src/position.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::FromStr; [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: `Bitboard` [INFO] [stdout] --> chess-core/src/position.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::board::{Bitboards, Bitboard}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitMove`, `MoveList`, `MoveType`, and `Move` [INFO] [stdout] --> chess-core/src/position.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::moves::{BitMove, Move, MoveList, MoveType}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Piece` [INFO] [stdout] --> chess-core/src/position.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::piece::{Piece, PieceIndex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CastlingSide` and `Imposter` [INFO] [stdout] --> chess-core/src/position.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::kastling::{Castling, CastlingSide, Imposter}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `attack` and `position` [INFO] [stdout] --> chess-core/src/position.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{attack, position}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CORNERS` and `self` [INFO] [stdout] --> chess-core/src/position.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::bitboard_consts::{self, CORNERS}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `position::Color` [INFO] [stdout] --> chess-core/src/square.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{board::Bitboard, position::Color}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::consts` [INFO] [stdout] --> chess-core/src/moves.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::consts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DebugList` [INFO] [stdout] --> chess-core/src/moves.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, DebugList}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> chess-core/src/moves.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `iter` and `result` [INFO] [stdout] --> chess-core/src/moves.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{iter, result}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CastlingSide` and `Castling` [INFO] [stdout] --> chess-core/src/moves.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::kastling::{Castling, CastlingSide, Imposter}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_moves` [INFO] [stdout] --> chess-core/src/movegen.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::attack::{get_attacks, get_moves}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bitboards` [INFO] [stdout] --> chess-core/src/movegen.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::board::{Bitboards, Bitboard}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MoveType` [INFO] [stdout] --> chess-core/src/movegen.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::moves::{BitMove, MoveList, MoveType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Castling` [INFO] [stdout] --> chess-core/src/movegen.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::kastling::{Castling, CastlingSide, Imposter}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `position` [INFO] [stdout] --> chess-core/src/movegen.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{attack, position}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::dangling` [INFO] [stdout] --> chess-core/src/movegen.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | use std::ptr::dangling; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::moves::Move` [INFO] [stdout] --> chess-core/src/movegen.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | use crate::moves::Move; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitMove`, `Move`, and `self` [INFO] [stdout] --> chess-core/src/test_core.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{movegen::MoveGen, moves::{BitMove, Move, MoveList}, position::{self, Color, Position}}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MoveList` and `Move` [INFO] [stdout] --> chess-core/src/move_convertion.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::moves::{BitMove, Move, MoveList, MoveType}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bitboards` [INFO] [stdout] --> chess-core/src/movegen_per_piece.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::board::{Bitboards, Bitboard}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Castling` [INFO] [stdout] --> chess-core/src/movegen_per_piece.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::kastling::{Castling, CastlingSide, Imposter}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `position` [INFO] [stdout] --> chess-core/src/movegen_per_piece.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{attack, position}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CASTLE_EMPTY_BLACK_KINGSIDE`, `CASTLE_EMPTY_BLACK_QUEENSIDE`, `CASTLE_EMPTY_WHITE_KINGSIDE`, `CASTLE_EMPTY_WHITE_QUEENSIDE`, `CORNERS`, and `WHITE_KING` [INFO] [stdout] --> chess-core/src/movegen_per_piece.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | ...f, CASTLE_EMPTY_BLACK_KINGSIDE, CASTLE_EMPTY_BLACK_QUEENSIDE, CASTLE_EMPTY_WHITE_KINGSIDE, CASTLE_EMPTY_WHITE_QUEENSIDE, CORNERS, WHITE_KING}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time` [INFO] [stdout] --> lichess_connection/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::time; [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 variable: `out` [INFO] [stdout] --> chess-core/src/movegen.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn captures(&self, out: &mut MoveList){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_occ` [INFO] [stdout] --> chess-core/src/movegen.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | let (my_occ, opponent_occ) = match self.current.side_to_move { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 178 | let (_my_occ, opponent_occ) = match self.current.side_to_move { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CASTLE_PATH_BLACK_QUEENSIDE` [INFO] [stdout] | [INFO] [stdout] 178 - let (my_occ, opponent_occ) = match self.current.side_to_move { [INFO] [stdout] 178 + let (bitboard_consts::CASTLE_PATH_BLACK_QUEENSIDE, opponent_occ) = match self.current.side_to_move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opponent_occ` [INFO] [stdout] --> chess-core/src/movegen.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | let (my_occ, opponent_occ) = match self.current.side_to_move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 178 | let (my_occ, _opponent_occ) = match self.current.side_to_move { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CASTLE_PATH_BLACK_QUEENSIDE` [INFO] [stdout] | [INFO] [stdout] 178 - let (my_occ, opponent_occ) = match self.current.side_to_move { [INFO] [stdout] 178 + let (my_occ, bitboard_consts::CASTLE_PATH_BLACK_QUEENSIDE) = match self.current.side_to_move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all_occ` [INFO] [stdout] --> chess-core/src/movegen.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let all_occ = self.current.bitboards.all_occupancy; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 182 | let _all_occ = self.current.bitboards.all_occupancy; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CASTLE_PATH_BLACK_QUEENSIDE` [INFO] [stdout] | [INFO] [stdout] 182 - let all_occ = self.current.bitboards.all_occupancy; [INFO] [stdout] 182 + let bitboard_consts::CASTLE_PATH_BLACK_QUEENSIDE = self.current.bitboards.all_occupancy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> chess-core/src/movegen.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | for i in 0..50{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> chess-core/src/movegen.rs:443:9 [INFO] [stdout] | [INFO] [stdout] 443 | let mut position = Position::new(Some("8/6k1/4p3/8/2b3Q1/2Kr4/8/8 w - - 0 1")); [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: unused variable: `full_castle_path` [INFO] [stdout] --> chess-core/src/movegen_per_piece.rs:183:35 [INFO] [stdout] | [INFO] [stdout] 183 | for (side, empty_squares, full_castle_path) in castling_side_and_bb{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 183 | for (side, empty_squares, _full_castle_path) in castling_side_and_bb{ [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CASTLE_PATH_BLACK_QUEENSIDE` [INFO] [stdout] | [INFO] [stdout] 183 - for (side, empty_squares, full_castle_path) in castling_side_and_bb{ [INFO] [stdout] 183 + for (side, empty_squares, bitboard_consts::CASTLE_PATH_BLACK_QUEENSIDE) in castling_side_and_bb{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAG_MASK` is never used [INFO] [stdout] --> chess-core/src/moves.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const FLAG_MASK: u16 = 0b111; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_random_engine` is never used [INFO] [stdout] --> chess-core/src/test_core.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn play_random_engine(starting_fen_string: Option<&str>, your_color: Color){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> lichess_connection/src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct LichessEvent { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 19 | #[serde(rename = "type")] [INFO] [stdout] 20 | kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LichessEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_move` is never used [INFO] [stdout] --> lichess_connection/src/main.rs:226:4 [INFO] [stdout] | [INFO] [stdout] 226 | fn random_move(history: &[&str]) -> Option { // random for now [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s [INFO] running `Command { std: "docker" "inspect" "e9a90882ebbe9ca36687aa98b8d21763b49abc67de8a221970c28ca43b6bde7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9a90882ebbe9ca36687aa98b8d21763b49abc67de8a221970c28ca43b6bde7b", kill_on_drop: false }` [INFO] [stdout] e9a90882ebbe9ca36687aa98b8d21763b49abc67de8a221970c28ca43b6bde7b