[INFO] cloning repository https://github.com/michaelfmnk/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/michaelfmnk/advent_of_code_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelfmnk%2Fadvent_of_code_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelfmnk%2Fadvent_of_code_2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 558497090fecc4505d8897f34b5490e0d264b519 [INFO] checking michaelfmnk/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%2Fmichaelfmnk%2Fadvent_of_code_2024" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/michaelfmnk/advent_of_code_2024 [INFO] finished tweaking git repo https://github.com/michaelfmnk/advent_of_code_2024 [INFO] tweaked toml for git repo https://github.com/michaelfmnk/advent_of_code_2024 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/michaelfmnk/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/michaelfmnk/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] 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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e5046fc5a2a09885181d537c43f0833e5197e23d82be13786f5e4a5e0355775 [INFO] running `Command { std: "docker" "start" "-a" "8e5046fc5a2a09885181d537c43f0833e5197e23d82be13786f5e4a5e0355775", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e5046fc5a2a09885181d537c43f0833e5197e23d82be13786f5e4a5e0355775", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e5046fc5a2a09885181d537c43f0833e5197e23d82be13786f5e4a5e0355775", kill_on_drop: false }` [INFO] [stdout] 8e5046fc5a2a09885181d537c43f0833e5197e23d82be13786f5e4a5e0355775 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0da83ebd0a563652464b3d8a05559e7bda857a7822e4a210736be63f4aab6c52 [INFO] running `Command { std: "docker" "start" "-a" "0da83ebd0a563652464b3d8a05559e7bda857a7822e4a210736be63f4aab6c52", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking tinyjson v2.5.1 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking fancy-regex v0.14.0 [INFO] [stderr] Checking advent_of_code v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::group_by`: Use .chunk_by() instead [INFO] [stdout] --> src/bin/09.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | .group_by(|&(_, ch)| ch) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::group_by`: Use .chunk_by() instead [INFO] [stdout] --> src/bin/09.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | .group_by(|&(_, ch)| ch.is_none()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/12.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut input = read_input(input); [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/12.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut input = read_input(input); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::group_by`: Use .chunk_by() instead [INFO] [stdout] --> src/bin/09.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | .group_by(|&(_, ch)| ch) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `itertools::Itertools::group_by`: Use .chunk_by() instead [INFO] [stdout] --> src/bin/09.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | .group_by(|&(_, ch)| ch.is_none()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/07.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | let allowed_operations = vec![|a, b| a + b, |a, b| a * b]; [INFO] [stdout] | ^^^^^------^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the expected closure [INFO] [stdout] | expected `[{closure@07.rs:4:35}; _]`, found `[fn(_, _) -> _; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@src/bin/07.rs:4:35: 4:41}; _]` [INFO] [stdout] found array `[fn(_, _) -> _; 2]` [INFO] [stdout] help: the return type of this call is `[fn(_, _) -> _; 2]` due to the type of the argument passed [INFO] [stdout] --> src/bin/07.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | let allowed_operations = vec![|a, b| a + b, |a, b| a * b]; [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/bin/07.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | let allowed_operations = vec![|a, b| a + b, |a, b| a * b, concat_integers]; [INFO] [stdout] | ^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the expected closure [INFO] [stdout] | expected `[{closure@07.rs:9:35}; _]`, found `[fn(u64, u64) -> u64; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@src/bin/07.rs:9:35: 9:41}; _]` [INFO] [stdout] found array `[fn(u64, u64) -> u64; 3]` [INFO] [stdout] help: the return type of this call is `[fn(u64, u64) -> u64; 3]` due to the type of the argument passed [INFO] [stdout] --> src/bin/07.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | let allowed_operations = vec![|a, b| a + b, |a, b| a * b, concat_integers]; [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] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "07" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/15.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | o => panic!("Invalid object: {:?}", o), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/bin/15.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 69 | Some(Object::Robot) => write!(f, "@")?, [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 70 | Some(Object::Box) => write!(f, "O")?, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 71 | Some(Object::Wall) => write!(f, "#")?, [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 72 | Some(Object::BoxL) => write!(f, "[")?, [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 75 | o => panic!("Invalid object: {:?}", o), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/07.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | let allowed_operations = vec![|a, b| a + b, |a, b| a * b]; [INFO] [stdout] | ^^^^^------^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the expected closure [INFO] [stdout] | expected `[{closure@07.rs:4:35}; _]`, found `[fn(_, _) -> _; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@src/bin/07.rs:4:35: 4:41}; _]` [INFO] [stdout] found array `[fn(_, _) -> _; 2]` [INFO] [stdout] help: the return type of this call is `[fn(_, _) -> _; 2]` due to the type of the argument passed [INFO] [stdout] --> src/bin/07.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | let allowed_operations = vec![|a, b| a + b, |a, b| a * b]; [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/bin/07.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | let allowed_operations = vec![|a, b| a + b, |a, b| a * b, concat_integers]; [INFO] [stdout] | ^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the expected closure [INFO] [stdout] | expected `[{closure@07.rs:9:35}; _]`, found `[fn(u64, u64) -> u64; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@src/bin/07.rs:9:35: 9:41}; _]` [INFO] [stdout] found array `[fn(u64, u64) -> u64; 3]` [INFO] [stdout] help: the return type of this call is `[fn(u64, u64) -> u64; 3]` due to the type of the argument passed [INFO] [stdout] --> src/bin/07.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | let allowed_operations = vec![|a, b| a + b, |a, b| a * b, concat_integers]; [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/15.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let mut directions = directions [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] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "07") due to 2 previous errors [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/14.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | for i in 0..100 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0da83ebd0a563652464b3d8a05559e7bda857a7822e4a210736be63f4aab6c52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0da83ebd0a563652464b3d8a05559e7bda857a7822e4a210736be63f4aab6c52", kill_on_drop: false }` [INFO] [stdout] 0da83ebd0a563652464b3d8a05559e7bda857a7822e4a210736be63f4aab6c52