[INFO] cloning repository https://github.com/whitebatman2/rusty_chess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/whitebatman2/rusty_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhitebatman2%2Frusty_chess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhitebatman2%2Frusty_chess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 54929b59f6936c57fd258df77be688030f7a0e77
[INFO] testing whitebatman2/rusty_chess against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhitebatman2%2Frusty_chess" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/whitebatman2/rusty_chess
[INFO] finished tweaking git repo https://github.com/whitebatman2/rusty_chess
[INFO] tweaked toml for git repo https://github.com/whitebatman2/rusty_chess written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/whitebatman2/rusty_chess on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/whitebatman2/rusty_chess already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5e2dfcd9056292ba63b2efb50d544ff2582e7e75bb0916d267d84719ddde85db
[INFO] running `Command { std: "docker" "start" "-a" "5e2dfcd9056292ba63b2efb50d544ff2582e7e75bb0916d267d84719ddde85db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5e2dfcd9056292ba63b2efb50d544ff2582e7e75bb0916d267d84719ddde85db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e2dfcd9056292ba63b2efb50d544ff2582e7e75bb0916d267d84719ddde85db", kill_on_drop: false }`
[INFO] [stdout] 5e2dfcd9056292ba63b2efb50d544ff2582e7e75bb0916d267d84719ddde85db
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 662d5c7dd7b5bb350e45e4aafebf06b7148d9deb5c9fab52d70ccd45653646a4
[INFO] running `Command { std: "docker" "start" "-a" "662d5c7dd7b5bb350e45e4aafebf06b7148d9deb5c9fab52d70ccd45653646a4", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.86
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.65
[INFO] [stderr]    Compiling serde_derive v1.0.123
[INFO] [stderr]    Compiling serde v1.0.123
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling pin-project-lite v0.2.4
[INFO] [stderr]    Compiling futures-core v0.3.13
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling tracing-core v0.1.17
[INFO] [stderr]    Compiling instant v0.1.9
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling futures-io v0.3.13
[INFO] [stderr]    Compiling once_cell v1.7.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling lock_api v0.4.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling cache-padded v1.1.1
[INFO] [stderr]    Compiling ahash v0.6.3
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling fastrand v1.4.0
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling async-task v4.0.3
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling futures-lite v1.11.3
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling event-listener v2.5.1
[INFO] [stderr]    Compiling vec-arena v1.0.0
[INFO] [stderr]    Compiling fixedbitset v0.3.2
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling async-channel v1.6.1
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling byteorder v1.4.2
[INFO] [stderr]    Compiling glam v0.11.3
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling crossbeam-utils v0.8.3
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling jobserver v0.1.21
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling async-executor v1.4.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling bevy_tasks v0.4.0
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling anyhow v1.0.38
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling inotify v0.9.2
[INFO] [stderr]    Compiling crossbeam-channel v0.5.0
[INFO] [stderr]    Compiling spirv_headers v1.5.0
[INFO] [stderr]    Compiling mio v0.7.9
[INFO] [stderr]    Compiling filetime v0.2.14
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling anymap v0.12.1
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling crossbeam-channel v0.4.4
[INFO] [stderr]    Compiling notify v5.0.0-pre.6
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling spirv-reflect v0.2.3
[INFO] [stderr]    Compiling bevy-glsl-to-spirv v0.2.1
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling glam v0.14.0
[INFO] [stderr]    Compiling bytemuck v1.5.1
[INFO] [stderr]    Compiling gfx-hal v0.6.0
[INFO] [stderr]    Compiling hex v0.4.2
[INFO] [stderr]    Compiling serde_json v1.0.63
[INFO] [stderr]    Compiling image v0.23.13
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling x11 v2.18.2
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]    Compiling libloading v0.6.7
[INFO] [stderr]    Compiling nix v0.15.0
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling futures-sink v0.3.14
[INFO] [stderr]    Compiling minimp3-sys v0.3.2
[INFO] [stderr]    Compiling futures-channel v0.3.13
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling regex-syntax v0.6.22
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling ttf-parser v0.12.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling futures-task v0.3.14
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]    Compiling bit-set v0.5.2
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling hexasphere v3.3.0
[INFO] [stderr]    Compiling owned_ttf_parser v0.12.0
[INFO] [stderr]    Compiling ash v0.31.0
[INFO] [stderr]    Compiling euclid v0.22.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling tracing-attributes v0.1.13
[INFO] [stderr]    Compiling futures-macro v0.3.13
[INFO] [stderr]    Compiling inplace_it v0.3.3
[INFO] [stderr]    Compiling thiserror v1.0.24
[INFO] [stderr]    Compiling cpal v0.13.1
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.4
[INFO] [stderr]    Compiling svg_fmt v0.4.1
[INFO] [stderr]    Compiling libm v0.1.4
[INFO] [stderr]    Compiling futures-util v0.3.13
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling ab_glyph v0.2.10
[INFO] [stderr]    Compiling tracing v0.1.25
[INFO] [stderr]    Compiling guillotiere v0.6.0
[INFO] [stderr]    Compiling gltf-derive v0.15.2
[INFO] [stderr]    Compiling naga v0.2.0
[INFO] [stderr]    Compiling alsa v0.4.3
[INFO] [stderr]    Compiling regex-automata v0.1.9
[INFO] [stderr]    Compiling gfx-descriptor v0.2.0
[INFO] [stderr]    Compiling gfx-backend-empty v0.6.0
[INFO] [stderr]    Compiling gfx-memory v0.2.2
[INFO] [stderr]    Compiling approx v0.4.0
[INFO] [stderr]    Compiling slice-deque v0.3.0
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling thread_local v1.1.3
[INFO] [stderr]    Compiling wgpu-types v0.6.1
[INFO] [stderr]    Compiling futures-executor v0.3.13
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling copyless v0.1.5
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling rectangle-pack v0.2.2
[INFO] [stderr]    Compiling xi-unicode v0.3.0
[INFO] [stderr]    Compiling futures v0.3.13
[INFO] [stderr]    Compiling glyph_brush_layout v0.2.1
[INFO] [stderr]    Compiling regex v1.4.3
[INFO] [stderr]    Compiling matchers v0.0.1
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling tracing-log v0.1.2
[INFO] [stderr]    Compiling sharded-slab v0.1.1
[INFO] [stderr]    Compiling typed-arena v2.0.1
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling stretch v0.3.2
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling minimp3 v0.5.1
[INFO] [stderr]    Compiling rodio v0.13.0
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling parking_lot_core v0.8.3
[INFO] [stderr]    Compiling erased-serde v0.3.13
[INFO] [stderr]    Compiling ron v0.6.4
[INFO] [stderr]    Compiling bevy_utils v0.4.0
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling gfx-backend-vulkan v0.6.5
[INFO] [stderr]    Compiling winit v0.24.0
[INFO] [stderr]    Compiling find-crate v0.6.3
[INFO] [stderr]    Compiling gilrs-core v0.3.0
[INFO] [stderr]    Compiling tracing-serde v0.1.2
[INFO] [stderr]    Compiling gilrs v0.8.0
[INFO] [stderr]    Compiling bevy_ecs_macros v0.4.0
[INFO] [stderr]    Compiling bevy_derive v0.4.0
[INFO] [stderr]    Compiling bevy_reflect_derive v0.4.0
[INFO] [stderr]    Compiling gltf-json v0.15.2
[INFO] [stderr]    Compiling bevy_ecs v0.4.0
[INFO] [stderr]    Compiling wgpu-core v0.6.5
[INFO] [stderr]    Compiling tracing-subscriber v0.2.16
[INFO] [stderr]    Compiling gltf v0.15.2
[INFO] [stderr]    Compiling bevy_app v0.4.0
[INFO] [stderr]    Compiling bevy_reflect v0.4.0
[INFO] [stderr]    Compiling bevy_dynamic_plugin v0.4.0
[INFO] [stderr]    Compiling bevy_log v0.4.0
[INFO] [stderr]    Compiling wgpu v0.6.2
[INFO] [stderr]    Compiling bevy_math v0.4.0
[INFO] [stderr]    Compiling bevy_asset v0.4.0
[INFO] [stderr]    Compiling bevy_window v0.4.0
[INFO] [stderr]    Compiling bevy_transform v0.4.0
[INFO] [stderr]    Compiling bevy_core v0.4.0
[INFO] [stderr]    Compiling bevy_input v0.4.0
[INFO] [stderr]    Compiling bevy_diagnostic v0.4.0
[INFO] [stderr]    Compiling bevy_winit v0.4.0
[INFO] [stderr]    Compiling bevy_render v0.4.0
[INFO] [stderr]    Compiling bevy_scene v0.4.0
[INFO] [stderr]    Compiling bevy_audio v0.4.0
[INFO] [stderr]    Compiling bevy_gilrs v0.4.0
[INFO] [stderr]    Compiling bevy_sprite v0.4.0
[INFO] [stderr]    Compiling bevy_pbr v0.4.0
[INFO] [stderr]    Compiling bevy_wgpu v0.4.0
[INFO] [stderr]    Compiling bevy_text v0.4.0
[INFO] [stderr]    Compiling bevy_gltf v0.4.0
[INFO] [stderr]    Compiling bevy_ui v0.4.0
[INFO] [stderr]    Compiling bevy_internal v0.4.0
[INFO] [stderr]    Compiling bevy v0.4.0
[INFO] [stderr]    Compiling bevy_mod_picking v0.3.7
[INFO] [stderr]    Compiling rusty_chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rand::random`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::random;
[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: `bevy::input::gamepad::GamepadButtonType::Select`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use bevy::input::gamepad::GamepadButtonType::Select;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bevy::window::WindowId`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use bevy::window::WindowId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::PieceType::Knight`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::PieceType::Knight;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:226:5
[INFO] [stdout]     |
[INFO] [stdout] 226 |     mut query2: Query<(Entity, &Handle<StandardMaterial>, &PieceColor), With<SelectedPiece>>,
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:230:32
[INFO] [stdout]     |
[INFO] [stdout] 230 |     for (interactable, entity, mut material_handle, piece_color) in &mut query.iter_mut() {
[INFO] [stdout]     |                                ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:241:30
[INFO] [stdout]     |
[INFO] [stdout] 241 |                 for (entity, mut material_handle, piece_color) in query2.iter() {
[INFO] [stdout]     |                              ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:289:36
[INFO] [stdout]     |
[INFO] [stdout] 289 |         for (interactable, entity, mut material_handle) in &mut query.iter_mut() {
[INFO] [stdout]     |                                    ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:308:17
[INFO] [stdout]     |
[INFO] [stdout] 308 |                 mut material_handle, piece_color, piece_type) in query2.iter_mut() {
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material_handle`
[INFO] [stdout]    --> src/main.rs:289:36
[INFO] [stdout]     |
[INFO] [stdout] 289 |         for (interactable, entity, mut material_handle) in &mut query.iter_mut() {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_handle`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mesh`
[INFO] [stdout]    --> src/main.rs:425:22
[INFO] [stdout]     |
[INFO] [stdout] 425 |                 for (mesh, mut transform, mut board_position,
[INFO] [stdout]     |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_mesh`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:525:20
[INFO] [stdout]     |
[INFO] [stdout] 525 |                    mut query: Query<(&InteractableMesh, &PieceType, Entity), With<PromotionSelector>>,
[INFO] [stdout]     |                    ----^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:526:20
[INFO] [stdout]     |
[INFO] [stdout] 526 |                    mut query2: Query<(&PieceType, Entity, ), With<SelectedPiece>>,
[INFO] [stdout]     |                    ----^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entity`
[INFO] [stdout]    --> src/main.rs:540:45
[INFO] [stdout]     |
[INFO] [stdout] 540 |     for (interactable, selected_piece_type, entity) 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: `interactable`
[INFO] [stdout]    --> src/main.rs:559:10
[INFO] [stdout]     |
[INFO] [stdout] 559 |     for (interactable, selected_piece_type, entity) in query.iter() {
[INFO] [stdout]     |          ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interactable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `selected_piece_type`
[INFO] [stdout]    --> src/main.rs:559:24
[INFO] [stdout]     |
[INFO] [stdout] 559 |     for (interactable, selected_piece_type, entity) in query.iter() {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selected_piece_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entity`
[INFO] [stdout]    --> src/main.rs:661:15
[INFO] [stdout]     |
[INFO] [stdout] 661 |         Some((entity, intersection)) => {
[INFO] [stdout]     |               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:835:13
[INFO] [stdout]     |
[INFO] [stdout] 835 |         let mut possible = check_capture_pattern(i.0, enemy_color, (i.1, king_pos));
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:849:9
[INFO] [stdout]     |
[INFO] [stdout] 849 |     let mut diff = Vec2 { x: to.x as f32 - from.x as f32,
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enemy_color`
[INFO] [stdout]    --> src/main.rs:866:9
[INFO] [stdout]     |
[INFO] [stdout] 866 |     let enemy_color = match moved_piece.piece_color {
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enemy_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `curr_piece`
[INFO] [stdout]    --> src/main.rs:888:18
[INFO] [stdout]     |
[INFO] [stdout] 888 |             Some(curr_piece) => {
[INFO] [stdout]     |                  ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:991:9
[INFO] [stdout]     |
[INFO] [stdout] 991 |     for i in 1u8..3 {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `piece_color` is never read
[INFO] [stdout]    --> src/main.rs:974:27
[INFO] [stdout]     |
[INFO] [stdout] 974 |     let mut piece_color = PieceColor::White;
[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: struct `MovingPiece` is never constructed
[INFO] [stdout]   --> src/main.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | struct MovingPiece;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `PieceMoving` is never constructed
[INFO] [stdout]   --> src/main.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | enum GameState {
[INFO] [stdout]    |      --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 76 |     PieceMoving,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 15s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wgpu-core v0.6.5
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "662d5c7dd7b5bb350e45e4aafebf06b7148d9deb5c9fab52d70ccd45653646a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "662d5c7dd7b5bb350e45e4aafebf06b7148d9deb5c9fab52d70ccd45653646a4", kill_on_drop: false }`
[INFO] [stdout] 662d5c7dd7b5bb350e45e4aafebf06b7148d9deb5c9fab52d70ccd45653646a4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9861eed730b6e219d2049b323ab748c37eb5c9b0c34e0438bfddd10c2718d386
[INFO] running `Command { std: "docker" "start" "-a" "9861eed730b6e219d2049b323ab748c37eb5c9b0c34e0438bfddd10c2718d386", kill_on_drop: false }`
[INFO] [stderr]    Compiling rusty_chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rand::random`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::random;
[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: `bevy::input::gamepad::GamepadButtonType::Select`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use bevy::input::gamepad::GamepadButtonType::Select;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bevy::window::WindowId`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use bevy::window::WindowId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::PieceType::Knight`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::PieceType::Knight;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:226:5
[INFO] [stdout]     |
[INFO] [stdout] 226 |     mut query2: Query<(Entity, &Handle<StandardMaterial>, &PieceColor), With<SelectedPiece>>,
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:230:32
[INFO] [stdout]     |
[INFO] [stdout] 230 |     for (interactable, entity, mut material_handle, piece_color) in &mut query.iter_mut() {
[INFO] [stdout]     |                                ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:241:30
[INFO] [stdout]     |
[INFO] [stdout] 241 |                 for (entity, mut material_handle, piece_color) in query2.iter() {
[INFO] [stdout]     |                              ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:289:36
[INFO] [stdout]     |
[INFO] [stdout] 289 |         for (interactable, entity, mut material_handle) in &mut query.iter_mut() {
[INFO] [stdout]     |                                    ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:308:17
[INFO] [stdout]     |
[INFO] [stdout] 308 |                 mut material_handle, piece_color, piece_type) in query2.iter_mut() {
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material_handle`
[INFO] [stdout]    --> src/main.rs:289:36
[INFO] [stdout]     |
[INFO] [stdout] 289 |         for (interactable, entity, mut material_handle) in &mut query.iter_mut() {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_handle`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mesh`
[INFO] [stdout]    --> src/main.rs:425:22
[INFO] [stdout]     |
[INFO] [stdout] 425 |                 for (mesh, mut transform, mut board_position,
[INFO] [stdout]     |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_mesh`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:525:20
[INFO] [stdout]     |
[INFO] [stdout] 525 |                    mut query: Query<(&InteractableMesh, &PieceType, Entity), With<PromotionSelector>>,
[INFO] [stdout]     |                    ----^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:526:20
[INFO] [stdout]     |
[INFO] [stdout] 526 |                    mut query2: Query<(&PieceType, Entity, ), With<SelectedPiece>>,
[INFO] [stdout]     |                    ----^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entity`
[INFO] [stdout]    --> src/main.rs:540:45
[INFO] [stdout]     |
[INFO] [stdout] 540 |     for (interactable, selected_piece_type, entity) 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: `interactable`
[INFO] [stdout]    --> src/main.rs:559:10
[INFO] [stdout]     |
[INFO] [stdout] 559 |     for (interactable, selected_piece_type, entity) in query.iter() {
[INFO] [stdout]     |          ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interactable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `selected_piece_type`
[INFO] [stdout]    --> src/main.rs:559:24
[INFO] [stdout]     |
[INFO] [stdout] 559 |     for (interactable, selected_piece_type, entity) in query.iter() {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selected_piece_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entity`
[INFO] [stdout]    --> src/main.rs:661:15
[INFO] [stdout]     |
[INFO] [stdout] 661 |         Some((entity, intersection)) => {
[INFO] [stdout]     |               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:835:13
[INFO] [stdout]     |
[INFO] [stdout] 835 |         let mut possible = check_capture_pattern(i.0, enemy_color, (i.1, king_pos));
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:849:9
[INFO] [stdout]     |
[INFO] [stdout] 849 |     let mut diff = Vec2 { x: to.x as f32 - from.x as f32,
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enemy_color`
[INFO] [stdout]    --> src/main.rs:866:9
[INFO] [stdout]     |
[INFO] [stdout] 866 |     let enemy_color = match moved_piece.piece_color {
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enemy_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `curr_piece`
[INFO] [stdout]    --> src/main.rs:888:18
[INFO] [stdout]     |
[INFO] [stdout] 888 |             Some(curr_piece) => {
[INFO] [stdout]     |                  ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:991:9
[INFO] [stdout]     |
[INFO] [stdout] 991 |     for i in 1u8..3 {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `piece_color` is never read
[INFO] [stdout]    --> src/main.rs:974:27
[INFO] [stdout]     |
[INFO] [stdout] 974 |     let mut piece_color = PieceColor::White;
[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: struct `MovingPiece` is never constructed
[INFO] [stdout]   --> src/main.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | struct MovingPiece;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `PieceMoving` is never constructed
[INFO] [stdout]   --> src/main.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | enum GameState {
[INFO] [stdout]    |      --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 76 |     PieceMoving,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.31s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wgpu-core v0.6.5
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "9861eed730b6e219d2049b323ab748c37eb5c9b0c34e0438bfddd10c2718d386", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9861eed730b6e219d2049b323ab748c37eb5c9b0c34e0438bfddd10c2718d386", kill_on_drop: false }`
[INFO] [stdout] 9861eed730b6e219d2049b323ab748c37eb5c9b0c34e0438bfddd10c2718d386
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c713effba14312e9df8525d9c8487f6e5409adcbd8bb75f4d22c015fe578fe2a
[INFO] running `Command { std: "docker" "start" "-a" "c713effba14312e9df8525d9c8487f6e5409adcbd8bb75f4d22c015fe578fe2a", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `rand::random`
[INFO] [stderr]  --> src/main.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use rand::random;
[INFO] [stderr]   |     ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `bevy::input::gamepad::GamepadButtonType::Select`
[INFO] [stderr]  --> src/main.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use bevy::input::gamepad::GamepadButtonType::Select;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `bevy::window::WindowId`
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use bevy::window::WindowId;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::PieceType::Knight`
[INFO] [stderr]  --> src/main.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use crate::PieceType::Knight;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:226:5
[INFO] [stderr]     |
[INFO] [stderr] 226 |     mut query2: Query<(Entity, &Handle<StandardMaterial>, &PieceColor), With<SelectedPiece>>,
[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: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:230:32
[INFO] [stderr]     |
[INFO] [stderr] 230 |     for (interactable, entity, mut material_handle, piece_color) in &mut query.iter_mut() {
[INFO] [stderr]     |                                ----^^^^^^^^^^^^^^^
[INFO] [stderr]     |                                |
[INFO] [stderr]     |                                help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:241:30
[INFO] [stderr]     |
[INFO] [stderr] 241 |                 for (entity, mut material_handle, piece_color) in query2.iter() {
[INFO] [stderr]     |                              ----^^^^^^^^^^^^^^^
[INFO] [stderr]     |                              |
[INFO] [stderr]     |                              help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:289:36
[INFO] [stderr]     |
[INFO] [stderr] 289 |         for (interactable, entity, mut material_handle) in &mut query.iter_mut() {
[INFO] [stderr]     |                                    ----^^^^^^^^^^^^^^^
[INFO] [stderr]     |                                    |
[INFO] [stderr]     |                                    help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:308:17
[INFO] [stderr]     |
[INFO] [stderr] 308 |                 mut material_handle, piece_color, piece_type) in query2.iter_mut() {
[INFO] [stderr]     |                 ----^^^^^^^^^^^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `material_handle`
[INFO] [stderr]    --> src/main.rs:289:36
[INFO] [stderr]     |
[INFO] [stderr] 289 |         for (interactable, entity, mut material_handle) in &mut query.iter_mut() {
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_handle`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `mesh`
[INFO] [stderr]    --> src/main.rs:425:22
[INFO] [stderr]     |
[INFO] [stderr] 425 |                 for (mesh, mut transform, mut board_position,
[INFO] [stderr]     |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_mesh`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:525:20
[INFO] [stderr]     |
[INFO] [stderr] 525 |                    mut query: Query<(&InteractableMesh, &PieceType, Entity), With<PromotionSelector>>,
[INFO] [stderr]     |                    ----^^^^^
[INFO] [stderr]     |                    |
[INFO] [stderr]     |                    help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:526:20
[INFO] [stderr]     |
[INFO] [stderr] 526 |                    mut query2: Query<(&PieceType, Entity, ), With<SelectedPiece>>,
[INFO] [stderr]     |                    ----^^^^^^
[INFO] [stderr]     |                    |
[INFO] [stderr]     |                    help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `entity`
[INFO] [stderr]    --> src/main.rs:540:45
[INFO] [stderr]     |
[INFO] [stderr] 540 |     for (interactable, selected_piece_type, entity) in query.iter() {
[INFO] [stderr]     |                                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `interactable`
[INFO] [stderr]    --> src/main.rs:559:10
[INFO] [stderr]     |
[INFO] [stderr] 559 |     for (interactable, selected_piece_type, entity) in query.iter() {
[INFO] [stderr]     |          ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interactable`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `selected_piece_type`
[INFO] [stderr]    --> src/main.rs:559:24
[INFO] [stderr]     |
[INFO] [stderr] 559 |     for (interactable, selected_piece_type, entity) in query.iter() {
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selected_piece_type`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `entity`
[INFO] [stderr]    --> src/main.rs:661:15
[INFO] [stderr]     |
[INFO] [stderr] 661 |         Some((entity, intersection)) => {
[INFO] [stderr]     |               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:835:13
[INFO] [stderr]     |
[INFO] [stderr] 835 |         let mut possible = check_capture_pattern(i.0, enemy_color, (i.1, king_pos));
[INFO] [stderr]     |             ----^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:849:9
[INFO] [stderr]     |
[INFO] [stderr] 849 |     let mut diff = Vec2 { x: to.x as f32 - from.x as f32,
[INFO] [stderr]     |         ----^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `enemy_color`
[INFO] [stderr]    --> src/main.rs:866:9
[INFO] [stderr]     |
[INFO] [stderr] 866 |     let enemy_color = match moved_piece.piece_color {
[INFO] [stderr]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enemy_color`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `curr_piece`
[INFO] [stderr]    --> src/main.rs:888:18
[INFO] [stderr]     |
[INFO] [stderr] 888 |             Some(curr_piece) => {
[INFO] [stderr]     |                  ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_piece`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/main.rs:991:9
[INFO] [stderr]     |
[INFO] [stderr] 991 |     for i in 1u8..3 {
[INFO] [stderr]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `piece_color` is never read
[INFO] [stderr]    --> src/main.rs:974:27
[INFO] [stderr]     |
[INFO] [stderr] 974 |     let mut piece_color = PieceColor::White;
[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: struct `MovingPiece` is never constructed
[INFO] [stderr]   --> src/main.rs:54:8
[INFO] [stderr]    |
[INFO] [stderr] 54 | struct MovingPiece;
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `PieceMoving` is never constructed
[INFO] [stderr]   --> src/main.rs:76:5
[INFO] [stderr]    |
[INFO] [stderr] 73 | enum GameState {
[INFO] [stderr]    |      --------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 76 |     PieceMoving,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rusty_chess` (bin "rusty_chess" test) generated 25 warnings (run `cargo fix --bin "rusty_chess" -p rusty_chess --tests` to apply 22 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wgpu-core v0.6.5
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rusty_chess-9404944d95170678)
[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" "c713effba14312e9df8525d9c8487f6e5409adcbd8bb75f4d22c015fe578fe2a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c713effba14312e9df8525d9c8487f6e5409adcbd8bb75f4d22c015fe578fe2a", kill_on_drop: false }`
[INFO] [stdout] c713effba14312e9df8525d9c8487f6e5409adcbd8bb75f4d22c015fe578fe2a
