[INFO] cloning repository https://github.com/Yohsi/aoc2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yohsi/aoc2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYohsi%2Faoc2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYohsi%2Faoc2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 626b464eb7f35ba89f6dda8d740bd319f7bca07c [INFO] checking Yohsi/aoc2022 against master#982c6f8721416431ec62bb0b9105c0578a9fc603 for pr-129329 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYohsi%2Faoc2022" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yohsi/aoc2022 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/Yohsi/aoc2022 [INFO] finished tweaking git repo https://github.com/Yohsi/aoc2022 [INFO] tweaked toml for git repo https://github.com/Yohsi/aoc2022 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Yohsi/aoc2022 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 Yohsi/aoc2022 against try#fa63ef4ad80785c0f3f362275f3772bdc67c23e0 for pr-129329 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYohsi%2Faoc2022" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yohsi/aoc2022 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/Yohsi/aoc2022 [INFO] finished tweaking git repo https://github.com/Yohsi/aoc2022 [INFO] tweaked toml for git repo https://github.com/Yohsi/aoc2022 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Yohsi/aoc2022 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 538f8b97e637c082bfdfdb8284d264b167877c2fe3249d6cc243873e287dcf32 [INFO] running `Command { std: "docker" "start" "-a" "538f8b97e637c082bfdfdb8284d264b167877c2fe3249d6cc243873e287dcf32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "538f8b97e637c082bfdfdb8284d264b167877c2fe3249d6cc243873e287dcf32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "538f8b97e637c082bfdfdb8284d264b167877c2fe3249d6cc243873e287dcf32", kill_on_drop: false }` [INFO] [stdout] 538f8b97e637c082bfdfdb8284d264b167877c2fe3249d6cc243873e287dcf32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 4982f7b5abd2217acc80fa4664af69fd73db15a16ed95cb4cbaa2ab8297856eb [INFO] running `Command { std: "docker" "start" "-a" "4982f7b5abd2217acc80fa4664af69fd73db15a16ed95cb4cbaa2ab8297856eb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking aoc2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::slice::SliceIndex` [INFO] [stdout] --> src/day08.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::slice::SliceIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `>=` cannot be applied to type ` as Index<::Item>>::Output` [INFO] [stdout] --> src/day08.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | if grid[y][x] >= h { [INFO] [stdout] | ---------- ^^ - u8 [INFO] [stdout] | | [INFO] [stdout] | as Index<::Item>>::Output [INFO] [stdout] | [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | Vec: Index, as Index<::Item>>::Output: PartialOrd [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day08.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | trees_are_all_shorter_h(grid, (0..x).rev(), y, h) [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^ expected `Range`, found `Rev>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::ops::Range<_>` [INFO] [stdout] found struct `Rev>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/day08.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn trees_are_all_shorter_h(grid: &[Vec], xrange: Range, y: usize, h: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ -------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day08.rs:69:45 [INFO] [stdout] | [INFO] [stdout] 69 | || trees_are_all_shorter_v(grid, x, (0..y).rev(), h) [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^ expected `Range`, found `Rev>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::ops::Range<_>` [INFO] [stdout] found struct `Rev>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/day08.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn trees_are_all_shorter_v(grid: &[Vec], x: usize, yrange: Range, h: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ -------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day08.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | * viewing_distance_v(grid, x,(0..y).rev(), h) [INFO] [stdout] | ------------------ ^^^^^^^^^^^^ expected `Range`, found `Rev>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::ops::Range<_>` [INFO] [stdout] found struct `Rev>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/day08.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn viewing_distance_v(grid: &[Vec], x: usize, yrange: Range, h: u8) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ -------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2022` (bin "day08") due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/day07.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct File { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 17 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeCost` is never constructed [INFO] [stdout] --> src/graph.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct NodeCost { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CostGraph` is never used [INFO] [stdout] --> src/graph.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub trait CostGraph + Copy + From>: Graph { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `route` is never used [INFO] [stdout] --> src/graph.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Graph { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn route(&self, from: T, to: T) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4982f7b5abd2217acc80fa4664af69fd73db15a16ed95cb4cbaa2ab8297856eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4982f7b5abd2217acc80fa4664af69fd73db15a16ed95cb4cbaa2ab8297856eb", kill_on_drop: false }` [INFO] [stdout] 4982f7b5abd2217acc80fa4664af69fd73db15a16ed95cb4cbaa2ab8297856eb