[INFO] cloning repository https://github.com/ddrcoder/aoc2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddrcoder/aoc2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrcoder%2Faoc2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrcoder%2Faoc2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92e30a4c0b56f019a7761a06abf80d48afa0f6cd [INFO] checking ddrcoder/aoc2021/92e30a4c0b56f019a7761a06abf80d48afa0f6cd against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrcoder%2Faoc2021" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ddrcoder/aoc2021 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ddrcoder/aoc2021 [INFO] finished tweaking git repo https://github.com/ddrcoder/aoc2021 [INFO] tweaked toml for git repo https://github.com/ddrcoder/aoc2021 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ddrcoder/aoc2021 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stride v0.2.0 [INFO] [stderr] Downloaded vectrix-macro v0.2.0 [INFO] [stderr] Downloaded vectrix v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c862b8a2c59ec050fe16fe7985f4a0dc56315bcb86f41e0dfa73caf2d3a30bed [INFO] running `Command { std: "docker" "start" "-a" "c862b8a2c59ec050fe16fe7985f4a0dc56315bcb86f41e0dfa73caf2d3a30bed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c862b8a2c59ec050fe16fe7985f4a0dc56315bcb86f41e0dfa73caf2d3a30bed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c862b8a2c59ec050fe16fe7985f4a0dc56315bcb86f41e0dfa73caf2d3a30bed", kill_on_drop: false }` [INFO] [stdout] c862b8a2c59ec050fe16fe7985f4a0dc56315bcb86f41e0dfa73caf2d3a30bed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a565d894e80500d2b82d27c2ad6b0a546b31d7c92a14c51e1a37dee3b979efe5 [INFO] running `Command { std: "docker" "start" "-a" "a565d894e80500d2b82d27c2ad6b0a546b31d7c92a14c51e1a37dee3b979efe5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking stride v0.2.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking os_str_bytes v4.2.0 [INFO] [stderr] Checking scan_fmt v0.2.6 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking ndarray v0.15.4 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Compiling vectrix-macro v0.2.0 [INFO] [stderr] Checking vectrix v0.2.0 [INFO] [stderr] Checking clap v3.0.0-beta.5 [INFO] [stderr] Checking aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> src/main.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use std::cmp::{max, min, Ordering}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::VecDeque` [INFO] [stdout] --> src/main.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{collections::VecDeque, fmt::Debug}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::Array` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use ndarray::Array; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Captures` and `Regex` [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use regex::{Captures, Regex}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> src/main.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use std::cmp::{max, min, Ordering}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::VecDeque` [INFO] [stdout] --> src/main.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{collections::VecDeque, fmt::Debug}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::Array` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use ndarray::Array; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Captures` and `Regex` [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use regex::{Captures, Regex}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | for s in 0..d { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | for s in 0..d { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/main.rs:737:13 [INFO] [stdout] | [INFO] [stdout] 737 | let version = read(i, bits, 3); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/main.rs:769:22 [INFO] [stdout] | [INFO] [stdout] 769 | let (op, r) = match a { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/main.rs:737:13 [INFO] [stdout] | [INFO] [stdout] 737 | let version = read(i, bits, 3); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/main.rs:769:22 [INFO] [stdout] | [INFO] [stdout] 769 | let (op, r) = match a { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:1501:25 [INFO] [stdout] | [INFO] [stdout] 1501 | while let Some((i, cost)) = (0..self.pods.len()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/main.rs:1501:28 [INFO] [stdout] | [INFO] [stdout] 1501 | while let Some((i, cost)) = (0..self.pods.len()) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/main.rs:1482:29 [INFO] [stdout] | [INFO] [stdout] 1482 | if let Some(j) = caves.grid[p] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:1501:25 [INFO] [stdout] | [INFO] [stdout] 1501 | while let Some((i, cost)) = (0..self.pods.len()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/main.rs:1501:28 [INFO] [stdout] | [INFO] [stdout] 1501 | while let Some((i, cost)) = (0..self.pods.len()) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/main.rs:1482:29 [INFO] [stdout] | [INFO] [stdout] 1482 | if let Some(j) = caves.grid[p] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `groups` [INFO] [stdout] --> src/main.rs:1541:26 [INFO] [stdout] | [INFO] [stdout] 1541 | fn day23(lines: &[&str], groups: &[&[&str]], gold: bool) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_groups` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `groups` [INFO] [stdout] --> src/main.rs:1541:26 [INFO] [stdout] | [INFO] [stdout] 1541 | fn day23(lines: &[&str], groups: &[&[&str]], gold: bool) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_groups` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/main.rs:1623:14 [INFO] [stdout] | [INFO] [stdout] 1623 | for (ip, code) in program.iter().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/main.rs:1623:14 [INFO] [stdout] | [INFO] [stdout] 1623 | for (ip, code) in program.iter().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n` is never read [INFO] [stdout] --> src/main.rs:1022:5 [INFO] [stdout] | [INFO] [stdout] 1019 | struct Scanner { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1022 | n: usize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Scanner` has a derived impl for the trait `Clone`, 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: field `n` is never read [INFO] [stdout] --> src/main.rs:1022:5 [INFO] [stdout] | [INFO] [stdout] 1019 | struct Scanner { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1022 | n: usize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Scanner` has a derived impl for the trait `Clone`, 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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.22s [INFO] running `Command { std: "docker" "inspect" "a565d894e80500d2b82d27c2ad6b0a546b31d7c92a14c51e1a37dee3b979efe5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a565d894e80500d2b82d27c2ad6b0a546b31d7c92a14c51e1a37dee3b979efe5", kill_on_drop: false }` [INFO] [stdout] a565d894e80500d2b82d27c2ad6b0a546b31d7c92a14c51e1a37dee3b979efe5