[INFO] cloning repository https://github.com/n-dohrmann/chess_clone
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/n-dohrmann/chess_clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn-dohrmann%2Fchess_clone", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn-dohrmann%2Fchess_clone'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 17a30ee397bcffc26d4a7c8b493b6d350606e40c
[INFO] checking n-dohrmann/chess_clone against 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn-dohrmann%2Fchess_clone" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/n-dohrmann/chess_clone
[INFO] finished tweaking git repo https://github.com/n-dohrmann/chess_clone
[INFO] tweaked toml for git repo https://github.com/n-dohrmann/chess_clone written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/n-dohrmann/chess_clone on toolchain 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/n-dohrmann/chess_clone 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" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 74d79503c76ce3f711cd15fed143b67d7dacb0e29d0b523883302a57913297ca
[INFO] running `Command { std: "docker" "start" "74d79503c76ce3f711cd15fed143b67d7dacb0e29d0b523883302a57913297ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "74d79503c76ce3f711cd15fed143b67d7dacb0e29d0b523883302a57913297ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "74d79503c76ce3f711cd15fed143b67d7dacb0e29d0b523883302a57913297ca" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "74d79503c76ce3f711cd15fed143b67d7dacb0e29d0b523883302a57913297ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "74d79503c76ce3f711cd15fed143b67d7dacb0e29d0b523883302a57913297ca" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling winnow v0.6.13
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]    Compiling syn v2.0.71
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking typeid v1.0.0
[INFO] [stderr]     Checking bevy_ptr v0.14.0
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]     Checking nonmax v0.5.5
[INFO] [stderr]     Checking libloading v0.8.4
[INFO] [stderr]     Checking codespan-reporting v0.11.1
[INFO] [stderr]     Checking crossbeam-channel v0.5.13
[INFO] [stderr]    Compiling cc v1.1.5
[INFO] [stderr]     Checking unicode-xid v0.2.4
[INFO] [stderr]     Checking futures-lite v2.3.0
[INFO] [stderr]    Compiling ash v0.37.3+1.3.251
[INFO] [stderr]     Checking piper v0.2.3
[INFO] [stderr]    Compiling wgpu-hal v0.21.1
[INFO] [stderr]     Checking accesskit v0.14.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking event-listener v5.3.1
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking ahash v0.8.11
[INFO] [stderr]     Checking miniz_oxide v0.7.4
[INFO] [stderr]     Checking khronos-egl v6.0.0
[INFO] [stderr]    Compiling wgpu-core v0.21.1
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking constant_time_eq v0.3.0
[INFO] [stderr]     Checking profiling v1.0.15
[INFO] [stderr]     Checking glow v0.13.1
[INFO] [stderr]    Compiling litrs v0.4.1
[INFO] [stderr]     Checking event-listener-strategy v0.5.2
[INFO] [stderr]     Checking async-broadcast v0.5.1
[INFO] [stderr]     Checking flate2 v1.0.30
[INFO] [stderr]    Compiling wgpu v0.20.1
[INFO] [stderr]     Checking const_soft_float v0.1.4
[INFO] [stderr]     Checking const_panic v0.2.8
[INFO] [stderr]     Checking twox-hash v1.6.3
[INFO] [stderr]     Checking sysinfo v0.30.13
[INFO] [stderr]     Checking constgebra v0.1.4
[INFO] [stderr]     Checking async-channel v2.3.1
[INFO] [stderr]     Checking async-lock v3.4.0
[INFO] [stderr]     Checking const-fnv1a-hash v1.1.0
[INFO] [stderr]     Checking ktx2 v0.3.0
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]     Checking ruzstd v0.7.0
[INFO] [stderr]     Checking linux-raw-sys v0.4.14
[INFO] [stderr]     Checking radsort v0.1.0
[INFO] [stderr]    Compiling uuid v1.10.0
[INFO] [stderr]     Checking png v0.17.13
[INFO] [stderr]    Compiling document-features v0.2.10
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]     Checking euclid v0.22.10
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]     Checking async-executor v1.13.0
[INFO] [stderr]     Checking blocking v1.6.1
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking svg_fmt v0.4.3
[INFO] [stderr]    Compiling serde_json v1.0.120
[INFO] [stderr]    Compiling blake3 v1.5.3
[INFO] [stderr]     Checking bevy_tasks v0.14.0
[INFO] [stderr]     Checking ttf-parser v0.24.0
[INFO] [stderr]     Checking async-fs v2.1.2
[INFO] [stderr]    Compiling winit v0.30.4
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking inotify-sys v0.1.5
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]     Checking rectangle-pack v0.4.2
[INFO] [stderr]    Compiling inflections v1.1.1
[INFO] [stderr]     Checking x11rb-protocol v0.13.1
[INFO] [stderr]     Checking inotify v0.10.2
[INFO] [stderr]     Checking xi-unicode v0.3.0
[INFO] [stderr]     Checking cursor-icon v1.1.0
[INFO] [stderr]    Compiling gilrs v0.10.8
[INFO] [stderr]     Checking dpi v0.1.1
[INFO] [stderr]     Checking lewton v0.10.2
[INFO] [stderr]     Checking grid v0.14.0
[INFO] [stderr]     Checking guillotiere v0.6.2
[INFO] [stderr]    Compiling toml_edit v0.22.16
[INFO] [stderr]     Checking taffy v0.5.2
[INFO] [stderr]     Checking owned_ttf_parser v0.24.0
[INFO] [stderr]     Checking ab_glyph v0.2.28
[INFO] [stderr]     Checking glyph_brush_layout v0.2.4
[INFO] [stderr]    Compiling bevy_macro_utils v0.14.0
[INFO] [stderr]    Compiling encase_derive_impl v0.8.0
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling bytemuck_derive v1.7.0
[INFO] [stderr]    Compiling bevy_utils_proc_macros v0.14.0
[INFO] [stderr]    Compiling bevy_reflect_derive v0.14.0
[INFO] [stderr]    Compiling bevy_ecs_macros v0.14.0
[INFO] [stderr]    Compiling bevy_derive v0.14.0
[INFO] [stderr]    Compiling encase_derive v0.8.0
[INFO] [stderr]    Compiling bevy_asset_macros v0.14.0
[INFO] [stderr]    Compiling bevy_encase_derive v0.14.0
[INFO] [stderr]    Compiling bevy_render_macros v0.14.0
[INFO] [stderr]    Compiling gltf-derive v1.4.1
[INFO] [stderr]    Compiling bevy_state_macros v0.14.0
[INFO] [stderr]    Compiling bevy_gizmos_macros v0.14.0
[INFO] [stderr]     Checking thiserror v1.0.63
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking bytemuck v1.16.1
[INFO] [stderr]     Checking image v0.25.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking glam v0.27.0
[INFO] [stderr]     Checking erased-serde v0.4.5
[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.2.0
[INFO] [stderr]     Checking wgpu-types v0.20.0
[INFO] [stderr]     Checking ron v0.8.1
[INFO] [stderr]     Checking xkbcommon-dl v0.4.2
[INFO] [stderr]     Checking alsa v0.9.0
[INFO] [stderr]     Checking gpu-alloc v0.6.0
[INFO] [stderr]     Checking gilrs-core v0.5.13
[INFO] [stderr]     Checking gltf-json v1.4.1
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking bevy_utils v0.14.0
[INFO] [stderr]     Checking gpu-descriptor v0.3.0
[INFO] [stderr]     Checking cpal v0.15.3
[INFO] [stderr]     Checking petgraph v0.6.5
[INFO] [stderr]     Checking naga v0.20.0
[INFO] [stderr]     Checking rodio v0.18.1
[INFO] [stderr]     Checking gltf v1.4.1
[INFO] [stderr]     Checking encase v0.8.0
[INFO] [stderr]     Checking hexasphere v12.0.0
[INFO] [stderr]     Checking bevy_mikktspace v0.14.0
[INFO] [stderr]     Checking bevy_reflect v0.14.0
[INFO] [stderr]     Checking polling v3.7.2
[INFO] [stderr]     Checking x11rb v0.13.1
[INFO] [stderr]     Checking calloop v0.13.0
[INFO] [stderr]     Checking bevy_ecs v0.14.0
[INFO] [stderr]     Checking bevy_math v0.14.0
[INFO] [stderr]     Checking naga_oil v0.14.0
[INFO] [stderr]     Checking accesskit_winit v0.20.4
[INFO] [stderr]     Checking bevy_color v0.14.1
[INFO] [stderr]     Checking bevy_app v0.14.0
[INFO] [stderr]     Checking bevy_core v0.14.0
[INFO] [stderr]     Checking bevy_time v0.14.0
[INFO] [stderr]     Checking bevy_a11y v0.14.0
[INFO] [stderr]     Checking bevy_asset v0.14.0
[INFO] [stderr]     Checking bevy_input v0.14.0
[INFO] [stderr]     Checking bevy_log v0.14.0
[INFO] [stderr]     Checking bevy_window v0.14.0
[INFO] [stderr]     Checking bevy_hierarchy v0.14.0
[INFO] [stderr]     Checking bevy_transform v0.14.0
[INFO] [stderr]     Checking bevy_state v0.14.0
[INFO] [stderr]     Checking bevy_diagnostic v0.14.0
[INFO] [stderr]     Checking bevy_gilrs v0.14.0
[INFO] [stderr]     Checking bevy_winit v0.14.0
[INFO] [stderr]     Checking bevy_render v0.14.0
[INFO] [stderr]     Checking bevy_audio v0.14.0
[INFO] [stderr]     Checking bevy_core_pipeline v0.14.0
[INFO] [stderr]     Checking bevy_scene v0.14.0
[INFO] [stderr]     Checking bevy_animation v0.14.0
[INFO] [stderr]     Checking bevy_sprite v0.14.0
[INFO] [stderr]     Checking bevy_pbr v0.14.0
[INFO] [stderr]     Checking bevy_text v0.14.0
[INFO] [stderr]     Checking bevy_ui v0.14.0
[INFO] [stderr]     Checking bevy_gltf v0.14.0
[INFO] [stderr]     Checking bevy_gizmos v0.14.0
[INFO] [stderr]     Checking bevy_internal v0.14.0
[INFO] [stderr]     Checking bevy v0.14.0
[INFO] [stderr]     Checking chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]    --> src/pieces.rs:182:25
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub fn pawn_move_helper(file: char, next_rank: i32) {
[INFO] [stdout]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next_rank`
[INFO] [stdout]    --> src/pieces.rs:182:37
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub fn pawn_move_helper(file: char, next_rank: i32) {
[INFO] [stdout]     |                                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_rank`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/pieces.rs:189:9
[INFO] [stdout]     |
[INFO] [stdout] 189 |     let mut moves = Vec::new();
[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: `file`
[INFO] [stdout]    --> src/pieces.rs:191:9
[INFO] [stdout]     |
[INFO] [stdout] 191 |     let file = piece.square_name.chars().next().unwrap();
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `join`
[INFO] [stdout]    --> src/pieces.rs:194:9
[INFO] [stdout]     |
[INFO] [stdout] 194 |     let join = |f: String, r: i32| {
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_join`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next_rank`
[INFO] [stdout]    --> src/pieces.rs:200:17
[INFO] [stdout]     |
[INFO] [stdout] 200 |             let next_rank = rank + 1;
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_rank`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other_piece`
[INFO] [stdout]    --> src/pieces.rs:202:17
[INFO] [stdout]     |
[INFO] [stdout] 202 |             for other_piece in other_pieces {
[INFO] [stdout]     |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next_rank`
[INFO] [stdout]    --> src/pieces.rs:208:17
[INFO] [stdout]     |
[INFO] [stdout] 208 |             let next_rank = rank - 1;
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_rank`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/pieces.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |     let mut moves = Vec::new();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/pieces.rs:216:21
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub fn knight_moves(piece: &Piece, other_pieces: Vec<&Piece>)
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other_pieces`
[INFO] [stdout]    --> src/pieces.rs:216:36
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub fn knight_moves(piece: &Piece, other_pieces: Vec<&Piece>)
[INFO] [stdout]     |                                    ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_pieces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/pieces.rs:226:9
[INFO] [stdout]     |
[INFO] [stdout] 226 |     let mut moves = Vec::new();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/pieces.rs:224:21
[INFO] [stdout]     |
[INFO] [stdout] 224 | pub fn bishop_moves(piece: &Piece, other_pieces: Vec<&Piece>)
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other_pieces`
[INFO] [stdout]    --> src/pieces.rs:224:36
[INFO] [stdout]     |
[INFO] [stdout] 224 | pub fn bishop_moves(piece: &Piece, other_pieces: Vec<&Piece>)
[INFO] [stdout]     |                                    ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_pieces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/pieces.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 234 |     let mut moves = Vec::new();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/pieces.rs:232:19
[INFO] [stdout]     |
[INFO] [stdout] 232 | pub fn rook_moves(piece: &Piece, other_pieces: Vec<&Piece>)
[INFO] [stdout]     |                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other_pieces`
[INFO] [stdout]    --> src/pieces.rs:232:34
[INFO] [stdout]     |
[INFO] [stdout] 232 | pub fn rook_moves(piece: &Piece, other_pieces: Vec<&Piece>)
[INFO] [stdout]     |                                  ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_pieces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/pieces.rs:242:9
[INFO] [stdout]     |
[INFO] [stdout] 242 |     let mut moves = Vec::new();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/pieces.rs:240:20
[INFO] [stdout]     |
[INFO] [stdout] 240 | pub fn queen_moves(piece: &Piece, other_pieces: Vec<&Piece>)
[INFO] [stdout]     |                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other_pieces`
[INFO] [stdout]    --> src/pieces.rs:240:35
[INFO] [stdout]     |
[INFO] [stdout] 240 | pub fn queen_moves(piece: &Piece, other_pieces: Vec<&Piece>)
[INFO] [stdout]     |                                   ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_pieces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/pieces.rs:250:9
[INFO] [stdout]     |
[INFO] [stdout] 250 |     let mut moves = Vec::new();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/pieces.rs:248:19
[INFO] [stdout]     |
[INFO] [stdout] 248 | pub fn king_moves(piece: &Piece, other_pieces: Vec<&Piece>)
[INFO] [stdout]     |                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other_pieces`
[INFO] [stdout]    --> src/pieces.rs:248:34
[INFO] [stdout]     |
[INFO] [stdout] 248 | pub fn king_moves(piece: &Piece, other_pieces: Vec<&Piece>)
[INFO] [stdout]     |                                  ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_pieces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/game_logic.rs:55:33
[INFO] [stdout]    |
[INFO] [stdout] 55 |             for (entity, piece, transform) in active_pieces {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hl_piece`
[INFO] [stdout]   --> src/game_logic.rs:62:29
[INFO] [stdout]    |
[INFO] [stdout] 62 |             let (hl_entity, hl_piece, hl_transform) = hl_piece_query.single_mut();
[INFO] [stdout]    |                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hl_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hl_transform`
[INFO] [stdout]   --> src/game_logic.rs:62:39
[INFO] [stdout]    |
[INFO] [stdout] 62 |             let (hl_entity, hl_piece, hl_transform) = hl_piece_query.single_mut();
[INFO] [stdout]    |                                       ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hl_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/game_logic.rs:67:33
[INFO] [stdout]    |
[INFO] [stdout] 67 |             for (entity, piece, transform) in active_pieces {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]    --> src/pieces.rs:182:25
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub fn pawn_move_helper(file: char, next_rank: i32) {
[INFO] [stdout]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next_rank`
[INFO] [stdout]    --> src/pieces.rs:182:37
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub fn pawn_move_helper(file: char, next_rank: i32) {
[INFO] [stdout]     |                                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_rank`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/pieces.rs:189:9
[INFO] [stdout]     |
[INFO] [stdout] 189 |     let mut moves = Vec::new();
[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: `file`
[INFO] [stdout]    --> src/pieces.rs:191:9
[INFO] [stdout]     |
[INFO] [stdout] 191 |     let file = piece.square_name.chars().next().unwrap();
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `join`
[INFO] [stdout]    --> src/pieces.rs:194:9
[INFO] [stdout]     |
[INFO] [stdout] 194 |     let join = |f: String, r: i32| {
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_join`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next_rank`
[INFO] [stdout]    --> src/pieces.rs:200:17
[INFO] [stdout]     |
[INFO] [stdout] 200 |             let next_rank = rank + 1;
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_rank`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other_piece`
[INFO] [stdout]    --> src/pieces.rs:202:17
[INFO] [stdout]     |
[INFO] [stdout] 202 |             for other_piece in other_pieces {
[INFO] [stdout]     |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next_rank`
[INFO] [stdout]    --> src/pieces.rs:208:17
[INFO] [stdout]     |
[INFO] [stdout] 208 |             let next_rank = rank - 1;
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_rank`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/pieces.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |     let mut moves = Vec::new();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/pieces.rs:216:21
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub fn knight_moves(piece: &Piece, other_pieces: Vec<&Piece>)
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other_pieces`
[INFO] [stdout]    --> src/pieces.rs:216:36
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub fn knight_moves(piece: &Piece, other_pieces: Vec<&Piece>)
[INFO] [stdout]     |                                    ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_pieces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/pieces.rs:226:9
[INFO] [stdout]     |
[INFO] [stdout] 226 |     let mut moves = Vec::new();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/pieces.rs:224:21
[INFO] [stdout]     |
[INFO] [stdout] 224 | pub fn bishop_moves(piece: &Piece, other_pieces: Vec<&Piece>)
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other_pieces`
[INFO] [stdout]    --> src/pieces.rs:224:36
[INFO] [stdout]     |
[INFO] [stdout] 224 | pub fn bishop_moves(piece: &Piece, other_pieces: Vec<&Piece>)
[INFO] [stdout]     |                                    ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_pieces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/pieces.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 234 |     let mut moves = Vec::new();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/pieces.rs:232:19
[INFO] [stdout]     |
[INFO] [stdout] 232 | pub fn rook_moves(piece: &Piece, other_pieces: Vec<&Piece>)
[INFO] [stdout]     |                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other_pieces`
[INFO] [stdout]    --> src/pieces.rs:232:34
[INFO] [stdout]     |
[INFO] [stdout] 232 | pub fn rook_moves(piece: &Piece, other_pieces: Vec<&Piece>)
[INFO] [stdout]     |                                  ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_pieces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/pieces.rs:242:9
[INFO] [stdout]     |
[INFO] [stdout] 242 |     let mut moves = Vec::new();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/pieces.rs:240:20
[INFO] [stdout]     |
[INFO] [stdout] 240 | pub fn queen_moves(piece: &Piece, other_pieces: Vec<&Piece>)
[INFO] [stdout]     |                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other_pieces`
[INFO] [stdout]    --> src/pieces.rs:240:35
[INFO] [stdout]     |
[INFO] [stdout] 240 | pub fn queen_moves(piece: &Piece, other_pieces: Vec<&Piece>)
[INFO] [stdout]     |                                   ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_pieces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/pieces.rs:250:9
[INFO] [stdout]     |
[INFO] [stdout] 250 |     let mut moves = Vec::new();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/pieces.rs:248:19
[INFO] [stdout]     |
[INFO] [stdout] 248 | pub fn king_moves(piece: &Piece, other_pieces: Vec<&Piece>)
[INFO] [stdout]     |                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other_pieces`
[INFO] [stdout]    --> src/pieces.rs:248:34
[INFO] [stdout]     |
[INFO] [stdout] 248 | pub fn king_moves(piece: &Piece, other_pieces: Vec<&Piece>)
[INFO] [stdout]     |                                  ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_pieces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/game_logic.rs:55:33
[INFO] [stdout]    |
[INFO] [stdout] 55 |             for (entity, piece, transform) in active_pieces {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hl_piece`
[INFO] [stdout]   --> src/game_logic.rs:62:29
[INFO] [stdout]    |
[INFO] [stdout] 62 |             let (hl_entity, hl_piece, hl_transform) = hl_piece_query.single_mut();
[INFO] [stdout]    |                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hl_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hl_transform`
[INFO] [stdout]   --> src/game_logic.rs:62:39
[INFO] [stdout]    |
[INFO] [stdout] 62 |             let (hl_entity, hl_piece, hl_transform) = hl_piece_query.single_mut();
[INFO] [stdout]    |                                       ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hl_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/game_logic.rs:67:33
[INFO] [stdout]    |
[INFO] [stdout] 67 |             for (entity, piece, transform) in active_pieces {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 54s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nix v0.29.0, wgpu v0.20.1, wgpu-core v0.21.1, wgpu-hal v0.21.1, winit v0.30.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6`
[INFO] running `Command { std: "docker" "inspect" "74d79503c76ce3f711cd15fed143b67d7dacb0e29d0b523883302a57913297ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74d79503c76ce3f711cd15fed143b67d7dacb0e29d0b523883302a57913297ca", kill_on_drop: false }`
[INFO] [stdout] 74d79503c76ce3f711cd15fed143b67d7dacb0e29d0b523883302a57913297ca
