[INFO] cloning repository https://github.com/tehpsy/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/tehpsy/advent-of-code-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftehpsy%2Fadvent-of-code-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftehpsy%2Fadvent-of-code-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31b0d226029fdc68b040c018d1dfa5f37071a20e [INFO] checking tehpsy/advent-of-code-2024 against f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1 for pr-160235-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftehpsy%2Fadvent-of-code-2024" "/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/tehpsy/advent-of-code-2024 [INFO] finished tweaking git repo https://github.com/tehpsy/advent-of-code-2024 [INFO] tweaked toml for git repo https://github.com/tehpsy/advent-of-code-2024 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tehpsy/advent-of-code-2024 on toolchain f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tehpsy/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" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] c10dcadf5e82c2a3f1e9582198730cac396d4f48ded3f7be1ea3350ba66ac714 [INFO] running `Command { std: "docker" "start" "c10dcadf5e82c2a3f1e9582198730cac396d4f48ded3f7be1ea3350ba66ac714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c10dcadf5e82c2a3f1e9582198730cac396d4f48ded3f7be1ea3350ba66ac714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c10dcadf5e82c2a3f1e9582198730cac396d4f48ded3f7be1ea3350ba66ac714" "/opt/rustwide/cargo-home/bin/cargo" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c10dcadf5e82c2a3f1e9582198730cac396d4f48ded3f7be1ea3350ba66ac714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c10dcadf5e82c2a3f1e9582198730cac396d4f48ded3f7be1ea3350ba66ac714" "/opt/rustwide/cargo-home/bin/cargo" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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 advent-of-code-2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `end` is never read [INFO] [stdout] --> src/day03.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | let mut end = start; [INFO] [stdout] | ^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 61 | end = next_offset.0; [INFO] [stdout] | ------------------- `end` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end` is never read [INFO] [stdout] --> src/day03.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | let mut end = start; [INFO] [stdout] | ^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 61 | end = next_offset.0; [INFO] [stdout] | ------------------- `end` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `start_index` is never read [INFO] [stdout] --> src/day09.rs:98:42 [INFO] [stdout] | [INFO] [stdout] 98 | let mut start_index: Option = None; [INFO] [stdout] | ^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 128 | start_index = Some(index + 1); [INFO] [stdout] | ----------------------------- `start_index` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `start_index` is never read [INFO] [stdout] --> src/day09.rs:98:42 [INFO] [stdout] | [INFO] [stdout] 98 | let mut start_index: Option = None; [INFO] [stdout] | ^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 128 | start_index = Some(index + 1); [INFO] [stdout] | ----------------------------- `start_index` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Machine` is more private than the item `intersection_for` [INFO] [stdout] --> src/day13.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn intersection_for(machine: &Machine) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `intersection_for` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Machine` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/day13.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct Machine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Machine` is more private than the item `min_tickets` [INFO] [stdout] --> src/day13.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn min_tickets(machine: &Machine) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `min_tickets` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Machine` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/day13.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct Machine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Machine` is more private than the item `intersection_for` [INFO] [stdout] --> src/day13.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn intersection_for(machine: &Machine) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `intersection_for` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Machine` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/day13.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct Machine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Machine` is more private than the item `min_tickets` [INFO] [stdout] --> src/day13.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn min_tickets(machine: &Machine) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `min_tickets` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Machine` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/day13.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct Machine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `letter` is never read [INFO] [stdout] --> src/day12.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | struct Region { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 108 | letter: char, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Region` 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 `letter` is never read [INFO] [stdout] --> src/day12.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | struct Region { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 108 | letter: char, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Region` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.32s [INFO] running `Command { std: "docker" "inspect" "c10dcadf5e82c2a3f1e9582198730cac396d4f48ded3f7be1ea3350ba66ac714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c10dcadf5e82c2a3f1e9582198730cac396d4f48ded3f7be1ea3350ba66ac714", kill_on_drop: false }` [INFO] [stdout] c10dcadf5e82c2a3f1e9582198730cac396d4f48ded3f7be1ea3350ba66ac714