[INFO] cloning repository https://github.com/dorritydj/rubiks-solver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dorritydj/rubiks-solver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdorritydj%2Frubiks-solver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdorritydj%2Frubiks-solver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f617c3260bb49587dccbd23a94a195ccad74ecd7 [INFO] checking dorritydj/rubiks-solver against master#0c478fdfe138a8b09744798c85fe2be657768b00 for pr-139419 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdorritydj%2Frubiks-solver" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dorritydj/rubiks-solver on toolchain 0c478fdfe138a8b09744798c85fe2be657768b00 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c478fdfe138a8b09744798c85fe2be657768b00" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dorritydj/rubiks-solver [INFO] finished tweaking git repo https://github.com/dorritydj/rubiks-solver [INFO] tweaked toml for git repo https://github.com/dorritydj/rubiks-solver written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dorritydj/rubiks-solver 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" "+0c478fdfe138a8b09744798c85fe2be657768b00" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c478fdfe138a8b09744798c85fe2be657768b00" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 399b443342f4176440aec860daf58cf994790c8a07a773445b4d98c9a1b0162a [INFO] running `Command { std: "docker" "start" "-a" "399b443342f4176440aec860daf58cf994790c8a07a773445b4d98c9a1b0162a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "399b443342f4176440aec860daf58cf994790c8a07a773445b4d98c9a1b0162a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "399b443342f4176440aec860daf58cf994790c8a07a773445b4d98c9a1b0162a", kill_on_drop: false }` [INFO] [stdout] 399b443342f4176440aec860daf58cf994790c8a07a773445b4d98c9a1b0162a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c478fdfe138a8b09744798c85fe2be657768b00" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2f916dda4f46c282b2fdaadee3f8f2be54719c11386c262fbeaf4a2585db926 [INFO] running `Command { std: "docker" "start" "-a" "f2f916dda4f46c282b2fdaadee3f8f2be54719c11386c262fbeaf4a2585db926", kill_on_drop: false }` [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking rubiks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib/colors.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut is_opposite; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `face` [INFO] [stdout] --> src/lib/cube.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | for face in faces.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_face` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib/colors.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut is_opposite; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `corners` [INFO] [stdout] --> src/lib/face.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let corners = Self::add_corners(&color, &adjacencies); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_corners` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/lib/face.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | for (index, &adj) in adjacencies.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `adj` [INFO] [stdout] --> src/lib/face.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | for (index, &adj) in adjacencies.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_adj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/lib/face.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | fn add_corners(color: &Colors, adjacencies: &Vec<&Colors>) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib/face.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut corners: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color` and `corners` are never read [INFO] [stdout] --> src/lib/corner.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Corner { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | color: Colors, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | corners: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Corner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color` and `edge` are never read [INFO] [stdout] --> src/lib/edge.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Edge { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | color: Colors, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | edge: Colors, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Edge` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `face` [INFO] [stdout] --> src/lib/cube.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | for face in faces.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_face` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `edges` is never read [INFO] [stdout] --> src/lib/face.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Face<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | edges: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Face` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `corners` [INFO] [stdout] --> src/lib/face.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let corners = Self::add_corners(&color, &adjacencies); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_corners` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/lib/face.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | for (index, &adj) in adjacencies.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `adj` [INFO] [stdout] --> src/lib/face.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | for (index, &adj) in adjacencies.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_adj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/lib/face.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | fn add_corners(color: &Colors, adjacencies: &Vec<&Colors>) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib/face.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut corners: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color` and `corners` are never read [INFO] [stdout] --> src/lib/corner.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Corner { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | color: Colors, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | corners: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Corner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color` and `edge` are never read [INFO] [stdout] --> src/lib/edge.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Edge { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | color: Colors, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | edge: Colors, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Edge` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `edges` is never read [INFO] [stdout] --> src/lib/face.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Face<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | edges: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Face` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "f2f916dda4f46c282b2fdaadee3f8f2be54719c11386c262fbeaf4a2585db926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2f916dda4f46c282b2fdaadee3f8f2be54719c11386c262fbeaf4a2585db926", kill_on_drop: false }` [INFO] [stdout] f2f916dda4f46c282b2fdaadee3f8f2be54719c11386c262fbeaf4a2585db926