[INFO] cloning repository https://github.com/danwritecode/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/danwritecode/aoc_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanwritecode%2Faoc_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanwritecode%2Faoc_2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca87d263b4d7b175f0bce19d60fe695ac6ae2da7 [INFO] checking danwritecode/aoc_2024 against try#81ab7f2139295590561adbe6d5b0aaa2feff765f for pr-146470-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanwritecode%2Faoc_2024" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/danwritecode/aoc_2024 [INFO] finished tweaking git repo https://github.com/danwritecode/aoc_2024 [INFO] tweaked toml for git repo https://github.com/danwritecode/aoc_2024 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/danwritecode/aoc_2024 on toolchain 81ab7f2139295590561adbe6d5b0aaa2feff765f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/danwritecode/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" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f91fafd475d89ba3e3fb941c9d3f63158eb947c31813f6dee5e8c611bc02c7dd [INFO] running `Command { std: "docker" "start" "-a" "f91fafd475d89ba3e3fb941c9d3f63158eb947c31813f6dee5e8c611bc02c7dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f91fafd475d89ba3e3fb941c9d3f63158eb947c31813f6dee5e8c611bc02c7dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f91fafd475d89ba3e3fb941c9d3f63158eb947c31813f6dee5e8c611bc02c7dd", kill_on_drop: false }` [INFO] [stdout] f91fafd475d89ba3e3fb941c9d3f63158eb947c31813f6dee5e8c611bc02c7dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4521bc35c184a240186505cc83629e50962487a23f02c77a7b68113172d5dbce [INFO] running `Command { std: "docker" "start" "-a" "4521bc35c184a240186505cc83629e50962487a23f02c77a7b68113172d5dbce", kill_on_drop: false }` [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking aoc_2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `position_one` [INFO] [stdout] --> src/day3.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let position_one = matches.name("position_one").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position_one` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position_two` [INFO] [stdout] --> src/day3.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let position_two = matches.name("position_two").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position_two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AdventReturn` is never used [INFO] [stdout] --> src/main.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum AdventReturn { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AdventDay` is never used [INFO] [stdout] --> src/main.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | trait AdventDay { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_contents` is never read [INFO] [stdout] --> src/day1.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DayOne { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | file_contents: String [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse` is never used [INFO] [stdout] --> src/day1.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl DayOne { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 51 | fn parse(&self) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_contents` is never read [INFO] [stdout] --> src/day2.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DayTwo { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | file_contents: String [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse`, `row_is_valid`, and `is_next_valid` are never used [INFO] [stdout] --> src/day2.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 55 | impl DayTwo { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 56 | fn parse(&self) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn row_is_valid(row: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn is_next_valid(current: &i32, next: &i32, is_increasing: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_contents` is never read [INFO] [stdout] --> src/day3.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DayThree { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 9 | file_contents: String [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse` is never used [INFO] [stdout] --> src/day3.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl DayThree { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 30 | fn parse(&self) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parser` is never used [INFO] [stdout] --> src/day3.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn parser(line: &str) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_contents` and `matrix` are never read [INFO] [stdout] --> src/day4.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DayFour { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | file_contents: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | matrix: Vec> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `process_pt1`, and `process_pt2` are never used [INFO] [stdout] --> src/day4.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl DayFour { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 10 | fn new(input_path: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn process_pt1(&self) -> AdventReturn { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn process_pt2(&self) -> AdventReturn { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EvalDirection` is never used [INFO] [stdout] --> src/day4.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | enum EvalDirection { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/day4.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl DayFour { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 51 | fn parse(file_contents: &String) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn eval_xmas_ct(&self, x: usize, y: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn eval_x_mas_ct(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn eval_word_direction(&self, x: usize, y: usize, direction: EvalDirection, match_word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | fn get_above(&self, x: usize, y: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | fn get_below(&self, x: usize, y: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | fn get_right(&self, x: usize, y: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | fn get_left(&self, x: usize, y: usize) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn get_diag_up_right(&self, x: usize, y: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | fn get_diag_up_left(&self, x: usize, y: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | fn get_diag_down_right(&self, x: usize, y: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | fn get_diag_down_left(&self, x: usize, y: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | fn can_move(&self, x: usize, y: usize, direction: EvalDirection) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | fn get_coord_char(&self, x: usize, y: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position_one` [INFO] [stdout] --> src/day3.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let position_one = matches.name("position_one").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position_one` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position_two` [INFO] [stdout] --> src/day3.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let position_two = matches.name("position_two").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position_two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `String` and `Float` are never constructed [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum AdventReturn { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 10 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | Integer(i32), [INFO] [stdout] 12 | Float(f64) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdventReturn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_contents` is never read [INFO] [stdout] --> src/day3.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DayThree { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 9 | file_contents: String [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse` is never used [INFO] [stdout] --> src/day3.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl DayThree { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 30 | fn parse(&self) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1_sample_input_test` is never used [INFO] [stdout] --> src/day3.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn pt1_sample_input_test() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt1_full_sample_input_test` is never used [INFO] [stdout] --> src/day3.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn pt1_full_sample_input_test() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt2_sample_input_test` is never used [INFO] [stdout] --> src/day3.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | fn pt2_sample_input_test() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pt2_full_sample_input_test` is never used [INFO] [stdout] --> src/day3.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn pt2_full_sample_input_test() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_contents` is never read [INFO] [stdout] --> src/day4.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DayFour { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | file_contents: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.52s [INFO] running `Command { std: "docker" "inspect" "4521bc35c184a240186505cc83629e50962487a23f02c77a7b68113172d5dbce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4521bc35c184a240186505cc83629e50962487a23f02c77a7b68113172d5dbce", kill_on_drop: false }` [INFO] [stdout] 4521bc35c184a240186505cc83629e50962487a23f02c77a7b68113172d5dbce