[INFO] cloning repository https://github.com/JamesIAm/advent_of_code_2025
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JamesIAm/advent_of_code_2025" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesIAm%2Fadvent_of_code_2025", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesIAm%2Fadvent_of_code_2025'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6db1e8ec531cac9f9beac476cdb8958198f4a74e
[INFO] checking JamesIAm/advent_of_code_2025 against e977a0b5ab976a591981e7263bd67a71a4f79308 for pr-158914
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesIAm%2Fadvent_of_code_2025" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JamesIAm/advent_of_code_2025
[INFO] finished tweaking git repo https://github.com/JamesIAm/advent_of_code_2025
[INFO] tweaked toml for git repo https://github.com/JamesIAm/advent_of_code_2025 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JamesIAm/advent_of_code_2025 on toolchain e977a0b5ab976a591981e7263bd67a71a4f79308
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JamesIAm/advent_of_code_2025 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" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 22fa277fb9efdfadde13c590f0c48af47f5c133ac7f729c42b0cf86259971185
[INFO] running `Command { std: "docker" "start" "22fa277fb9efdfadde13c590f0c48af47f5c133ac7f729c42b0cf86259971185", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "22fa277fb9efdfadde13c590f0c48af47f5c133ac7f729c42b0cf86259971185", 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" "22fa277fb9efdfadde13c590f0c48af47f5c133ac7f729c42b0cf86259971185" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "22fa277fb9efdfadde13c590f0c48af47f5c133ac7f729c42b0cf86259971185", 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" "22fa277fb9efdfadde13c590f0c48af47f5c133ac7f729c42b0cf86259971185" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking advent_of_code_2025 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/day6.rs:58:20
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 if (operator_or_space.is_none()) {
[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] 58 -                 if (operator_or_space.is_none()) {
[INFO] [stdout] 58 +                 if operator_or_space.is_none() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]  --> src/day7.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::any::Any;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/day7.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/day7.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/day6.rs:58:20
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 if (operator_or_space.is_none()) {
[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] 58 -                 if (operator_or_space.is_none()) {
[INFO] [stdout] 58 +                 if operator_or_space.is_none() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::Chars`
[INFO] [stdout]   --> src/day7.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::str::Chars;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/day7.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 |         if (x > 0) {
[INFO] [stdout]    |            ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 51 -         if (x > 0) {
[INFO] [stdout] 51 +         if x > 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]  --> src/day7.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::any::Any;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/day7.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/day7.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::Chars`
[INFO] [stdout]   --> src/day7.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::str::Chars;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/day7.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 |         if (x > 0) {
[INFO] [stdout]    |            ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 51 -         if (x > 0) {
[INFO] [stdout] 51 +         if x > 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `column_total` is never read
[INFO] [stdout]   --> src/day6.rs:20:39
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let mut column_total: usize = 0;
[INFO] [stdout]    |                                       ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 24 |             column_total = numbers.iter().fold(1, |acc, x| acc * x);
[INFO] [stdout]    |             ------------------------------------------------------- `column_total` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `column_total` is never read
[INFO] [stdout]   --> src/day6.rs:20:39
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let mut column_total: usize = 0;
[INFO] [stdout]    |                                       ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 24 |             column_total = numbers.iter().fold(1, |acc, x| acc * x);
[INFO] [stdout]    |             ------------------------------------------------------- `column_total` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] running `Command { std: "docker" "inspect" "22fa277fb9efdfadde13c590f0c48af47f5c133ac7f729c42b0cf86259971185", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "22fa277fb9efdfadde13c590f0c48af47f5c133ac7f729c42b0cf86259971185", kill_on_drop: false }`
[INFO] [stdout] 22fa277fb9efdfadde13c590f0c48af47f5c133ac7f729c42b0cf86259971185
