[INFO] cloning repository https://github.com/peterellisjones/aoc2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peterellisjones/aoc2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterellisjones%2Faoc2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterellisjones%2Faoc2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb12f9e37ec00a42c83a26d7f856c117c838337c [INFO] checking peterellisjones/aoc2024 against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterellisjones%2Faoc2024" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/peterellisjones/aoc2024 [INFO] finished tweaking git repo https://github.com/peterellisjones/aoc2024 [INFO] tweaked toml for git repo https://github.com/peterellisjones/aoc2024 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/peterellisjones/aoc2024 on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/peterellisjones/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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df96174ef4c5f7d3e8d066fdb78d7c21b82321926caf033e7051dfc1312b76e1 [INFO] running `Command { std: "docker" "start" "-a" "df96174ef4c5f7d3e8d066fdb78d7c21b82321926caf033e7051dfc1312b76e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df96174ef4c5f7d3e8d066fdb78d7c21b82321926caf033e7051dfc1312b76e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df96174ef4c5f7d3e8d066fdb78d7c21b82321926caf033e7051dfc1312b76e1", kill_on_drop: false }` [INFO] [stdout] df96174ef4c5f7d3e8d066fdb78d7c21b82321926caf033e7051dfc1312b76e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8fa05e7b0fd4ec6ab7aa11c6250b26d6e4077e8e84f804d48d787d76b297cbf [INFO] running `Command { std: "docker" "start" "-a" "f8fa05e7b0fd4ec6ab7aa11c6250b26d6e4077e8e84f804d48d787d76b297cbf", kill_on_drop: false }` [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking aoc2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FnvHashSet` [INFO] [stdout] --> src/day12.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use fnv::{FnvHashMap, FnvHashSet}; [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/day14.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FnvHasher` [INFO] [stdout] --> src/day14.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use fnv::{FnvHashMap, FnvHasher}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FnvHashSet` [INFO] [stdout] --> src/day12.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use fnv::{FnvHashMap, FnvHashSet}; [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/day14.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FnvHasher` [INFO] [stdout] --> src/day14.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use fnv::{FnvHashMap, FnvHasher}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/day12.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 14 | [INFO] [stdout] 15 | let chars = parse_char_grid(raw_input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/day12.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 14 | [INFO] [stdout] 15 | let chars = parse_char_grid(raw_input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | let days = vec![ [INFO] [stdout] | ________________^ [INFO] [stdout] 28 | | day1::Day1::run, [INFO] [stdout] 29 | | day2::Day2::run, [INFO] [stdout] 30 | | day3::Day3::run, [INFO] [stdout] ... | [INFO] [stdout] 41 | | day14::Day14::run, [INFO] [stdout] 42 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected `[fn() {::run}; _]`, found `[fn(); 14]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn() {::run}; _]` [INFO] [stdout] found array `[fn(); 14]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `::run as fn()` [INFO] [stdout] help: the return type of this call is `[fn(); 14]` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | let days = vec![ [INFO] [stdout] | ________________^ [INFO] [stdout] 28 | | day1::Day1::run, [INFO] [stdout] 29 | | day2::Day2::run, [INFO] [stdout] 30 | | day3::Day3::run, [INFO] [stdout] ... | [INFO] [stdout] 41 | | day14::Day14::run, [INFO] [stdout] 42 | | ]; [INFO] [stdout] | |_____^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | let days = vec![ [INFO] [stdout] | ________________^ [INFO] [stdout] 28 | | day1::Day1::run, [INFO] [stdout] 29 | | day2::Day2::run, [INFO] [stdout] 30 | | day3::Day3::run, [INFO] [stdout] ... | [INFO] [stdout] 41 | | day14::Day14::run, [INFO] [stdout] 42 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected `[fn() {::run}; _]`, found `[fn(); 14]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn() {::run}; _]` [INFO] [stdout] found array `[fn(); 14]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `::run as fn()` [INFO] [stdout] help: the return type of this call is `[fn(); 14]` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | let days = vec![ [INFO] [stdout] | ________________^ [INFO] [stdout] 28 | | day1::Day1::run, [INFO] [stdout] 29 | | day2::Day2::run, [INFO] [stdout] 30 | | day3::Day3::run, [INFO] [stdout] ... | [INFO] [stdout] 41 | | day14::Day14::run, [INFO] [stdout] 42 | | ]; [INFO] [stdout] | |_____^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_input` [INFO] [stdout] --> src/day12.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn part1(raw_input: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day12.rs:184:36 [INFO] [stdout] | [INFO] [stdout] 184 | .map(|row| row.iter().map(|c| -1i64).collect()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day12.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | for (x, c) in row.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_input` [INFO] [stdout] --> src/day12.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn part1(raw_input: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day12.rs:184:36 [INFO] [stdout] | [INFO] [stdout] 184 | .map(|row| row.iter().map(|c| -1i64).collect()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day12.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | for (x, c) in row.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2024` (bin "aoc2024" test) due to 1 previous error; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aoc2024` (bin "aoc2024") due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f8fa05e7b0fd4ec6ab7aa11c6250b26d6e4077e8e84f804d48d787d76b297cbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8fa05e7b0fd4ec6ab7aa11c6250b26d6e4077e8e84f804d48d787d76b297cbf", kill_on_drop: false }` [INFO] [stdout] f8fa05e7b0fd4ec6ab7aa11c6250b26d6e4077e8e84f804d48d787d76b297cbf