[INFO] cloning repository https://github.com/titaniummachine1/Drawback_Chess_Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/titaniummachine1/Drawback_Chess_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftitaniummachine1%2FDrawback_Chess_Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftitaniummachine1%2FDrawback_Chess_Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3e6c3aed4b58275327732fd584c5819d0ca741ec
[INFO] testing titaniummachine1/Drawback_Chess_Rust against beta-2025-10-28 for beta-1.92-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftitaniummachine1%2FDrawback_Chess_Rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/titaniummachine1/Drawback_Chess_Rust
[INFO] finished tweaking git repo https://github.com/titaniummachine1/Drawback_Chess_Rust
[INFO] tweaked toml for git repo https://github.com/titaniummachine1/Drawback_Chess_Rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/titaniummachine1/Drawback_Chess_Rust on toolchain beta-2025-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/titaniummachine1/Drawback_Chess_Rust 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 410548ca92250e314264a6ed827b28fb6109243d728544fb76d6bdd0b0d681dd
[INFO] running `Command { std: "docker" "start" "-a" "410548ca92250e314264a6ed827b28fb6109243d728544fb76d6bdd0b0d681dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "410548ca92250e314264a6ed827b28fb6109243d728544fb76d6bdd0b0d681dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "410548ca92250e314264a6ed827b28fb6109243d728544fb76d6bdd0b0d681dd", kill_on_drop: false }`
[INFO] [stdout] 410548ca92250e314264a6ed827b28fb6109243d728544fb76d6bdd0b0d681dd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a53c4ade23e2bbbb1f8a57c28a4e7ea3be2bd60dd05d07f832be1f487a4b1374
[INFO] running `Command { std: "docker" "start" "-a" "a53c4ade23e2bbbb1f8a57c28a4e7ea3be2bd60dd05d07f832be1f487a4b1374", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling once_cell v1.21.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling indexmap v2.8.0
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling futures-lite v2.6.0
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling async-task v4.7.1
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling waker-fn v1.2.0
[INFO] [stderr]    Compiling nonmax v0.5.5
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling downcast-rs v1.2.1
[INFO] [stderr]    Compiling smol_str v0.2.2
[INFO] [stderr]    Compiling bevy_ptr v0.12.1
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling raw-window-handle v0.5.2
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling tracing-log v0.1.4
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling cc v1.2.17
[INFO] [stderr]    Compiling pp-rs v0.2.1
[INFO] [stderr]    Compiling async-executor v1.13.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling event-listener-strategy v0.5.3
[INFO] [stderr]    Compiling spirv v0.2.0+1.5.4
[INFO] [stderr]    Compiling crossbeam-channel v0.5.14
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling bevy_tasks v0.12.1
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling khronos-egl v4.1.0
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling hexf-parse v0.2.1
[INFO] [stderr]    Compiling ash v0.37.3+1.3.251
[INFO] [stderr]    Compiling piper v0.2.4
[INFO] [stderr]    Compiling async-channel v2.3.1
[INFO] [stderr]    Compiling async-fs v1.6.0
[INFO] [stderr]    Compiling accesskit v0.12.3
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling toml_edit v0.20.7
[INFO] [stderr]    Compiling blocking v1.6.1
[INFO] [stderr]    Compiling miniz_oxide v0.8.5
[INFO] [stderr]    Compiling async-lock v2.8.0
[INFO] [stderr]    Compiling libloading v0.8.6
[INFO] [stderr]    Compiling blake3 v1.7.0
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling arrayref v0.3.9
[INFO] [stderr]    Compiling renderdoc-sys v1.1.0
[INFO] [stderr]    Compiling glow v0.12.3
[INFO] [stderr]    Compiling thiserror-core v1.0.50
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling constant_time_eq v0.3.1
[INFO] [stderr]    Compiling profiling v1.0.16
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling async-broadcast v0.5.1
[INFO] [stderr]    Compiling const_soft_float v0.1.4
[INFO] [stderr]    Compiling twox-hash v1.6.3
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling flate2 v1.1.0
[INFO] [stderr]    Compiling const_panic v0.2.12
[INFO] [stderr]    Compiling constgebra v0.1.4
[INFO] [stderr]    Compiling regex-syntax v0.7.5
[INFO] [stderr]    Compiling data-encoding v2.8.0
[INFO] [stderr]    Compiling ktx2 v0.3.0
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling radsort v0.1.1
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]    Compiling xml-rs v0.8.25
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling euclid v0.22.11
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]    Compiling svg_fmt v0.4.4
[INFO] [stderr]    Compiling ttf-parser v0.25.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling inflections v1.1.1
[INFO] [stderr]    Compiling rectangle-pack v0.4.2
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.8
[INFO] [stderr]    Compiling cpal v0.15.3
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]    Compiling guillotiere v0.6.2
[INFO] [stderr]    Compiling inotify v0.10.2
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling ogg v0.8.0
[INFO] [stderr]    Compiling dasp_sample v0.11.0
[INFO] [stderr]    Compiling gilrs v0.10.10
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling xi-unicode v0.3.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling grid v0.10.0
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling lewton v0.10.2
[INFO] [stderr]    Compiling sysinfo v0.29.11
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling winit v0.28.7
[INFO] [stderr]    Compiling taffy v0.3.19
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling btoi v0.4.3
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling mucow v0.1.0
[INFO] [stderr]    Compiling bevy_macro_utils v0.12.1
[INFO] [stderr]    Compiling encase_derive_impl v0.6.1
[INFO] [stderr]    Compiling owned_ttf_parser v0.25.0
[INFO] [stderr]    Compiling ab_glyph v0.2.29
[INFO] [stderr]    Compiling glyph_brush_layout v0.2.4
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling bytemuck_derive v1.9.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling bevy_utils_proc_macros v0.12.1
[INFO] [stderr]    Compiling bevy_reflect_derive v0.12.1
[INFO] [stderr]    Compiling bevy_ecs_macros v0.12.1
[INFO] [stderr]    Compiling bevy_derive v0.12.1
[INFO] [stderr]    Compiling bevy_asset_macros v0.12.1
[INFO] [stderr]    Compiling thiserror-core-impl v1.0.50
[INFO] [stderr]    Compiling encase_derive v0.6.1
[INFO] [stderr]    Compiling bevy_render_macros v0.12.1
[INFO] [stderr]    Compiling bevy_encase_derive v0.12.1
[INFO] [stderr]    Compiling gltf-derive v1.4.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling bytemuck v1.22.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling pleco v0.5.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling image v0.24.9
[INFO] [stderr]    Compiling ruzstd v0.4.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling accesskit_winit v0.15.0
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling glam v0.24.2
[INFO] [stderr]    Compiling erased-serde v0.3.31
[INFO] [stderr]    Compiling gpu-alloc-types v0.3.0
[INFO] [stderr]    Compiling naga v0.13.0
[INFO] [stderr]    Compiling gpu-descriptor-types v0.1.2
[INFO] [stderr]    Compiling wgpu-types v0.17.0
[INFO] [stderr]    Compiling ron v0.8.1
[INFO] [stderr]    Compiling alsa v0.9.1
[INFO] [stderr]    Compiling shakmaty v0.26.0
[INFO] [stderr]    Compiling gpu-alloc v0.6.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling gilrs-core v0.5.15
[INFO] [stderr]    Compiling bevy_utils v0.12.1
[INFO] [stderr]    Compiling gpu-descriptor v0.2.4
[INFO] [stderr]    Compiling gltf-json v1.4.1
[INFO] [stderr]    Compiling rodio v0.17.3
[INFO] [stderr]    Compiling gltf v1.4.1
[INFO] [stderr]    Compiling bevy_math v0.12.1
[INFO] [stderr]    Compiling bevy_mikktspace v0.12.1
[INFO] [stderr]    Compiling encase v0.6.1
[INFO] [stderr]    Compiling hexasphere v9.1.0
[INFO] [stderr]    Compiling bevy_reflect v0.12.1
[INFO] [stderr]    Compiling wgpu-hal v0.17.2
[INFO] [stderr]    Compiling naga_oil v0.10.1
[INFO] [stderr]    Compiling bevy_ecs v0.12.1
[INFO] [stderr]    Compiling wgpu-core v0.17.1
[INFO] [stderr]    Compiling wgpu v0.17.2
[INFO] [stderr]    Compiling bevy_app v0.12.1
[INFO] [stderr]    Compiling bevy_log v0.12.1
[INFO] [stderr]    Compiling bevy_core v0.12.1
[INFO] [stderr]    Compiling bevy_input v0.12.1
[INFO] [stderr]    Compiling bevy_time v0.12.1
[INFO] [stderr]    Compiling bevy_a11y v0.12.1
[INFO] [stderr]    Compiling bevy_asset v0.12.1
[INFO] [stderr]    Compiling bevy_hierarchy v0.12.1
[INFO] [stderr]    Compiling bevy_transform v0.12.1
[INFO] [stderr]    Compiling bevy_diagnostic v0.12.1
[INFO] [stderr]    Compiling bevy_window v0.12.1
[INFO] [stderr]    Compiling bevy_gilrs v0.12.1
[INFO] [stderr]    Compiling bevy_winit v0.12.1
[INFO] [stderr]    Compiling bevy_render v0.12.1
[INFO] [stderr]    Compiling bevy_audio v0.12.1
[INFO] [stderr]    Compiling bevy_core_pipeline v0.12.1
[INFO] [stderr]    Compiling bevy_scene v0.12.1
[INFO] [stderr]    Compiling bevy_animation v0.12.1
[INFO] [stderr]    Compiling bevy_sprite v0.12.1
[INFO] [stderr]    Compiling bevy_pbr v0.12.1
[INFO] [stderr]    Compiling bevy_text v0.12.1
[INFO] [stderr]    Compiling bevy_ui v0.12.1
[INFO] [stderr]    Compiling bevy_gizmos v0.12.1
[INFO] [stderr]    Compiling bevy_gltf v0.12.1
[INFO] [stderr]    Compiling bevy_internal v0.12.1
[INFO] [stderr]    Compiling bevy v0.12.1
[INFO] [stderr]    Compiling drawback_chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Color as ChessColor`
[INFO] [stdout]  --> src/game_logic/events.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use shakmaty::{Move, Color as ChessColor};
[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: `Square`
[INFO] [stdout]  --> src/game_logic/systems.rs:2:53
[INFO] [stdout]   |
[INFO] [stdout] 2 | use shakmaty::{Color as ChessColor, Position, Role, Square, Move};
[INFO] [stdout]   |                                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Setup`
[INFO] [stdout]  --> src/game_logic/plugin.rs:2:76
[INFO] [stdout]   |
[INFO] [stdout] 2 | use shakmaty::{fen::Fen, Chess, Color, Role, Move, CastlingMode, Position, Setup};
[INFO] [stdout]   |                                                                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::drawbacks::DrawbackId`
[INFO] [stdout]  --> src/game_logic/plugin.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::drawbacks::DrawbackId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Chess`
[INFO] [stdout]  --> src/pieces/plugin.rs:2:51
[INFO] [stdout]   |
[INFO] [stdout] 2 | use shakmaty::{Square, Color as ChessColor, Role, Chess, Position, Move, File};
[INFO] [stdout]   |                                                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Add`
[INFO] [stdout]  --> src/input/systems.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Add;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TurnState`
[INFO] [stdout]  --> src/input/systems.rs:4:43
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::game_logic::state::{GameState, TurnState};
[INFO] [stdout]   |                                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Z_PIECES`
[INFO] [stdout]  --> src/input/systems.rs:7:97
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::constants::{SELECTED_COLOR, LEGAL_MOVE_COLOR, TILE_SIZE, Z_LEGAL_MOVES, Z_HIGHLIGHT, Z_PIECES};
[INFO] [stdout]   |                                                                                                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Outcome`
[INFO] [stdout]  --> src/ai/mcts.rs:1:60
[INFO] [stdout]   |
[INFO] [stdout] 1 | use shakmaty::{Move, Position, Chess, Role, Square, Color, Outcome};
[INFO] [stdout]   |                                                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::drawbacks::DrawbackId`
[INFO] [stdout]  --> src/ai/mcts.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::drawbacks::DrawbackId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game_state`
[INFO] [stdout]    --> src/game_logic/systems.rs:160:28
[INFO] [stdout]     |
[INFO] [stdout] 160 | fn is_allowable_check_move(game_state: &GameState, candidate_move: &Move) -> bool {
[INFO] [stdout]     |                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `candidate_move`
[INFO] [stdout]    --> src/game_logic/systems.rs:160:52
[INFO] [stdout]     |
[INFO] [stdout] 160 | fn is_allowable_check_move(game_state: &GameState, candidate_move: &Move) -> bool {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candidate_move`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `drawback_registry`
[INFO] [stdout]   --> src/game_logic/plugin.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     drawback_registry: Res<DrawbackRegistry>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drawback_registry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/game_logic/plugin.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 81 |     mut commands: Commands,
[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: `commands`
[INFO] [stdout]   --> src/game_logic/plugin.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 81 |     mut commands: Commands,
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entity`
[INFO] [stdout]   --> src/pieces/plugin.rs:80:14
[INFO] [stdout]    |
[INFO] [stdout] 80 |         for (entity, option, parent) in query.iter() {
[INFO] [stdout]    |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent`
[INFO] [stdout]   --> src/pieces/plugin.rs:80:30
[INFO] [stdout]    |
[INFO] [stdout] 80 |         for (entity, option, parent) in query.iter() {
[INFO] [stdout]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rook`
[INFO] [stdout]    --> src/pieces/plugin.rs:297:44
[INFO] [stdout]     |
[INFO] [stdout] 297 |             shakmaty::Move::Castle { king, rook } => {
[INFO] [stdout]     |                                            ^^^^ help: try ignoring the field: `rook: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `clicked_on_valid_move` is assigned to, but never used
[INFO] [stdout]   --> src/input/systems.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let mut clicked_on_valid_move = false;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_clicked_on_valid_move` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `clicked_on_valid_move` is never read
[INFO] [stdout]   --> src/input/systems.rs:64:21
[INFO] [stdout]    |
[INFO] [stdout] 64 |                     clicked_on_valid_move = true;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_capture`
[INFO] [stdout]    --> src/input/systems.rs:348:29
[INFO] [stdout]     |
[INFO] [stdout] 348 |                         let is_capture = match game_state.board.board().piece_at(to_square) {
[INFO] [stdout]     |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iterations`
[INFO] [stdout]    --> src/ai/plugin.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let iterations = config.ai_settings.iteration_limit;
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iterations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `search_depth`
[INFO] [stdout]    --> src/ai/pleco_ai.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let search_depth = std::cmp::min(depth_limit, 4); // Limit depth for time-based search
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_search_depth`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SPRITE_SIZE` is never used
[INFO] [stdout]  --> src/constants.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const SPRITE_SIZE: f32 = 64.0;
[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 `NUM_ROWS` is never used
[INFO] [stdout]  --> src/constants.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const NUM_ROWS: usize = 8;
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BOARD_SIZE` is never used
[INFO] [stdout]  --> src/constants.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const BOARD_SIZE: f32 = SPRITE_SIZE * NUM_COLS as f32;
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HOVER_COLOR` is never used
[INFO] [stdout]   --> src/constants.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub const HOVER_COLOR: Color = Color::rgba(0.0, 0.0, 1.0, 0.3);    // Blue, more transparent
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `Z_BOARD` is never used
[INFO] [stdout]   --> src/constants.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub const Z_BOARD: f32 = 0.0;      // Base layer - board squares
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `Z_DRAGGING` is never used
[INFO] [stdout]   --> src/constants.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub const Z_DRAGGING: f32 = 0.5;   // Pieces while being dragged
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_fen` is never used
[INFO] [stdout]   --> src/game_logic/state.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl GameState {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn from_fen(fen: &str) -> Result<Self, Box<dyn Error>> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/game_logic/events.rs:8:26
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct GameOverEvent(pub String); // Contains reason for game over (e.g., "Checkmate", "Stalemate")
[INFO] [stdout]   |            ------------- ^^^^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FLIPPED_FEN` is never used
[INFO] [stdout]   --> src/game_logic/plugin.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub const FLIPPED_FEN: &str = "RNBQKBNR/PPPPPPPP/8/8/8/8/pppppppp/rnbqkbnr w - - 0 1";
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_king_capture` is never used
[INFO] [stdout]   --> src/game_logic/plugin.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn is_king_capture(board: &Chess, game_move: &Move) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_drawbacks` is never used
[INFO] [stdout]   --> src/game_logic/plugin.rs:80:4
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn setup_drawbacks(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `is_white` is never read
[INFO] [stdout]  --> src/board/components.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct BoardSquare {
[INFO] [stdout]   |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9 |     pub is_white: bool,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `BoardSquare` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `color` is never read
[INFO] [stdout]   --> src/pieces/plugin.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct PromotionOption {
[INFO] [stdout]    |        --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     color: ChessColor,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `spawn_single_piece` is never used
[INFO] [stdout]    --> src/pieces/plugin.rs:572:4
[INFO] [stdout]     |
[INFO] [stdout] 572 | fn spawn_single_piece(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/ai/plugin.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct AiGameStateContext {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 33 |     pub board: Chess,
[INFO] [stdout] 34 |     pub player_turn: ChessColor,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 35 |     pub player_drawback: DrawbackId,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 36 |     pub opponent_drawback: DrawbackId,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 37 |     pub current_hash: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 38 |     pub depth: u8,              // Search depth limit
[INFO] [stdout] 39 |     pub check_quietness: bool,  // Whether to ensure positions are quiet
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 40 |     pub quiescence_depth: u8,   // Extra depth for non-quiet positions
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 41 |     pub time_limit_ms: u32,     // Time limit in milliseconds
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AiGameStateContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_best_move_mcts` is never used
[INFO] [stdout]   --> src/ai/mcts.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn find_best_move_mcts(ctx: AiGameStateContext, iterations: u32) -> Option<Move> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_king_capture` is never used
[INFO] [stdout]    --> src/ai/mcts.rs:204:4
[INFO] [stdout]     |
[INFO] [stdout] 204 | fn is_king_capture(board: &Chess, m: &Move) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_capture_value` is never used
[INFO] [stdout]    --> src/ai/mcts.rs:212:4
[INFO] [stdout]     |
[INFO] [stdout] 212 | fn get_capture_value(board: &Chess, m: &Move) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `evaluate_king_safety` is never used
[INFO] [stdout]    --> src/ai/mcts.rs:245:4
[INFO] [stdout]     |
[INFO] [stdout] 245 | fn evaluate_king_safety(board: &Chess, color: Color) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_king_square` is never used
[INFO] [stdout]    --> src/ai/mcts.rs:318:4
[INFO] [stdout]     |
[INFO] [stdout] 318 | fn find_king_square(board: &Chess, color: Color) -> Option<Square> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PIECE_VALUES` is never used
[INFO] [stdout]  --> src/ai/evaluation.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const PIECE_VALUES: [(i32, i32); 6] = [
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PIECE_PHASE_VALUES` is never used
[INFO] [stdout]   --> src/ai/evaluation.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const PIECE_PHASE_VALUES: [i32; 6] = [
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_PHASE` is never used
[INFO] [stdout]   --> src/ai/evaluation.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | const MAX_PHASE: f64 = 24.0;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MG_PAWN_PST` is never used
[INFO] [stdout]   --> src/ai/evaluation.rs:29:7
[INFO] [stdout]    |
[INFO] [stdout] 29 | const MG_PAWN_PST: [i32; 64] = [
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MG_KNIGHT_PST` is never used
[INFO] [stdout]   --> src/ai/evaluation.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 41 | const MG_KNIGHT_PST: [i32; 64] = [
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MG_BISHOP_PST` is never used
[INFO] [stdout]   --> src/ai/evaluation.rs:53:7
[INFO] [stdout]    |
[INFO] [stdout] 53 | const MG_BISHOP_PST: [i32; 64] = [
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MG_ROOK_PST` is never used
[INFO] [stdout]   --> src/ai/evaluation.rs:65:7
[INFO] [stdout]    |
[INFO] [stdout] 65 | const MG_ROOK_PST: [i32; 64] = [
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MG_QUEEN_PST` is never used
[INFO] [stdout]   --> src/ai/evaluation.rs:77:7
[INFO] [stdout]    |
[INFO] [stdout] 77 | const MG_QUEEN_PST: [i32; 64] = [
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MG_KING_PST` is never used
[INFO] [stdout]   --> src/ai/evaluation.rs:89:7
[INFO] [stdout]    |
[INFO] [stdout] 89 | const MG_KING_PST: [i32; 64] = [
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EG_PAWN_PST` is never used
[INFO] [stdout]    --> src/ai/evaluation.rs:102:7
[INFO] [stdout]     |
[INFO] [stdout] 102 | const EG_PAWN_PST: [i32; 64] = [
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EG_KNIGHT_PST` is never used
[INFO] [stdout]    --> src/ai/evaluation.rs:114:7
[INFO] [stdout]     |
[INFO] [stdout] 114 | const EG_KNIGHT_PST: [i32; 64] = [
[INFO] [stdout]     |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EG_BISHOP_PST` is never used
[INFO] [stdout]    --> src/ai/evaluation.rs:126:7
[INFO] [stdout]     |
[INFO] [stdout] 126 | const EG_BISHOP_PST: [i32; 64] = [
[INFO] [stdout]     |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EG_ROOK_PST` is never used
[INFO] [stdout]    --> src/ai/evaluation.rs:138:7
[INFO] [stdout]     |
[INFO] [stdout] 138 | const EG_ROOK_PST: [i32; 64] = [
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EG_QUEEN_PST` is never used
[INFO] [stdout]    --> src/ai/evaluation.rs:150:7
[INFO] [stdout]     |
[INFO] [stdout] 150 | const EG_QUEEN_PST: [i32; 64] = [
[INFO] [stdout]     |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EG_KING_PST` is never used
[INFO] [stdout]    --> src/ai/evaluation.rs:162:7
[INFO] [stdout]     |
[INFO] [stdout] 162 | const EG_KING_PST: [i32; 64] = [
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PieceSquareTables` is never constructed
[INFO] [stdout]    --> src/ai/evaluation.rs:175:8
[INFO] [stdout]     |
[INFO] [stdout] 175 | struct PieceSquareTables {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_piece_square_value`, and `square_to_index` are never used
[INFO] [stdout]    --> src/ai/evaluation.rs:183:8
[INFO] [stdout]     |
[INFO] [stdout] 182 | impl PieceSquareTables {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] 183 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 239 |     fn get_piece_square_value(&self, piece: &Piece, sq: Square, is_endgame: f64) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 266 |     fn square_to_index(sq: Square) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_game_phase` is never used
[INFO] [stdout]    --> src/ai/evaluation.rs:274:8
[INFO] [stdout]     |
[INFO] [stdout] 274 | pub fn compute_game_phase(board: &Chess) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `evaluate_position_with_pst` is never used
[INFO] [stdout]    --> src/ai/evaluation.rs:301:8
[INFO] [stdout]     |
[INFO] [stdout] 301 | pub fn evaluate_position_with_pst(board: &Chess) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `name`, `description`, `needs_turn_rng`, `get_rng_outcomes`, and `check_loss_condition` are never used
[INFO] [stdout]   --> src/drawbacks/definition.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub trait DrawbackRule: Send + Sync + Debug {
[INFO] [stdout]    |           ------------ methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 13 |     fn name(&self) -> &'static str;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn description(&self) -> &'static str;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn needs_turn_rng(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn get_rng_outcomes(&self) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn check_loss_condition(&self, position: &Chess, legal_moves: &Vec<Move>) -> bool;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `human_vs_ai` is never used
[INFO] [stdout]    --> src/config.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub fn human_vs_ai() -> GameConfig {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ai_vs_human` is never used
[INFO] [stdout]    --> src/config.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout] 148 |     pub fn ai_vs_human() -> GameConfig {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ai_vs_ai` is never used
[INFO] [stdout]    --> src/config.rs:202:12
[INFO] [stdout]     |
[INFO] [stdout] 202 |     pub fn ai_vs_ai() -> GameConfig {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `easy_ai` is never used
[INFO] [stdout]    --> src/config.rs:229:12
[INFO] [stdout]     |
[INFO] [stdout] 229 |     pub fn easy_ai() -> GameConfig {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `strong_ai` is never used
[INFO] [stdout]    --> src/config.rs:256:12
[INFO] [stdout]     |
[INFO] [stdout] 256 |     pub fn strong_ai() -> GameConfig {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 31s
[INFO] running `Command { std: "docker" "inspect" "a53c4ade23e2bbbb1f8a57c28a4e7ea3be2bd60dd05d07f832be1f487a4b1374", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a53c4ade23e2bbbb1f8a57c28a4e7ea3be2bd60dd05d07f832be1f487a4b1374", kill_on_drop: false }`
[INFO] [stdout] a53c4ade23e2bbbb1f8a57c28a4e7ea3be2bd60dd05d07f832be1f487a4b1374
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 80902f234f30e7419e1800eb37bc9a737cf18dac567c10123e4d5a756149b8f9
[INFO] running `Command { std: "docker" "start" "-a" "80902f234f30e7419e1800eb37bc9a737cf18dac567c10123e4d5a756149b8f9", kill_on_drop: false }`
[INFO] [stderr]    Compiling drawback_chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Color as ChessColor`
[INFO] [stdout]  --> src/game_logic/events.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use shakmaty::{Move, Color as ChessColor};
[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: `Square`
[INFO] [stdout]  --> src/game_logic/systems.rs:2:53
[INFO] [stdout]   |
[INFO] [stdout] 2 | use shakmaty::{Color as ChessColor, Position, Role, Square, Move};
[INFO] [stdout]   |                                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Setup`
[INFO] [stdout]  --> src/game_logic/plugin.rs:2:76
[INFO] [stdout]   |
[INFO] [stdout] 2 | use shakmaty::{fen::Fen, Chess, Color, Role, Move, CastlingMode, Position, Setup};
[INFO] [stdout]   |                                                                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::drawbacks::DrawbackId`
[INFO] [stdout]  --> src/game_logic/plugin.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::drawbacks::DrawbackId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Chess`
[INFO] [stdout]  --> src/pieces/plugin.rs:2:51
[INFO] [stdout]   |
[INFO] [stdout] 2 | use shakmaty::{Square, Color as ChessColor, Role, Chess, Position, Move, File};
[INFO] [stdout]   |                                                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Add`
[INFO] [stdout]  --> src/input/systems.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Add;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TurnState`
[INFO] [stdout]  --> src/input/systems.rs:4:43
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::game_logic::state::{GameState, TurnState};
[INFO] [stdout]   |                                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Z_PIECES`
[INFO] [stdout]  --> src/input/systems.rs:7:97
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::constants::{SELECTED_COLOR, LEGAL_MOVE_COLOR, TILE_SIZE, Z_LEGAL_MOVES, Z_HIGHLIGHT, Z_PIECES};
[INFO] [stdout]   |                                                                                                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Outcome`
[INFO] [stdout]  --> src/ai/mcts.rs:1:60
[INFO] [stdout]   |
[INFO] [stdout] 1 | use shakmaty::{Move, Position, Chess, Role, Square, Color, Outcome};
[INFO] [stdout]   |                                                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::drawbacks::DrawbackId`
[INFO] [stdout]  --> src/ai/mcts.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::drawbacks::DrawbackId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game_state`
[INFO] [stdout]    --> src/game_logic/systems.rs:160:28
[INFO] [stdout]     |
[INFO] [stdout] 160 | fn is_allowable_check_move(game_state: &GameState, candidate_move: &Move) -> bool {
[INFO] [stdout]     |                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `candidate_move`
[INFO] [stdout]    --> src/game_logic/systems.rs:160:52
[INFO] [stdout]     |
[INFO] [stdout] 160 | fn is_allowable_check_move(game_state: &GameState, candidate_move: &Move) -> bool {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candidate_move`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `drawback_registry`
[INFO] [stdout]   --> src/game_logic/plugin.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     drawback_registry: Res<DrawbackRegistry>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drawback_registry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/game_logic/plugin.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 81 |     mut commands: Commands,
[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: `commands`
[INFO] [stdout]   --> src/game_logic/plugin.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 81 |     mut commands: Commands,
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entity`
[INFO] [stdout]   --> src/pieces/plugin.rs:80:14
[INFO] [stdout]    |
[INFO] [stdout] 80 |         for (entity, option, parent) in query.iter() {
[INFO] [stdout]    |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent`
[INFO] [stdout]   --> src/pieces/plugin.rs:80:30
[INFO] [stdout]    |
[INFO] [stdout] 80 |         for (entity, option, parent) in query.iter() {
[INFO] [stdout]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rook`
[INFO] [stdout]    --> src/pieces/plugin.rs:297:44
[INFO] [stdout]     |
[INFO] [stdout] 297 |             shakmaty::Move::Castle { king, rook } => {
[INFO] [stdout]     |                                            ^^^^ help: try ignoring the field: `rook: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `clicked_on_valid_move` is assigned to, but never used
[INFO] [stdout]   --> src/input/systems.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let mut clicked_on_valid_move = false;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_clicked_on_valid_move` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `clicked_on_valid_move` is never read
[INFO] [stdout]   --> src/input/systems.rs:64:21
[INFO] [stdout]    |
[INFO] [stdout] 64 |                     clicked_on_valid_move = true;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_capture`
[INFO] [stdout]    --> src/input/systems.rs:348:29
[INFO] [stdout]     |
[INFO] [stdout] 348 |                         let is_capture = match game_state.board.board().piece_at(to_square) {
[INFO] [stdout]     |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iterations`
[INFO] [stdout]    --> src/ai/plugin.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let iterations = config.ai_settings.iteration_limit;
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iterations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `search_depth`
[INFO] [stdout]    --> src/ai/pleco_ai.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let search_depth = std::cmp::min(depth_limit, 4); // Limit depth for time-based search
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_search_depth`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SPRITE_SIZE` is never used
[INFO] [stdout]  --> src/constants.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const SPRITE_SIZE: f32 = 64.0;
[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 `NUM_ROWS` is never used
[INFO] [stdout]  --> src/constants.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const NUM_ROWS: usize = 8;
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BOARD_SIZE` is never used
[INFO] [stdout]  --> src/constants.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const BOARD_SIZE: f32 = SPRITE_SIZE * NUM_COLS as f32;
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HOVER_COLOR` is never used
[INFO] [stdout]   --> src/constants.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub const HOVER_COLOR: Color = Color::rgba(0.0, 0.0, 1.0, 0.3);    // Blue, more transparent
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `Z_BOARD` is never used
[INFO] [stdout]   --> src/constants.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub const Z_BOARD: f32 = 0.0;      // Base layer - board squares
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `Z_DRAGGING` is never used
[INFO] [stdout]   --> src/constants.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub const Z_DRAGGING: f32 = 0.5;   // Pieces while being dragged
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_fen` is never used
[INFO] [stdout]   --> src/game_logic/state.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl GameState {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn from_fen(fen: &str) -> Result<Self, Box<dyn Error>> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/game_logic/events.rs:8:26
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct GameOverEvent(pub String); // Contains reason for game over (e.g., "Checkmate", "Stalemate")
[INFO] [stdout]   |            ------------- ^^^^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FLIPPED_FEN` is never used
[INFO] [stdout]   --> src/game_logic/plugin.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub const FLIPPED_FEN: &str = "RNBQKBNR/PPPPPPPP/8/8/8/8/pppppppp/rnbqkbnr w - - 0 1";
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_king_capture` is never used
[INFO] [stdout]   --> src/game_logic/plugin.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn is_king_capture(board: &Chess, game_move: &Move) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_drawbacks` is never used
[INFO] [stdout]   --> src/game_logic/plugin.rs:80:4
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn setup_drawbacks(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `is_white` is never read
[INFO] [stdout]  --> src/board/components.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct BoardSquare {
[INFO] [stdout]   |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9 |     pub is_white: bool,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `BoardSquare` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `color` is never read
[INFO] [stdout]   --> src/pieces/plugin.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct PromotionOption {
[INFO] [stdout]    |        --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     color: ChessColor,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `spawn_single_piece` is never used
[INFO] [stdout]    --> src/pieces/plugin.rs:572:4
[INFO] [stdout]     |
[INFO] [stdout] 572 | fn spawn_single_piece(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/ai/plugin.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct AiGameStateContext {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 33 |     pub board: Chess,
[INFO] [stdout] 34 |     pub player_turn: ChessColor,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 35 |     pub player_drawback: DrawbackId,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 36 |     pub opponent_drawback: DrawbackId,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 37 |     pub current_hash: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 38 |     pub depth: u8,              // Search depth limit
[INFO] [stdout] 39 |     pub check_quietness: bool,  // Whether to ensure positions are quiet
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 40 |     pub quiescence_depth: u8,   // Extra depth for non-quiet positions
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 41 |     pub time_limit_ms: u32,     // Time limit in milliseconds
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AiGameStateContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_best_move_mcts` is never used
[INFO] [stdout]   --> src/ai/mcts.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn find_best_move_mcts(ctx: AiGameStateContext, iterations: u32) -> Option<Move> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_king_capture` is never used
[INFO] [stdout]    --> src/ai/mcts.rs:204:4
[INFO] [stdout]     |
[INFO] [stdout] 204 | fn is_king_capture(board: &Chess, m: &Move) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_capture_value` is never used
[INFO] [stdout]    --> src/ai/mcts.rs:212:4
[INFO] [stdout]     |
[INFO] [stdout] 212 | fn get_capture_value(board: &Chess, m: &Move) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `evaluate_king_safety` is never used
[INFO] [stdout]    --> src/ai/mcts.rs:245:4
[INFO] [stdout]     |
[INFO] [stdout] 245 | fn evaluate_king_safety(board: &Chess, color: Color) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_king_square` is never used
[INFO] [stdout]    --> src/ai/mcts.rs:318:4
[INFO] [stdout]     |
[INFO] [stdout] 318 | fn find_king_square(board: &Chess, color: Color) -> Option<Square> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PIECE_VALUES` is never used
[INFO] [stdout]  --> src/ai/evaluation.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const PIECE_VALUES: [(i32, i32); 6] = [
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PIECE_PHASE_VALUES` is never used
[INFO] [stdout]   --> src/ai/evaluation.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const PIECE_PHASE_VALUES: [i32; 6] = [
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_PHASE` is never used
[INFO] [stdout]   --> src/ai/evaluation.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | const MAX_PHASE: f64 = 24.0;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MG_PAWN_PST` is never used
[INFO] [stdout]   --> src/ai/evaluation.rs:29:7
[INFO] [stdout]    |
[INFO] [stdout] 29 | const MG_PAWN_PST: [i32; 64] = [
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MG_KNIGHT_PST` is never used
[INFO] [stdout]   --> src/ai/evaluation.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 41 | const MG_KNIGHT_PST: [i32; 64] = [
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MG_BISHOP_PST` is never used
[INFO] [stdout]   --> src/ai/evaluation.rs:53:7
[INFO] [stdout]    |
[INFO] [stdout] 53 | const MG_BISHOP_PST: [i32; 64] = [
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MG_ROOK_PST` is never used
[INFO] [stdout]   --> src/ai/evaluation.rs:65:7
[INFO] [stdout]    |
[INFO] [stdout] 65 | const MG_ROOK_PST: [i32; 64] = [
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MG_QUEEN_PST` is never used
[INFO] [stdout]   --> src/ai/evaluation.rs:77:7
[INFO] [stdout]    |
[INFO] [stdout] 77 | const MG_QUEEN_PST: [i32; 64] = [
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MG_KING_PST` is never used
[INFO] [stdout]   --> src/ai/evaluation.rs:89:7
[INFO] [stdout]    |
[INFO] [stdout] 89 | const MG_KING_PST: [i32; 64] = [
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EG_PAWN_PST` is never used
[INFO] [stdout]    --> src/ai/evaluation.rs:102:7
[INFO] [stdout]     |
[INFO] [stdout] 102 | const EG_PAWN_PST: [i32; 64] = [
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EG_KNIGHT_PST` is never used
[INFO] [stdout]    --> src/ai/evaluation.rs:114:7
[INFO] [stdout]     |
[INFO] [stdout] 114 | const EG_KNIGHT_PST: [i32; 64] = [
[INFO] [stdout]     |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EG_BISHOP_PST` is never used
[INFO] [stdout]    --> src/ai/evaluation.rs:126:7
[INFO] [stdout]     |
[INFO] [stdout] 126 | const EG_BISHOP_PST: [i32; 64] = [
[INFO] [stdout]     |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EG_ROOK_PST` is never used
[INFO] [stdout]    --> src/ai/evaluation.rs:138:7
[INFO] [stdout]     |
[INFO] [stdout] 138 | const EG_ROOK_PST: [i32; 64] = [
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EG_QUEEN_PST` is never used
[INFO] [stdout]    --> src/ai/evaluation.rs:150:7
[INFO] [stdout]     |
[INFO] [stdout] 150 | const EG_QUEEN_PST: [i32; 64] = [
[INFO] [stdout]     |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EG_KING_PST` is never used
[INFO] [stdout]    --> src/ai/evaluation.rs:162:7
[INFO] [stdout]     |
[INFO] [stdout] 162 | const EG_KING_PST: [i32; 64] = [
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PieceSquareTables` is never constructed
[INFO] [stdout]    --> src/ai/evaluation.rs:175:8
[INFO] [stdout]     |
[INFO] [stdout] 175 | struct PieceSquareTables {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_piece_square_value`, and `square_to_index` are never used
[INFO] [stdout]    --> src/ai/evaluation.rs:183:8
[INFO] [stdout]     |
[INFO] [stdout] 182 | impl PieceSquareTables {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] 183 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 239 |     fn get_piece_square_value(&self, piece: &Piece, sq: Square, is_endgame: f64) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 266 |     fn square_to_index(sq: Square) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_game_phase` is never used
[INFO] [stdout]    --> src/ai/evaluation.rs:274:8
[INFO] [stdout]     |
[INFO] [stdout] 274 | pub fn compute_game_phase(board: &Chess) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `evaluate_position_with_pst` is never used
[INFO] [stdout]    --> src/ai/evaluation.rs:301:8
[INFO] [stdout]     |
[INFO] [stdout] 301 | pub fn evaluate_position_with_pst(board: &Chess) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `name`, `description`, `needs_turn_rng`, `get_rng_outcomes`, and `check_loss_condition` are never used
[INFO] [stdout]   --> src/drawbacks/definition.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub trait DrawbackRule: Send + Sync + Debug {
[INFO] [stdout]    |           ------------ methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 13 |     fn name(&self) -> &'static str;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn description(&self) -> &'static str;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn needs_turn_rng(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn get_rng_outcomes(&self) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn check_loss_condition(&self, position: &Chess, legal_moves: &Vec<Move>) -> bool;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `human_vs_ai` is never used
[INFO] [stdout]    --> src/config.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub fn human_vs_ai() -> GameConfig {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ai_vs_human` is never used
[INFO] [stdout]    --> src/config.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout] 148 |     pub fn ai_vs_human() -> GameConfig {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ai_vs_ai` is never used
[INFO] [stdout]    --> src/config.rs:202:12
[INFO] [stdout]     |
[INFO] [stdout] 202 |     pub fn ai_vs_ai() -> GameConfig {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `easy_ai` is never used
[INFO] [stdout]    --> src/config.rs:229:12
[INFO] [stdout]     |
[INFO] [stdout] 229 |     pub fn easy_ai() -> GameConfig {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `strong_ai` is never used
[INFO] [stdout]    --> src/config.rs:256:12
[INFO] [stdout]     |
[INFO] [stdout] 256 |     pub fn strong_ai() -> GameConfig {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.50s
[INFO] running `Command { std: "docker" "inspect" "80902f234f30e7419e1800eb37bc9a737cf18dac567c10123e4d5a756149b8f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80902f234f30e7419e1800eb37bc9a737cf18dac567c10123e4d5a756149b8f9", kill_on_drop: false }`
[INFO] [stdout] 80902f234f30e7419e1800eb37bc9a737cf18dac567c10123e4d5a756149b8f9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4a9f322554b6322f44f98a97f800eb1af0da11693eae9227b10cb428561752a6
[INFO] running `Command { std: "docker" "start" "-a" "4a9f322554b6322f44f98a97f800eb1af0da11693eae9227b10cb428561752a6", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Color as ChessColor`
[INFO] [stderr]  --> src/game_logic/events.rs:2:22
[INFO] [stderr]   |
[INFO] [stderr] 2 | use shakmaty::{Move, Color as ChessColor};
[INFO] [stderr]   |                      ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Square`
[INFO] [stderr]  --> src/game_logic/systems.rs:2:53
[INFO] [stderr]   |
[INFO] [stderr] 2 | use shakmaty::{Color as ChessColor, Position, Role, Square, Move};
[INFO] [stderr]   |                                                     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Setup`
[INFO] [stderr]  --> src/game_logic/plugin.rs:2:76
[INFO] [stderr]   |
[INFO] [stderr] 2 | use shakmaty::{fen::Fen, Chess, Color, Role, Move, CastlingMode, Position, Setup};
[INFO] [stderr]   |                                                                            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::drawbacks::DrawbackId`
[INFO] [stderr]  --> src/game_logic/plugin.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::drawbacks::DrawbackId;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Chess`
[INFO] [stderr]  --> src/pieces/plugin.rs:2:51
[INFO] [stderr]   |
[INFO] [stderr] 2 | use shakmaty::{Square, Color as ChessColor, Role, Chess, Position, Move, File};
[INFO] [stderr]   |                                                   ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ops::Add`
[INFO] [stderr]  --> src/input/systems.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::ops::Add;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `TurnState`
[INFO] [stderr]  --> src/input/systems.rs:4:43
[INFO] [stderr]   |
[INFO] [stderr] 4 | use crate::game_logic::state::{GameState, TurnState};
[INFO] [stderr]   |                                           ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Z_PIECES`
[INFO] [stderr]  --> src/input/systems.rs:7:97
[INFO] [stderr]   |
[INFO] [stderr] 7 | use crate::constants::{SELECTED_COLOR, LEGAL_MOVE_COLOR, TILE_SIZE, Z_LEGAL_MOVES, Z_HIGHLIGHT, Z_PIECES};
[INFO] [stderr]   |                                                                                                 ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Outcome`
[INFO] [stderr]  --> src/ai/mcts.rs:1:60
[INFO] [stderr]   |
[INFO] [stderr] 1 | use shakmaty::{Move, Position, Chess, Role, Square, Color, Outcome};
[INFO] [stderr]   |                                                            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::drawbacks::DrawbackId`
[INFO] [stderr]  --> src/ai/mcts.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::drawbacks::DrawbackId;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `game_state`
[INFO] [stderr]    --> src/game_logic/systems.rs:160:28
[INFO] [stderr]     |
[INFO] [stderr] 160 | fn is_allowable_check_move(game_state: &GameState, candidate_move: &Move) -> bool {
[INFO] [stderr]     |                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `candidate_move`
[INFO] [stderr]    --> src/game_logic/systems.rs:160:52
[INFO] [stderr]     |
[INFO] [stderr] 160 | fn is_allowable_check_move(game_state: &GameState, candidate_move: &Move) -> bool {
[INFO] [stderr]     |                                                    ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candidate_move`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `drawback_registry`
[INFO] [stderr]   --> src/game_logic/plugin.rs:37:5
[INFO] [stderr]    |
[INFO] [stderr] 37 |     drawback_registry: Res<DrawbackRegistry>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drawback_registry`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/game_logic/plugin.rs:81:5
[INFO] [stderr]    |
[INFO] [stderr] 81 |     mut commands: Commands,
[INFO] [stderr]    |     ----^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `commands`
[INFO] [stderr]   --> src/game_logic/plugin.rs:81:5
[INFO] [stderr]    |
[INFO] [stderr] 81 |     mut commands: Commands,
[INFO] [stderr]    |     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `entity`
[INFO] [stderr]   --> src/pieces/plugin.rs:80:14
[INFO] [stderr]    |
[INFO] [stderr] 80 |         for (entity, option, parent) in query.iter() {
[INFO] [stderr]    |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `parent`
[INFO] [stderr]   --> src/pieces/plugin.rs:80:30
[INFO] [stderr]    |
[INFO] [stderr] 80 |         for (entity, option, parent) in query.iter() {
[INFO] [stderr]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rook`
[INFO] [stderr]    --> src/pieces/plugin.rs:297:44
[INFO] [stderr]     |
[INFO] [stderr] 297 |             shakmaty::Move::Castle { king, rook } => {
[INFO] [stderr]     |                                            ^^^^ help: try ignoring the field: `rook: _`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `clicked_on_valid_move` is assigned to, but never used
[INFO] [stderr]   --> src/input/systems.rs:57:17
[INFO] [stderr]    |
[INFO] [stderr] 57 |             let mut clicked_on_valid_move = false;
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using `_clicked_on_valid_move` instead
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `clicked_on_valid_move` is never read
[INFO] [stderr]   --> src/input/systems.rs:64:21
[INFO] [stderr]    |
[INFO] [stderr] 64 |                     clicked_on_valid_move = true;
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `is_capture`
[INFO] [stderr]    --> src/input/systems.rs:348:29
[INFO] [stderr]     |
[INFO] [stderr] 348 |                         let is_capture = match game_state.board.board().piece_at(to_square) {
[INFO] [stderr]     |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_capture`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `iterations`
[INFO] [stderr]    --> src/ai/plugin.rs:142:9
[INFO] [stderr]     |
[INFO] [stderr] 142 |     let iterations = config.ai_settings.iteration_limit;
[INFO] [stderr]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iterations`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `search_depth`
[INFO] [stderr]    --> src/ai/pleco_ai.rs:139:13
[INFO] [stderr]     |
[INFO] [stderr] 139 |         let search_depth = std::cmp::min(depth_limit, 4); // Limit depth for time-based search
[INFO] [stderr]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_search_depth`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `SPRITE_SIZE` is never used
[INFO] [stderr]  --> src/constants.rs:3:11
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub const SPRITE_SIZE: f32 = 64.0;
[INFO] [stderr]   |           ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `NUM_ROWS` is never used
[INFO] [stderr]  --> src/constants.rs:7:11
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub const NUM_ROWS: usize = 8;
[INFO] [stderr]   |           ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `BOARD_SIZE` is never used
[INFO] [stderr]  --> src/constants.rs:8:11
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub const BOARD_SIZE: f32 = SPRITE_SIZE * NUM_COLS as f32;
[INFO] [stderr]   |           ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `HOVER_COLOR` is never used
[INFO] [stderr]   --> src/constants.rs:23:11
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub const HOVER_COLOR: Color = Color::rgba(0.0, 0.0, 1.0, 0.3);    // Blue, more transparent
[INFO] [stderr]    |           ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `Z_BOARD` is never used
[INFO] [stderr]   --> src/constants.rs:26:11
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub const Z_BOARD: f32 = 0.0;      // Base layer - board squares
[INFO] [stderr]    |           ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `Z_DRAGGING` is never used
[INFO] [stderr]   --> src/constants.rs:31:11
[INFO] [stderr]    |
[INFO] [stderr] 31 | pub const Z_DRAGGING: f32 = 0.5;   // Pieces while being dragged
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from_fen` is never used
[INFO] [stderr]   --> src/game_logic/state.rs:74:12
[INFO] [stderr]    |
[INFO] [stderr] 65 | impl GameState {
[INFO] [stderr]    | -------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 74 |     pub fn from_fen(fen: &str) -> Result<Self, Box<dyn Error>> {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]  --> src/game_logic/events.rs:8:26
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub struct GameOverEvent(pub String); // Contains reason for game over (e.g., "Checkmate", "Stalemate")
[INFO] [stderr]   |            ------------- ^^^^^^^^^^
[INFO] [stderr]   |            |
[INFO] [stderr]   |            field in this struct
[INFO] [stderr]   |
[INFO] [stderr]   = help: consider removing this field
[INFO] [stderr] 
[INFO] [stderr] warning: constant `FLIPPED_FEN` is never used
[INFO] [stderr]   --> src/game_logic/plugin.rs:17:11
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub const FLIPPED_FEN: &str = "RNBQKBNR/PPPPPPPP/8/8/8/8/pppppppp/rnbqkbnr w - - 0 1";
[INFO] [stderr]    |           ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `is_king_capture` is never used
[INFO] [stderr]   --> src/game_logic/plugin.rs:73:8
[INFO] [stderr]    |
[INFO] [stderr] 73 | pub fn is_king_capture(board: &Chess, game_move: &Move) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `setup_drawbacks` is never used
[INFO] [stderr]   --> src/game_logic/plugin.rs:80:4
[INFO] [stderr]    |
[INFO] [stderr] 80 | fn setup_drawbacks(
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `is_white` is never read
[INFO] [stderr]  --> src/board/components.rs:9:9
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct BoardSquare {
[INFO] [stderr]   |            ----------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 9 |     pub is_white: bool,
[INFO] [stderr]   |         ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `BoardSquare` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `color` is never read
[INFO] [stderr]   --> src/pieces/plugin.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | struct PromotionOption {
[INFO] [stderr]    |        --------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 18 |     color: ChessColor,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `spawn_single_piece` is never used
[INFO] [stderr]    --> src/pieces/plugin.rs:572:4
[INFO] [stderr]     |
[INFO] [stderr] 572 | fn spawn_single_piece(
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple fields are never read
[INFO] [stderr]   --> src/ai/plugin.rs:34:9
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub struct AiGameStateContext {
[INFO] [stderr]    |            ------------------ fields in this struct
[INFO] [stderr] 33 |     pub board: Chess,
[INFO] [stderr] 34 |     pub player_turn: ChessColor,
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr] 35 |     pub player_drawback: DrawbackId,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr] 36 |     pub opponent_drawback: DrawbackId,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 37 |     pub current_hash: u64,
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr] 38 |     pub depth: u8,              // Search depth limit
[INFO] [stderr] 39 |     pub check_quietness: bool,  // Whether to ensure positions are quiet
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr] 40 |     pub quiescence_depth: u8,   // Extra depth for non-quiet positions
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^
[INFO] [stderr] 41 |     pub time_limit_ms: u32,     // Time limit in milliseconds
[INFO] [stderr]    |         ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `AiGameStateContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `find_best_move_mcts` is never used
[INFO] [stderr]   --> src/ai/mcts.rs:11:8
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub fn find_best_move_mcts(ctx: AiGameStateContext, iterations: u32) -> Option<Move> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `is_king_capture` is never used
[INFO] [stderr]    --> src/ai/mcts.rs:204:4
[INFO] [stderr]     |
[INFO] [stderr] 204 | fn is_king_capture(board: &Chess, m: &Move) -> bool {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_capture_value` is never used
[INFO] [stderr]    --> src/ai/mcts.rs:212:4
[INFO] [stderr]     |
[INFO] [stderr] 212 | fn get_capture_value(board: &Chess, m: &Move) -> i32 {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `evaluate_king_safety` is never used
[INFO] [stderr]    --> src/ai/mcts.rs:245:4
[INFO] [stderr]     |
[INFO] [stderr] 245 | fn evaluate_king_safety(board: &Chess, color: Color) -> i32 {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `find_king_square` is never used
[INFO] [stderr]    --> src/ai/mcts.rs:318:4
[INFO] [stderr]     |
[INFO] [stderr] 318 | fn find_king_square(board: &Chess, color: Color) -> Option<Square> {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `PIECE_VALUES` is never used
[INFO] [stderr]  --> src/ai/evaluation.rs:5:11
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub const PIECE_VALUES: [(i32, i32); 6] = [
[INFO] [stderr]   |           ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `PIECE_PHASE_VALUES` is never used
[INFO] [stderr]   --> src/ai/evaluation.rs:15:7
[INFO] [stderr]    |
[INFO] [stderr] 15 | const PIECE_PHASE_VALUES: [i32; 6] = [
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MAX_PHASE` is never used
[INFO] [stderr]   --> src/ai/evaluation.rs:25:7
[INFO] [stderr]    |
[INFO] [stderr] 25 | const MAX_PHASE: f64 = 24.0;
[INFO] [stderr]    |       ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MG_PAWN_PST` is never used
[INFO] [stderr]   --> src/ai/evaluation.rs:29:7
[INFO] [stderr]    |
[INFO] [stderr] 29 | const MG_PAWN_PST: [i32; 64] = [
[INFO] [stderr]    |       ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MG_KNIGHT_PST` is never used
[INFO] [stderr]   --> src/ai/evaluation.rs:41:7
[INFO] [stderr]    |
[INFO] [stderr] 41 | const MG_KNIGHT_PST: [i32; 64] = [
[INFO] [stderr]    |       ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MG_BISHOP_PST` is never used
[INFO] [stderr]   --> src/ai/evaluation.rs:53:7
[INFO] [stderr]    |
[INFO] [stderr] 53 | const MG_BISHOP_PST: [i32; 64] = [
[INFO] [stderr]    |       ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MG_ROOK_PST` is never used
[INFO] [stderr]   --> src/ai/evaluation.rs:65:7
[INFO] [stderr]    |
[INFO] [stderr] 65 | const MG_ROOK_PST: [i32; 64] = [
[INFO] [stderr]    |       ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MG_QUEEN_PST` is never used
[INFO] [stderr]   --> src/ai/evaluation.rs:77:7
[INFO] [stderr]    |
[INFO] [stderr] 77 | const MG_QUEEN_PST: [i32; 64] = [
[INFO] [stderr]    |       ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MG_KING_PST` is never used
[INFO] [stderr]   --> src/ai/evaluation.rs:89:7
[INFO] [stderr]    |
[INFO] [stderr] 89 | const MG_KING_PST: [i32; 64] = [
[INFO] [stderr]    |       ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `EG_PAWN_PST` is never used
[INFO] [stderr]    --> src/ai/evaluation.rs:102:7
[INFO] [stderr]     |
[INFO] [stderr] 102 | const EG_PAWN_PST: [i32; 64] = [
[INFO] [stderr]     |       ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `EG_KNIGHT_PST` is never used
[INFO] [stderr]    --> src/ai/evaluation.rs:114:7
[INFO] [stderr]     |
[INFO] [stderr] 114 | const EG_KNIGHT_PST: [i32; 64] = [
[INFO] [stderr]     |       ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `EG_BISHOP_PST` is never used
[INFO] [stderr]    --> src/ai/evaluation.rs:126:7
[INFO] [stderr]     |
[INFO] [stderr] 126 | const EG_BISHOP_PST: [i32; 64] = [
[INFO] [stderr]     |       ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `EG_ROOK_PST` is never used
[INFO] [stderr]    --> src/ai/evaluation.rs:138:7
[INFO] [stderr]     |
[INFO] [stderr] 138 | const EG_ROOK_PST: [i32; 64] = [
[INFO] [stderr]     |       ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `EG_QUEEN_PST` is never used
[INFO] [stderr]    --> src/ai/evaluation.rs:150:7
[INFO] [stderr]     |
[INFO] [stderr] 150 | const EG_QUEEN_PST: [i32; 64] = [
[INFO] [stderr]     |       ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `EG_KING_PST` is never used
[INFO] [stderr]    --> src/ai/evaluation.rs:162:7
[INFO] [stderr]     |
[INFO] [stderr] 162 | const EG_KING_PST: [i32; 64] = [
[INFO] [stderr]     |       ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PieceSquareTables` is never constructed
[INFO] [stderr]    --> src/ai/evaluation.rs:175:8
[INFO] [stderr]     |
[INFO] [stderr] 175 | struct PieceSquareTables {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `get_piece_square_value`, and `square_to_index` are never used
[INFO] [stderr]    --> src/ai/evaluation.rs:183:8
[INFO] [stderr]     |
[INFO] [stderr] 182 | impl PieceSquareTables {
[INFO] [stderr]     | ---------------------- associated items in this implementation
[INFO] [stderr] 183 |     fn new() -> Self {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 239 |     fn get_piece_square_value(&self, piece: &Piece, sq: Square, is_endgame: f64) -> i32 {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 266 |     fn square_to_index(sq: Square) -> usize {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `compute_game_phase` is never used
[INFO] [stderr]    --> src/ai/evaluation.rs:274:8
[INFO] [stderr]     |
[INFO] [stderr] 274 | pub fn compute_game_phase(board: &Chess) -> f64 {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `evaluate_position_with_pst` is never used
[INFO] [stderr]    --> src/ai/evaluation.rs:301:8
[INFO] [stderr]     |
[INFO] [stderr] 301 | pub fn evaluate_position_with_pst(board: &Chess) -> i32 {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `name`, `description`, `needs_turn_rng`, `get_rng_outcomes`, and `check_loss_condition` are never used
[INFO] [stderr]   --> src/drawbacks/definition.rs:13:8
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub trait DrawbackRule: Send + Sync + Debug {
[INFO] [stderr]    |           ------------ methods in this trait
[INFO] [stderr] ...
[INFO] [stderr] 13 |     fn name(&self) -> &'static str;
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 16 |     fn description(&self) -> &'static str;
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 20 |     fn needs_turn_rng(&self) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 26 |     fn get_rng_outcomes(&self) -> u8 {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 46 |     fn check_loss_condition(&self, position: &Chess, legal_moves: &Vec<Move>) -> bool;
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `human_vs_ai` is never used
[INFO] [stderr]    --> src/config.rs:121:12
[INFO] [stderr]     |
[INFO] [stderr] 121 |     pub fn human_vs_ai() -> GameConfig {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `ai_vs_human` is never used
[INFO] [stderr]    --> src/config.rs:148:12
[INFO] [stderr]     |
[INFO] [stderr] 148 |     pub fn ai_vs_human() -> GameConfig {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `ai_vs_ai` is never used
[INFO] [stderr]    --> src/config.rs:202:12
[INFO] [stderr]     |
[INFO] [stderr] 202 |     pub fn ai_vs_ai() -> GameConfig {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `easy_ai` is never used
[INFO] [stderr]    --> src/config.rs:229:12
[INFO] [stderr]     |
[INFO] [stderr] 229 |     pub fn easy_ai() -> GameConfig {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `strong_ai` is never used
[INFO] [stderr]    --> src/config.rs:256:12
[INFO] [stderr]     |
[INFO] [stderr] 256 |     pub fn strong_ai() -> GameConfig {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `drawback_chess` (bin "drawback_chess" test) generated 68 warnings (run `cargo fix --bin "drawback_chess" -p drawback_chess --tests` to apply 21 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/drawback_chess-5b458663c91ebc5c)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4a9f322554b6322f44f98a97f800eb1af0da11693eae9227b10cb428561752a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a9f322554b6322f44f98a97f800eb1af0da11693eae9227b10cb428561752a6", kill_on_drop: false }`
[INFO] [stdout] 4a9f322554b6322f44f98a97f800eb1af0da11693eae9227b10cb428561752a6
