[INFO] cloning repository https://github.com/christeefy/advent-of-code-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/christeefy/advent-of-code-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristeefy%2Fadvent-of-code-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristeefy%2Fadvent-of-code-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7210714164d4dc0774e9400868da3937d409924 [INFO] testing christeefy/advent-of-code-2022 against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristeefy%2Fadvent-of-code-2022" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/christeefy/advent-of-code-2022 on toolchain nightly-2025-01-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/christeefy/advent-of-code-2022 [INFO] finished tweaking git repo https://github.com/christeefy/advent-of-code-2022 [INFO] tweaked toml for git repo https://github.com/christeefy/advent-of-code-2022 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/christeefy/advent-of-code-2022 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" "+nightly-2025-01-18" "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-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 681b76994354b3db159eaa6f64208b903bf0b6028e4fe921562c52510227d8c6 [INFO] running `Command { std: "docker" "start" "-a" "681b76994354b3db159eaa6f64208b903bf0b6028e4fe921562c52510227d8c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "681b76994354b3db159eaa6f64208b903bf0b6028e4fe921562c52510227d8c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "681b76994354b3db159eaa6f64208b903bf0b6028e4fe921562c52510227d8c6", kill_on_drop: false }` [INFO] [stdout] 681b76994354b3db159eaa6f64208b903bf0b6028e4fe921562c52510227d8c6 [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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43972066e927ed9c4a761fbf69057b0f868546e6fb5488b290192f7d58806b7a [INFO] running `Command { std: "docker" "start" "-a" "43972066e927ed9c4a761fbf69057b0f868546e6fb5488b290192f7d58806b7a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling num_cpus v1.14.0 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling rayon v1.6.0 [INFO] [stderr] Compiling advent-of-code-2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/bin/day17.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/bin/day17.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut file = std::fs::File::create("data.csv").unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_height_delta` [INFO] [stdout] --> src/bin/day17.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let max_height_delta = board.max_height - prev_max_height; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_height_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day17.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut file = std::fs::File::create("data.csv").unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config` and `Dot` [INFO] [stdout] --> src/bin/day21.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use petgraph::dot::{Config, Dot}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/bin/day17.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn part1(data: &str) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reverse_graph` [INFO] [stdout] --> src/bin/day21.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let reverse_graph = create_reverse_graph(&map, &graph, &state); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reverse_graph` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/bin/day21.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn part2(data: &str) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_reverse_graph` is never used [INFO] [stdout] --> src/bin/day21.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn create_reverse_graph<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reverse_calculate` is never used [INFO] [stdout] --> src/bin/day21.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 127 | impl<'a> Operation<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | fn reverse_calculate(&self, root: i64, state: &BTreeMap<&'a str, i64>) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for array `[Option<&mut Vec>; 2]` in the current scope [INFO] [stdout] --> src/bin/day05.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 25 | let [src, dst] = stacks [INFO] [stdout] | __________________________- [INFO] [stdout] 26 | | .get_many_mut([&command.src_stack, &command.dst_stack]) [INFO] [stdout] 27 | | .unwrap(); [INFO] [stdout] | |_____________-^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `swap` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/slice/mod.rs:919:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2022` (bin "day05") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "43972066e927ed9c4a761fbf69057b0f868546e6fb5488b290192f7d58806b7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43972066e927ed9c4a761fbf69057b0f868546e6fb5488b290192f7d58806b7a", kill_on_drop: false }` [INFO] [stdout] 43972066e927ed9c4a761fbf69057b0f868546e6fb5488b290192f7d58806b7a