[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] building whitebatman2/rusty_chess against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhitebatman2%2Frusty_chess" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/whitebatman2/rusty_chess on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.123 [INFO] [stderr] Downloaded tracing-attributes v0.1.13 [INFO] [stderr] Downloaded once_cell v1.7.0 [INFO] [stderr] Downloaded futures-core v0.3.13 [INFO] [stderr] Downloaded futures-sink v0.3.14 [INFO] [stderr] Downloaded inotify v0.9.2 [INFO] [stderr] Downloaded futures-macro v0.3.13 [INFO] [stderr] Downloaded fixedbitset v0.3.2 [INFO] [stderr] Downloaded ab_glyph v0.2.10 [INFO] [stderr] Downloaded fetch_unroll v0.2.2 [INFO] [stderr] Downloaded libflate_lz77 v1.0.0 [INFO] [stderr] Downloaded find-crate v0.6.3 [INFO] [stderr] Downloaded async-channel v1.6.1 [INFO] [stderr] Downloaded hexasphere v3.3.0 [INFO] [stderr] Downloaded pin-project-lite v0.2.4 [INFO] [stderr] Downloaded futures-lite v1.11.3 [INFO] [stderr] Downloaded inplace_it v0.3.3 [INFO] [stderr] Downloaded futures-io v0.3.13 [INFO] [stderr] Downloaded erased-serde v0.3.13 [INFO] [stderr] Downloaded miow v0.3.6 [INFO] [stderr] Downloaded cookie_store v0.12.0 [INFO] [stderr] Downloaded tracing-log v0.1.2 [INFO] [stderr] Downloaded adler v1.0.1 [INFO] [stderr] Downloaded tracing v0.1.25 [INFO] [stderr] Downloaded publicsuffix v1.5.5 [INFO] [stderr] Downloaded futures-channel v0.3.13 [INFO] [stderr] Downloaded clang-sys v1.1.1 [INFO] [stderr] Downloaded sharded-slab v0.1.1 [INFO] [stderr] Downloaded futures-task v0.3.14 [INFO] [stderr] Downloaded minimp3 v0.5.1 [INFO] [stderr] Downloaded anyhow v1.0.38 [INFO] [stderr] Downloaded libflate v1.0.3 [INFO] [stderr] Downloaded tar v0.4.33 [INFO] [stderr] Downloaded tinyvec v1.1.1 [INFO] [stderr] Downloaded ahash v0.6.3 [INFO] [stderr] Downloaded notify v5.0.0-pre.6 [INFO] [stderr] Downloaded standback v0.2.15 [INFO] [stderr] Downloaded futures v0.3.13 [INFO] [stderr] Downloaded rectangle-pack v0.2.2 [INFO] [stderr] Downloaded shaderc v0.7.1 [INFO] [stderr] Downloaded futures-executor v0.3.13 [INFO] [stderr] Downloaded ureq v1.5.4 [INFO] [stderr] Downloaded url v2.2.1 [INFO] [stderr] Downloaded mio v0.7.9 [INFO] [stderr] Downloaded time v0.2.25 [INFO] [stderr] Downloaded unicode-normalization v0.1.17 [INFO] [stderr] Downloaded ttf-parser v0.12.0 [INFO] [stderr] Downloaded tracing-subscriber v0.2.16 [INFO] [stderr] Downloaded serde_json v1.0.63 [INFO] [stderr] Downloaded futures-util v0.3.13 [INFO] [stderr] Downloaded combine v4.5.2 [INFO] [stderr] Downloaded syn v1.0.65 [INFO] [stderr] Downloaded glam v0.14.0 [INFO] [stderr] Downloaded regex v1.4.3 [INFO] [stderr] Downloaded rustls v0.19.0 [INFO] [stderr] Downloaded idna v0.2.2 [INFO] [stderr] Downloaded webpki-roots v0.21.0 [INFO] [stderr] Downloaded regex-syntax v0.6.22 [INFO] [stderr] Downloaded glam v0.11.3 [INFO] [stderr] Downloaded euclid v0.22.2 [INFO] [stderr] Downloaded spirv_cross v0.22.2 [INFO] [stderr] Downloaded libc v0.2.86 [INFO] [stderr] Downloaded bevy_mod_picking v0.3.7 [INFO] [stderr] Downloaded shaderc-sys v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03480a38089a4201f48dc6862aceb1e1131df1ddb617f0ba0560d0a8cf16645c [INFO] running `Command { std: "docker" "start" "-a" "03480a38089a4201f48dc6862aceb1e1131df1ddb617f0ba0560d0a8cf16645c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03480a38089a4201f48dc6862aceb1e1131df1ddb617f0ba0560d0a8cf16645c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03480a38089a4201f48dc6862aceb1e1131df1ddb617f0ba0560d0a8cf16645c", kill_on_drop: false }` [INFO] [stdout] 03480a38089a4201f48dc6862aceb1e1131df1ddb617f0ba0560d0a8cf16645c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a805abf19cd611851121167f8f8a42c76899f6c1ac0ce029353e894c3b46689c [INFO] running `Command { std: "docker" "start" "-a" "a805abf19cd611851121167f8f8a42c76899f6c1ac0ce029353e894c3b46689c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [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 autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling getrandom v0.2.2 [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 futures-io v0.3.13 [INFO] [stderr] Compiling once_cell v1.7.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling fixedbitset v0.3.2 [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 crossbeam-utils v0.7.2 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling async-executor v1.4.0 [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 inotify-sys v0.1.5 [INFO] [stderr] Compiling bevy_tasks v0.4.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling inotify v0.9.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling mio v0.7.9 [INFO] [stderr] Compiling filetime v0.2.14 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling spirv_headers v1.5.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling slab v0.4.2 [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-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling spirv-reflect v0.2.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [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 bytemuck v1.5.1 [INFO] [stderr] Compiling glam v0.14.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling gfx-hal v0.6.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling image v0.23.13 [INFO] [stderr] Compiling serde_json v1.0.63 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling ryu v1.0.5 [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 itoa v0.4.7 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling ttf-parser v0.12.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling hexasphere v3.3.0 [INFO] [stderr] Compiling mio v0.6.23 [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 owned_ttf_parser v0.12.0 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling ash v0.31.0 [INFO] [stderr] Compiling euclid v0.22.2 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling svg_fmt v0.4.1 [INFO] [stderr] Compiling cpal v0.13.1 [INFO] [stderr] Compiling guillotiere v0.6.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling ab_glyph v0.2.10 [INFO] [stderr] Compiling alsa v0.4.3 [INFO] [stderr] Compiling gltf-derive v0.15.2 [INFO] [stderr] Compiling naga v0.2.0 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling gfx-backend-empty v0.6.0 [INFO] [stderr] Compiling gfx-memory v0.2.2 [INFO] [stderr] Compiling gfx-descriptor v0.2.0 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling wgpu-types v0.6.1 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling rectangle-pack v0.2.2 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling glyph_brush_layout v0.2.1 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling futures v0.3.13 [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 smallvec v1.6.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling erased-serde v0.3.13 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling bevy_utils v0.4.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling ron v0.6.4 [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 gfx-backend-vulkan v0.6.5 [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 tracing-serde v0.1.2 [INFO] [stderr] Compiling gilrs v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling bevy_ecs v0.4.0 [INFO] [stderr] Compiling wgpu-core v0.6.5 [INFO] [stderr] Compiling gltf-json v0.15.2 [INFO] [stderr] Compiling tracing-subscriber v0.2.16 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling minimp3 v0.5.1 [INFO] [stderr] Compiling rodio v0.13.0 [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 gltf v0.15.2 [INFO] [stderr] Compiling bevy_math v0.4.0 [INFO] [stderr] Compiling bevy_asset v0.4.0 [INFO] [stderr] Compiling bevy_transform v0.4.0 [INFO] [stderr] Compiling bevy_window v0.4.0 [INFO] [stderr] Compiling bevy_core v0.4.0 [INFO] [stderr] Compiling bevy_input v0.4.0 [INFO] [stderr] Compiling wgpu v0.6.2 [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_diagnostic 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_gltf v0.4.0 [INFO] [stderr] Compiling bevy_text 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, &PieceColor), With>, [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: unused variable: `material_handle` [INFO] [stdout] --> src/main.rs:289:40 [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: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: `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: 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>, [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>, [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: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: 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: 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: value assigned to `piece_color` is never read [INFO] [stdout] --> src/main.rs:974:13 [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: 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: 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 25s [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 1` [INFO] running `Command { std: "docker" "inspect" "a805abf19cd611851121167f8f8a42c76899f6c1ac0ce029353e894c3b46689c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a805abf19cd611851121167f8f8a42c76899f6c1ac0ce029353e894c3b46689c", kill_on_drop: false }` [INFO] [stdout] a805abf19cd611851121167f8f8a42c76899f6c1ac0ce029353e894c3b46689c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e8ce212c625b15b6665e4bf11301be2a76e7bd83134146f7b588224905fde74 [INFO] running `Command { std: "docker" "start" "-a" "0e8ce212c625b15b6665e4bf11301be2a76e7bd83134146f7b588224905fde74", 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, &PieceColor), With>, [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: unused variable: `material_handle` [INFO] [stdout] --> src/main.rs:289:40 [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: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: `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: 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>, [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>, [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: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: 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: 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: value assigned to `piece_color` is never read [INFO] [stdout] --> src/main.rs:974:13 [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: 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: 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.35s [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 1` [INFO] running `Command { std: "docker" "inspect" "0e8ce212c625b15b6665e4bf11301be2a76e7bd83134146f7b588224905fde74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e8ce212c625b15b6665e4bf11301be2a76e7bd83134146f7b588224905fde74", kill_on_drop: false }` [INFO] [stdout] 0e8ce212c625b15b6665e4bf11301be2a76e7bd83134146f7b588224905fde74