[INFO] cloning repository https://github.com/tannermpeterson/AoC-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tannermpeterson/AoC-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftannermpeterson%2FAoC-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftannermpeterson%2FAoC-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c95d24ad3695ae1cd46cdf881e3f1d85c33c4af4 [INFO] building tannermpeterson/AoC-2024 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftannermpeterson%2FAoC-2024" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tannermpeterson/AoC-2024 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tannermpeterson/AoC-2024 [INFO] finished tweaking git repo https://github.com/tannermpeterson/AoC-2024 [INFO] tweaked toml for git repo https://github.com/tannermpeterson/AoC-2024 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tannermpeterson/AoC-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rtrb v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 794a5497eb9d5d8a0a3356ac3757f81dec511f064736ed7182cc4f1011ce06bf [INFO] running `Command { std: "docker" "start" "-a" "794a5497eb9d5d8a0a3356ac3757f81dec511f064736ed7182cc4f1011ce06bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "794a5497eb9d5d8a0a3356ac3757f81dec511f064736ed7182cc4f1011ce06bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "794a5497eb9d5d8a0a3356ac3757f81dec511f064736ed7182cc4f1011ce06bf", kill_on_drop: false }` [INFO] [stdout] 794a5497eb9d5d8a0a3356ac3757f81dec511f064736ed7182cc4f1011ce06bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5cbf3fac96a0ba4d47304c0780389b54b9a4d2e7acb064b833a36a9d1ea4813 [INFO] running `Command { std: "docker" "start" "-a" "c5cbf3fac96a0ba4d47304c0780389b54b9a4d2e7acb064b833a36a9d1ea4813", kill_on_drop: false }` [INFO] [stderr] Compiling rtrb v0.3.1 [INFO] [stderr] Compiling aoc-2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/../inputs/day9.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/main.rs:773:21 [INFO] [stdout] | [INFO] [stdout] 773 | let input = include_str!("../inputs/day9.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../inputs/day11.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/main.rs:1018:9 [INFO] [stdout] | [INFO] [stdout] 1018 | include_str!("../inputs/day11.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/main.rs:670:37 [INFO] [stdout] | [INFO] [stdout] 670 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/main.rs:1073:23 [INFO] [stdout] | [INFO] [stdout] 1073 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread::sleep` and `time::Duration` [INFO] [stdout] --> src/main.rs:1416:9 [INFO] [stdout] | [INFO] [stdout] 1416 | thread::sleep, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 1417 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp::Ordering` [INFO] [stdout] --> src/main.rs:1564:9 [INFO] [stdout] | [INFO] [stdout] 1564 | cmp::Ordering, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/main.rs:1988:23 [INFO] [stdout] | [INFO] [stdout] 1988 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet`, `HashMap`, and `HashSet` [INFO] [stdout] --> src/main.rs:2810:23 [INFO] [stdout] | [INFO] [stdout] 2810 | collections::{BTreeSet, HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test` [INFO] [stdout] --> src/main.rs:2114:21 [INFO] [stdout] | [INFO] [stdout] 2114 | let mut test: HashSet = HashSet::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bases` [INFO] [stdout] --> src/main.rs:2116:17 [INFO] [stdout] | [INFO] [stdout] 2116 | let bases: Vec = vec![ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/main.rs:2126:17 [INFO] [stdout] | [INFO] [stdout] 2126 | let len: u64 = 3 * 8 + 1; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_idx` [INFO] [stdout] --> src/main.rs:2135:25 [INFO] [stdout] | [INFO] [stdout] 2135 | let mut output_idx = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:2114:17 [INFO] [stdout] | [INFO] [stdout] 2114 | let mut test: HashSet = HashSet::new(); [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/main.rs:2135:21 [INFO] [stdout] | [INFO] [stdout] 2135 | let mut output_idx = 0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f1` [INFO] [stdout] --> src/main.rs:3316:9 [INFO] [stdout] | [INFO] [stdout] 3316 | f1: &(u64, (u64, u64), HashSet), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_f1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f2` [INFO] [stdout] --> src/main.rs:3317:9 [INFO] [stdout] | [INFO] [stdout] 3317 | f2: &(u64, (u64, u64), HashSet), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_f2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gates` [INFO] [stdout] --> src/main.rs:3318:9 [INFO] [stdout] | [INFO] [stdout] 3318 | gates: &mut HashMap, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_gates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init_num_failures` [INFO] [stdout] --> src/main.rs:3319:9 [INFO] [stdout] | [INFO] [stdout] 3319 | init_num_failures: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_num_failures` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2024` (bin "aoc-2024") due to 2 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c5cbf3fac96a0ba4d47304c0780389b54b9a4d2e7acb064b833a36a9d1ea4813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5cbf3fac96a0ba4d47304c0780389b54b9a4d2e7acb064b833a36a9d1ea4813", kill_on_drop: false }` [INFO] [stdout] c5cbf3fac96a0ba4d47304c0780389b54b9a4d2e7acb064b833a36a9d1ea4813