[INFO] cloning repository https://github.com/erichoswald/aoc2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erichoswald/aoc2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferichoswald%2Faoc2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferichoswald%2Faoc2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 209ed7a6bf0f04310d92aa3be757ab6a75782e93 [INFO] checking erichoswald/aoc2024 against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferichoswald%2Faoc2024" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/erichoswald/aoc2024 [INFO] finished tweaking git repo https://github.com/erichoswald/aoc2024 [INFO] tweaked toml for git repo https://github.com/erichoswald/aoc2024 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/erichoswald/aoc2024 on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/erichoswald/aoc2024 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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking erichoswald/aoc2024 against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferichoswald%2Faoc2024" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/erichoswald/aoc2024 [INFO] finished tweaking git repo https://github.com/erichoswald/aoc2024 [INFO] tweaked toml for git repo https://github.com/erichoswald/aoc2024 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/erichoswald/aoc2024 on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/erichoswald/aoc2024 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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d89c9ba86710e7c98741675f84c345a5025f08b196797e9366a35ba08702867 [INFO] running `Command { std: "docker" "start" "-a" "7d89c9ba86710e7c98741675f84c345a5025f08b196797e9366a35ba08702867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d89c9ba86710e7c98741675f84c345a5025f08b196797e9366a35ba08702867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d89c9ba86710e7c98741675f84c345a5025f08b196797e9366a35ba08702867", kill_on_drop: false }` [INFO] [stdout] 7d89c9ba86710e7c98741675f84c345a5025f08b196797e9366a35ba08702867 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23885666536db39601b74166f0b8aa3239d377d29d76944eb48a9416d24ec7ae [INFO] running `Command { std: "docker" "start" "-a" "23885666536db39601b74166f0b8aa3239d377d29d76944eb48a9416d24ec7ae", kill_on_drop: false }` [INFO] [stderr] Checking aoc2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/bin/../../inputs/sample10.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day10.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | let sample = include_str!("../../inputs/sample10.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day10.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day10.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let input = include_str!("../../inputs/day10.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/sample02.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day02.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | let sample = include_str!("../../inputs/sample02.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day02.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day02.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | let input = include_str!("../../inputs/day02.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/sample05.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day05.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | let sample = include_str!("../../inputs/sample05.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day05.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day05.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let input = include_str!("../../inputs/day05.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/sample15.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day15.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | let sample = include_str!("../../inputs/sample15.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day15.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day15.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let input = include_str!("../../inputs/day15.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/sample25.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day25.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | let sample = include_str!("../../inputs/sample25.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day25.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day25.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let input = include_str!("../../inputs/day25.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/sample09.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day09.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | let sample = include_str!("../../inputs/sample09.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day09.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day09.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | let input = include_str!("../../inputs/day09.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/sample14.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day14.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | let sample = include_str!("../../inputs/sample14.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day14.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day14.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let input = include_str!("../../inputs/day14.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/sample02.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day02.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | let sample = include_str!("../../inputs/sample02.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day02.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day02.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | let input = include_str!("../../inputs/day02.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/sample09.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day09.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | let sample = include_str!("../../inputs/sample09.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day09.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day09.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | let input = include_str!("../../inputs/day09.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/sample03_01.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day03.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | let sample01 = include_str!("../../inputs/sample03_01.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/sample03_02.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day03.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | let sample02 = include_str!("../../inputs/sample03_02.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/sample13.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day13.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | let sample = include_str!("../../inputs/sample13.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day03.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day03.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let input = include_str!("../../inputs/day03.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day13.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day13.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let input = include_str!("../../inputs/day13.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/sample24_1.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day24.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | let sample = include_str!("../../inputs/sample24_1.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/sample24_2.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day24.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let sample = include_str!("../../inputs/sample24_2.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day24.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day24.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let input = include_str!("../../inputs/day24.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/sample03_01.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day03.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | let sample01 = include_str!("../../inputs/sample03_01.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/sample03_02.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day03.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | let sample02 = include_str!("../../inputs/sample03_02.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day03.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day03.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let input = include_str!("../../inputs/day03.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/sample08.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day08.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | let sample = include_str!("../../inputs/sample08.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day08.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day08.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let input = include_str!("../../inputs/day08.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/bin/day09.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | while (segments[source_index].0 != id) { [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] 66 - while (segments[source_index].0 != id) { [INFO] [stdout] 66 + while segments[source_index].0 != id { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/bin/day09.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | ...le (target_index < segments.len() && (segments[target_index].0 >= 0 || segments[target_index].1 + len > segments[target_index].2)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - while (target_index < segments.len() && (segments[target_index].0 >= 0 || segments[target_index].1 + len > segments[target_index].2)) { [INFO] [stdout] 72 + while target_index < segments.len() && (segments[target_index].0 >= 0 || segments[target_index].1 + len > segments[target_index].2) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day09.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | if (target_index < segments.len() && segments[target_index].1 < source.1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - if (target_index < segments.len() && segments[target_index].1 < source.1) { [INFO] [stdout] 75 + if target_index < segments.len() && segments[target_index].1 < source.1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day09.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | if (rest > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 81 - if (rest > 0) { [INFO] [stdout] 81 + if rest > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day09.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | if (i < blocks.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - if (i < blocks.len()) { [INFO] [stdout] 95 + if i < blocks.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day09.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | if (*id >= 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 105 - if (*id >= 0) { [INFO] [stdout] 105 + if *id >= 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/bin/day09.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | while (segments[source_index].0 != id) { [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] 66 - while (segments[source_index].0 != id) { [INFO] [stdout] 66 + while segments[source_index].0 != id { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/bin/day09.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | ...le (target_index < segments.len() && (segments[target_index].0 >= 0 || segments[target_index].1 + len > segments[target_index].2)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - while (target_index < segments.len() && (segments[target_index].0 >= 0 || segments[target_index].1 + len > segments[target_index].2)) { [INFO] [stdout] 72 + while target_index < segments.len() && (segments[target_index].0 >= 0 || segments[target_index].1 + len > segments[target_index].2) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day09.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | if (target_index < segments.len() && segments[target_index].1 < source.1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - if (target_index < segments.len() && segments[target_index].1 < source.1) { [INFO] [stdout] 75 + if target_index < segments.len() && segments[target_index].1 < source.1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day09.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | if (rest > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 81 - if (rest > 0) { [INFO] [stdout] 81 + if rest > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day09.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | if (i < blocks.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - if (i < blocks.len()) { [INFO] [stdout] 95 + if i < blocks.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day09.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | if (*id >= 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 105 - if (*id >= 0) { [INFO] [stdout] 105 + if *id >= 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/sample25.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day25.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | let sample = include_str!("../../inputs/sample25.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2024` (bin "day10" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day25.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day25.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let input = include_str!("../../inputs/day25.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2024` (bin "day15") due to 2 previous errors [INFO] [stderr] error: could not compile `aoc2024` (bin "day02") due to 2 previous errors [INFO] [stdout] error: couldn't read `src/bin/../../inputs/sample21.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day21.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | let sample = include_str!("../../inputs/sample21.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day21.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day21.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let input = include_str!("../../inputs/day21.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2024` (bin "day05" test) due to 2 previous errors [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day09.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let mut bytes: Vec = first_line.chars().map(|c| c.to_digit(10).unwrap() as i32).collect(); [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/bin/day09.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let mut bytes: Vec = first_line.chars().map(|c| c.to_digit(10).unwrap() as i32).collect(); [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] [stderr] error: could not compile `aoc2024` (bin "day08" test) due to 2 previous errors [INFO] [stderr] error: could not compile `aoc2024` (bin "day02" test) due to 2 previous errors [INFO] [stderr] error: could not compile `aoc2024` (bin "day25" test) due to 2 previous errors [INFO] [stderr] error: could not compile `aoc2024` (bin "day25") due to 2 previous errors [INFO] [stderr] error: could not compile `aoc2024` (bin "day09") due to 2 previous errors; 7 warnings emitted [INFO] [stderr] error: could not compile `aoc2024` (bin "day09" test) due to 2 previous errors; 7 warnings emitted [INFO] [stderr] error: could not compile `aoc2024` (bin "day03") due to 3 previous errors [INFO] [stderr] error: could not compile `aoc2024` (bin "day03" test) due to 3 previous errors [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/day21.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::Itertools; [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::ops::Add` [INFO] [stdout] --> src/bin/day21.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2024` (bin "day13" test) due to 2 previous errors [INFO] [stderr] error: could not compile `aoc2024` (bin "day14") due to 2 previous errors [INFO] [stderr] error: could not compile `aoc2024` (bin "day21") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] error: could not compile `aoc2024` (bin "day24") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "23885666536db39601b74166f0b8aa3239d377d29d76944eb48a9416d24ec7ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23885666536db39601b74166f0b8aa3239d377d29d76944eb48a9416d24ec7ae", kill_on_drop: false }` [INFO] [stdout] 23885666536db39601b74166f0b8aa3239d377d29d76944eb48a9416d24ec7ae