[INFO] cloning repository https://github.com/ShreyJ1729/Rusty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ShreyJ1729/Rusty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShreyJ1729%2FRusty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShreyJ1729%2FRusty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5e76aed6a7bb97c3a3ac35209ddc8921a19055f [INFO] checking ShreyJ1729/Rusty against master#fe348cd1a8e0fa445b772393147ed865904dcd4d for pr-139587-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShreyJ1729%2FRusty" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ShreyJ1729/Rusty on toolchain fe348cd1a8e0fa445b772393147ed865904dcd4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ShreyJ1729/Rusty [INFO] finished tweaking git repo https://github.com/ShreyJ1729/Rusty [INFO] tweaked toml for git repo https://github.com/ShreyJ1729/Rusty written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ShreyJ1729/Rusty 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" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustversion v1.0.12 [INFO] [stderr] Downloaded thousands v0.2.0 [INFO] [stderr] Downloaded unicode-ident v1.0.8 [INFO] [stderr] Downloaded strum v0.24.1 [INFO] [stderr] Downloaded ascii_table v4.0.3 [INFO] [stderr] Downloaded text_io v0.1.12 [INFO] [stderr] Downloaded anstyle-query v1.0.0 [INFO] [stderr] Downloaded anstyle-parse v0.2.0 [INFO] [stderr] Downloaded io-lifetimes v1.0.10 [INFO] [stderr] Downloaded clap_derive v4.2.0 [INFO] [stderr] Downloaded clap v4.2.7 [INFO] [stderr] Downloaded csv-core v0.1.11 [INFO] [stderr] Downloaded strum_macros v0.24.3 [INFO] [stderr] Downloaded anstyle-wincon v1.0.1 [INFO] [stderr] Downloaded anstream v0.3.2 [INFO] [stderr] Downloaded clap_builder v4.2.7 [INFO] [stderr] Downloaded anstyle v1.0.0 [INFO] [stderr] Downloaded clap_lex v0.4.1 [INFO] [stderr] Downloaded getrandom v0.2.9 [INFO] [stderr] Downloaded rustix v0.37.13 [INFO] [stderr] Downloaded linux-raw-sys v0.3.7 [INFO] [stderr] Downloaded is-terminal v0.4.7 [INFO] [stderr] Downloaded csv v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d27bafcdba428dfaf37e6e622bae18f05ed009314875284b3a4e35a5695e270 [INFO] running `Command { std: "docker" "start" "-a" "6d27bafcdba428dfaf37e6e622bae18f05ed009314875284b3a4e35a5695e270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d27bafcdba428dfaf37e6e622bae18f05ed009314875284b3a4e35a5695e270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d27bafcdba428dfaf37e6e622bae18f05ed009314875284b3a4e35a5695e270", kill_on_drop: false }` [INFO] [stdout] 6d27bafcdba428dfaf37e6e622bae18f05ed009314875284b3a4e35a5695e270 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e76f3305760ccec90d09673ef275e11854eaf6d253371e7eb62566b50b9857f8 [INFO] running `Command { std: "docker" "start" "-a" "e76f3305760ccec90d09673ef275e11854eaf6d253371e7eb62566b50b9857f8", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking ash v0.37.3+1.3.251 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling rustix v0.37.13 [INFO] [stderr] Checking linux-raw-sys v0.3.7 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Checking clap_lex v0.4.1 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking thousands v0.2.0 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking ascii_table v4.0.3 [INFO] [stderr] Checking text_io v0.1.12 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking clap_builder v4.2.7 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking ruzstd v0.5.0 [INFO] [stderr] Compiling bevy_macro_utils v0.13.2 [INFO] [stderr] Compiling encase_derive_impl v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.13.2 [INFO] [stderr] Compiling bevy_reflect_derive v0.13.2 [INFO] [stderr] Compiling bevy_ecs_macros v0.13.2 [INFO] [stderr] Compiling bevy_derive v0.13.2 [INFO] [stderr] Compiling bevy_asset_macros v0.13.2 [INFO] [stderr] Compiling encase_derive v0.7.0 [INFO] [stderr] Compiling bevy_encase_derive v0.13.2 [INFO] [stderr] Compiling bevy_render_macros v0.13.2 [INFO] [stderr] Compiling gltf-derive v1.4.1 [INFO] [stderr] Compiling bevy_gizmos_macros v0.13.2 [INFO] [stderr] Compiling clap_derive v4.2.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking clap v4.2.7 [INFO] [stderr] Checking serde v1.0.202 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking glam v0.25.0 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking rustix v0.38.34 [INFO] [stderr] Checking nix v0.28.0 [INFO] [stderr] Checking alsa v0.9.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking gilrs-core v0.5.11 [INFO] [stderr] Checking cpal v0.15.3 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking gltf-json v1.4.1 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking gilrs v0.10.7 [INFO] [stderr] Checking rodio v0.17.3 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Checking bevy_utils v0.13.2 [INFO] [stderr] Checking bevy_math v0.13.2 [INFO] [stderr] Checking hexasphere v10.0.0 [INFO] [stderr] Checking encase v0.7.0 [INFO] [stderr] Checking bevy_mikktspace v0.13.2 [INFO] [stderr] Checking bevy_reflect v0.13.2 [INFO] [stderr] Checking gltf v1.4.1 [INFO] [stderr] Checking polling v3.7.0 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking winit v0.29.15 [INFO] [stderr] Checking bevy_ecs v0.13.2 [INFO] [stderr] Checking accesskit_winit v0.17.0 [INFO] [stderr] Checking wgpu-hal v0.19.4 [INFO] [stderr] Checking naga_oil v0.13.0 [INFO] [stderr] Checking wgpu-core v0.19.4 [INFO] [stderr] Checking bevy_app v0.13.2 [INFO] [stderr] Checking bevy_log v0.13.2 [INFO] [stderr] Checking bevy_core v0.13.2 [INFO] [stderr] Checking bevy_input v0.13.2 [INFO] [stderr] Checking bevy_a11y v0.13.2 [INFO] [stderr] Checking bevy_time v0.13.2 [INFO] [stderr] Checking bevy_asset v0.13.2 [INFO] [stderr] Checking bevy_hierarchy v0.13.2 [INFO] [stderr] Checking bevy_diagnostic v0.13.2 [INFO] [stderr] Checking bevy_transform v0.13.2 [INFO] [stderr] Checking bevy_window v0.13.2 [INFO] [stderr] Checking bevy_gilrs v0.13.2 [INFO] [stderr] Checking bevy_winit v0.13.2 [INFO] [stderr] Checking bevy_audio v0.13.2 [INFO] [stderr] Checking wgpu v0.19.4 [INFO] [stderr] Checking bevy_render v0.13.2 [INFO] [stderr] Checking bevy_core_pipeline v0.13.2 [INFO] [stderr] Checking bevy_animation v0.13.2 [INFO] [stderr] Checking bevy_scene v0.13.2 [INFO] [stderr] Checking bevy_sprite v0.13.2 [INFO] [stderr] Checking bevy_pbr v0.13.2 [INFO] [stderr] Checking bevy_text v0.13.2 [INFO] [stderr] Checking bevy_ui v0.13.2 [INFO] [stderr] Checking bevy_gizmos v0.13.2 [INFO] [stderr] Checking bevy_gltf v0.13.2 [INFO] [stderr] Checking bevy_internal v0.13.2 [INFO] [stderr] Checking bevy v0.13.2 [INFO] [stderr] Checking rusty-chess-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lookup_table/mod.rs:173:20 [INFO] [stdout] | [INFO] [stdout] 173 | if (file_bits >> shift & 1 == 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 173 - if (file_bits >> shift & 1 == 1) { [INFO] [stdout] 173 + if file_bits >> shift & 1 == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lookup_table/mod.rs:227:20 [INFO] [stdout] | [INFO] [stdout] 227 | if (occupancy_index >> bit_index & 1 == 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 227 - if (occupancy_index >> bit_index & 1 == 1) { [INFO] [stdout] 227 + if occupancy_index >> bit_index & 1 == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ascii_table::AsciiTable` [INFO] [stdout] --> src/perft/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ascii_table::AsciiTable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ascii` [INFO] [stdout] --> src/perft/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::ascii; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lookup_table/mod.rs:173:20 [INFO] [stdout] | [INFO] [stdout] 173 | if (file_bits >> shift & 1 == 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 173 - if (file_bits >> shift & 1 == 1) { [INFO] [stdout] 173 + if file_bits >> shift & 1 == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lookup_table/mod.rs:227:20 [INFO] [stdout] | [INFO] [stdout] 227 | if (occupancy_index >> bit_index & 1 == 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 227 - if (occupancy_index >> bit_index & 1 == 1) { [INFO] [stdout] 227 + if occupancy_index >> bit_index & 1 == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ascii_table::AsciiTable` [INFO] [stdout] --> src/perft/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ascii_table::AsciiTable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ascii` [INFO] [stdout] --> src/perft/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::ascii; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rank_unchanged` [INFO] [stdout] --> src/board/move_validation.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let rank_unchanged = rank_diff == 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rank_unchanged` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pawn_promoted` [INFO] [stdout] --> src/board/move_validation.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let pawn_promoted = [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pawn_promoted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rank_unchanged` [INFO] [stdout] --> src/board/move_validation.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let rank_unchanged = rank_diff == 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rank_unchanged` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pawn_promoted` [INFO] [stdout] --> src/board/move_validation.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let pawn_promoted = [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pawn_promoted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lookup_table/generator.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lookup_table/generator.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 20 | COLOR::WHITE => match square.rank() { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 24 | COLOR::BLACK => match square.rank() { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 28 | _ => None, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/lookup_table/mod.rs:92:52 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_knight_moves(&self, square: SQUARE, color: COLOR) -> Bitboard { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/lookup_table/mod.rs:98:50 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn get_king_moves(&self, square: SQUARE, color: COLOR) -> Bitboard { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/lookup_table/mod.rs:104:52 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn get_bishop_moves(&self, square: SQUARE, color: COLOR, board_occupancy: u64) -> Bitboard { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/lookup_table/mod.rs:123:50 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn get_rook_moves(&self, square: SQUARE, color: COLOR, board_occupancy: u64) -> Bitboard { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lookup_table/generator.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lookup_table/generator.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 20 | COLOR::WHITE => match square.rank() { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 24 | COLOR::BLACK => match square.rank() { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 28 | _ => None, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/lookup_table/mod.rs:92:52 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_knight_moves(&self, square: SQUARE, color: COLOR) -> Bitboard { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/lookup_table/mod.rs:98:50 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn get_king_moves(&self, square: SQUARE, color: COLOR) -> Bitboard { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/lookup_table/mod.rs:104:52 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn get_bishop_moves(&self, square: SQUARE, color: COLOR, board_occupancy: u64) -> Bitboard { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/lookup_table/mod.rs:123:50 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn get_rook_moves(&self, square: SQUARE, color: COLOR, board_occupancy: u64) -> Bitboard { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear` and `empty` are never used [INFO] [stdout] --> src/bitboard.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Bitboard { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn empty(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear` and `occupancy_of_color` are never used [INFO] [stdout] --> src/board/bits.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl<'a> Board<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn occupancy_of_color(&self, color: COLOR) -> Bitboard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_fen` and `starting_position` are never used [INFO] [stdout] --> src/board/fen.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl<'a> Board<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn to_fen(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn starting_position(lookup_table: &LookupTable) -> Board { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_fen` is never used [INFO] [stdout] --> src/enums/board/file.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl FILE { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn to_fen(&self) -> char { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_fen` is never used [INFO] [stdout] --> src/enums/board/rank.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl RANK { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn to_fen(&self) -> char { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_pawn_start`, `to_fen`, `east`, and `west` are never used [INFO] [stdout] --> src/enums/board/square.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl SQUARE { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn is_pawn_start(&self, color: COLOR) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn to_fen(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn east(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn west(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/enums/castling/castling_rights.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl CastlingRights { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn to_fen(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn any(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn any_white(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn any_black(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get(&self, castle: CASTLE) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn set_index(&mut self, index: usize, value: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn give_color(&mut self, color: COLOR) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_fen` is never used [INFO] [stdout] --> src/enums/color.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl COLOR { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn to_fen(&self) -> char { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/enums/piece/piece.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl PIECE { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn is_white(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn is_black(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn is_color(&self, color: COLOR) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn is_opposite_color(&self, color: COLOR) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn is_pawn(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn is_knight(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn is_bishop(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn is_rook(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn is_queen(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn is_king(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index_to_bits` is never used [INFO] [stdout] --> src/helpers.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn index_to_bits(index: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bits_to_square` is never used [INFO] [stdout] --> src/helpers.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn bits_to_square(bits: u64) -> SQUARE { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear` and `empty` are never used [INFO] [stdout] --> src/bitboard.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Bitboard { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn empty(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear` and `occupancy_of_color` are never used [INFO] [stdout] --> src/board/bits.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl<'a> Board<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn occupancy_of_color(&self, color: COLOR) -> Bitboard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_fen` and `starting_position` are never used [INFO] [stdout] --> src/board/fen.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl<'a> Board<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn to_fen(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn starting_position(lookup_table: &LookupTable) -> Board { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_fen` is never used [INFO] [stdout] --> src/enums/board/file.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl FILE { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn to_fen(&self) -> char { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_fen` is never used [INFO] [stdout] --> src/enums/board/rank.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl RANK { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn to_fen(&self) -> char { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_pawn_start`, `to_fen`, `east`, and `west` are never used [INFO] [stdout] --> src/enums/board/square.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl SQUARE { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn is_pawn_start(&self, color: COLOR) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn to_fen(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn east(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn west(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/enums/castling/castling_rights.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl CastlingRights { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn to_fen(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn any(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn any_white(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn any_black(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get(&self, castle: CASTLE) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn set_index(&mut self, index: usize, value: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn give_color(&mut self, color: COLOR) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_fen` is never used [INFO] [stdout] --> src/enums/color.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl COLOR { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn to_fen(&self) -> char { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/enums/piece/piece.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl PIECE { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn is_white(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn is_black(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn is_color(&self, color: COLOR) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn is_opposite_color(&self, color: COLOR) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn is_pawn(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn is_knight(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn is_bishop(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn is_rook(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn is_queen(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn is_king(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index_to_bits` is never used [INFO] [stdout] --> src/helpers.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn index_to_bits(index: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bits_to_square` is never used [INFO] [stdout] --> src/helpers.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn bits_to_square(bits: u64) -> SQUARE { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 48s [INFO] running `Command { std: "docker" "inspect" "e76f3305760ccec90d09673ef275e11854eaf6d253371e7eb62566b50b9857f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e76f3305760ccec90d09673ef275e11854eaf6d253371e7eb62566b50b9857f8", kill_on_drop: false }` [INFO] [stdout] e76f3305760ccec90d09673ef275e11854eaf6d253371e7eb62566b50b9857f8