[INFO] cloning repository https://github.com/CrazyMageRainy/Advent-of-code-2024
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CrazyMageRainy/Advent-of-code-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrazyMageRainy%2FAdvent-of-code-2024", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrazyMageRainy%2FAdvent-of-code-2024'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2dc16b8255cdc8c2dcab8568da7795912b0b0c6d
[INFO] checking CrazyMageRainy/Advent-of-code-2024 against 79c0559184f27f4433a6fbc260b950d06d4a4889 for pr-162233-crater-rollup
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrazyMageRainy%2FAdvent-of-code-2024" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/CrazyMageRainy/Advent-of-code-2024
[INFO] finished tweaking git repo https://github.com/CrazyMageRainy/Advent-of-code-2024
[INFO] tweaked toml for git repo https://github.com/CrazyMageRainy/Advent-of-code-2024 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CrazyMageRainy/Advent-of-code-2024 on toolchain 79c0559184f27f4433a6fbc260b950d06d4a4889
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/CrazyMageRainy/Advent-of-code-2024 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" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: binary `Advent-of-code-2024` should have a kebab-case name
[INFO] [stderr]    |
[INFO] [stderr]  1 | /workspace/builds/worker-0-tc2/source/target/.../Advent-of-code-2024
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `advent-of-code-2024`, convert `package.name`
[INFO] [stderr]   --> Cargo.toml:6:8
[INFO] [stderr]    |
[INFO] [stderr]  6 - name = "Advent-of-code-2024"
[INFO] [stderr]  6 + name = "advent-of-code-2024"
[INFO] [stderr]    |
[INFO] [stderr] help: to change the binary name to `advent-of-code-2024`, specify `bin.name`
[INFO] [stderr]   --> Cargo.toml:7:19
[INFO] [stderr]    |
[INFO] [stderr]  7 ~ version = "0.1.0"
[INFO] [stderr]  8 + [[bin]]
[INFO] [stderr]  9 + name = "advent-of-code-2024"
[INFO] [stderr] 10 + path = "src/main.rs"
[INFO] [stderr]    |
[INFO] [stderr] warning: `Advent-of-code-2024` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9e9db85e1941965c748076dbf212d125e19cdbc3a77dcd9fb9eb5a679e57d284
[INFO] running `Command { std: "docker" "start" "9e9db85e1941965c748076dbf212d125e19cdbc3a77dcd9fb9eb5a679e57d284", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9e9db85e1941965c748076dbf212d125e19cdbc3a77dcd9fb9eb5a679e57d284", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9e9db85e1941965c748076dbf212d125e19cdbc3a77dcd9fb9eb5a679e57d284" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9e9db85e1941965c748076dbf212d125e19cdbc3a77dcd9fb9eb5a679e57d284", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9e9db85e1941965c748076dbf212d125e19cdbc3a77dcd9fb9eb5a679e57d284" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: binary `Advent-of-code-2024` should have a kebab-case name
[INFO] [stderr]    |
[INFO] [stderr]  1 | /opt/rustwide/target/.../Advent-of-code-2024
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `advent-of-code-2024`, convert `package.name`
[INFO] [stderr]   --> Cargo.toml:6:8
[INFO] [stderr]    |
[INFO] [stderr]  6 - name = "Advent-of-code-2024"
[INFO] [stderr]  6 + name = "advent-of-code-2024"
[INFO] [stderr]    |
[INFO] [stderr] help: to change the binary name to `advent-of-code-2024`, specify `bin.name`
[INFO] [stderr]   --> Cargo.toml:7:19
[INFO] [stderr]    |
[INFO] [stderr]  7 ~ version = "0.1.0"
[INFO] [stderr]  8 + [[bin]]
[INFO] [stderr]  9 + name = "advent-of-code-2024"
[INFO] [stderr] 10 + path = "src/main.rs"
[INFO] [stderr]    |
[INFO] [stderr] warning: `Advent-of-code-2024` (manifest) generated 1 warning
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking Advent-of-code-2024 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `BufReader`
[INFO] [stdout]  --> src/day_1.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{BufRead, BufReader};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/day_1.rs:53:44
[INFO] [stdout]    |
[INFO] [stdout] 53 |             Some(x) => similarity_score += (x * a),
[INFO] [stdout]    |                                            ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 53 -             Some(x) => similarity_score += (x * a),
[INFO] [stdout] 53 +             Some(x) => similarity_score += x * a,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::VecDeque`
[INFO] [stdout]  --> src/day_3.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::VecDeque;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `day_1::*`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use day_1::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufReader`
[INFO] [stdout]  --> src/day_1.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{BufRead, BufReader};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/day_1.rs:53:44
[INFO] [stdout]    |
[INFO] [stdout] 53 |             Some(x) => similarity_score += (x * a),
[INFO] [stdout]    |                                            ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 53 -             Some(x) => similarity_score += (x * a),
[INFO] [stdout] 53 +             Some(x) => similarity_score += x * a,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::VecDeque`
[INFO] [stdout]  --> src/day_3.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::VecDeque;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `day_1::*`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use day_1::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/day_1.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     return;
[INFO] [stdout]    |     ------ any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 28 |     let mut total = 0;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/day_1.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     return;
[INFO] [stdout]    |     ------ any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 28 |     let mut total = 0;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p_file`
[INFO] [stdout]  --> src/day_1.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let p_file = File::open("./puzzle-input/day1.txt").unwrap();
[INFO] [stdout]   |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_file`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/day_1.rs:49:41
[INFO] [stdout]    |
[INFO] [stdout] 49 |         right_nums.entry(b).and_modify(|mut amount| *amount += 1).or_insert(1);
[INFO] [stdout]    |                                         ----^^^^^^
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p_file`
[INFO] [stdout]  --> src/day_1.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let p_file = File::open("./puzzle-input/day1.txt").unwrap();
[INFO] [stdout]   |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_file`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/day_1.rs:49:41
[INFO] [stdout]    |
[INFO] [stdout] 49 |         right_nums.entry(b).and_modify(|mut amount| *amount += 1).or_insert(1);
[INFO] [stdout]    |                                         ----^^^^^^
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/day_4.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut total = 0;
[INFO] [stdout]   |         ----^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/day_4.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut total = 0;
[INFO] [stdout]   |         ----^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total`
[INFO] [stdout]  --> src/day_4.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut total = 0;
[INFO] [stdout]   |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total`
[INFO] [stdout]  --> src/day_4.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut total = 0;
[INFO] [stdout]   |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `day`
[INFO] [stdout]   --> src/main.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 |             let day = format!("day_{}::main", x);
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_day`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `day`
[INFO] [stdout]   --> src/main.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 |             let day = format!("day_{}::main", x);
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_day`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/main.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |         Ok(x) => {
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/main.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |         Ok(x) => {
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/day_2.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn main() {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Dir` is never used
[INFO] [stdout]   --> src/day_2.rs:40:6
[INFO] [stdout]    |
[INFO] [stdout] 40 | enum Dir {
[INFO] [stdout]    |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/day_3.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn main() {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first` is never used
[INFO] [stdout]  --> src/day_4.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn first () {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `right` is never used
[INFO] [stdout]   --> src/day_4.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn right () {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `down` is never used
[INFO] [stdout]   --> src/day_4.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn down() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/day_2.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn main() {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Dir` is never used
[INFO] [stdout]   --> src/day_2.rs:40:6
[INFO] [stdout]    |
[INFO] [stdout] 40 | enum Dir {
[INFO] [stdout]    |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/day_3.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn main() {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first` is never used
[INFO] [stdout]  --> src/day_4.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn first () {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `right` is never used
[INFO] [stdout]   --> src/day_4.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn right () {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `down` is never used
[INFO] [stdout]   --> src/day_4.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn down() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.77s
[INFO] running `Command { std: "docker" "inspect" "9e9db85e1941965c748076dbf212d125e19cdbc3a77dcd9fb9eb5a679e57d284", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e9db85e1941965c748076dbf212d125e19cdbc3a77dcd9fb9eb5a679e57d284", kill_on_drop: false }`
[INFO] [stdout] 9e9db85e1941965c748076dbf212d125e19cdbc3a77dcd9fb9eb5a679e57d284
