[INFO] cloning repository https://github.com/zaneduffield/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/zaneduffield/advent-of-code-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzaneduffield%2Fadvent-of-code-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzaneduffield%2Fadvent-of-code-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7c22ed3b5c9de886be9f1d35117a9f1469afa02 [INFO] testing zaneduffield/advent-of-code-2024 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzaneduffield%2Fadvent-of-code-2024" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zaneduffield/advent-of-code-2024 [INFO] finished tweaking git repo https://github.com/zaneduffield/advent-of-code-2024 [INFO] tweaked toml for git repo https://github.com/zaneduffield/advent-of-code-2024 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zaneduffield/advent-of-code-2024 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zaneduffield/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gcd v2.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b7e6f4819d7d78278f3ef5e01c5886d05c0b8a2393d10d853707311842c8036 [INFO] running `Command { std: "docker" "start" "-a" "2b7e6f4819d7d78278f3ef5e01c5886d05c0b8a2393d10d853707311842c8036", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b7e6f4819d7d78278f3ef5e01c5886d05c0b8a2393d10d853707311842c8036", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b7e6f4819d7d78278f3ef5e01c5886d05c0b8a2393d10d853707311842c8036", kill_on_drop: false }` [INFO] [stdout] 2b7e6f4819d7d78278f3ef5e01c5886d05c0b8a2393d10d853707311842c8036 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c04fd780ee339a82d864a2ccfefa350cd8c7f24033c1c35b83d9a6456377cfa6 [INFO] running `Command { std: "docker" "start" "-a" "c04fd780ee339a82d864a2ccfefa350cd8c7f24033c1c35b83d9a6456377cfa6", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling advent-of-code-2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/day_04/mod.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn input_generator(input: &str) -> Input { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 5 | pub fn input_generator(input: &str) -> Input<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/day_08/mod.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn input_generator(input: &str) -> Input { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 7 | pub fn input_generator(input: &str) -> Input<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/day_10/mod.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn input_generator(input: &str) -> Input { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 5 | pub fn input_generator(input: &str) -> Input<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/day_12/mod.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn input_generator(input: &str) -> Input { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 5 | pub fn input_generator(input: &str) -> Input<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/2024/day1.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/bin.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | include_str!(concat!("../../input/2024/day", $d, ".txt")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | run_day_with_generator!(day_01, "1"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `run_day_with_generator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/2024/day2.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/bin.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | include_str!(concat!("../../input/2024/day", $d, ".txt")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | run_day_with_generator!(day_02, "2"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `run_day_with_generator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/2024/day3.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/bin.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | include_str!(concat!("../../input/2024/day", $d, ".txt")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | run_day_with_generator!(day_03, "3"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `run_day_with_generator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/2024/day4.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/bin.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | include_str!(concat!("../../input/2024/day", $d, ".txt")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | run_day_with_generator!(day_04, "4"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `run_day_with_generator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/2024/day5.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/bin.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | include_str!(concat!("../../input/2024/day", $d, ".txt")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | run_day_with_generator!(day_05, "5"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `run_day_with_generator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/2024/day6.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/bin.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | include_str!(concat!("../../input/2024/day", $d, ".txt")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | run_day_with_generator!(day_06, "6"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `run_day_with_generator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/2024/day7.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/bin.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | include_str!(concat!("../../input/2024/day", $d, ".txt")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | run_day_with_generator!(day_07, "7"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `run_day_with_generator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/2024/day8.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/bin.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | include_str!(concat!("../../input/2024/day", $d, ".txt")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | run_day_with_generator!(day_08, "8"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `run_day_with_generator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/2024/day9.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/bin.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | include_str!(concat!("../../input/2024/day", $d, ".txt")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | run_day_with_generator!(day_09, "9"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `run_day_with_generator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/2024/day10.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/bin.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | include_str!(concat!("../../input/2024/day", $d, ".txt")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | run_day_with_generator!(day_10, "10"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `run_day_with_generator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/2024/day11.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/bin.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | include_str!(concat!("../../input/2024/day", $d, ".txt")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | run_day_with_generator!(day_11, "11"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `run_day_with_generator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/2024/day12.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/bin.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | include_str!(concat!("../../input/2024/day", $d, ".txt")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | run_day_with_generator!(day_12, "12"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `run_day_with_generator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../input/2024/day13.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/bin.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | include_str!(concat!("../../input/2024/day", $d, ".txt")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | run_day_with_generator!(day_13, "13"); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `run_day_with_generator` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "bin") due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "c04fd780ee339a82d864a2ccfefa350cd8c7f24033c1c35b83d9a6456377cfa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c04fd780ee339a82d864a2ccfefa350cd8c7f24033c1c35b83d9a6456377cfa6", kill_on_drop: false }` [INFO] [stdout] c04fd780ee339a82d864a2ccfefa350cd8c7f24033c1c35b83d9a6456377cfa6