[INFO] cloning repository https://github.com/McAzz1337/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/McAzz1337/Advent_of_code_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcAzz1337%2FAdvent_of_code_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcAzz1337%2FAdvent_of_code_2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e74b1ba42da16d945c69366f8a2a1d227a273217 [INFO] checking McAzz1337/Advent_of_code_2024 against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcAzz1337%2FAdvent_of_code_2024" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/McAzz1337/Advent_of_code_2024 [INFO] finished tweaking git repo https://github.com/McAzz1337/Advent_of_code_2024 [INFO] tweaked toml for git repo https://github.com/McAzz1337/Advent_of_code_2024 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/McAzz1337/Advent_of_code_2024 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/McAzz1337/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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] adcc07545fdb25a921fb30599c5db1bcd6580807c4c7e120ce3f5c8eb38306a4 [INFO] running `Command { std: "docker" "start" "-a" "adcc07545fdb25a921fb30599c5db1bcd6580807c4c7e120ce3f5c8eb38306a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "adcc07545fdb25a921fb30599c5db1bcd6580807c4c7e120ce3f5c8eb38306a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adcc07545fdb25a921fb30599c5db1bcd6580807c4c7e120ce3f5c8eb38306a4", kill_on_drop: false }` [INFO] [stdout] adcc07545fdb25a921fb30599c5db1bcd6580807c4c7e120ce3f5c8eb38306a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 01af5551e9bf2ce718dcf5b68fd54608ca13d4706f14adfa2e88f33c14b9ee09 [INFO] running `Command { std: "docker" "start" "-a" "01af5551e9bf2ce718dcf5b68fd54608ca13d4706f14adfa2e88f33c14b9ee09", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking aoc_2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `regroup` [INFO] [stdout] --> src/day12.rs:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | day12::{adjacent, regroup}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let functions = vec![ [INFO] [stdout] | _____________________^ [INFO] [stdout] 36 | | day1, day2, day3, day4, day5, day6, day7, day8, day9, day10, day11, day12, [INFO] [stdout] 37 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected `[fn() -> ... {day1}; _]`, found `[fn() -> ...; 12]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn() -> PuzzleResult fn(&'a Vec) -> usize, for<'a> fn(&'a Vec) -> usize, usize, usize> {day1}; _]` [INFO] [stdout] found array `[fn() -> PuzzleResult fn(&'a Vec) -> usize, for<'a> fn(&'a Vec) -> usize, usize, usize>; 12]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `day1 as fn() -> PuzzleResult fn(&'a Vec) -> usize, for<'a> fn(&'a Vec) -> usize, usize, usize>` [INFO] [stdout] help: the return type of this call is `[fn() -> PuzzleResult fn(&'a Vec) -> usize, for<'a> fn(&'a Vec) -> usize, usize, usize>; 12]` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let functions = vec![ [INFO] [stdout] | _____________________^ [INFO] [stdout] 36 | | day1, day2, day3, day4, day5, day6, day7, day8, day9, day10, day11, day12, [INFO] [stdout] 37 | | ]; [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[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/main.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | .map(|(i, t)| match t.join() { [INFO] [stdout] | ^^^^^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 57 | .map(|(i, t): (_, _)| match t.join() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/main.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | results.sort_by(|(i, _), (j, _)| i.cmp(j)); [INFO] [stdout] | ^^^^^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 63 | results.sort_by(|(i, _): (_, _), (j, _)| i.cmp(j)); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let functions = vec![ [INFO] [stdout] | _____________________^ [INFO] [stdout] 36 | | day1, day2, day3, day4, day5, day6, day7, day8, day9, day10, day11, day12, [INFO] [stdout] 37 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected `[fn() -> ... {day1}; _]`, found `[fn() -> ...; 12]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn() -> PuzzleResult fn(&'a Vec) -> usize, for<'a> fn(&'a Vec) -> usize, usize, usize> {day1}; _]` [INFO] [stdout] found array `[fn() -> PuzzleResult fn(&'a Vec) -> usize, for<'a> fn(&'a Vec) -> usize, usize, usize>; 12]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `day1 as fn() -> PuzzleResult fn(&'a Vec) -> usize, for<'a> fn(&'a Vec) -> usize, usize, usize>` [INFO] [stdout] help: the return type of this call is `[fn() -> PuzzleResult fn(&'a Vec) -> usize, for<'a> fn(&'a Vec) -> usize, usize, usize>; 12]` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let functions = vec![ [INFO] [stdout] | _____________________^ [INFO] [stdout] 36 | | day1, day2, day3, day4, day5, day6, day7, day8, day9, day10, day11, day12, [INFO] [stdout] 37 | | ]; [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[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/main.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | .map(|(i, t)| match t.join() { [INFO] [stdout] | ^^^^^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 57 | .map(|(i, t): (_, _)| match t.join() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/main.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | results.sort_by(|(i, _), (j, _)| i.cmp(j)); [INFO] [stdout] | ^^^^^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 63 | results.sort_by(|(i, _): (_, _), (j, _)| i.cmp(j)); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day12.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | fn count_sides(c: char, region: &Vec) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `region` [INFO] [stdout] --> src/day12.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | fn count_sides(c: char, region: &Vec) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_region` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day12.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | fn part2(input: &Vec) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day12.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | fn count_sides(c: char, region: &Vec) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `region` [INFO] [stdout] --> src/day12.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | fn count_sides(c: char, region: &Vec) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_region` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day12.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | fn part2(input: &Vec) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc_2024` (bin "aoc_2024") due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aoc_2024` (bin "aoc_2024" test) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "01af5551e9bf2ce718dcf5b68fd54608ca13d4706f14adfa2e88f33c14b9ee09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01af5551e9bf2ce718dcf5b68fd54608ca13d4706f14adfa2e88f33c14b9ee09", kill_on_drop: false }` [INFO] [stdout] 01af5551e9bf2ce718dcf5b68fd54608ca13d4706f14adfa2e88f33c14b9ee09