[INFO] cloning repository https://github.com/shhx/AOC-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shhx/AOC-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshhx%2FAOC-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshhx%2FAOC-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a27addd47b1864e1d146e752d7712087e359228 [INFO] checking shhx/AOC-2022 against master#982c6f8721416431ec62bb0b9105c0578a9fc603 for pr-129329 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshhx%2FAOC-2022" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shhx/AOC-2022 on toolchain 982c6f8721416431ec62bb0b9105c0578a9fc603 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+982c6f8721416431ec62bb0b9105c0578a9fc603" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shhx/AOC-2022 [INFO] finished tweaking git repo https://github.com/shhx/AOC-2022 [INFO] tweaked toml for git repo https://github.com/shhx/AOC-2022 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shhx/AOC-2022 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" "+982c6f8721416431ec62bb0b9105c0578a9fc603" "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 shhx/AOC-2022 against try#fa63ef4ad80785c0f3f362275f3772bdc67c23e0 for pr-129329 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshhx%2FAOC-2022" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shhx/AOC-2022 on toolchain fa63ef4ad80785c0f3f362275f3772bdc67c23e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa63ef4ad80785c0f3f362275f3772bdc67c23e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shhx/AOC-2022 [INFO] finished tweaking git repo https://github.com/shhx/AOC-2022 [INFO] tweaked toml for git repo https://github.com/shhx/AOC-2022 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/shhx/AOC-2022 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" "+fa63ef4ad80785c0f3f362275f3772bdc67c23e0" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+fa63ef4ad80785c0f3f362275f3772bdc67c23e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b60bb1903d9a512422bf5f6b7c2ae597d801d74e3b7af70cc1de0cdd0e205cf [INFO] running `Command { std: "docker" "start" "-a" "7b60bb1903d9a512422bf5f6b7c2ae597d801d74e3b7af70cc1de0cdd0e205cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b60bb1903d9a512422bf5f6b7c2ae597d801d74e3b7af70cc1de0cdd0e205cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b60bb1903d9a512422bf5f6b7c2ae597d801d74e3b7af70cc1de0cdd0e205cf", kill_on_drop: false }` [INFO] [stdout] 7b60bb1903d9a512422bf5f6b7c2ae597d801d74e3b7af70cc1de0cdd0e205cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+fa63ef4ad80785c0f3f362275f3772bdc67c23e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d9d0c1548f310f146aae1db1f6ed17c8bdda4491409a899a2a8e46ba73ed64c [INFO] running `Command { std: "docker" "start" "-a" "0d9d0c1548f310f146aae1db1f6ed17c8bdda4491409a899a2a8e46ba73ed64c", kill_on_drop: false }` [INFO] [stderr] Checking AOC v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/bin/day5.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> src/bin/day14.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | let (x2, y2) = to; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y2` [INFO] [stdout] --> src/bin/day14.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | let (x2, y2) = to; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/bin/day17.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/bin/day5_2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/bin/day1.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, prelude::*, BufReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `start` is assigned to, but never used [INFO] [stdout] --> src/bin/day12_2.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut start: (isize, isize); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_start` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `start` is never read [INFO] [stdout] --> src/bin/day12_2.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | start = (i as isize, j as isize); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/bin/day17.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `regex` [INFO] [stdout] --> src/bin/day15.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use regex::Regex; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_cave` is never used [INFO] [stdout] --> src/bin/day17.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn print_cave(cave: &Vec<[&str; 7]>, max_height: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_cave` is never used [INFO] [stdout] --> src/bin/day17.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn print_cave(cave: &Vec<[&str; 7]>, max_height: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> src/bin/day14.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | let (x2, y2) = to; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y2` [INFO] [stdout] --> src/bin/day14.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | let (x2, y2) = to; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `AOC` (bin "day15" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `regex` [INFO] [stdout] --> src/bin/day15_2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use regex::Regex; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> src/bin/day14_2.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | let (x2, y2) = to; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y2` [INFO] [stdout] --> src/bin/day14_2.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | let (x2, y2) = to; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `AOC` (bin "day15_2" test) due to 2 previous errors [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> src/bin/day14_2.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | let (x2, y2) = to; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y2` [INFO] [stdout] --> src/bin/day14_2.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | let (x2, y2) = to; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_y2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_f` [INFO] [stdout] --> src/bin/day8_2.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | let (mut f_pos_max, max_f) = get_pos_blocker(fhalf.iter().rev().cloned().collect::>(), value); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_s` [INFO] [stdout] --> src/bin/day8_2.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | let (mut s_pos_max, max_s) = get_pos_blocker(shalf.iter().skip(1).cloned().collect::>(), value); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `start` is assigned to, but never used [INFO] [stdout] --> src/bin/day12_2.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut start: (isize, isize); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_start` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `start` is never read [INFO] [stdout] --> src/bin/day12_2.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | start = (i as isize, j as isize); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day8_2.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | let (mut f_pos_max, max_f) = get_pos_blocker(fhalf.iter().rev().cloned().collect::>(), value); [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/bin/day8_2.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | let (mut s_pos_max, max_s) = get_pos_blocker(shalf.iter().skip(1).cloned().collect::>(), value); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0d9d0c1548f310f146aae1db1f6ed17c8bdda4491409a899a2a8e46ba73ed64c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d9d0c1548f310f146aae1db1f6ed17c8bdda4491409a899a2a8e46ba73ed64c", kill_on_drop: false }` [INFO] [stdout] 0d9d0c1548f310f146aae1db1f6ed17c8bdda4491409a899a2a8e46ba73ed64c