[INFO] cloning repository https://github.com/csimo005/aoc_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/csimo005/aoc_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsimo005%2Faoc_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsimo005%2Faoc_2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ae9f25e156d9dd92d65ba9cc841303838384740 [INFO] checking csimo005/aoc_2024 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsimo005%2Faoc_2024" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/csimo005/aoc_2024 [INFO] finished tweaking git repo https://github.com/csimo005/aoc_2024 [INFO] tweaked toml for git repo https://github.com/csimo005/aoc_2024 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/csimo005/aoc_2024 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/csimo005/aoc_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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aee99be2fc7939734ad7efaa3d335165bf98b6a90ea9b6513e4b1d83b1923048 [INFO] running `Command { std: "docker" "start" "-a" "aee99be2fc7939734ad7efaa3d335165bf98b6a90ea9b6513e4b1d83b1923048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aee99be2fc7939734ad7efaa3d335165bf98b6a90ea9b6513e4b1d83b1923048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aee99be2fc7939734ad7efaa3d335165bf98b6a90ea9b6513e4b1d83b1923048", kill_on_drop: false }` [INFO] [stdout] aee99be2fc7939734ad7efaa3d335165bf98b6a90ea9b6513e4b1d83b1923048 [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0bb0823274b4bd0bd98b44d537463c6923cd01928d88ad6a849da0076e7af8b [INFO] running `Command { std: "docker" "start" "-a" "e0bb0823274b4bd0bd98b44d537463c6923cd01928d88ad6a849da0076e7af8b", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking petgraph v0.6.5 [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 aoc_2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day15.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut w = World { [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: function `print_disk` is never used [INFO] [stdout] --> src/day09.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn print_disk(disk: &Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_disk` is never used [INFO] [stdout] --> src/day09.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn print_disk(disk: &Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/day13.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let A: f64 = *sol.get(0, 0).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/day13.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let B: f64 = *sol.get(1, 0).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/day13.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let A: f64 = *sol.get(0, 0).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/day13.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let B: f64 = *sol.get(1, 0).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/day22.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | for j in 0..2000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/day22.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | for (key, val) in map.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_stones` is never used [INFO] [stdout] --> src/day11.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn print_stones(stones: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/day22.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | for j in 0..2000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/day22.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | for (key, val) in map.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_stones` is never used [INFO] [stdout] --> src/day11.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn print_stones(stones: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/day20.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Track { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/day05.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let N = update.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_trails` is never used [INFO] [stdout] --> src/day10.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn print_trails(map: &Vec, visited: &Vec, dim: (usize, usize)) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_trails` is never used [INFO] [stdout] --> src/day10.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn print_trails(map: &Vec, visited: &Vec, dim: (usize, usize)) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/day18.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Matrix { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 32 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_treelike` is never used [INFO] [stdout] --> src/day14.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl World { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn is_treelike(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_map` is never used [INFO] [stdout] --> src/day16.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl Maze { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 207 | fn print_map(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_map` is never used [INFO] [stdout] --> src/day16.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl Maze { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 207 | fn print_map(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/day20.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Track { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `name` on type `Option<&Rc>>` [INFO] [stdout] --> src/day24.rs:257:83 [INFO] [stdout] | [INFO] [stdout] 257 | keys.sort_by(|&a, &b| circuit.gates.get(a).unwrap().borrow().input_a.as_ref().name.cmp(&circuit.gates.get(b).unwrap().borrow().input_... [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/day13.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let A: f64 = *sol.get(0, 0).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/day13.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let B: f64 = *sol.get(1, 0).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/day13.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let A: f64 = *sol.get(0, 0).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/day13.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let B: f64 = *sol.get(1, 0).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/day05.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let N = update.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `visualize_path` is never used [INFO] [stdout] --> src/day06.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn visualize_path(map: &Vec, path: &Vec, dims: &(usize, usize)) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0609`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VecDeque` in this scope [INFO] [stdout] --> src/day12.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | let mut q: VecDeque<(usize, usize)> = VecDeque::<(usize, usize)>::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::VecDeque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VecDeque` [INFO] [stdout] --> src/day12.rs:120:43 [INFO] [stdout] | [INFO] [stdout] 120 | let mut q: VecDeque<(usize, usize)> = VecDeque::<(usize, usize)>::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `VecDeque` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::VecDeque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc_2024` (bin "day24") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc_2024` (bin "day12" test) due to 2 previous errors [INFO] [stdout] warning: function `visualize_path` is never used [INFO] [stdout] --> src/day06.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn visualize_path(map: &Vec, path: &Vec, dims: &(usize, usize)) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/day21.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | let r1: usize = i / self.cols; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c1` [INFO] [stdout] --> src/day21.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | let c1: usize = i % self.cols; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> src/day21.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | let r2: usize = j / self.cols; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c2` [INFO] [stdout] --> src/day21.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | let c2: usize = j % self.cols; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Action` is never used [INFO] [stdout] --> src/day21.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Action { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/day21.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_key` is never used [INFO] [stdout] --> src/day21.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl Keypad { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | fn get_key(&self, pos: &Position) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `name` on type `Option<&Rc>>` [INFO] [stdout] --> src/day24.rs:257:83 [INFO] [stdout] | [INFO] [stdout] 257 | keys.sort_by(|&a, &b| circuit.gates.get(a).unwrap().borrow().input_a.as_ref().name.cmp(&circuit.gates.get(b).unwrap().borrow().input_... [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0609`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc_2024` (bin "day24" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "e0bb0823274b4bd0bd98b44d537463c6923cd01928d88ad6a849da0076e7af8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0bb0823274b4bd0bd98b44d537463c6923cd01928d88ad6a849da0076e7af8b", kill_on_drop: false }` [INFO] [stdout] e0bb0823274b4bd0bd98b44d537463c6923cd01928d88ad6a849da0076e7af8b