[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] 23d6d008f2006f53dd95ff2885485856fc1dcbe4 [INFO] checking rom-thom/chess-project against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2From-thom%2Fchess-project" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rom-thom/chess-project on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "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] | [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a6511df831d39b617e3582a3c678924275bd612e46f17622f731b05bd745c34 [INFO] running `Command { std: "docker" "start" "-a" "8a6511df831d39b617e3582a3c678924275bd612e46f17622f731b05bd745c34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a6511df831d39b617e3582a3c678924275bd612e46f17622f731b05bd745c34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a6511df831d39b617e3582a3c678924275bd612e46f17622f731b05bd745c34", kill_on_drop: false }` [INFO] [stdout] 8a6511df831d39b617e3582a3c678924275bd612e46f17622f731b05bd745c34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08c4f16fbc8ab189bc9c6759cb37f4d8f8aec48b5e9d571cc1a6fbe42abb5a94 [INFO] running `Command { std: "docker" "start" "-a" "08c4f16fbc8ab189bc9c6759cb37f4d8f8aec48b5e9d571cc1a6fbe42abb5a94", 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] | [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 libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking webpki-roots v1.0.2 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking chess-core v0.1.0 (/opt/rustwide/workdir/chess-core) [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [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::char::MAX` [INFO] [stdout] --> chess-core/src/moves.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::char::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::consts` [INFO] [stdout] --> chess-core/src/moves.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env::consts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DebugList` [INFO] [stdout] --> chess-core/src/moves.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | 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:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | 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:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | 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 imports: `ZobristKey` and `Zobrist` [INFO] [stdout] --> chess-core/src/movegen.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::zobrist::{Zobrist, ZobristKey}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `position` and `zobrist` [INFO] [stdout] --> chess-core/src/movegen.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{attack, position, zobrist}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::dangling` [INFO] [stdout] --> chess-core/src/movegen.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | 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:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | 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 imports: `CastlingSide`, `Move`, and `Piece` [INFO] [stdout] --> chess-core/src/zobrist.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{board::Bitboards, kastling::{Castling, CastlingSide, Imposter}, moves::{BitMove, Move}, piece::{Piece, PieceIndex}, posit... [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: `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::char::MAX` [INFO] [stdout] --> chess-core/src/moves.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::char::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::consts` [INFO] [stdout] --> chess-core/src/moves.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env::consts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DebugList` [INFO] [stdout] --> chess-core/src/moves.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | 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:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | 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:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | 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:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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 imports: `ZobristKey` and `Zobrist` [INFO] [stdout] --> chess-core/src/movegen.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::zobrist::{Zobrist, ZobristKey}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `position` and `zobrist` [INFO] [stdout] --> chess-core/src/movegen.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{attack, position, zobrist}; [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 imports: `CastlingSide`, `Move`, and `Piece` [INFO] [stdout] --> chess-core/src/zobrist.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{board::Bitboards, kastling::{Castling, CastlingSide, Imposter}, moves::{BitMove, Move}, piece::{Piece, PieceIndex}, posit... [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> chess-core/src/movegen.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn pseudo_legal_q(pos: &Position, mut move_list: &mut MoveList){ [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: `pos` [INFO] [stdout] --> chess-core/src/movegen.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn pseudo_legal_q(pos: &Position, mut move_list: &mut MoveList){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_list` [INFO] [stdout] --> chess-core/src/movegen.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn pseudo_legal_q(pos: &Position, mut move_list: &mut MoveList){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_list` [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] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_full_castle_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAG_MASK` is never used [INFO] [stdout] --> chess-core/src/moves.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | 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: variable does not need to be mutable [INFO] [stdout] --> chess-core/src/movegen.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn pseudo_legal_q(pos: &Position, mut move_list: &mut MoveList){ [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: `pos` [INFO] [stdout] --> chess-core/src/movegen.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn pseudo_legal_q(pos: &Position, mut move_list: &mut MoveList){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_list` [INFO] [stdout] --> chess-core/src/movegen.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn pseudo_legal_q(pos: &Position, mut move_list: &mut MoveList){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> chess-core/src/movegen.rs:440:13 [INFO] [stdout] | [INFO] [stdout] 440 | 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: unused variable: `nr` [INFO] [stdout] --> chess-core/src/movegen.rs:442:17 [INFO] [stdout] | [INFO] [stdout] 442 | let nr = rng.random_range(0..moves.size()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_nr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> chess-core/src/movegen.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | 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] [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] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_full_castle_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAG_MASK` is never used [INFO] [stdout] --> chess-core/src/moves.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | 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] Checking engine v0.1.0 (/opt/rustwide/workdir/engine) [INFO] [stdout] warning: unused import: `chess_core::piece::PieceIndex` [INFO] [stdout] --> engine/src/eval/eval_static.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/eval/eval_static.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::piece_square_table; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::Debug` and `min` [INFO] [stdout] --> engine/src/serch/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/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] [stderr] Checking tokio v1.47.1 [INFO] [stdout] warning: unused import: `chess_core::piece::PieceIndex` [INFO] [stdout] --> engine/src/eval/eval_static.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/eval/eval_static.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::piece_square_table; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::Debug` and `min` [INFO] [stdout] --> engine/src/serch/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/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] error: struct `MovePicker` is never constructed [INFO] [stdout] --> engine/src/serch/move_picker.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MovePicker{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `engine` (lib test) due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: struct `MovePicker` is never constructed [INFO] [stdout] --> engine/src/serch/move_picker.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MovePicker{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `engine` (lib) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "08c4f16fbc8ab189bc9c6759cb37f4d8f8aec48b5e9d571cc1a6fbe42abb5a94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08c4f16fbc8ab189bc9c6759cb37f4d8f8aec48b5e9d571cc1a6fbe42abb5a94", kill_on_drop: false }` [INFO] [stdout] 08c4f16fbc8ab189bc9c6759cb37f4d8f8aec48b5e9d571cc1a6fbe42abb5a94