[INFO] cloning repository https://github.com/oupson/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/oupson/advent-of-code-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foupson%2Fadvent-of-code-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foupson%2Fadvent-of-code-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24ccf8a77693ff2623cc361622e147b721b8229e [INFO] testing oupson/advent-of-code-2024 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foupson%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] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/oupson/advent-of-code-2024 [INFO] finished tweaking git repo https://github.com/oupson/advent-of-code-2024 [INFO] tweaked toml for git repo https://github.com/oupson/advent-of-code-2024 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/oupson/advent-of-code-2024 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/oupson/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" "+b83b707f97d809763b7861afa7638871f3339a33" "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/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5078d2e7554e740e0e5e5aed778458500c278e4928244cb49fd9127411fc10f4 [INFO] running `Command { std: "docker" "start" "-a" "5078d2e7554e740e0e5e5aed778458500c278e4928244cb49fd9127411fc10f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5078d2e7554e740e0e5e5aed778458500c278e4928244cb49fd9127411fc10f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5078d2e7554e740e0e5e5aed778458500c278e4928244cb49fd9127411fc10f4", kill_on_drop: false }` [INFO] [stdout] 5078d2e7554e740e0e5e5aed778458500c278e4928244cb49fd9127411fc10f4 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6afb8dcfd32cf3834144b75fa56319b85d84f64d48b4f9bf2786a4ef607585d5 [INFO] running `Command { std: "docker" "start" "-a" "6afb8dcfd32cf3834144b75fa56319b85d84f64d48b4f9bf2786a4ef607585d5", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling advent-of-code-2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cmp::min` [INFO] [stdout] --> src/day02.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cmp::min, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/day06.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/day06.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FxHasher` [INFO] [stdout] --> src/day06.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use fxhash::{FxHashSet, FxHasher}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/day19.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env::var` and `iter::Enumerate` [INFO] [stdout] --> src/day22.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | env::var, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | iter::Enumerate, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/day15.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::zip` [INFO] [stdout] --> src/day15.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | iter::zip, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `day25` [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | day25::run_day()?; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `day25` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 41 - day25::run_day()?; [INFO] [stdout] 41 + day05::run_day()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day03.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | fn part_one(mut lines: I) -> anyhow::Result [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cheat` [INFO] [stdout] --> src/day20.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | cheat: bool, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cheat` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `picosecs` [INFO] [stdout] --> src/day20.rs:176:30 [INFO] [stdout] | [INFO] [stdout] 176 | fn part_one(mut lines: I, picosecs: usize) -> anyhow::Result [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_picosecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day20.rs:176:16 [INFO] [stdout] | [INFO] [stdout] 176 | fn part_one(mut lines: I, picosecs: usize) -> anyhow::Result [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day20.rs:191:20 [INFO] [stdout] | [INFO] [stdout] 191 | fn part_two(mut lines: I) -> anyhow::Result [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day20.rs:191:16 [INFO] [stdout] | [INFO] [stdout] 191 | fn part_two(mut lines: I) -> anyhow::Result [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/day15.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 157 | fn part_two(lines: I) -> anyhow::Result [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2024` (bin "advent-of-code-2024") due to 1 previous error; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6afb8dcfd32cf3834144b75fa56319b85d84f64d48b4f9bf2786a4ef607585d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6afb8dcfd32cf3834144b75fa56319b85d84f64d48b4f9bf2786a4ef607585d5", kill_on_drop: false }` [INFO] [stdout] 6afb8dcfd32cf3834144b75fa56319b85d84f64d48b4f9bf2786a4ef607585d5