[INFO] cloning repository https://github.com/geisterfahrerSOS/advent_of_code_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/geisterfahrerSOS/advent_of_code_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgeisterfahrerSOS%2Fadvent_of_code_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgeisterfahrerSOS%2Fadvent_of_code_2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3819cd77a8bfa8591bca7bf34edad82139f7b4ca [INFO] checking geisterfahrerSOS/advent_of_code_2024 against try#409ef99a7d4dc96ae91f65d4b48413ed174514d6 for pr-137633 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgeisterfahrerSOS%2Fadvent_of_code_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] validating manifest of git repo https://github.com/geisterfahrerSOS/advent_of_code_2024 on toolchain 409ef99a7d4dc96ae91f65d4b48413ed174514d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/geisterfahrerSOS/advent_of_code_2024 [INFO] finished tweaking git repo https://github.com/geisterfahrerSOS/advent_of_code_2024 [INFO] tweaked toml for git repo https://github.com/geisterfahrerSOS/advent_of_code_2024 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/geisterfahrerSOS/advent_of_code_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" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17bbec4d56dbe323d156ce09a23ec96557d6dd12a8bc3b2a56f00d1a3ca244bb [INFO] running `Command { std: "docker" "start" "-a" "17bbec4d56dbe323d156ce09a23ec96557d6dd12a8bc3b2a56f00d1a3ca244bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17bbec4d56dbe323d156ce09a23ec96557d6dd12a8bc3b2a56f00d1a3ca244bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17bbec4d56dbe323d156ce09a23ec96557d6dd12a8bc3b2a56f00d1a3ca244bb", kill_on_drop: false }` [INFO] [stdout] 17bbec4d56dbe323d156ce09a23ec96557d6dd12a8bc3b2a56f00d1a3ca244bb [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86539f120816f446525cb27398641fb3b3af2e70d10c6cfeb90b9cdc38df5b5b [INFO] running `Command { std: "docker" "start" "-a" "86539f120816f446525cb27398641fb3b3af2e70d10c6cfeb90b9cdc38df5b5b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking tinyjson v2.5.1 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking advent_of_code v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hash_set` [INFO] [stdout] --> src/bin/10.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::{hash_set, HashSet}, io::{Error, ErrorKind}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_delta` is never used [INFO] [stdout] --> src/bin/06.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 156 | impl Coordinate { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 157 | fn add_delta(&mut self, row_delta: i32, col_delta: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_for_possible_obstacle` is never used [INFO] [stdout] --> src/bin/06.rs:298:8 [INFO] [stdout] | [INFO] [stdout] 210 | impl Guard { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 298 | fn check_for_possible_obstacle(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `safety_changes` is never used [INFO] [stdout] --> src/bin/02.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn safety_changes(report: &mut Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_delta` is never used [INFO] [stdout] --> src/bin/06.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 156 | impl Coordinate { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 157 | fn add_delta(&mut self, row_delta: i32, col_delta: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_for_possible_obstacle` is never used [INFO] [stdout] --> src/bin/06.rs:298:8 [INFO] [stdout] | [INFO] [stdout] 210 | impl Guard { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 298 | fn check_for_possible_obstacle(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/10.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_field_from_coordinate` is never used [INFO] [stdout] --> src/bin/10.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl Map { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | fn set_field_from_coordinate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_delta` is never used [INFO] [stdout] --> src/bin/10.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 218 | impl Coordinate { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 219 | fn add_delta(&mut self, row_delta: i32, col_delta: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `turn_right` is never used [INFO] [stdout] --> src/bin/10.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 240 | impl Direction { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 249 | fn turn_right(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/08.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_set` [INFO] [stdout] --> src/bin/10.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::{hash_set, HashSet}, io::{Error, ErrorKind}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/bin/07.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [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/bin/07.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | if (equation.1.len() - 2 - calculation_counter <= 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - if (equation.1.len() - 2 - calculation_counter <= 0) { [INFO] [stdout] 85 + if equation.1.len() - 2 - calculation_counter <= 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `path::Component` [INFO] [stdout] --> src/bin/05.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fmt::Error, path::Component, vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `path::Component` [INFO] [stdout] --> src/bin/05.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fmt::Error, path::Component, vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_function` is never used [INFO] [stdout] --> src/bin/07.rs:151:4 [INFO] [stdout] | [INFO] [stdout] 151 | fn match_function( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `safety_changes` is never used [INFO] [stdout] --> src/bin/02.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn safety_changes(report: &mut Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rule_topology` [INFO] [stdout] --> src/bin/05.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let rule_topology = match transform_rules_to_topology_new(&parse_output.rules) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rule_topology` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/bin/07.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [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/bin/07.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | if (equation.1.len() - 2 - calculation_counter <= 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - if (equation.1.len() - 2 - calculation_counter <= 0) { [INFO] [stdout] 85 + if equation.1.len() - 2 - calculation_counter <= 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rule_topology` [INFO] [stdout] --> src/bin/05.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let rule_topology = match transform_rules_to_topology_new(&parse_output.rules) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rule_topology` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `correct_print` is never used [INFO] [stdout] --> src/bin/05.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn correct_print(mut print: Vec, rules: &Vec<(u32, u32)>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transform_rules_to_topology` is never used [INFO] [stdout] --> src/bin/05.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn transform_rules_to_topology(rules: &Vec<(u32, u32)>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `correct_print` is never used [INFO] [stdout] --> src/bin/05.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn correct_print(mut print: Vec, rules: &Vec<(u32, u32)>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transform_rules_to_topology` is never used [INFO] [stdout] --> src/bin/05.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn transform_rules_to_topology(rules: &Vec<(u32, u32)>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/08.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/10.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_function` is never used [INFO] [stdout] --> src/bin/07.rs:151:4 [INFO] [stdout] | [INFO] [stdout] 151 | fn match_function( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_field_from_coordinate` is never used [INFO] [stdout] --> src/bin/10.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl Map { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | fn set_field_from_coordinate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_delta` is never used [INFO] [stdout] --> src/bin/10.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 218 | impl Coordinate { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 219 | fn add_delta(&mut self, row_delta: i32, col_delta: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `turn_right` is never used [INFO] [stdout] --> src/bin/10.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 240 | impl Direction { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 249 | fn turn_right(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.51s [INFO] running `Command { std: "docker" "inspect" "86539f120816f446525cb27398641fb3b3af2e70d10c6cfeb90b9cdc38df5b5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86539f120816f446525cb27398641fb3b3af2e70d10c6cfeb90b9cdc38df5b5b", kill_on_drop: false }` [INFO] [stdout] 86539f120816f446525cb27398641fb3b3af2e70d10c6cfeb90b9cdc38df5b5b