[INFO] updating cached repository https://github.com/ddrcoder/aoc2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92e30a4c0b56f019a7761a06abf80d48afa0f6cd [INFO] checking ddrcoder/aoc2021/92e30a4c0b56f019a7761a06abf80d48afa0f6cd against try#de0e80659cee4f27282e60d63bbb8c5271a0d147 for pr-129392 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddrcoder%2Faoc2021" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ddrcoder/aoc2021 on toolchain de0e80659cee4f27282e60d63bbb8c5271a0d147 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+de0e80659cee4f27282e60d63bbb8c5271a0d147" "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-5-tc2/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" "+de0e80659cee4f27282e60d63bbb8c5271a0d147" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+de0e80659cee4f27282e60d63bbb8c5271a0d147" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c2647f1030060061f4e2506d685bb5f721072efa0d16595877a87cede188353 [INFO] running `Command { std: "docker" "start" "-a" "5c2647f1030060061f4e2506d685bb5f721072efa0d16595877a87cede188353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c2647f1030060061f4e2506d685bb5f721072efa0d16595877a87cede188353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c2647f1030060061f4e2506d685bb5f721072efa0d16595877a87cede188353", kill_on_drop: false }` [INFO] [stdout] 5c2647f1030060061f4e2506d685bb5f721072efa0d16595877a87cede188353 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+de0e80659cee4f27282e60d63bbb8c5271a0d147" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1909ad2e1d40236f4a86e973b7f9ab91be8c46de563fb85827e9607f0cfcd44e [INFO] running `Command { std: "docker" "start" "-a" "1909ad2e1d40236f4a86e973b7f9ab91be8c46de563fb85827e9607f0cfcd44e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking stride v0.2.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking ndarray v0.15.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking scan_fmt v0.2.6 [INFO] [stderr] Compiling proc-macro-error v1.0.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: `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: `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: `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: `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: `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 14.20s [INFO] running `Command { std: "docker" "inspect" "1909ad2e1d40236f4a86e973b7f9ab91be8c46de563fb85827e9607f0cfcd44e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1909ad2e1d40236f4a86e973b7f9ab91be8c46de563fb85827e9607f0cfcd44e", kill_on_drop: false }` [INFO] [stdout] 1909ad2e1d40236f4a86e973b7f9ab91be8c46de563fb85827e9607f0cfcd44e