[INFO] cloning repository https://github.com/ericwu2003/color-sort [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericwu2003/color-sort" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericwu2003%2Fcolor-sort", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericwu2003%2Fcolor-sort'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef79874c62c55b232cccd44a04a231e3395e46ed [INFO] checking ericwu2003/color-sort against master#cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericwu2003%2Fcolor-sort" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ericwu2003/color-sort on toolchain cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ericwu2003/color-sort [INFO] finished tweaking git repo https://github.com/ericwu2003/color-sort [INFO] tweaked toml for git repo https://github.com/ericwu2003/color-sort written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ericwu2003/color-sort 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" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6b3a189d4073e89e5da1a3f89e976595e9f1c7420e621f09f25a9240bc206b2 [INFO] running `Command { std: "docker" "start" "-a" "c6b3a189d4073e89e5da1a3f89e976595e9f1c7420e621f09f25a9240bc206b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6b3a189d4073e89e5da1a3f89e976595e9f1c7420e621f09f25a9240bc206b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6b3a189d4073e89e5da1a3f89e976595e9f1c7420e621f09f25a9240bc206b2", kill_on_drop: false }` [INFO] [stdout] c6b3a189d4073e89e5da1a3f89e976595e9f1c7420e621f09f25a9240bc206b2 [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84e39aa14de09ff053283bfbe514a8a188efc9897f37530cd3a39a24585d550a [INFO] running `Command { std: "docker" "start" "-a" "84e39aa14de09ff053283bfbe514a8a188efc9897f37530cd3a39a24585d550a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking hashbrown v0.14.1 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking color-sort v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/move_type.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl MoveHistory { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn get(&self, index: usize) -> Option<&Move> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/move_type.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl MoveHistory { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn get(&self, index: usize) -> Option<&Move> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/game_state.rs:157:51 [INFO] [stdout] | [INFO] [stdout] 157 | let is_solved_flag = (&IS_SOLVED_FLAG).clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `AtomicBool` does not implement `Clone`, so calling `clone` on `&AtomicBool` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 157 - let is_solved_flag = (&IS_SOLVED_FLAG).clone(); [INFO] [stdout] 157 + let is_solved_flag = (&IS_SOLVED_FLAG); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game_state.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | dbg!(res); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/game_state.rs:157:51 [INFO] [stdout] | [INFO] [stdout] 157 | let is_solved_flag = (&IS_SOLVED_FLAG).clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `AtomicBool` does not implement `Clone`, so calling `clone` on `&AtomicBool` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 157 - let is_solved_flag = (&IS_SOLVED_FLAG).clone(); [INFO] [stdout] 157 + let is_solved_flag = (&IS_SOLVED_FLAG); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game_state.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | dbg!(res); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "84e39aa14de09ff053283bfbe514a8a188efc9897f37530cd3a39a24585d550a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84e39aa14de09ff053283bfbe514a8a188efc9897f37530cd3a39a24585d550a", kill_on_drop: false }` [INFO] [stdout] 84e39aa14de09ff053283bfbe514a8a188efc9897f37530cd3a39a24585d550a