[INFO] cloning repository https://github.com/timkuessner/rust-chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timkuessner/rust-chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimkuessner%2Frust-chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimkuessner%2Frust-chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74879fc226d339c070f74fdbdf7111160dde9dfb [INFO] checking timkuessner/rust-chess against try#53f0b05ecbcf011a1f77f1c627304e87ebd05801 for pr-154492-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimkuessner%2Frust-chess" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/timkuessner/rust-chess [INFO] finished tweaking git repo https://github.com/timkuessner/rust-chess [INFO] tweaked toml for git repo https://github.com/timkuessner/rust-chess written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/timkuessner/rust-chess on toolchain 53f0b05ecbcf011a1f77f1c627304e87ebd05801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/timkuessner/rust-chess 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" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 137ef7adcd133a9badd2e3104b5d2573e2a8fc47bbbd12d291c0d261f862b0c9 [INFO] running `Command { std: "docker" "start" "-a" "137ef7adcd133a9badd2e3104b5d2573e2a8fc47bbbd12d291c0d261f862b0c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "137ef7adcd133a9badd2e3104b5d2573e2a8fc47bbbd12d291c0d261f862b0c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "137ef7adcd133a9badd2e3104b5d2573e2a8fc47bbbd12d291c0d261f862b0c9", kill_on_drop: false }` [INFO] [stdout] 137ef7adcd133a9badd2e3104b5d2573e2a8fc47bbbd12d291c0d261f862b0c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fabc74946aeea4f8475e8ec9bb757c50b0cb46c89283dd9c91732067feedf4ed [INFO] running `Command { std: "docker" "start" "-a" "fabc74946aeea4f8475e8ec9bb757c50b0cb46c89283dd9c91732067feedf4ed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling zerocopy v0.8.35 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rust-chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/core/move_generator.rs:204:28 [INFO] [stdout] | [INFO] [stdout] 204 | fn generate_rook_moves(position: &Position, side: &Color, moves: &mut Vec) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `side` [INFO] [stdout] --> src/core/move_generator.rs:204:49 [INFO] [stdout] | [INFO] [stdout] 204 | fn generate_rook_moves(position: &Position, side: &Color, moves: &mut Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_side` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moves` [INFO] [stdout] --> src/core/move_generator.rs:204:63 [INFO] [stdout] | [INFO] [stdout] 204 | fn generate_rook_moves(position: &Position, side: &Color, moves: &mut Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_moves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/core/move_generator.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | fn generate_queen_moves(position: &Position, side: &Color, moves: &mut Vec) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `side` [INFO] [stdout] --> src/core/move_generator.rs:208:50 [INFO] [stdout] | [INFO] [stdout] 208 | fn generate_queen_moves(position: &Position, side: &Color, moves: &mut Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_side` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moves` [INFO] [stdout] --> src/core/move_generator.rs:208:64 [INFO] [stdout] | [INFO] [stdout] 208 | fn generate_queen_moves(position: &Position, side: &Color, moves: &mut Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_moves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/core/move_generator.rs:212:28 [INFO] [stdout] | [INFO] [stdout] 212 | fn generate_king_moves(position: &Position, side: &Color, moves: &mut Vec) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `side` [INFO] [stdout] --> src/core/move_generator.rs:212:49 [INFO] [stdout] | [INFO] [stdout] 212 | fn generate_king_moves(position: &Position, side: &Color, moves: &mut Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_side` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moves` [INFO] [stdout] --> src/core/move_generator.rs:212:63 [INFO] [stdout] | [INFO] [stdout] 212 | fn generate_king_moves(position: &Position, side: &Color, moves: &mut Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_moves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/core/move_generator.rs:216:24 [INFO] [stdout] | [INFO] [stdout] 216 | fn is_move_illegal(position: &Position, move_: &Move) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_` [INFO] [stdout] --> src/core/move_generator.rs:216:45 [INFO] [stdout] | [INFO] [stdout] 216 | fn is_move_illegal(position: &Position, move_: &Move) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_move_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `B1` is never used [INFO] [stdout] --> src/core/types/square.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const B1: u8 = 1; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C1` is never used [INFO] [stdout] --> src/core/types/square.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const C1: u8 = 2; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `D1` is never used [INFO] [stdout] --> src/core/types/square.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const D1: u8 = 3; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E1` is never used [INFO] [stdout] --> src/core/types/square.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const E1: u8 = 4; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F1` is never used [INFO] [stdout] --> src/core/types/square.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const F1: u8 = 5; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G1` is never used [INFO] [stdout] --> src/core/types/square.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const G1: u8 = 6; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/core/move_generator.rs:204:28 [INFO] [stdout] | [INFO] [stdout] 204 | fn generate_rook_moves(position: &Position, side: &Color, moves: &mut Vec) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `A2` is never used [INFO] [stdout] --> src/core/types/square.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const A2: u8 = 8; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `side` [INFO] [stdout] --> src/core/move_generator.rs:204:49 [INFO] [stdout] | [INFO] [stdout] 204 | fn generate_rook_moves(position: &Position, side: &Color, moves: &mut Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_side` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moves` [INFO] [stdout] --> src/core/move_generator.rs:204:63 [INFO] [stdout] | [INFO] [stdout] 204 | fn generate_rook_moves(position: &Position, side: &Color, moves: &mut Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_moves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `B2` is never used [INFO] [stdout] --> src/core/types/square.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const B2: u8 = 9; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/core/move_generator.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | fn generate_queen_moves(position: &Position, side: &Color, moves: &mut Vec) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C2` is never used [INFO] [stdout] --> src/core/types/square.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const C2: u8 = 10; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `side` [INFO] [stdout] --> src/core/move_generator.rs:208:50 [INFO] [stdout] | [INFO] [stdout] 208 | fn generate_queen_moves(position: &Position, side: &Color, moves: &mut Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_side` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moves` [INFO] [stdout] --> src/core/move_generator.rs:208:64 [INFO] [stdout] | [INFO] [stdout] 208 | fn generate_queen_moves(position: &Position, side: &Color, moves: &mut Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_moves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `D2` is never used [INFO] [stdout] --> src/core/types/square.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const D2: u8 = 11; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/core/move_generator.rs:212:28 [INFO] [stdout] | [INFO] [stdout] 212 | fn generate_king_moves(position: &Position, side: &Color, moves: &mut Vec) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `side` [INFO] [stdout] --> src/core/move_generator.rs:212:49 [INFO] [stdout] | [INFO] [stdout] 212 | fn generate_king_moves(position: &Position, side: &Color, moves: &mut Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_side` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E2` is never used [INFO] [stdout] --> src/core/types/square.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const E2: u8 = 12; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moves` [INFO] [stdout] --> src/core/move_generator.rs:212:63 [INFO] [stdout] | [INFO] [stdout] 212 | fn generate_king_moves(position: &Position, side: &Color, moves: &mut Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_moves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F2` is never used [INFO] [stdout] --> src/core/types/square.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const F2: u8 = 13; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/core/move_generator.rs:216:24 [INFO] [stdout] | [INFO] [stdout] 216 | fn is_move_illegal(position: &Position, move_: &Move) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_` [INFO] [stdout] --> src/core/move_generator.rs:216:45 [INFO] [stdout] | [INFO] [stdout] 216 | fn is_move_illegal(position: &Position, move_: &Move) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_move_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G2` is never used [INFO] [stdout] --> src/core/types/square.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const G2: u8 = 14; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H2` is never used [INFO] [stdout] --> src/core/types/square.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const H2: u8 = 15; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `A3` is never used [INFO] [stdout] --> src/core/types/square.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const A3: u8 = 16; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `B3` is never used [INFO] [stdout] --> src/core/types/square.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const B3: u8 = 17; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C3` is never used [INFO] [stdout] --> src/core/types/square.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const C3: u8 = 18; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `D3` is never used [INFO] [stdout] --> src/core/types/square.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const D3: u8 = 19; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E3` is never used [INFO] [stdout] --> src/core/types/square.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const E3: u8 = 20; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F3` is never used [INFO] [stdout] --> src/core/types/square.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const F3: u8 = 21; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G3` is never used [INFO] [stdout] --> src/core/types/square.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const G3: u8 = 22; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H3` is never used [INFO] [stdout] --> src/core/types/square.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const H3: u8 = 23; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `A4` is never used [INFO] [stdout] --> src/core/types/square.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const A4: u8 = 24; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `B4` is never used [INFO] [stdout] --> src/core/types/square.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const B4: u8 = 25; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C4` is never used [INFO] [stdout] --> src/core/types/square.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const C4: u8 = 26; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `D4` is never used [INFO] [stdout] --> src/core/types/square.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const D4: u8 = 27; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E4` is never used [INFO] [stdout] --> src/core/types/square.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const E4: u8 = 28; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F4` is never used [INFO] [stdout] --> src/core/types/square.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const F4: u8 = 29; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G4` is never used [INFO] [stdout] --> src/core/types/square.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const G4: u8 = 30; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H4` is never used [INFO] [stdout] --> src/core/types/square.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const H4: u8 = 31; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `A5` is never used [INFO] [stdout] --> src/core/types/square.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const A5: u8 = 32; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `B5` is never used [INFO] [stdout] --> src/core/types/square.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const B5: u8 = 33; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C5` is never used [INFO] [stdout] --> src/core/types/square.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const C5: u8 = 34; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `D5` is never used [INFO] [stdout] --> src/core/types/square.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const D5: u8 = 35; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E5` is never used [INFO] [stdout] --> src/core/types/square.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const E5: u8 = 36; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F5` is never used [INFO] [stdout] --> src/core/types/square.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const F5: u8 = 37; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G5` is never used [INFO] [stdout] --> src/core/types/square.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const G5: u8 = 38; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H5` is never used [INFO] [stdout] --> src/core/types/square.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub const H5: u8 = 39; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `A6` is never used [INFO] [stdout] --> src/core/types/square.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub const A6: u8 = 40; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `B6` is never used [INFO] [stdout] --> src/core/types/square.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | pub const B6: u8 = 41; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C6` is never used [INFO] [stdout] --> src/core/types/square.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub const C6: u8 = 42; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `D6` is never used [INFO] [stdout] --> src/core/types/square.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub const D6: u8 = 43; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E6` is never used [INFO] [stdout] --> src/core/types/square.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub const E6: u8 = 44; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F6` is never used [INFO] [stdout] --> src/core/types/square.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | pub const F6: u8 = 45; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G6` is never used [INFO] [stdout] --> src/core/types/square.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub const G6: u8 = 46; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H6` is never used [INFO] [stdout] --> src/core/types/square.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | pub const H6: u8 = 47; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `A7` is never used [INFO] [stdout] --> src/core/types/square.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | pub const A7: u8 = 48; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `B7` is never used [INFO] [stdout] --> src/core/types/square.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | pub const B7: u8 = 49; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C7` is never used [INFO] [stdout] --> src/core/types/square.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub const C7: u8 = 50; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `D7` is never used [INFO] [stdout] --> src/core/types/square.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | pub const D7: u8 = 51; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E7` is never used [INFO] [stdout] --> src/core/types/square.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub const E7: u8 = 52; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F7` is never used [INFO] [stdout] --> src/core/types/square.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | pub const F7: u8 = 53; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G7` is never used [INFO] [stdout] --> src/core/types/square.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | pub const G7: u8 = 54; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H7` is never used [INFO] [stdout] --> src/core/types/square.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const H7: u8 = 55; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `B8` is never used [INFO] [stdout] --> src/core/types/square.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | pub const B8: u8 = 57; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C8` is never used [INFO] [stdout] --> src/core/types/square.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | pub const C8: u8 = 58; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `D8` is never used [INFO] [stdout] --> src/core/types/square.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | pub const D8: u8 = 59; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E8` is never used [INFO] [stdout] --> src/core/types/square.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | pub const E8: u8 = 60; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F8` is never used [INFO] [stdout] --> src/core/types/square.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | pub const F8: u8 = 61; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G8` is never used [INFO] [stdout] --> src/core/types/square.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | pub const G8: u8 = 62; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANK_1` is never used [INFO] [stdout] --> src/core/types/square.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | pub const RANK_1: Bitboard = Bitboard(0x00000000000000FF); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANK_2` is never used [INFO] [stdout] --> src/core/types/square.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | pub const RANK_2: Bitboard = Bitboard(0x000000000000FF00); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANK_3` is never used [INFO] [stdout] --> src/core/types/square.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | pub const RANK_3: Bitboard = Bitboard(0x0000000000FF0000); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANK_4` is never used [INFO] [stdout] --> src/core/types/square.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | pub const RANK_4: Bitboard = Bitboard(0x00000000FF000000); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANK_5` is never used [INFO] [stdout] --> src/core/types/square.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | pub const RANK_5: Bitboard = Bitboard(0x000000FF00000000); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANK_6` is never used [INFO] [stdout] --> src/core/types/square.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | pub const RANK_6: Bitboard = Bitboard(0x0000FF0000000000); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANK_7` is never used [INFO] [stdout] --> src/core/types/square.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub const RANK_7: Bitboard = Bitboard(0x00FF000000000000); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANK_8` is never used [INFO] [stdout] --> src/core/types/square.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | pub const RANK_8: Bitboard = Bitboard(0xFF00000000000000); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_B` is never used [INFO] [stdout] --> src/core/types/square.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | pub const FILE_B: Bitboard = Bitboard(0x0202020202020202); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_C` is never used [INFO] [stdout] --> src/core/types/square.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | pub const FILE_C: Bitboard = Bitboard(0x0404040404040404); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_D` is never used [INFO] [stdout] --> src/core/types/square.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | pub const FILE_D: Bitboard = Bitboard(0x0808080808080808); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_E` is never used [INFO] [stdout] --> src/core/types/square.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | pub const FILE_E: Bitboard = Bitboard(0x1010101010101010); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_F` is never used [INFO] [stdout] --> src/core/types/square.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | pub const FILE_F: Bitboard = Bitboard(0x2020202020202020); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_G` is never used [INFO] [stdout] --> src/core/types/square.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | pub const FILE_G: Bitboard = Bitboard(0x4040404040404040); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOT_A_FILE` is never used [INFO] [stdout] --> src/core/types/square.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | pub const NOT_A_FILE: Bitboard = Bitboard(0xFEFEFEFEFEFEFEFE); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOT_H_FILE` is never used [INFO] [stdout] --> src/core/types/square.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | pub const NOT_H_FILE: Bitboard = Bitboard(0x7F7F7F7F7F7F7F7F); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOT_AB_FILE` is never used [INFO] [stdout] --> src/core/types/square.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | pub const NOT_AB_FILE: Bitboard = Bitboard(0xFCFCFCFCFCFCFCFC); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOT_GH_FILE` is never used [INFO] [stdout] --> src/core/types/square.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | pub const NOT_GH_FILE: Bitboard = Bitboard(0x3F3F3F3F3F3F3F3F); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SquareParseError` is never used [INFO] [stdout] --> src/core/types/square.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | pub enum SquareParseError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_algebraic`, `to_algebraic`, `rank_bitboard`, and `file_bitboard` are never used [INFO] [stdout] --> src/core/types/square.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl Square { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 109 | pub fn from_algebraic(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn to_algebraic(square: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn rank_bitboard(rank: u8) -> Bitboard { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn file_bitboard(file: u8) -> Bitboard { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `NONE`, `new`, `has_kingside`, and `has_queenside` are never used [INFO] [stdout] --> src/core/types/castling.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 6 | impl CastlingRights { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 7 | pub const NONE: u8 = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn new(rights: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn has_kingside(&self, color: Color) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn has_queenside(&self, color: Color) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `B1` is never used [INFO] [stdout] --> src/core/types/square.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const B1: u8 = 1; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C1` is never used [INFO] [stdout] --> src/core/types/square.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const C1: u8 = 2; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `D1` is never used [INFO] [stdout] --> src/core/types/square.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const D1: u8 = 3; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E1` is never used [INFO] [stdout] --> src/core/types/square.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const E1: u8 = 4; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F1` is never used [INFO] [stdout] --> src/core/types/square.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const F1: u8 = 5; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G1` is never used [INFO] [stdout] --> src/core/types/square.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const G1: u8 = 6; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `A2` is never used [INFO] [stdout] --> src/core/types/square.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const A2: u8 = 8; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `B2` is never used [INFO] [stdout] --> src/core/types/square.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const B2: u8 = 9; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C2` is never used [INFO] [stdout] --> src/core/types/square.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const C2: u8 = 10; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `D2` is never used [INFO] [stdout] --> src/core/types/square.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const D2: u8 = 11; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E2` is never used [INFO] [stdout] --> src/core/types/square.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const E2: u8 = 12; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F2` is never used [INFO] [stdout] --> src/core/types/square.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const F2: u8 = 13; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G2` is never used [INFO] [stdout] --> src/core/types/square.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const G2: u8 = 14; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H2` is never used [INFO] [stdout] --> src/core/types/square.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const H2: u8 = 15; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `A3` is never used [INFO] [stdout] --> src/core/types/square.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const A3: u8 = 16; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `B3` is never used [INFO] [stdout] --> src/core/types/square.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const B3: u8 = 17; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C3` is never used [INFO] [stdout] --> src/core/types/square.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const C3: u8 = 18; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `D3` is never used [INFO] [stdout] --> src/core/types/square.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const D3: u8 = 19; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E3` is never used [INFO] [stdout] --> src/core/types/square.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const E3: u8 = 20; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F3` is never used [INFO] [stdout] --> src/core/types/square.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const F3: u8 = 21; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G3` is never used [INFO] [stdout] --> src/core/types/square.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const G3: u8 = 22; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H3` is never used [INFO] [stdout] --> src/core/types/square.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const H3: u8 = 23; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `A4` is never used [INFO] [stdout] --> src/core/types/square.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const A4: u8 = 24; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `B4` is never used [INFO] [stdout] --> src/core/types/square.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const B4: u8 = 25; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C4` is never used [INFO] [stdout] --> src/core/types/square.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const C4: u8 = 26; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `D4` is never used [INFO] [stdout] --> src/core/types/square.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const D4: u8 = 27; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E4` is never used [INFO] [stdout] --> src/core/types/square.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const E4: u8 = 28; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F4` is never used [INFO] [stdout] --> src/core/types/square.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const F4: u8 = 29; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G4` is never used [INFO] [stdout] --> src/core/types/square.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const G4: u8 = 30; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H4` is never used [INFO] [stdout] --> src/core/types/square.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const H4: u8 = 31; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `A5` is never used [INFO] [stdout] --> src/core/types/square.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const A5: u8 = 32; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `B5` is never used [INFO] [stdout] --> src/core/types/square.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const B5: u8 = 33; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C5` is never used [INFO] [stdout] --> src/core/types/square.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const C5: u8 = 34; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `D5` is never used [INFO] [stdout] --> src/core/types/square.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const D5: u8 = 35; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E5` is never used [INFO] [stdout] --> src/core/types/square.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const E5: u8 = 36; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F5` is never used [INFO] [stdout] --> src/core/types/square.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const F5: u8 = 37; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G5` is never used [INFO] [stdout] --> src/core/types/square.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const G5: u8 = 38; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H5` is never used [INFO] [stdout] --> src/core/types/square.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub const H5: u8 = 39; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `A6` is never used [INFO] [stdout] --> src/core/types/square.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub const A6: u8 = 40; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `B6` is never used [INFO] [stdout] --> src/core/types/square.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | pub const B6: u8 = 41; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C6` is never used [INFO] [stdout] --> src/core/types/square.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub const C6: u8 = 42; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `D6` is never used [INFO] [stdout] --> src/core/types/square.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub const D6: u8 = 43; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E6` is never used [INFO] [stdout] --> src/core/types/square.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub const E6: u8 = 44; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F6` is never used [INFO] [stdout] --> src/core/types/square.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | pub const F6: u8 = 45; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G6` is never used [INFO] [stdout] --> src/core/types/square.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub const G6: u8 = 46; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H6` is never used [INFO] [stdout] --> src/core/types/square.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | pub const H6: u8 = 47; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `A7` is never used [INFO] [stdout] --> src/core/types/square.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | pub const A7: u8 = 48; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `B7` is never used [INFO] [stdout] --> src/core/types/square.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | pub const B7: u8 = 49; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C7` is never used [INFO] [stdout] --> src/core/types/square.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub const C7: u8 = 50; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `D7` is never used [INFO] [stdout] --> src/core/types/square.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | pub const D7: u8 = 51; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E7` is never used [INFO] [stdout] --> src/core/types/square.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub const E7: u8 = 52; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F7` is never used [INFO] [stdout] --> src/core/types/square.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | pub const F7: u8 = 53; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G7` is never used [INFO] [stdout] --> src/core/types/square.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | pub const G7: u8 = 54; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H7` is never used [INFO] [stdout] --> src/core/types/square.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const H7: u8 = 55; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `B8` is never used [INFO] [stdout] --> src/core/types/square.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | pub const B8: u8 = 57; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C8` is never used [INFO] [stdout] --> src/core/types/square.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | pub const C8: u8 = 58; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `D8` is never used [INFO] [stdout] --> src/core/types/square.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | pub const D8: u8 = 59; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E8` is never used [INFO] [stdout] --> src/core/types/square.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | pub const E8: u8 = 60; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `F8` is never used [INFO] [stdout] --> src/core/types/square.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | pub const F8: u8 = 61; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G8` is never used [INFO] [stdout] --> src/core/types/square.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | pub const G8: u8 = 62; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANK_1` is never used [INFO] [stdout] --> src/core/types/square.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | pub const RANK_1: Bitboard = Bitboard(0x00000000000000FF); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANK_2` is never used [INFO] [stdout] --> src/core/types/square.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | pub const RANK_2: Bitboard = Bitboard(0x000000000000FF00); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANK_3` is never used [INFO] [stdout] --> src/core/types/square.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | pub const RANK_3: Bitboard = Bitboard(0x0000000000FF0000); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANK_4` is never used [INFO] [stdout] --> src/core/types/square.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | pub const RANK_4: Bitboard = Bitboard(0x00000000FF000000); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANK_5` is never used [INFO] [stdout] --> src/core/types/square.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | pub const RANK_5: Bitboard = Bitboard(0x000000FF00000000); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANK_6` is never used [INFO] [stdout] --> src/core/types/square.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | pub const RANK_6: Bitboard = Bitboard(0x0000FF0000000000); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANK_7` is never used [INFO] [stdout] --> src/core/types/square.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub const RANK_7: Bitboard = Bitboard(0x00FF000000000000); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANK_8` is never used [INFO] [stdout] --> src/core/types/square.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | pub const RANK_8: Bitboard = Bitboard(0xFF00000000000000); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_B` is never used [INFO] [stdout] --> src/core/types/square.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | pub const FILE_B: Bitboard = Bitboard(0x0202020202020202); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_C` is never used [INFO] [stdout] --> src/core/types/square.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | pub const FILE_C: Bitboard = Bitboard(0x0404040404040404); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_D` is never used [INFO] [stdout] --> src/core/types/square.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | pub const FILE_D: Bitboard = Bitboard(0x0808080808080808); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_E` is never used [INFO] [stdout] --> src/core/types/square.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | pub const FILE_E: Bitboard = Bitboard(0x1010101010101010); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_F` is never used [INFO] [stdout] --> src/core/types/square.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | pub const FILE_F: Bitboard = Bitboard(0x2020202020202020); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_G` is never used [INFO] [stdout] --> src/core/types/square.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | pub const FILE_G: Bitboard = Bitboard(0x4040404040404040); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOT_A_FILE` is never used [INFO] [stdout] --> src/core/types/square.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | pub const NOT_A_FILE: Bitboard = Bitboard(0xFEFEFEFEFEFEFEFE); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOT_H_FILE` is never used [INFO] [stdout] --> src/core/types/square.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | pub const NOT_H_FILE: Bitboard = Bitboard(0x7F7F7F7F7F7F7F7F); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOT_AB_FILE` is never used [INFO] [stdout] --> src/core/types/square.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | pub const NOT_AB_FILE: Bitboard = Bitboard(0xFCFCFCFCFCFCFCFC); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOT_GH_FILE` is never used [INFO] [stdout] --> src/core/types/square.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | pub const NOT_GH_FILE: Bitboard = Bitboard(0x3F3F3F3F3F3F3F3F); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SquareParseError` is never used [INFO] [stdout] --> src/core/types/square.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | pub enum SquareParseError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_algebraic`, `to_algebraic`, `rank_bitboard`, and `file_bitboard` are never used [INFO] [stdout] --> src/core/types/square.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl Square { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 109 | pub fn from_algebraic(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn to_algebraic(square: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn rank_bitboard(rank: u8) -> Bitboard { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn file_bitboard(file: u8) -> Bitboard { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `NONE`, `new`, `has_kingside`, and `has_queenside` are never used [INFO] [stdout] --> src/core/types/castling.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 6 | impl CastlingRights { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 7 | pub const NONE: u8 = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn new(rights: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn has_kingside(&self, color: Color) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn has_queenside(&self, color: Color) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.53s [INFO] running `Command { std: "docker" "inspect" "fabc74946aeea4f8475e8ec9bb757c50b0cb46c89283dd9c91732067feedf4ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fabc74946aeea4f8475e8ec9bb757c50b0cb46c89283dd9c91732067feedf4ed", kill_on_drop: false }` [INFO] [stdout] fabc74946aeea4f8475e8ec9bb757c50b0cb46c89283dd9c91732067feedf4ed