[INFO] cloning repository https://github.com/prioritize/AoC2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prioritize/AoC2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprioritize%2FAoC2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprioritize%2FAoC2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d953ab2cb1b565907d1df637ea7c4b6d7f44f727 [INFO] checking prioritize/AoC2023 against master#6f40082313d8374bdf962aba943a712d5322fae6 for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprioritize%2FAoC2023" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prioritize/AoC2023 on toolchain 6f40082313d8374bdf962aba943a712d5322fae6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f40082313d8374bdf962aba943a712d5322fae6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prioritize/AoC2023 [INFO] finished tweaking git repo https://github.com/prioritize/AoC2023 [INFO] tweaked toml for git repo https://github.com/prioritize/AoC2023 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/prioritize/AoC2023 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" "+6f40082313d8374bdf962aba943a712d5322fae6" "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 prioritize/AoC2023 against try#57fd74335bb14b59b719dc3cc5bc4257e73f33ce for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprioritize%2FAoC2023" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prioritize/AoC2023 on toolchain 57fd74335bb14b59b719dc3cc5bc4257e73f33ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prioritize/AoC2023 [INFO] finished tweaking git repo https://github.com/prioritize/AoC2023 [INFO] tweaked toml for git repo https://github.com/prioritize/AoC2023 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/prioritize/AoC2023 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" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking prioritize/AoC2023 against try#57fd74335bb14b59b719dc3cc5bc4257e73f33ce for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprioritize%2FAoC2023" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prioritize/AoC2023 on toolchain 57fd74335bb14b59b719dc3cc5bc4257e73f33ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prioritize/AoC2023 [INFO] finished tweaking git repo https://github.com/prioritize/AoC2023 [INFO] tweaked toml for git repo https://github.com/prioritize/AoC2023 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/prioritize/AoC2023 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" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dcb00ccf5c8c02aa2ae13cbf643af31791bdfa8243c04121ac73f5bf707e7d45 [INFO] running `Command { std: "docker" "start" "-a" "dcb00ccf5c8c02aa2ae13cbf643af31791bdfa8243c04121ac73f5bf707e7d45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcb00ccf5c8c02aa2ae13cbf643af31791bdfa8243c04121ac73f5bf707e7d45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcb00ccf5c8c02aa2ae13cbf643af31791bdfa8243c04121ac73f5bf707e7d45", kill_on_drop: false }` [INFO] [stdout] dcb00ccf5c8c02aa2ae13cbf643af31791bdfa8243c04121ac73f5bf707e7d45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d88667879cb8f996a1a37907a00874b042542bb5af60d1b126cc70c4d5f6b63e [INFO] running `Command { std: "docker" "start" "-a" "d88667879cb8f996a1a37907a00874b042542bb5af60d1b126cc70c4d5f6b63e", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking aoc_2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `.`, `?`, `{`, or an operator, found `}` [INFO] [stdout] --> src/day_8.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 142 | match next(x, ) [INFO] [stdout] | ----- - expected one of `.`, `?`, `{`, or an operator [INFO] [stdout] | | [INFO] [stdout] | while parsing this `match` expression [INFO] [stdout] 143 | } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `?`, `{`, or an operator, found `}` [INFO] [stdout] --> src/day_8.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 142 | match next(x, ) [INFO] [stdout] | ----- - expected one of `.`, `?`, `{`, or an operator [INFO] [stdout] | | [INFO] [stdout] | while parsing this `match` expression [INFO] [stdout] 143 | } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iterate` [INFO] [stdout] --> src/day_4.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::{iterate, Itertools}; [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/day_4.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/day_4.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iterate` [INFO] [stdout] --> src/day_4.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::{iterate, Itertools}; [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/day_4.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/day_4.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day_7.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/day_7.rs:256:19 [INFO] [stdout] | [INFO] [stdout] 256 | .map(|(j)| { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 256 - .map(|(j)| { [INFO] [stdout] 256 + .map(|j| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/day_7.rs:278:19 [INFO] [stdout] | [INFO] [stdout] 278 | .map(|(j)| { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 278 - .map(|(j)| { [INFO] [stdout] 278 + .map(|j| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/day_7.rs:303:19 [INFO] [stdout] | [INFO] [stdout] 303 | .map(|(j)| { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 303 - .map(|(j)| { [INFO] [stdout] 303 + .map(|j| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/day_7.rs:328:19 [INFO] [stdout] | [INFO] [stdout] 328 | .map(|(j)| { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 328 - .map(|(j)| { [INFO] [stdout] 328 + .map(|j| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/day_8.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/day_8.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | self.nodes.get() [INFO] [stdout] | ^^^-- an argument of type `&_` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/alloc/src/collections/btree/map.rs:694:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 21 | self.nodes.get(/* key */) [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/day_8.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | self.nodes.get() [INFO] [stdout] | ^^^-- an argument of type `&_` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/alloc/src/collections/btree/map.rs:694:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 21 | self.nodes.get(/* key */) [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day_8.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | fn next(&self, d: char) -> Option { [INFO] [stdout] | ------------ expected `Option` because of return type [INFO] [stdout] 21 | self.nodes.get() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `Option`, found `Option<&Node>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Option<&Node>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day_8.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | fn next(&self, d: char) -> Option { [INFO] [stdout] | ------------ expected `Option` because of return type [INFO] [stdout] 21 | self.nodes.get() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `Option`, found `Option<&Node>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Option<&Node>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Itertools` [INFO] [stdout] --> src/day_4.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::{iterate, Itertools}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day_5.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec<&(String, &(String, String))>` cannot be built from an iterator over elements of type `(&String, &(String, String))` [INFO] [stdout] --> src/day_8.rs:138:135 [INFO] [stdout] | [INFO] [stdout] 138 | ...ilter(|(k, v)| {k.chars().last().unwrap() == 'A'}).collect(); [INFO] [stdout] | ^^^^^^^ value of type `Vec<&(String, &(String, String))>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<(&String, &(String, String))>` is not implemented for `Vec<&(String, &(String, String))>` [INFO] [stdout] = help: the trait `FromIterator<&(String, &(String, String))>` is implemented for `Vec<&(String, &(String, String))>` [INFO] [stdout] = help: for that trait implementation, expected `&(String, &(String, String))`, found `(&String, &(String, String))` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/day_8.rs:138:76 [INFO] [stdout] | [INFO] [stdout] 138 | ...> = nodes.iter().filter(|(k, v)| {k.chars().last().unwrap() == 'A'}).collect(); [INFO] [stdout] | ----- ^^^^^^ --------------------------------------------------- `Iterator::Item` remains `(&String, &(String, String))` here [INFO] [stdout] | | | [INFO] [stdout] | | `Iterator::Item` is `(&String, &(String, String))` here [INFO] [stdout] | this expression has type `BTreeMap` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/57fd74335bb14b59b719dc3cc5bc4257e73f33ce/library/core/src/iter/traits/iterator.rs:2050:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Itertools` [INFO] [stdout] --> src/day_4.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::{iterate, Itertools}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day_5.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc_2023` (lib) due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aoc_2023` (lib test) due to 5 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d88667879cb8f996a1a37907a00874b042542bb5af60d1b126cc70c4d5f6b63e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d88667879cb8f996a1a37907a00874b042542bb5af60d1b126cc70c4d5f6b63e", kill_on_drop: false }` [INFO] [stdout] d88667879cb8f996a1a37907a00874b042542bb5af60d1b126cc70c4d5f6b63e