[INFO] cloning repository https://github.com/qdozaq/advent-of-code-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qdozaq/advent-of-code-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqdozaq%2Fadvent-of-code-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqdozaq%2Fadvent-of-code-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dedeca3f5ae43ead539ea96a2091990e8735e58d [INFO] checking qdozaq/advent-of-code-2021 against master#023084804e5e8ea42877451c2b3030e7050281cc for pr-123909 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqdozaq%2Fadvent-of-code-2021" "/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/qdozaq/advent-of-code-2021 on toolchain 023084804e5e8ea42877451c2b3030e7050281cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+023084804e5e8ea42877451c2b3030e7050281cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/qdozaq/advent-of-code-2021 [INFO] finished tweaking git repo https://github.com/qdozaq/advent-of-code-2021 [INFO] tweaked toml for git repo https://github.com/qdozaq/advent-of-code-2021 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/qdozaq/advent-of-code-2021 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" "+023084804e5e8ea42877451c2b3030e7050281cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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 qdozaq/advent-of-code-2021 against try#3b6ef522ec6da5b39fa0cf004b820c15884319db for pr-123909 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqdozaq%2Fadvent-of-code-2021" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qdozaq/advent-of-code-2021 on toolchain 3b6ef522ec6da5b39fa0cf004b820c15884319db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3b6ef522ec6da5b39fa0cf004b820c15884319db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/qdozaq/advent-of-code-2021 [INFO] finished tweaking git repo https://github.com/qdozaq/advent-of-code-2021 [INFO] tweaked toml for git repo https://github.com/qdozaq/advent-of-code-2021 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/qdozaq/advent-of-code-2021 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" "+3b6ef522ec6da5b39fa0cf004b820c15884319db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+3b6ef522ec6da5b39fa0cf004b820c15884319db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c32665d4725f2007d8e74abe2a86a7c61671aef25a7390d0c3170070feb0ad0c [INFO] running `Command { std: "docker" "start" "-a" "c32665d4725f2007d8e74abe2a86a7c61671aef25a7390d0c3170070feb0ad0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c32665d4725f2007d8e74abe2a86a7c61671aef25a7390d0c3170070feb0ad0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c32665d4725f2007d8e74abe2a86a7c61671aef25a7390d0c3170070feb0ad0c", kill_on_drop: false }` [INFO] [stdout] c32665d4725f2007d8e74abe2a86a7c61671aef25a7390d0c3170070feb0ad0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+3b6ef522ec6da5b39fa0cf004b820c15884319db" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e966c53b4e9fbf93ef966053a6d041880c866b1219c6c570788835ba93170251 [INFO] running `Command { std: "docker" "start" "-a" "e966c53b4e9fbf93ef966053a6d041880c866b1219c6c570788835ba93170251", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking fixedbitset v0.4.0 [INFO] [stderr] Checking day_3 v0.1.0 (/opt/rustwide/workdir/day_3) [INFO] [stderr] Checking day_2 v0.1.0 (/opt/rustwide/workdir/day_2) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> day_3/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | star_one(&lines); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 9 | let _ = star_one(&lines); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> day_3/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | star_two(&lines); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 10 | let _ = star_two(&lines); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking day_4 v0.1.0 (/opt/rustwide/workdir/day_4) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day_7 v0.1.0 (/opt/rustwide/workdir/day_7) [INFO] [stdout] warning: unused import: `std::fmt::Result` [INFO] [stdout] --> day_4/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day_4/src/main.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | let mut line = line.chars().filter(|l| *l != '\n').collect::(); [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: method `callNum` should have a snake case name [INFO] [stdout] --> day_4/src/main.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn callNum(&mut self, called_number: isize) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `call_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day_10 v0.1.0 (/opt/rustwide/workdir/day_10) [INFO] [stderr] Checking day_9 v0.1.0 (/opt/rustwide/workdir/day_9) [INFO] [stderr] Checking day_1 v0.1.0 (/opt/rustwide/workdir/day_1) [INFO] [stdout] error[E0423]: expected value, found enum `Infallible` [INFO] [stdout] --> day_10/src/main.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | return Err(Infallible); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::VecDeque` [INFO] [stdout] --> day_10/src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::VecDeque, convert::Infallible, string::ParseError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day_10/src/main.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | if pairs.contains(close_stack.last().unwrap()) {} [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&(char, char)`, found `&char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(char, char)` [INFO] [stdout] found reference `&char` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/3b6ef522ec6da5b39fa0cf004b820c15884319db/library/core/src/slice/mod.rs:2520:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> day_10/src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | for line in lines {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0423. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `day_10` (bin "day_10") due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0423]: expected value, found enum `Infallible` [INFO] [stdout] --> day_10/src/main.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | return Err(Infallible); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::VecDeque` [INFO] [stdout] --> day_10/src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::VecDeque, convert::Infallible, string::ParseError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day_10/src/main.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | if pairs.contains(close_stack.last().unwrap()) {} [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&(char, char)`, found `&char` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(char, char)` [INFO] [stdout] found reference `&char` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/3b6ef522ec6da5b39fa0cf004b820c15884319db/library/core/src/slice/mod.rs:2520:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> day_10/src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | for line in lines {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0423. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `day_10` (bin "day_10" test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e966c53b4e9fbf93ef966053a6d041880c866b1219c6c570788835ba93170251", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e966c53b4e9fbf93ef966053a6d041880c866b1219c6c570788835ba93170251", kill_on_drop: false }` [INFO] [stdout] e966c53b4e9fbf93ef966053a6d041880c866b1219c6c570788835ba93170251