[INFO] cloning repository https://github.com/James112304/rust-final-project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/James112304/rust-final-project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJames112304%2Frust-final-project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJames112304%2Frust-final-project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f54bea00bd50ed2b0b20f4ac6869eb437014771d [INFO] building James112304/rust-final-project against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJames112304%2Frust-final-project" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/James112304/rust-final-project [INFO] finished tweaking git repo https://github.com/James112304/rust-final-project [INFO] tweaked toml for git repo https://github.com/James112304/rust-final-project written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/James112304/rust-final-project 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/James112304/rust-final-project 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] Downloading crates ... [INFO] [stderr] Downloaded macroquad_macro v0.1.7 [INFO] [stderr] Downloaded serde v1.0.200 [INFO] [stderr] Downloaded serde_derive v1.0.200 [INFO] [stderr] Downloaded miniquad v0.4.0 [INFO] [stderr] Downloaded macroquad v0.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec3fe4e7717d2590defff8b295b1b18095c1ec7cdce4279f34ca8d5401be420b [INFO] running `Command { std: "docker" "start" "-a" "ec3fe4e7717d2590defff8b295b1b18095c1ec7cdce4279f34ca8d5401be420b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec3fe4e7717d2590defff8b295b1b18095c1ec7cdce4279f34ca8d5401be420b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec3fe4e7717d2590defff8b295b1b18095c1ec7cdce4279f34ca8d5401be420b", kill_on_drop: false }` [INFO] [stdout] ec3fe4e7717d2590defff8b295b1b18095c1ec7cdce4279f34ca8d5401be420b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4072cc4cee5c05eeba530d669b1912b6c6743775b3546f249a023ea6cbb2c840 [INFO] running `Command { std: "docker" "start" "-a" "4072cc4cee5c05eeba530d669b1912b6c6743775b3546f249a023ea6cbb2c840", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling built v0.7.2 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling bitstream-io v2.2.0 [INFO] [stderr] Compiling miniquad v0.4.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling macroquad v0.4.5 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling image-webp v0.1.2 [INFO] [stderr] Compiling ravif v0.11.5 [INFO] [stderr] Compiling image v0.25.1 [INFO] [stderr] Compiling HW4 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `current_dragged` is never read [INFO] [stdout] --> src/main.rs:145:41 [INFO] [stdout] | [INFO] [stdout] 145 | ... current_dragged = None; [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: value assigned to `current_dragged` is never read [INFO] [stdout] --> src/main.rs:151:37 [INFO] [stdout] | [INFO] [stdout] 151 | ... current_dragged = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `calculating` is never read [INFO] [stdout] --> src/checkers.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Checkers { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub calculating: bool [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Checkers` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.23s [INFO] running `Command { std: "docker" "inspect" "4072cc4cee5c05eeba530d669b1912b6c6743775b3546f249a023ea6cbb2c840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4072cc4cee5c05eeba530d669b1912b6c6743775b3546f249a023ea6cbb2c840", kill_on_drop: false }` [INFO] [stdout] 4072cc4cee5c05eeba530d669b1912b6c6743775b3546f249a023ea6cbb2c840 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e33d754608a8ead0a756db3bc63cf2b12767af351f0d7f0da65cb70ef1efee0 [INFO] running `Command { std: "docker" "start" "-a" "5e33d754608a8ead0a756db3bc63cf2b12767af351f0d7f0da65cb70ef1efee0", kill_on_drop: false }` [INFO] [stderr] Compiling HW4 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `current_dragged` is never read [INFO] [stdout] --> src/main.rs:145:41 [INFO] [stdout] | [INFO] [stdout] 145 | ... current_dragged = None; [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: value assigned to `current_dragged` is never read [INFO] [stdout] --> src/main.rs:151:37 [INFO] [stdout] | [INFO] [stdout] 151 | ... current_dragged = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `calculating` is never read [INFO] [stdout] --> src/checkers.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Checkers { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub calculating: bool [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Checkers` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "5e33d754608a8ead0a756db3bc63cf2b12767af351f0d7f0da65cb70ef1efee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e33d754608a8ead0a756db3bc63cf2b12767af351f0d7f0da65cb70ef1efee0", kill_on_drop: false }` [INFO] [stdout] 5e33d754608a8ead0a756db3bc63cf2b12767af351f0d7f0da65cb70ef1efee0