[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#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJames112304%2Frust-final-project" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/James112304/rust-final-project on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded image-webp v0.1.2 [INFO] [stderr] Downloaded built v0.7.2 [INFO] [stderr] Downloaded winnow v0.6.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aec07aaa80c539794a5ad53d31be7fc85b9161847c03c40689de9739ae764750 [INFO] running `Command { std: "docker" "start" "-a" "aec07aaa80c539794a5ad53d31be7fc85b9161847c03c40689de9739ae764750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aec07aaa80c539794a5ad53d31be7fc85b9161847c03c40689de9739ae764750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aec07aaa80c539794a5ad53d31be7fc85b9161847c03c40689de9739ae764750", kill_on_drop: false }` [INFO] [stdout] aec07aaa80c539794a5ad53d31be7fc85b9161847c03c40689de9739ae764750 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] b13c44df5a4018c116a8bd0f428ddfe54b2a2a33759d8cc0adf0b375cc5bd03e [INFO] running `Command { std: "docker" "start" "-a" "b13c44df5a4018c116a8bd0f428ddfe54b2a2a33759d8cc0adf0b375cc5bd03e", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling built v0.7.2 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling miniquad v0.4.0 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling bitstream-io v2.2.0 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [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 arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [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: variable `piece` is assigned to, but never used [INFO] [stdout] --> src/main.rs:160:37 [INFO] [stdout] | [INFO] [stdout] 160 | if let Some(mut piece) = &mut piece_board[j][i] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_piece` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (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: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: value assigned to `piece` is never read [INFO] [stdout] --> src/main.rs:109:29 [INFO] [stdout] | [INFO] [stdout] 109 | ... piece.is_dragging = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `piece` is never read [INFO] [stdout] --> src/main.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | ... piece.is_dragging = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `piece` is never read [INFO] [stdout] --> src/main.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | ... piece.is_dragging = false; [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 52.79s [INFO] running `Command { std: "docker" "inspect" "b13c44df5a4018c116a8bd0f428ddfe54b2a2a33759d8cc0adf0b375cc5bd03e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b13c44df5a4018c116a8bd0f428ddfe54b2a2a33759d8cc0adf0b375cc5bd03e", kill_on_drop: false }` [INFO] [stdout] b13c44df5a4018c116a8bd0f428ddfe54b2a2a33759d8cc0adf0b375cc5bd03e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 3342bbc80614b988c24a2d5cfc91e175929f7e5cbe35b8b2fc5677724331e1c7 [INFO] running `Command { std: "docker" "start" "-a" "3342bbc80614b988c24a2d5cfc91e175929f7e5cbe35b8b2fc5677724331e1c7", kill_on_drop: false }` [INFO] [stderr] Compiling HW4 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `piece` is assigned to, but never used [INFO] [stdout] --> src/main.rs:160:37 [INFO] [stdout] | [INFO] [stdout] 160 | if let Some(mut piece) = &mut piece_board[j][i] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_piece` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (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: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: value assigned to `piece` is never read [INFO] [stdout] --> src/main.rs:109:29 [INFO] [stdout] | [INFO] [stdout] 109 | ... piece.is_dragging = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `piece` is never read [INFO] [stdout] --> src/main.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | ... piece.is_dragging = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `piece` is never read [INFO] [stdout] --> src/main.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | ... piece.is_dragging = false; [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 1.23s [INFO] running `Command { std: "docker" "inspect" "3342bbc80614b988c24a2d5cfc91e175929f7e5cbe35b8b2fc5677724331e1c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3342bbc80614b988c24a2d5cfc91e175929f7e5cbe35b8b2fc5677724331e1c7", kill_on_drop: false }` [INFO] [stdout] 3342bbc80614b988c24a2d5cfc91e175929f7e5cbe35b8b2fc5677724331e1c7