[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 master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesEllerbee%2FAdventOfCode2024" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JamesEllerbee/AdventOfCode2024 on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking JamesEllerbee/AdventOfCode2024 against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesEllerbee%2FAdventOfCode2024" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JamesEllerbee/AdventOfCode2024 on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07fb29acd138abaccec83b76ef8d308f578e4031ad99b964cf3263b0cc342afb [INFO] running `Command { std: "docker" "start" "-a" "07fb29acd138abaccec83b76ef8d308f578e4031ad99b964cf3263b0cc342afb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07fb29acd138abaccec83b76ef8d308f578e4031ad99b964cf3263b0cc342afb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07fb29acd138abaccec83b76ef8d308f578e4031ad99b964cf3263b0cc342afb", kill_on_drop: false }` [INFO] [stdout] 07fb29acd138abaccec83b76ef8d308f578e4031ad99b964cf3263b0cc342afb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf33934052993fa5e8d7b13cd4fad8c5fe8345f92a6627cd277a8035f09c92c1 [INFO] running `Command { std: "docker" "start" "-a" "bf33934052993fa5e8d7b13cd4fad8c5fe8345f92a6627cd277a8035f09c92c1", 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: 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: 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: 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/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] [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: 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 `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: enum `Direction` is never used [INFO] [stdout] --> src/red_nodes_reports/direction.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Direction { [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] [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: 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/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] [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: 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 `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: enum `Direction` is never used [INFO] [stdout] --> src/red_nodes_reports/direction.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Direction { [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] [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 4.54s [INFO] running `Command { std: "docker" "inspect" "bf33934052993fa5e8d7b13cd4fad8c5fe8345f92a6627cd277a8035f09c92c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf33934052993fa5e8d7b13cd4fad8c5fe8345f92a6627cd277a8035f09c92c1", kill_on_drop: false }` [INFO] [stdout] bf33934052993fa5e8d7b13cd4fad8c5fe8345f92a6627cd277a8035f09c92c1