[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#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanwritecode%2Faoc_2024" "/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/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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/danwritecode/aoc_2024 on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b49b6ba7dfff9798fc763745761bab361e906caeff0e0852a152ad45b91bba0e [INFO] running `Command { std: "docker" "start" "-a" "b49b6ba7dfff9798fc763745761bab361e906caeff0e0852a152ad45b91bba0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b49b6ba7dfff9798fc763745761bab361e906caeff0e0852a152ad45b91bba0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b49b6ba7dfff9798fc763745761bab361e906caeff0e0852a152ad45b91bba0e", kill_on_drop: false }` [INFO] [stdout] b49b6ba7dfff9798fc763745761bab361e906caeff0e0852a152ad45b91bba0e [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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8045178e8aba103a7e8287f9a893c88bac4db6f8883470a7c034ad585a5b99f1 [INFO] running `Command { std: "docker" "start" "-a" "8045178e8aba103a7e8287f9a893c88bac4db6f8883470a7c034ad585a5b99f1", kill_on_drop: false }` [INFO] [stderr] Checking nom v7.1.3 [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] error: struct `DayOne` is never constructed [INFO] [stdout] --> src/day1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DayOne { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [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] error: struct `DayTwo` is never constructed [INFO] [stdout] --> src/day2.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DayTwo { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [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] error: struct `DayThree` is never constructed [INFO] [stdout] --> src/day3.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DayThree { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [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] error: struct `DayFour` is never constructed [INFO] [stdout] --> src/day4.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DayFour { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [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] [stderr] error: could not compile `aoc_2024` (bin "aoc_2024") due to 4 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: struct `DayThree` is never constructed [INFO] [stdout] --> src/day3.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DayThree { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(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] error: could not compile `aoc_2024` (bin "aoc_2024" test) due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8045178e8aba103a7e8287f9a893c88bac4db6f8883470a7c034ad585a5b99f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8045178e8aba103a7e8287f9a893c88bac4db6f8883470a7c034ad585a5b99f1", kill_on_drop: false }` [INFO] [stdout] 8045178e8aba103a7e8287f9a893c88bac4db6f8883470a7c034ad585a5b99f1