[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] testing qdozaq/advent-of-code-2021 against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqdozaq%2Fadvent-of-code-2021" "/workspace/builds/worker-87/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-87/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qdozaq/advent-of-code-2021 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-87/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8e3895dcf9f50bed2badaeaba7e5043bcea0ace522f8532b0378864a5d451fe [INFO] running `Command { std: "docker" "start" "-a" "b8e3895dcf9f50bed2badaeaba7e5043bcea0ace522f8532b0378864a5d451fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8e3895dcf9f50bed2badaeaba7e5043bcea0ace522f8532b0378864a5d451fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8e3895dcf9f50bed2badaeaba7e5043bcea0ace522f8532b0378864a5d451fe", kill_on_drop: false }` [INFO] [stdout] b8e3895dcf9f50bed2badaeaba7e5043bcea0ace522f8532b0378864a5d451fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88033546a984bf9d21a51d7cdeafaaaaf7958ce3b5307ff3548931b383a69f3f [INFO] running `Command { std: "docker" "start" "-a" "88033546a984bf9d21a51d7cdeafaaaaf7958ce3b5307ff3548931b383a69f3f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fixedbitset v0.4.0 [INFO] [stderr] Compiling day_11 v0.1.0 (/opt/rustwide/workdir/day_11) [INFO] [stderr] Compiling day_2 v0.1.0 (/opt/rustwide/workdir/day_2) [INFO] [stderr] Compiling day_21 v0.1.0 (/opt/rustwide/workdir/day_21) [INFO] [stderr] Compiling day_17 v0.1.0 (/opt/rustwide/workdir/day_17) [INFO] [stderr] Compiling day_10 v0.1.0 (/opt/rustwide/workdir/day_10) [INFO] [stderr] Compiling day_3 v0.1.0 (/opt/rustwide/workdir/day_3) [INFO] [stderr] Compiling day_9 v0.1.0 (/opt/rustwide/workdir/day_9) [INFO] [stderr] Compiling day_6 v0.1.0 (/opt/rustwide/workdir/day_6) [INFO] [stderr] Compiling day_1 v0.1.0 (/opt/rustwide/workdir/day_1) [INFO] [stderr] Compiling day_7 v0.1.0 (/opt/rustwide/workdir/day_7) [INFO] [stderr] Compiling day_4 v0.1.0 (/opt/rustwide/workdir/day_4) [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] warning: unused import: `HashSet` [INFO] [stdout] --> day_21/src/main.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [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: unused variable: `p1_start` [INFO] [stdout] --> day_21/src/main.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | let (p1_start, p2_start) = (3, 7); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p1_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2_start` [INFO] [stdout] --> day_21/src/main.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | let (p1_start, p2_start) = (3, 7); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p2_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `movesets` [INFO] [stdout] --> day_21/src/main.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let movesets = turn_outcomes(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_movesets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flashes` [INFO] [stdout] --> day_11/src/main.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let mut flashes = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_flashes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SIDES` [INFO] [stdout] --> day_21/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const SIDES: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BOARD_SIZE` [INFO] [stdout] --> day_21/src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const BOARD_SIZE: usize = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `star_one` [INFO] [stdout] --> day_21/src/main.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn star_one() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `roll` [INFO] [stdout] --> day_21/src/main.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn roll(die: usize) -> usize { [INFO] [stdout] | ^^^^ [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 tuple, found `char` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(char, char)` [INFO] [stdout] found reference `&char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning 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` due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `steps` [INFO] [stdout] --> day_17/src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let steps = vx; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_steps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> day_11/src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let mut flashes = 0; [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: function is never used: `print_map` [INFO] [stdout] --> day_11/src/main.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn print_map(map: &[u32]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `min_vx` [INFO] [stdout] --> day_17/src/main.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn min_vx(range: &RangeInclusive) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `star_one` [INFO] [stdout] --> day_17/src/main.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn star_one(x_range: &RangeInclusive, y_range: &RangeInclusive) { [INFO] [stdout] | ^^^^^^^^ [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: 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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "88033546a984bf9d21a51d7cdeafaaaaf7958ce3b5307ff3548931b383a69f3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88033546a984bf9d21a51d7cdeafaaaaf7958ce3b5307ff3548931b383a69f3f", kill_on_drop: false }` [INFO] [stdout] 88033546a984bf9d21a51d7cdeafaaaaf7958ce3b5307ff3548931b383a69f3f