[INFO] cloning repository https://github.com/prioritize/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/prioritize/advent_of_code_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprioritize%2Fadvent_of_code_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprioritize%2Fadvent_of_code_2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e60a7a22422b083c1cee9d43f5b19e683271117e [INFO] checking prioritize/advent_of_code_2024 against try#78c81ee3917a99dcff6e2e6822800f0492c415c3 for pr-148967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprioritize%2Fadvent_of_code_2024" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/prioritize/advent_of_code_2024 [INFO] finished tweaking git repo https://github.com/prioritize/advent_of_code_2024 [INFO] tweaked toml for git repo https://github.com/prioritize/advent_of_code_2024 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/prioritize/advent_of_code_2024 on toolchain 78c81ee3917a99dcff6e2e6822800f0492c415c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/prioritize/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" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-error v0.2.1 [INFO] [stderr] Downloaded cc v1.2.3 [INFO] [stderr] Downloaded color-spantrace v0.2.1 [INFO] [stderr] Downloaded color-eyre v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd88bf9c920aa322a40a8b27257baa803ed22af1dbf46ed6457f64230705602e [INFO] running `Command { std: "docker" "start" "-a" "bd88bf9c920aa322a40a8b27257baa803ed22af1dbf46ed6457f64230705602e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd88bf9c920aa322a40a8b27257baa803ed22af1dbf46ed6457f64230705602e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd88bf9c920aa322a40a8b27257baa803ed22af1dbf46ed6457f64230705602e", kill_on_drop: false }` [INFO] [stdout] bd88bf9c920aa322a40a8b27257baa803ed22af1dbf46ed6457f64230705602e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d962d7c9b2327c2fc50d81663804e2d7a5b8edcd632acfcde9273cb00fa0e51 [INFO] running `Command { std: "docker" "start" "-a" "7d962d7c9b2327c2fc50d81663804e2d7a5b8edcd632acfcde9273cb00fa0e51", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Compiling cc v1.2.3 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking eyre v0.6.12 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tracing-error v0.2.1 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking color-spantrace v0.2.1 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Checking advent_of_code_2024_lib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fmt::write` [INFO] [stdout] --> src/day_3.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fmt::write, [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: `fmt::write` [INFO] [stdout] --> src/day_3.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fmt::write, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec>` cannot be built from an iterator over elements of type `&Option<(u32, u32)>` [INFO] [stdout] --> src/day_3.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | .collect::>>() [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^ value of type `Vec>` cannot be built from `std::iter::Iterator>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `FromIterator<&Option<_>>` is not implemented for `Vec>` [INFO] [stdout] but trait `FromIterator>` is implemented for it [INFO] [stdout] --> /rustc/78c81ee3917a99dcff6e2e6822800f0492c415c3/library/alloc/src/vec/mod.rs:3670:0 [INFO] [stdout] = help: for that trait implementation, expected `Option<(u32, u32)>`, found `&Option<(u32, u32)>` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/day_3.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 50 | outer [INFO] [stdout] | ----- this expression has type `&Vec>` [INFO] [stdout] 51 | .into_iter() [INFO] [stdout] | ^^^^^^^^^^^ `Iterator::Item` is `&Option<(u32, u32)>` here [INFO] [stdout] 52 | .filter(|inner| inner.is_some()) [INFO] [stdout] | ------------------------------- `Iterator::Item` remains `&Option<(u32, u32)>` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/78c81ee3917a99dcff6e2e6822800f0492c415c3/library/core/src/iter/traits/iterator.rs:2015:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32: Extend` is not satisfied [INFO] [stdout] --> src/day_3.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | .collect() [INFO] [stdout] | ^^^^^^^ the trait `Extend` is not implemented for `u32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Extend`: [INFO] [stdout] `()` implements `Extend<()>` [INFO] [stdout] `(ExA, ExB)` implements `Extend<(A, B)>` [INFO] [stdout] `(ExA, ExB, ExC)` implements `Extend<(A, B, C)>` [INFO] [stdout] `(ExA, ExB, ExC, ExD)` implements `Extend<(A, B, C, D)>` [INFO] [stdout] `(ExA, ExB, ExC, ExD, ExE)` implements `Extend<(A, B, C, D, E)>` [INFO] [stdout] `(ExA, ExB, ExC, ExD, ExE, ExF)` implements `Extend<(A, B, C, D, E, F)>` [INFO] [stdout] `(ExA, ExB, ExC, ExD, ExE, ExF, ExG)` implements `Extend<(A, B, C, D, E, F, G)>` [INFO] [stdout] `(ExA, ExB, ExC, ExD, ExE, ExF, ExG, ExH)` implements `Extend<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 39 others [INFO] [stdout] = note: required for `(u32, u32)` to implement `FromIterator<(u32, u32)>` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/78c81ee3917a99dcff6e2e6822800f0492c415c3/library/core/src/iter/traits/iterator.rs:2015:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_jumped` [INFO] [stdout] --> src/day_2.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let has_jumped = false; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_jumped` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec>` cannot be built from an iterator over elements of type `&Option<(u32, u32)>` [INFO] [stdout] --> src/day_3.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | .collect::>>() [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^ value of type `Vec>` cannot be built from `std::iter::Iterator>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `FromIterator<&Option<_>>` is not implemented for `Vec>` [INFO] [stdout] but trait `FromIterator>` is implemented for it [INFO] [stdout] --> /rustc/78c81ee3917a99dcff6e2e6822800f0492c415c3/library/alloc/src/vec/mod.rs:3670:0 [INFO] [stdout] = help: for that trait implementation, expected `Option<(u32, u32)>`, found `&Option<(u32, u32)>` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/day_3.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 50 | outer [INFO] [stdout] | ----- this expression has type `&Vec>` [INFO] [stdout] 51 | .into_iter() [INFO] [stdout] | ^^^^^^^^^^^ `Iterator::Item` is `&Option<(u32, u32)>` here [INFO] [stdout] 52 | .filter(|inner| inner.is_some()) [INFO] [stdout] | ------------------------------- `Iterator::Item` remains `&Option<(u32, u32)>` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/78c81ee3917a99dcff6e2e6822800f0492c415c3/library/core/src/iter/traits/iterator.rs:2015:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32: Extend` is not satisfied [INFO] [stdout] --> src/day_3.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | .collect() [INFO] [stdout] | ^^^^^^^ the trait `Extend` is not implemented for `u32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Extend`: [INFO] [stdout] `()` implements `Extend<()>` [INFO] [stdout] `(ExA, ExB)` implements `Extend<(A, B)>` [INFO] [stdout] `(ExA, ExB, ExC)` implements `Extend<(A, B, C)>` [INFO] [stdout] `(ExA, ExB, ExC, ExD)` implements `Extend<(A, B, C, D)>` [INFO] [stdout] `(ExA, ExB, ExC, ExD, ExE)` implements `Extend<(A, B, C, D, E)>` [INFO] [stdout] `(ExA, ExB, ExC, ExD, ExE, ExF)` implements `Extend<(A, B, C, D, E, F)>` [INFO] [stdout] `(ExA, ExB, ExC, ExD, ExE, ExF, ExG)` implements `Extend<(A, B, C, D, E, F, G)>` [INFO] [stdout] `(ExA, ExB, ExC, ExD, ExE, ExF, ExG, ExH)` implements `Extend<(A, B, C, D, E, F, G, H)>` [INFO] [stdout] and 39 others [INFO] [stdout] = note: required for `(u32, u32)` to implement `FromIterator<(u32, u32)>` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/78c81ee3917a99dcff6e2e6822800f0492c415c3/library/core/src/iter/traits/iterator.rs:2015:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_jumped` [INFO] [stdout] --> src/day_2.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let has_jumped = false; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_jumped` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2024_lib` (lib) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2024_lib` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7d962d7c9b2327c2fc50d81663804e2d7a5b8edcd632acfcde9273cb00fa0e51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d962d7c9b2327c2fc50d81663804e2d7a5b8edcd632acfcde9273cb00fa0e51", kill_on_drop: false }` [INFO] [stdout] 7d962d7c9b2327c2fc50d81663804e2d7a5b8edcd632acfcde9273cb00fa0e51