[INFO] cloning repository https://github.com/positronicarts/aoc2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/positronicarts/aoc2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpositronicarts%2Faoc2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpositronicarts%2Faoc2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 518556a27a45a115ac1095e8610b545f1c8f2ea0 [INFO] testing positronicarts/aoc2024 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%2Fpositronicarts%2Faoc2024" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/positronicarts/aoc2024 [INFO] finished tweaking git repo https://github.com/positronicarts/aoc2024 [INFO] tweaked toml for git repo https://github.com/positronicarts/aoc2024 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/positronicarts/aoc2024 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/positronicarts/aoc2024 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 87d097c1dbd6172e8b5201a6dfd108f181c2da9b18a428629561181873053efa [INFO] running `Command { std: "docker" "start" "-a" "87d097c1dbd6172e8b5201a6dfd108f181c2da9b18a428629561181873053efa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87d097c1dbd6172e8b5201a6dfd108f181c2da9b18a428629561181873053efa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87d097c1dbd6172e8b5201a6dfd108f181c2da9b18a428629561181873053efa", kill_on_drop: false }` [INFO] [stdout] 87d097c1dbd6172e8b5201a6dfd108f181c2da9b18a428629561181873053efa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 35040d3f8096049233fcfc359e4a61552e9f323ec6dc1d3e5afe8bb0b0d71281 [INFO] running `Command { std: "docker" "start" "-a" "35040d3f8096049233fcfc359e4a61552e9f323ec6dc1d3e5afe8bb0b0d71281", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling aoc24 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Day1` is never constructed [INFO] [stdout] --> src/day1.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Day1; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day10` is never constructed [INFO] [stdout] --> src/day10.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Day10; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Coord` is never constructed [INFO] [stdout] --> src/day10.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Coord { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Coord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grid` is never constructed [INFO] [stdout] --> src/day10.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Grid { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_trails` is never used [INFO] [stdout] --> src/day10.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Grid { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 19 | fn try_trails(&mut self, x: i32, y: i32, h: i32) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day11` is never constructed [INFO] [stdout] --> src/day11.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Day11; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cache` is never constructed [INFO] [stdout] --> src/day11.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Cache { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/day11.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Cache { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 11 | fn get(&mut self, input: (u64, usize)) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day12` is never constructed [INFO] [stdout] --> src/day12.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Day12; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grid` is never constructed [INFO] [stdout] --> src/day12.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Grid { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Grid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_measurements` and `fill_from` are never used [INFO] [stdout] --> src/day12.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Grid { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 14 | fn get_measurements(&self, shape: &HashSet<(usize, usize)>) -> (usize, usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn fill_from(&mut self, x: usize, y: usize) -> (usize, usize, usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day13` is never constructed [INFO] [stdout] --> src/day13.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Day13; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/day13.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn calc(button_a: Complex, button_b: Complex, prize: Complex) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day14` is never constructed [INFO] [stdout] --> src/day14.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Day14; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Robot` is never constructed [INFO] [stdout] --> src/day14.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Robot { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Robot` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multi_step_bound` is never used [INFO] [stdout] --> src/day14.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Robot { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 11 | fn multi_step_bound(mut self, width: i32, height: i32, steps: i32) -> Robot { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_robots` is never used [INFO] [stdout] --> src/day14.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn print_robots(robots: &Vec, width: i32, height: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_consecutive_ones` is never used [INFO] [stdout] --> src/day14.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn max_consecutive_ones(robots: &Vec, width: i32, height: i32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day15` is never constructed [INFO] [stdout] --> src/day15.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Day15; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Empty`, `Wall`, `Robot`, `Box`, `LBox`, and `RBox` are never constructed [INFO] [stdout] --> src/day15.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum CellState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 5 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | Wall, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Robot, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | Box, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | LBox, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | RBox, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CellState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_char` is never used [INFO] [stdout] --> src/day15.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl CellState { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 14 | fn from_char(c: char) -> CellState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up`, `Down`, `Left`, and `Right` are never constructed [INFO] [stdout] --> src/day15.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 39 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 40 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_char` is never used [INFO] [stdout] --> src/day15.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl Direction { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 46 | fn from_char(c: char) -> Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `robot` is never read [INFO] [stdout] --> src/day15.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 67 | struct Grid { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 68 | cells: Vec>, [INFO] [stdout] 69 | robot: (i32, i32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_move`, `do_move`, `get_sum`, and `double` are never used [INFO] [stdout] --> src/day15.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 72 | impl Grid { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 73 | fn can_move(&self, x: i32, y: i32, dx: i32, dy: i32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn do_move(&mut self, x: i32, y: i32, dx: i32, dy: i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn get_sum(&self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn double(&self) -> Grid { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day16` is never constructed [INFO] [stdout] --> src/day16.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Day16; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Empty`, `Wall`, `Start`, `End`, and `Route` are never constructed [INFO] [stdout] --> src/day16.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum CellState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 7 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | Wall, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Start, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | End, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | Route, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CellState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_char` is never used [INFO] [stdout] --> src/day16.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl CellState { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 15 | fn from_char(c: char) -> CellState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_delta` and `opposite` are never used [INFO] [stdout] --> src/day16.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl Direction { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | fn to_delta(&self) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn opposite(&self) -> Direction { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector` is never constructed [INFO] [stdout] --> src/day16.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | struct Vector { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vector` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day18` is never constructed [INFO] [stdout] --> src/day18.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Day18; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_delta` is never used [INFO] [stdout] --> src/day18.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl Direction { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | fn to_delta(&self) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector` is never constructed [INFO] [stdout] --> src/day18.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | struct Vector { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vector` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day19` is never constructed [INFO] [stdout] --> src/day19.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Day19; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day2` is never constructed [INFO] [stdout] --> src/day2.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Day2; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `row_is_safe` is never used [INFO] [stdout] --> src/day2.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn row_is_safe(report: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day20` is never constructed [INFO] [stdout] --> src/day20.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Day20; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_delta` is never used [INFO] [stdout] --> src/day20.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Direction { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | fn to_delta(&self) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector` is never constructed [INFO] [stdout] --> src/day20.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | struct Vector { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vector` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dijkstra` is never used [INFO] [stdout] --> src/day20.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | fn dijkstra(start: (i32, i32), mut grid: Grid) -> Grid { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day21` is never constructed [INFO] [stdout] --> src/day21.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Day21; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyPad` is never constructed [INFO] [stdout] --> src/day21.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct KeyPad { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyPad` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Robot` is never constructed [INFO] [stdout] --> src/day21.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Robot { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Robot` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `move_str` and `move_to` are never used [INFO] [stdout] --> src/day21.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl Robot { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 21 | fn move_str(&mut self, path: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn move_to(&mut self, target: char) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day21.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn part1(number_keypad: &KeyPad, input_keypad: &KeyPad, code: &str, num: i32) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day22` is never constructed [INFO] [stdout] --> src/day22.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Day22; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `iterate` is never used [INFO] [stdout] --> src/day22.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn iterate(mut secret: i64) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day23` is never constructed [INFO] [stdout] --> src/day23.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Day23; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day24` is never constructed [INFO] [stdout] --> src/day24.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Day24; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Gate` is never constructed [INFO] [stdout] --> src/day24.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Gate { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_output_value` is never used [INFO] [stdout] --> src/day24.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Gate { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 19 | fn get_output_value(&self, inputs: &HashMap) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day25` is never constructed [INFO] [stdout] --> src/day25.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Day25; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Key` is never constructed [INFO] [stdout] --> src/day25.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Key { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Key` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lock` is never constructed [INFO] [stdout] --> src/day25.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Lock { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `overlap` is never used [INFO] [stdout] --> src/day25.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn overlap(key: &Key, lock: &Lock) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day3` is never constructed [INFO] [stdout] --> src/day3.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Day3; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day4` is never constructed [INFO] [stdout] --> src/day4.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Day4; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_match` is never used [INFO] [stdout] --> src/day4.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn check_match(grid: &Vec>, start_x: i32, start_y: i32, dx: i32, dy: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_xmas` is never used [INFO] [stdout] --> src/day4.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn check_xmas(grid: &Vec>, start_x: i32, start_y: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day5` is never constructed [INFO] [stdout] --> src/day5.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Day5; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rule` is never constructed [INFO] [stdout] --> src/day5.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Rule { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid` is never used [INFO] [stdout] --> src/day5.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn is_valid(page: &Vec, rules: &Vec) -> (bool, usize, usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day6` is never constructed [INFO] [stdout] --> src/day6.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Day6; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GridStatus` is never used [INFO] [stdout] --> src/day6.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum GridStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GridStatus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_visited` is never used [INFO] [stdout] --> src/day6.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl GridStatus { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 13 | fn is_visited(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/day6.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `turn_right` is never used [INFO] [stdout] --> src/day6.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Direction { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 30 | fn turn_right(&self) -> Direction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocationWithDirection` is never constructed [INFO] [stdout] --> src/day6.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | struct LocationWithDirection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocationWithDirection` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grid` is never constructed [INFO] [stdout] --> src/day6.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct Grid { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Grid` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_location` is never used [INFO] [stdout] --> src/day6.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Grid { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 53 | fn move_location( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day7` is never constructed [INFO] [stdout] --> src/day7.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Day7; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaxStack` is never constructed [INFO] [stdout] --> src/day7.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct MaxStack { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaxStack` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from`, `check`, and `check2` are never used [INFO] [stdout] --> src/day7.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl MaxStack { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 11 | fn from(stack: &Vec, target: u64) -> MaxStack { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn check(&mut self) -> (bool, Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn check2(&mut self) -> (bool, Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_max` is never used [INFO] [stdout] --> src/day7.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn get_max(stack: &Vec) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_line` is never used [INFO] [stdout] --> src/day7.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn check_line(line: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_line2` is never used [INFO] [stdout] --> src/day7.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn check_line2(line: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day8` is never constructed [INFO] [stdout] --> src/day8.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Day8; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_in_bounds` is never used [INFO] [stdout] --> src/day8.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl Coordinate { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 50 | fn is_in_bounds(&self, x: i32, y: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Day9` is never constructed [INFO] [stdout] --> src/day9.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Day9; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Disc` is never constructed [INFO] [stdout] --> src/day9.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Disc { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Disc` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `checksum` is never used [INFO] [stdout] --> src/day9.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl Disc { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 21 | fn checksum(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.21s [INFO] running `Command { std: "docker" "inspect" "35040d3f8096049233fcfc359e4a61552e9f323ec6dc1d3e5afe8bb0b0d71281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35040d3f8096049233fcfc359e4a61552e9f323ec6dc1d3e5afe8bb0b0d71281", kill_on_drop: false }` [INFO] [stdout] 35040d3f8096049233fcfc359e4a61552e9f323ec6dc1d3e5afe8bb0b0d71281 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d3b4bfa33ec3e8a68e95b9521992592d45e1a75b8a933e8b7b7af5469eb5101a [INFO] running `Command { std: "docker" "start" "-a" "d3b4bfa33ec3e8a68e95b9521992592d45e1a75b8a933e8b7b7af5469eb5101a", kill_on_drop: false }` [INFO] [stderr] Compiling aoc24 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Vector` is never constructed [INFO] [stdout] --> src/day20.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | struct Vector { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vector` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.52s [INFO] running `Command { std: "docker" "inspect" "d3b4bfa33ec3e8a68e95b9521992592d45e1a75b8a933e8b7b7af5469eb5101a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3b4bfa33ec3e8a68e95b9521992592d45e1a75b8a933e8b7b7af5469eb5101a", kill_on_drop: false }` [INFO] [stdout] d3b4bfa33ec3e8a68e95b9521992592d45e1a75b8a933e8b7b7af5469eb5101a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] dba0416d0b77e1fc7863012d587cea71c070c78e6ef93d2cb86c6e951d53d687 [INFO] running `Command { std: "docker" "start" "-a" "dba0416d0b77e1fc7863012d587cea71c070c78e6ef93d2cb86c6e951d53d687", kill_on_drop: false }` [INFO] [stderr] warning: struct `Vector` is never constructed [INFO] [stderr] --> src/day20.rs:91:8 [INFO] [stderr] | [INFO] [stderr] 91 | struct Vector { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Vector` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `aoc24` (bin "aoc24" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/aoc24-89b466abc4e037be) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/aoc24-b60a785b3dd53e35) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test test::day10 ... ok [INFO] [stdout] test test::day1 ... ok [INFO] [stdout] test test::day14 ... ok [INFO] [stdout] test test::day19 ... ok [INFO] [stdout] test test::day15 ... ok [INFO] [stdout] test test::day2 ... ok [INFO] [stdout] test test::day25 ... ok [INFO] [stdout] test test::day5 ... ok [INFO] [stdout] test test::day4 ... ok [INFO] [stdout] test test::day24 ... ok [INFO] [stdout] test test::day8 ... ok [INFO] [stdout] test test::day9 ... ok [INFO] [stdout] test test::day23 ... ok [INFO] [stdout] test test::day7 ... ok [INFO] [stdout] test test::day18 ... ok [INFO] [stdout] test test::day20 ... ok [INFO] [stdout] test test::day12 ... ok [INFO] [stdout] test test::day17 ... ok [INFO] [stdout] test test::day6 ... ok [INFO] [stdout] test test::day11 ... ok [INFO] [stdout] test test::day13 ... ok [INFO] [stdout] test test::day3 ... ok [INFO] [stdout] test test::day16 ... ok [INFO] [stdout] test test::day21 ... ok [INFO] [stdout] test test::day22 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dba0416d0b77e1fc7863012d587cea71c070c78e6ef93d2cb86c6e951d53d687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dba0416d0b77e1fc7863012d587cea71c070c78e6ef93d2cb86c6e951d53d687", kill_on_drop: false }` [INFO] [stdout] dba0416d0b77e1fc7863012d587cea71c070c78e6ef93d2cb86c6e951d53d687