[INFO] cloning repository https://github.com/thewisenerd/aoc24 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thewisenerd/aoc24" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthewisenerd%2Faoc24", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthewisenerd%2Faoc24'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09376560274bc6e83c627fed01bdc717047157f0 [INFO] checking thewisenerd/aoc24 against try#4907eac94165faff6c5e5e015670b1c584275f7b for pr-154149 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthewisenerd%2Faoc24" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thewisenerd/aoc24 [INFO] finished tweaking git repo https://github.com/thewisenerd/aoc24 [INFO] tweaked toml for git repo https://github.com/thewisenerd/aoc24 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thewisenerd/aoc24 on toolchain 4907eac94165faff6c5e5e015670b1c584275f7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thewisenerd/aoc24 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" "+4907eac94165faff6c5e5e015670b1c584275f7b" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10a323df003574a9c950ad07bf1da7bd4d8de6ecef27687f3f74f5a5408ec305 [INFO] running `Command { std: "docker" "start" "-a" "10a323df003574a9c950ad07bf1da7bd4d8de6ecef27687f3f74f5a5408ec305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10a323df003574a9c950ad07bf1da7bd4d8de6ecef27687f3f74f5a5408ec305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10a323df003574a9c950ad07bf1da7bd4d8de6ecef27687f3f74f5a5408ec305", kill_on_drop: false }` [INFO] [stdout] 10a323df003574a9c950ad07bf1da7bd4d8de6ecef27687f3f74f5a5408ec305 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f24a967539fd591619a0b5e124331a6b26862c8f68a9dd36d80ada253fbfcc01 [INFO] running `Command { std: "docker" "start" "-a" "f24a967539fd591619a0b5e124331a6b26862c8f68a9dd36d80ada253fbfcc01", kill_on_drop: false }` [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking aoc24 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/d01.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one` is never used [INFO] [stdout] --> src/d01.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn one() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two` is never used [INFO] [stdout] --> src/d01.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn two() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `safe` is never used [INFO] [stdout] --> src/d02.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn safe(m: i32, n: i32, asc: bool) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one` is never used [INFO] [stdout] --> src/d02.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn one() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_line_safe_one` is never used [INFO] [stdout] --> src/d02.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn is_line_safe_one(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_line_safe_damp` is never used [INFO] [stdout] --> src/d02.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn is_line_safe_damp(line: &str, damp: Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two` is never used [INFO] [stdout] --> src/d02.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn two() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_one` is never used [INFO] [stdout] --> src/d03.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn calc_one(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one` is never used [INFO] [stdout] --> src/d03.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn one() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_two` is never used [INFO] [stdout] --> src/d03.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn calc_two(input: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two` is never used [INFO] [stdout] --> src/d03.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn two() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find` is never used [INFO] [stdout] --> src/d04.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn find(grid: Vec>, x: usize, y: usize, current: i32, dx: i32, dy: i32) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_one` is never used [INFO] [stdout] --> src/d04.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn scan_one(input: String) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_two` is never used [INFO] [stdout] --> src/d04.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn scan_two(input: String) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one` is never used [INFO] [stdout] --> src/d04.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn one() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two` is never used [INFO] [stdout] --> src/d04.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn two() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rule` is never constructed [INFO] [stdout] --> src/d05.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Rule { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `safe` is never used [INFO] [stdout] --> src/d05.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn safe(rule_map: &HashMap, numbers: Vec) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reorder` is never used [INFO] [stdout] --> src/d05.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn reorder(rule_map: &HashMap, numbers: Vec, depth: usize) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/d05.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn parse(input: String, part_two: bool) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Guard` is never constructed [INFO] [stdout] --> src/d06.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Guard { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GridCell` is never constructed [INFO] [stdout] --> src/d06.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct GridCell { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/d06.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_cell` is never used [INFO] [stdout] --> src/d06.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn print_cell(cell: &GridCell, guard: &Guard) -> char { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_cell` is never used [INFO] [stdout] --> src/d06.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn parse_cell(ch: char, x: usize, y: usize) -> (GridCell, Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_grid` is never used [INFO] [stdout] --> src/d06.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn parse_grid(input: String) -> State { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_grid` is never used [INFO] [stdout] --> src/d06.rs:147:4 [INFO] [stdout] | [INFO] [stdout] 147 | fn print_grid(grid: &State) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_cell` is never used [INFO] [stdout] --> src/d06.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | fn next_cell<'a>(grid: &'a Vec>, guard: &Guard) -> Option<&'a GridCell> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `walk` is never used [INFO] [stdout] --> src/d06.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn walk(mut state: State) -> (bool, i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `identify_loop_positions` is never used [INFO] [stdout] --> src/d06.rs:221:4 [INFO] [stdout] | [INFO] [stdout] 221 | fn identify_loop_positions(state: State) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index_math` is never used [INFO] [stdout] --> src/utils.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn index_math(n: usize, dn: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `permutations` is never used [INFO] [stdout] --> src/d07.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn permutations(numbers: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `possible_op` is never used [INFO] [stdout] --> src/d07.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn possible_op(input: &Input) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_possible_op` is never used [INFO] [stdout] --> src/d07.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn sum_possible_op(lines: Vec) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/d01.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one` is never used [INFO] [stdout] --> src/d01.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn one() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two` is never used [INFO] [stdout] --> src/d01.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn two() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one` is never used [INFO] [stdout] --> src/d02.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn one() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_line_safe_one` is never used [INFO] [stdout] --> src/d02.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn is_line_safe_one(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two` is never used [INFO] [stdout] --> src/d02.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn two() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one` is never used [INFO] [stdout] --> src/d03.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn one() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two` is never used [INFO] [stdout] --> src/d03.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn two() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `one` is never used [INFO] [stdout] --> src/d04.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn one() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two` is never used [INFO] [stdout] --> src/d04.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn two() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_cell` is never used [INFO] [stdout] --> src/d06.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn print_cell(cell: &GridCell, guard: &Guard) -> char { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_grid` is never used [INFO] [stdout] --> src/d06.rs:147:4 [INFO] [stdout] | [INFO] [stdout] 147 | fn print_grid(grid: &State) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.09s [INFO] running `Command { std: "docker" "inspect" "f24a967539fd591619a0b5e124331a6b26862c8f68a9dd36d80ada253fbfcc01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f24a967539fd591619a0b5e124331a6b26862c8f68a9dd36d80ada253fbfcc01", kill_on_drop: false }` [INFO] [stdout] f24a967539fd591619a0b5e124331a6b26862c8f68a9dd36d80ada253fbfcc01