[INFO] cloning repository https://github.com/mrknorman/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/mrknorman/advent_of_code_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrknorman%2Fadvent_of_code_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrknorman%2Fadvent_of_code_2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 57956ab9eb44795c3e03b46e9d53226fc2f9aaf0 [INFO] building mrknorman/advent_of_code_2024 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrknorman%2Fadvent_of_code_2024" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mrknorman/advent_of_code_2024 [INFO] finished tweaking git repo https://github.com/mrknorman/advent_of_code_2024 [INFO] tweaked toml for git repo https://github.com/mrknorman/advent_of_code_2024 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mrknorman/advent_of_code_2024 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mrknorman/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cached_proc_macro_types v0.1.1 [INFO] [stderr] Downloaded cached_proc_macro v0.23.0 [INFO] [stderr] Downloaded nom_locate v4.2.0 [INFO] [stderr] Downloaded cached v0.54.0 [INFO] [stderr] Downloaded serde_scan v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f611729b8ee2eab7b85cb9154aa3129cebc8408cdc907c6f9cf6b7d5f8de59a [INFO] running `Command { std: "docker" "start" "-a" "1f611729b8ee2eab7b85cb9154aa3129cebc8408cdc907c6f9cf6b7d5f8de59a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f611729b8ee2eab7b85cb9154aa3129cebc8408cdc907c6f9cf6b7d5f8de59a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f611729b8ee2eab7b85cb9154aa3129cebc8408cdc907c6f9cf6b7d5f8de59a", kill_on_drop: false }` [INFO] [stdout] 1f611729b8ee2eab7b85cb9154aa3129cebc8408cdc907c6f9cf6b7d5f8de59a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0b46ec3c59a22a055fa4906452c30f304d088b9418d63ca5a8378817fb6169e [INFO] running `Command { std: "docker" "start" "-a" "d0b46ec3c59a22a055fa4906452c30f304d088b9418d63ca5a8378817fb6169e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.1 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling glam v0.29.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling nom_locate v4.2.0 [INFO] [stderr] Compiling serde_scan v0.4.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling cached_proc_macro v0.23.0 [INFO] [stderr] Compiling cached v0.54.0 [INFO] [stderr] Compiling advent_of_code_2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `region` in this scope [INFO] [stdout] --> src/twelve.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | for pos in region { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `region` in this scope [INFO] [stdout] --> src/twelve.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | if !region.contains(&tmp) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/twelve.rs:115:61 [INFO] [stdout] | [INFO] [stdout] 115 | result += area*count_perimeter_edges(&contiguous_field);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `count_region_sides` in this scope [INFO] [stdout] --> src/twelve.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 142 | fn count_field_sides(field: &HashSet) -> usize { [INFO] [stdout] | ----------------------------------------------------- similarly named function `count_field_sides` defined here [INFO] [stdout] ... [INFO] [stdout] 180 | result += area*count_region_sides(&contiguous_field); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `count_field_sides` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `count_region_sides` in this scope [INFO] [stdout] --> src/twelve.rs:182:65 [INFO] [stdout] | [INFO] [stdout] 142 | fn count_field_sides(field: &HashSet) -> usize { [INFO] [stdout] | ----------------------------------------------------- similarly named function `count_field_sides` defined here [INFO] [stdout] ... [INFO] [stdout] 182 | println!("{}: area: {} corners {}, ", ch, area, count_region_sides(&contiguous_field)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `count_field_sides` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/twelve.rs:204:7 [INFO] [stdout] | [INFO] [stdout] 204 | for (item, value) in input.data.iter_mut() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2024` (bin "advent_of_code_2024") due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d0b46ec3c59a22a055fa4906452c30f304d088b9418d63ca5a8378817fb6169e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0b46ec3c59a22a055fa4906452c30f304d088b9418d63ca5a8378817fb6169e", kill_on_drop: false }` [INFO] [stdout] d0b46ec3c59a22a055fa4906452c30f304d088b9418d63ca5a8378817fb6169e