[INFO] cloning repository https://github.com/lunarised/AdventOfCode2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lunarised/AdventOfCode2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flunarised%2FAdventOfCode2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flunarised%2FAdventOfCode2024'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flunarised%2FAdventOfCode2024: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/lunarised/AdventOfCode2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lunarised/AdventOfCode2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flunarised%2FAdventOfCode2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flunarised%2FAdventOfCode2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e52895160a60144eb972414ea6e31dc36b4b8229 [INFO] checking lunarised/AdventOfCode2024 against master#f21fbac535ab2c3bc50db20547f4d48477357103 for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flunarised%2FAdventOfCode2024" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lunarised/AdventOfCode2024 [INFO] finished tweaking git repo https://github.com/lunarised/AdventOfCode2024 [INFO] tweaked toml for git repo https://github.com/lunarised/AdventOfCode2024 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lunarised/AdventOfCode2024 on toolchain f21fbac535ab2c3bc50db20547f4d48477357103 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lunarised/AdventOfCode2024 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" "+f21fbac535ab2c3bc50db20547f4d48477357103" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e4b13371693f0f885d18600f69c29224bb19ff638e112a643844db486d3aa1e [INFO] running `Command { std: "docker" "start" "-a" "2e4b13371693f0f885d18600f69c29224bb19ff638e112a643844db486d3aa1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e4b13371693f0f885d18600f69c29224bb19ff638e112a643844db486d3aa1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e4b13371693f0f885d18600f69c29224bb19ff638e112a643844db486d3aa1e", kill_on_drop: false }` [INFO] [stdout] 2e4b13371693f0f885d18600f69c29224bb19ff638e112a643844db486d3aa1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4d85bb3627656075c084534e57c911d4e9558729e70b5e74298251a1a2ad7f4 [INFO] running `Command { std: "docker" "start" "-a" "d4d85bb3627656075c084534e57c911d4e9558729e70b5e74298251a1a2ad7f4", kill_on_drop: false }` [INFO] [stderr] Checking AoC2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::error` [INFO] [stdout] --> src/day02.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/day02.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | while(safe){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - while(safe){ [INFO] [stdout] 48 + while safe { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/day02.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | match (new_value) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - match (new_value) { [INFO] [stdout] 50 + match new_value { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day02.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | if (new_value_int > last && direction == 0) {direction = 1;} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - if (new_value_int > last && direction == 0) {direction = 1;} [INFO] [stdout] 58 + if new_value_int > last && direction == 0 {direction = 1;} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day02.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | if (new_value_int < last && direction == 0) {direction = -1;} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - if (new_value_int < last && direction == 0) {direction = -1;} [INFO] [stdout] 59 + if new_value_int < last && direction == 0 {direction = -1;} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day02.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | if (new_value_int > last && direction == -1) {return false} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 62 - if (new_value_int > last && direction == -1) {return false} [INFO] [stdout] 62 + if new_value_int > last && direction == -1 {return false} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day02.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | if (new_value_int < last && direction == 1) {return false} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - if (new_value_int < last && direction == 1) {return false} [INFO] [stdout] 63 + if new_value_int < last && direction == 1 {return false} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day02.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | if ((new_value_int - last).abs() > 3) { return false;} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - if ((new_value_int - last).abs() > 3) { return false;} [INFO] [stdout] 65 + if (new_value_int - last).abs() > 3 { return false;} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/day02.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | return (check_safe(left_remove) || check_safe(right_remove)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 115 - return (check_safe(left_remove) || check_safe(right_remove)); [INFO] [stdout] 115 + return check_safe(left_remove) || check_safe(right_remove); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/day02.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | return (check_safe(left_remove) || check_safe(right_remove)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - return (check_safe(left_remove) || check_safe(right_remove)); [INFO] [stdout] 127 + return check_safe(left_remove) || check_safe(right_remove); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::error` [INFO] [stdout] --> src/day02.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/day02.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | while(safe){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - while(safe){ [INFO] [stdout] 48 + while safe { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/day02.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | match (new_value) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - match (new_value) { [INFO] [stdout] 50 + match new_value { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day02.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | if (new_value_int > last && direction == 0) {direction = 1;} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - if (new_value_int > last && direction == 0) {direction = 1;} [INFO] [stdout] 58 + if new_value_int > last && direction == 0 {direction = 1;} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day02.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | if (new_value_int < last && direction == 0) {direction = -1;} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - if (new_value_int < last && direction == 0) {direction = -1;} [INFO] [stdout] 59 + if new_value_int < last && direction == 0 {direction = -1;} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day02.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | if (new_value_int > last && direction == -1) {return false} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 62 - if (new_value_int > last && direction == -1) {return false} [INFO] [stdout] 62 + if new_value_int > last && direction == -1 {return false} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day02.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | if (new_value_int < last && direction == 1) {return false} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - if (new_value_int < last && direction == 1) {return false} [INFO] [stdout] 63 + if new_value_int < last && direction == 1 {return false} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day02.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | if ((new_value_int - last).abs() > 3) { return false;} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - if ((new_value_int - last).abs() > 3) { return false;} [INFO] [stdout] 65 + if (new_value_int - last).abs() > 3 { return false;} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/day02.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | return (check_safe(left_remove) || check_safe(right_remove)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 115 - return (check_safe(left_remove) || check_safe(right_remove)); [INFO] [stdout] 115 + return check_safe(left_remove) || check_safe(right_remove); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/day02.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | return (check_safe(left_remove) || check_safe(right_remove)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - return (check_safe(left_remove) || check_safe(right_remove)); [INFO] [stdout] 127 + return check_safe(left_remove) || check_safe(right_remove); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day02.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut values = line.split_whitespace(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_value` [INFO] [stdout] --> src/day02.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | Some(new_value) => {} , [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day02.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut safe = true; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `error_index` is never read [INFO] [stdout] --> src/day02.rs:110:30 [INFO] [stdout] | [INFO] [stdout] 110 | if direction == -1 { error_index = i as i32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `error_index` is never read [INFO] [stdout] --> src/day02.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | if direction == 1 {error_index = i as i32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day02.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut values = line.split_whitespace(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_value` [INFO] [stdout] --> src/day02.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | Some(new_value) => {} , [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day02.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut safe = true; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `error_index` is never read [INFO] [stdout] --> src/day02.rs:110:30 [INFO] [stdout] | [INFO] [stdout] 110 | if direction == -1 { error_index = i as i32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `error_index` is never read [INFO] [stdout] --> src/day02.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | if direction == 1 {error_index = i as i32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "d4d85bb3627656075c084534e57c911d4e9558729e70b5e74298251a1a2ad7f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4d85bb3627656075c084534e57c911d4e9558729e70b5e74298251a1a2ad7f4", kill_on_drop: false }` [INFO] [stdout] d4d85bb3627656075c084534e57c911d4e9558729e70b5e74298251a1a2ad7f4