[INFO] cloning repository https://github.com/LRuffati/AoC21 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LRuffati/AoC21" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLRuffati%2FAoC21", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLRuffati%2FAoC21'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3edb0fc54e9330f8ecb64fb874205523c4ddf50c [INFO] checking LRuffati/AoC21 against master#ff0b4b6091a75ad840035a991426c8bc9fbd93bb for pr-117673 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLRuffati%2FAoC21" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LRuffati/AoC21 on toolchain ff0b4b6091a75ad840035a991426c8bc9fbd93bb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff0b4b6091a75ad840035a991426c8bc9fbd93bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LRuffati/AoC21 [INFO] finished tweaking git repo https://github.com/LRuffati/AoC21 [INFO] tweaked toml for git repo https://github.com/LRuffati/AoC21 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LRuffati/AoC21 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" "+ff0b4b6091a75ad840035a991426c8bc9fbd93bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking LRuffati/AoC21 against try#9ee647322baa27cc6bb1a95b4595bad94b334fcf for pr-117673 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLRuffati%2FAoC21" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LRuffati/AoC21 on toolchain 9ee647322baa27cc6bb1a95b4595bad94b334fcf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ee647322baa27cc6bb1a95b4595bad94b334fcf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LRuffati/AoC21 [INFO] finished tweaking git repo https://github.com/LRuffati/AoC21 [INFO] tweaked toml for git repo https://github.com/LRuffati/AoC21 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LRuffati/AoC21 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" "+9ee647322baa27cc6bb1a95b4595bad94b334fcf" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9ee647322baa27cc6bb1a95b4595bad94b334fcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ac172f6e09ceee8594f7d7559d1e8b96d14941e751b84594b61e11dcf8e0e6a [INFO] running `Command { std: "docker" "start" "-a" "9ac172f6e09ceee8594f7d7559d1e8b96d14941e751b84594b61e11dcf8e0e6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ac172f6e09ceee8594f7d7559d1e8b96d14941e751b84594b61e11dcf8e0e6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ac172f6e09ceee8594f7d7559d1e8b96d14941e751b84594b61e11dcf8e0e6a", kill_on_drop: false }` [INFO] [stdout] 9ac172f6e09ceee8594f7d7559d1e8b96d14941e751b84594b61e11dcf8e0e6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9ee647322baa27cc6bb1a95b4595bad94b334fcf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35143426d1a23dd3abb132464f2da0772fb4bf3941a2e450640e500a183b05bf [INFO] running `Command { std: "docker" "start" "-a" "35143426d1a23dd3abb132464f2da0772fb4bf3941a2e450640e500a183b05bf", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/days/day9.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::id` [INFO] [stdout] --> src/days/day9.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::process::id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/days/day9.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::id` [INFO] [stdout] --> src/days/day9.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::process::id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_a` is never used [INFO] [stdout] --> src/days/day8.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn solve_a(input: BufReader) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Guess` is never constructed [INFO] [stdout] --> src/days/day8.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct Guess { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_b` is never used [INFO] [stdout] --> src/days/day8.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn solve_b(input: BufReader) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Candidate` is never constructed [INFO] [stdout] --> src/days/day9.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Candidate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `val` and `local_min` are never read [INFO] [stdout] --> src/days/day9.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Element { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 13 | val: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | local_min: bool [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Element` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_a` is never used [INFO] [stdout] --> src/days/day9.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn solve_a(input: BufReader) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElemBasin` is never constructed [INFO] [stdout] --> src/days/day9.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct ElemBasin { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_idx` is never used [INFO] [stdout] --> src/days/day9.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn get_idx(vector: &Vec, mut start: usize) -> Option{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_b` is never used [INFO] [stdout] --> src/days/day9.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn solve_b(input: BufReader) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_a` is never used [INFO] [stdout] --> src/days/day10.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn solve_a(input: BufReader) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/days/day8.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | 2 => dig_1 = digit.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/days/day8.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | 4 => dig_4 = digit.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_a` is never used [INFO] [stdout] --> src/days/day8.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn solve_a(input: BufReader) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Guess` is never constructed [INFO] [stdout] --> src/days/day8.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct Guess { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_b` is never used [INFO] [stdout] --> src/days/day8.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn solve_b(input: BufReader) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Candidate` is never constructed [INFO] [stdout] --> src/days/day9.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Candidate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `val` and `local_min` are never read [INFO] [stdout] --> src/days/day9.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Element { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 13 | val: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | local_min: bool [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Element` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_a` is never used [INFO] [stdout] --> src/days/day9.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn solve_a(input: BufReader) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElemBasin` is never constructed [INFO] [stdout] --> src/days/day9.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct ElemBasin { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_idx` is never used [INFO] [stdout] --> src/days/day9.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn get_idx(vector: &Vec, mut start: usize) -> Option{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_b` is never used [INFO] [stdout] --> src/days/day9.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn solve_b(input: BufReader) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_a` is never used [INFO] [stdout] --> src/days/day10.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn solve_a(input: BufReader) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/days/day8.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | 2 => dig_1 = digit.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/days/day8.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | 4 => dig_4 = digit.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.91s [INFO] running `Command { std: "docker" "inspect" "35143426d1a23dd3abb132464f2da0772fb4bf3941a2e450640e500a183b05bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35143426d1a23dd3abb132464f2da0772fb4bf3941a2e450640e500a183b05bf", kill_on_drop: false }` [INFO] [stdout] 35143426d1a23dd3abb132464f2da0772fb4bf3941a2e450640e500a183b05bf