[INFO] cloning repository https://github.com/robinohs/2023-advent-of-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robinohs/2023-advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinohs%2F2023-advent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinohs%2F2023-advent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bfd1c57351d860240741c5847fa5cb0e7adbcaf8 [INFO] checking robinohs/2023-advent-of-code against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinohs%2F2023-advent-of-code" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/robinohs/2023-advent-of-code [INFO] finished tweaking git repo https://github.com/robinohs/2023-advent-of-code [INFO] tweaked toml for git repo https://github.com/robinohs/2023-advent-of-code written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/robinohs/2023-advent-of-code on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/robinohs/2023-advent-of-code 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hash v0.3.0 [INFO] [stderr] Downloaded prev-iter v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbe5bdee8133fbc7296c371c1e771f4d9420dd2a4710cf45cffdcc1d6dd6a716 [INFO] running `Command { std: "docker" "start" "-a" "bbe5bdee8133fbc7296c371c1e771f4d9420dd2a4710cf45cffdcc1d6dd6a716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbe5bdee8133fbc7296c371c1e771f4d9420dd2a4710cf45cffdcc1d6dd6a716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbe5bdee8133fbc7296c371c1e771f4d9420dd2a4710cf45cffdcc1d6dd6a716", kill_on_drop: false }` [INFO] [stdout] bbe5bdee8133fbc7296c371c1e771f4d9420dd2a4710cf45cffdcc1d6dd6a716 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ffe7aa8a3bdb91747307e0f3aa867a6dc1f1726159a3d30b885e5bb7122cc5a [INFO] running `Command { std: "docker" "start" "-a" "0ffe7aa8a3bdb91747307e0f3aa867a6dc1f1726159a3d30b885e5bb7122cc5a", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking hash v0.3.0 [INFO] [stderr] Checking prev-iter v0.1.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `max` [INFO] [stdout] --> src/d4/second.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | cmp::{max, min}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp::max` [INFO] [stdout] --> src/d4/first.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::max, error::Error}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp::max` [INFO] [stdout] --> src/d4/first.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::max, error::Error}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `max` [INFO] [stdout] --> src/d4/second.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | cmp::{max, min}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_symbol_at` is never used [INFO] [stdout] --> src/d3/data.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Line { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn has_symbol_at(&self, pos: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `possible` is never used [INFO] [stdout] --> src/d2/data.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Set { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | fn possible(&self, red: u32, green: u32, blue: u32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/d2/data.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 40 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_possible` is never used [INFO] [stdout] --> src/d2/data.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn is_possible(&self, red: u32, green: u32, blue: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw` is never read [INFO] [stdout] --> src/d3/data.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Symbol { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 50 | pub raw: char, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` 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: method `get_number_at` is never used [INFO] [stdout] --> src/d3/data.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Line { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn get_number_at(&self, pos: usize) -> Option<&Number> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/d4/data.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Card { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 7 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Card` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_symbol_at` is never used [INFO] [stdout] --> src/d3/data.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Line { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn has_symbol_at(&self, pos: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `power` is never used [INFO] [stdout] --> src/d2/data.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn power(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `possible` is never used [INFO] [stdout] --> src/d2/data.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Set { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | fn possible(&self, red: u32, green: u32, blue: u32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/d2/data.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 40 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_possible` is never used [INFO] [stdout] --> src/d2/data.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn is_possible(&self, red: u32, green: u32, blue: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw` is never read [INFO] [stdout] --> src/d3/data.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Symbol { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 50 | pub raw: char, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` 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: method `get_number_at` is never used [INFO] [stdout] --> src/d3/data.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Line { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn get_number_at(&self, pos: usize) -> Option<&Number> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `power` is never used [INFO] [stdout] --> src/d2/data.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn power(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/d4/data.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Card { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 7 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Card` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.75s [INFO] running `Command { std: "docker" "inspect" "0ffe7aa8a3bdb91747307e0f3aa867a6dc1f1726159a3d30b885e5bb7122cc5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ffe7aa8a3bdb91747307e0f3aa867a6dc1f1726159a3d30b885e5bb7122cc5a", kill_on_drop: false }` [INFO] [stdout] 0ffe7aa8a3bdb91747307e0f3aa867a6dc1f1726159a3d30b885e5bb7122cc5a