[INFO] cloning repository https://github.com/wyvernbw/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/wyvernbw/advent-of-code-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwyvernbw%2Fadvent-of-code-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwyvernbw%2Fadvent-of-code-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c3e4cc5886e3ff1feff6c224dd95319395e740f [INFO] testing wyvernbw/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%2Fwyvernbw%2Fadvent-of-code-2024" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wyvernbw/advent-of-code-2024 [INFO] finished tweaking git repo https://github.com/wyvernbw/advent-of-code-2024 [INFO] tweaked toml for git repo https://github.com/wyvernbw/advent-of-code-2024 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wyvernbw/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/wyvernbw/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] Downloading crates ... [INFO] [stderr] Downloaded tracing-indicatif v0.3.8 [INFO] [stderr] Downloaded vte_generate_state_changes v0.1.2 [INFO] [stderr] Downloaded tailcall v1.0.1 [INFO] [stderr] Downloaded tailcall-impl v1.0.1 [INFO] [stderr] Downloaded vt100 v0.15.2 [INFO] [stderr] Downloaded vte v0.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] d41f08a8ab1ca69e1f84aa91b97f6a1a7f3bbacd1044c825e0722399ae3287f6 [INFO] running `Command { std: "docker" "start" "-a" "d41f08a8ab1ca69e1f84aa91b97f6a1a7f3bbacd1044c825e0722399ae3287f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d41f08a8ab1ca69e1f84aa91b97f6a1a7f3bbacd1044c825e0722399ae3287f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d41f08a8ab1ca69e1f84aa91b97f6a1a7f3bbacd1044c825e0722399ae3287f6", kill_on_drop: false }` [INFO] [stdout] d41f08a8ab1ca69e1f84aa91b97f6a1a7f3bbacd1044c825e0722399ae3287f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1874024cba260d0269539b9ed424cd4ecc877a5c7ffb29764440973308c72a83 [INFO] running `Command { std: "docker" "start" "-a" "1874024cba260d0269539b9ed424cd4ecc877a5c7ffb29764440973308c72a83", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling thiserror v2.0.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling vte v0.11.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling vt100 v0.15.2 [INFO] [stderr] Compiling indicatif v0.17.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tailcall-impl v1.0.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.6 [INFO] [stderr] Compiling tailcall v1.0.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tracing-indicatif v0.3.8 [INFO] [stderr] Compiling advent-of-code-2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day-10.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day-10.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let input = include_str!("../../inputs/day-10.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day-9.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day-9.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let input = include_str!("../../inputs/day-9.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day-3.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day-3.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let input = include_str!("../../inputs/day-3.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day-3.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day-3.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | let input = include_str!("../../inputs/day-3.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashSet`, `num::SimdInt`, and `ops::Sub` [INFO] [stdout] --> src/bin/day-10.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | collections::HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | ops::Sub, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | simd::{isizex2, num::SimdInt}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::trace_span` [INFO] [stdout] --> src/bin/day-10.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::trace_span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day-5.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day-5.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let input = include_str!("../../inputs/day-5.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day-8.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day-8.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let input = include_str!("../../inputs/day-8.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day-2.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day-2.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let input = include_str!("../../inputs/day-2.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day-2.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day-2.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let input = include_str!("../../inputs/day-2.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day-6.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day-6.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let input = include_str!("../../inputs/day-6.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day-4.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day-4.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let input = include_str!("../../inputs/day-4.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day-7.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day-7.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let input = include_str!("../../inputs/day-7.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day-7.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day-7.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let input = include_str!("../../inputs/day-7.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/bin/../../inputs/day-1.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/day-1.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let input = include_str!("../../inputs/day-1.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day-2") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day-10.rs:37:62 [INFO] [stdout] | [INFO] [stdout] 37 | let result = find_path(grid, isizex2::from_usize(start), Path::new()); [INFO] [stdout] | --------- ^^^^^^^^^^^ expected `PathNode`, found `Vec>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `PathNode` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/bin/day-10.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn find_path(grid: &Grid, start: Position, node: PathNode) -> PathNode { [INFO] [stdout] | ^^^^^^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day-4") due to 1 previous error [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day-3") due to 2 previous errors [INFO] [stdout] error[E0614]: type `u32` cannot be dereferenced [INFO] [stdout] --> src/bin/day-5.rs:87:47 [INFO] [stdout] | [INFO] [stdout] 87 | .filter(move |Rule(x, y)| *x == a || *y == a) [INFO] [stdout] | ^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `u32` cannot be dereferenced [INFO] [stdout] --> src/bin/day-5.rs:87:58 [INFO] [stdout] | [INFO] [stdout] 87 | .filter(move |Rule(x, y)| *x == a || *y == a) [INFO] [stdout] | ^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `u32` cannot be dereferenced [INFO] [stdout] --> src/bin/day-5.rs:95:47 [INFO] [stdout] | [INFO] [stdout] 95 | .filter(move |Rule(x, y)| *x == b || *y == b) [INFO] [stdout] | ^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `u32` cannot be dereferenced [INFO] [stdout] --> src/bin/day-5.rs:95:58 [INFO] [stdout] | [INFO] [stdout] 95 | .filter(move |Rule(x, y)| *x == b || *y == b) [INFO] [stdout] | ^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day-1") due to 1 previous error [INFO] [stdout] error[E0507]: cannot move out of `node`, a captured variable in an `FnMut` closure [INFO] [stdout] --> src/bin/day-10.rs:130:61 [INFO] [stdout] | [INFO] [stdout] 106 | fn find_path(grid: &Grid, start: Position, node: PathNode) -> PathNode { [INFO] [stdout] | ---- captured outer variable [INFO] [stdout] ... [INFO] [stdout] 128 | .flat_map(|(next_pos, _)| { [INFO] [stdout] | --------------- captured by this `FnMut` closure [INFO] [stdout] 129 | // only take succesful paths [INFO] [stdout] 130 | let forward = find_path(grid, next_pos, node); [INFO] [stdout] | ^^^^ move occurs because `node` has type `PathNode`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 130 | let forward = find_path(grid, next_pos, node.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day-10") due to 3 previous errors; 2 warnings emitted [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day-8") due to 1 previous error [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day-6") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0614`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day-9") due to 1 previous error [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day-5") due to 5 previous errors [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "day-7") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "1874024cba260d0269539b9ed424cd4ecc877a5c7ffb29764440973308c72a83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1874024cba260d0269539b9ed424cd4ecc877a5c7ffb29764440973308c72a83", kill_on_drop: false }` [INFO] [stdout] 1874024cba260d0269539b9ed424cd4ecc877a5c7ffb29764440973308c72a83