[INFO] cloning repository https://github.com/SpicyRicecaker/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/SpicyRicecaker/advent-of-code-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpicyRicecaker%2Fadvent-of-code-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpicyRicecaker%2Fadvent-of-code-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc32c11a6cae3f08549b8d2cea779639a3f446ba [INFO] testing SpicyRicecaker/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%2FSpicyRicecaker%2Fadvent-of-code-2021" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SpicyRicecaker/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/SpicyRicecaker/advent-of-code-2021 [INFO] finished tweaking git repo https://github.com/SpicyRicecaker/advent-of-code-2021 [INFO] tweaked toml for git repo https://github.com/SpicyRicecaker/advent-of-code-2021 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/SpicyRicecaker/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2baf21735bf6dbd21310dd10d4b79ccdf51278e8fb302c796a13f09e74cc3703 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2baf21735bf6dbd21310dd10d4b79ccdf51278e8fb302c796a13f09e74cc3703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2baf21735bf6dbd21310dd10d4b79ccdf51278e8fb302c796a13f09e74cc3703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2baf21735bf6dbd21310dd10d4b79ccdf51278e8fb302c796a13f09e74cc3703", kill_on_drop: false }` [INFO] [stdout] 2baf21735bf6dbd21310dd10d4b79ccdf51278e8fb302c796a13f09e74cc3703 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aaa02a6673be1c35a5af316489266266946afc9103e4bea5fe8872860dd3bbb3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "aaa02a6673be1c35a5af316489266266946afc9103e4bea5fe8872860dd3bbb3", kill_on_drop: false }` [INFO] [stderr] Compiling advent-of-code-2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/days/four/mod.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: `crate::State` [INFO] [stdout] --> src/days/four_two/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::State; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/days/four_two/mod.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 8 arguments but 1 argument was supplied [INFO] [stdout] --> src/days/eight_two.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | decode(m) [INFO] [stdout] | ^^^^^^ - supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 8 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/days/eight_two.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn decode(left_top: char, left_bot: char, top: char, mid: char, bot: char, right_top: char, right_bot: char, s: &str) -> u8 { [INFO] [stdout] | ^^^^^^ -------------- -------------- --------- --------- --------- --------------- --------------- ------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `u8` [INFO] [stdout] --> src/days/eight_two.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | }).collect::>(); [INFO] [stdout] | ^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Vec` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/days/eight_two.rs:166:122 [INFO] [stdout] | [INFO] [stdout] 166 | fn decode(left_top: char, left_bot: char, top: char, mid: char, bot: char, right_top: char, right_bot: char, s: &str) -> u8 { [INFO] [stdout] | ------ implicitly returns `()` as its body has no tail or `return` expression ^^ expected `u8`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 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 `advent-of-code-2021` due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "aaa02a6673be1c35a5af316489266266946afc9103e4bea5fe8872860dd3bbb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaa02a6673be1c35a5af316489266266946afc9103e4bea5fe8872860dd3bbb3", kill_on_drop: false }` [INFO] [stdout] aaa02a6673be1c35a5af316489266266946afc9103e4bea5fe8872860dd3bbb3