[INFO] cloning repository https://github.com/JamesEllerbee/AdventOfCode2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JamesEllerbee/AdventOfCode2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesEllerbee%2FAdventOfCode2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesEllerbee%2FAdventOfCode2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ef0d00358daee1f867c7d445bbcd1f29e26e3f9 [INFO] checking JamesEllerbee/AdventOfCode2024 against try#a0cd57eba5d417638d3351ba13fc414ad1a24bec for pr-134688 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesEllerbee%2FAdventOfCode2024" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JamesEllerbee/AdventOfCode2024 on toolchain a0cd57eba5d417638d3351ba13fc414ad1a24bec [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JamesEllerbee/AdventOfCode2024 [INFO] finished tweaking git repo https://github.com/JamesEllerbee/AdventOfCode2024 [INFO] tweaked toml for git repo https://github.com/JamesEllerbee/AdventOfCode2024 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JamesEllerbee/AdventOfCode2024 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" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f52c35569ff9aa8f653768b19db1773b024145f57e57a911673027efebaa3d0f [INFO] running `Command { std: "docker" "start" "-a" "f52c35569ff9aa8f653768b19db1773b024145f57e57a911673027efebaa3d0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f52c35569ff9aa8f653768b19db1773b024145f57e57a911673027efebaa3d0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f52c35569ff9aa8f653768b19db1773b024145f57e57a911673027efebaa3d0f", kill_on_drop: false }` [INFO] [stdout] f52c35569ff9aa8f653768b19db1773b024145f57e57a911673027efebaa3d0f [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21c467e82df6d9b6e49d9c3489070b8dabdf080bc1912cdb28a47c1dce7490e7 [INFO] running `Command { std: "docker" "start" "-a" "21c467e82df6d9b6e49d9c3489070b8dabdf080bc1912cdb28a47c1dce7490e7", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking AdventOfCode2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::PartialEq` [INFO] [stdout] --> src/red_nodes_reports.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::PartialEq` [INFO] [stdout] --> src/red_nodes_reports.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/mull_it_over/instruction.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | if (self.operands.len() > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - if (self.operands.len() > 0) { [INFO] [stdout] 16 + if self.operands.len() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/mull_it_over/instruction.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | if (self.operands.len() > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - if (self.operands.len() > 0) { [INFO] [stdout] 16 + if self.operands.len() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/historian_hysteria.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let mut total = location_ids[0].ids.len(); [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: variable does not need to be mutable [INFO] [stdout] --> src/historian_hysteria.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let mut total = location_ids[0].ids.len(); [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: variable does not need to be mutable [INFO] [stdout] --> src/historian_hysteria.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut total = location_ids[0].ids.len(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/historian_hysteria.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut total = location_ids[0].ids.len(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/red_nodes_reports.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut levels = report.levels.clone(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/red_nodes_reports.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut levels = report.levels.clone(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_historian_hysteria` is never used [INFO] [stdout] --> src/historian_hysteria.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve_historian_hysteria() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_input` is never used [INFO] [stdout] --> src/historian_hysteria.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn parse_input(input: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_distance` is never used [INFO] [stdout] --> src/historian_hysteria.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn calculate_distance(location_ids: Vec) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_similarity` is never used [INFO] [stdout] --> src/historian_hysteria.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn calculate_similarity(location_ids: Vec) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocationIdList` is never constructed [INFO] [stdout] --> src/historian_hysteria/location_id_list.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct LocationIdList { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocationIdList` 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: function `solve_historian_hysteria` is never used [INFO] [stdout] --> src/historian_hysteria.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn solve_historian_hysteria() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_red_nosed_reports` is never used [INFO] [stdout] --> src/red_nodes_reports.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn solve_red_nosed_reports() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_input` is never used [INFO] [stdout] --> src/historian_hysteria.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn parse_input(input: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_levels_safe` is never used [INFO] [stdout] --> src/red_nodes_reports.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn is_levels_safe(levels: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_safe` is never used [INFO] [stdout] --> src/red_nodes_reports.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn calculate_safe(reports: Vec, times_to_check: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_distance` is never used [INFO] [stdout] --> src/historian_hysteria.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn calculate_distance(location_ids: Vec) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_input` is never used [INFO] [stdout] --> src/red_nodes_reports.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn parse_input(input: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_similarity` is never used [INFO] [stdout] --> src/historian_hysteria.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn calculate_similarity(location_ids: Vec) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocationIdList` is never constructed [INFO] [stdout] --> src/historian_hysteria/location_id_list.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct LocationIdList { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocationIdList` 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: variants `Increasing`, `Decreasing`, `Equal`, and `NotYetSet` are never constructed [INFO] [stdout] --> src/red_nodes_reports/direction.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 3 | Increasing, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 4 | Decreasing, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | NotYetSet [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: function `solve_red_nosed_reports` is never used [INFO] [stdout] --> src/red_nodes_reports.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn solve_red_nosed_reports() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_levels_safe` is never used [INFO] [stdout] --> src/red_nodes_reports.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn is_levels_safe(levels: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Report` is never constructed [INFO] [stdout] --> src/red_nodes_reports/report.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Report { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Report` 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: function `calculate_safe` is never used [INFO] [stdout] --> src/red_nodes_reports.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn calculate_safe(reports: Vec, times_to_check: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/red_nodes_reports.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | if i > 0 && i - 1 >= 0 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_input` is never used [INFO] [stdout] --> src/red_nodes_reports.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn parse_input(input: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Increasing`, `Decreasing`, `Equal`, and `NotYetSet` are never constructed [INFO] [stdout] --> src/red_nodes_reports/direction.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 3 | Increasing, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 4 | Decreasing, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | NotYetSet [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: struct `Report` is never constructed [INFO] [stdout] --> src/red_nodes_reports/report.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Report { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Report` 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: comparison is useless due to type limits [INFO] [stdout] --> src/red_nodes_reports.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | if i > 0 && i - 1 >= 0 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.54s [INFO] running `Command { std: "docker" "inspect" "21c467e82df6d9b6e49d9c3489070b8dabdf080bc1912cdb28a47c1dce7490e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21c467e82df6d9b6e49d9c3489070b8dabdf080bc1912cdb28a47c1dce7490e7", kill_on_drop: false }` [INFO] [stdout] 21c467e82df6d9b6e49d9c3489070b8dabdf080bc1912cdb28a47c1dce7490e7