[INFO] cloning repository https://github.com/lewis-od/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/lewis-od/advent-of-code-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flewis-od%2Fadvent-of-code-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flewis-od%2Fadvent-of-code-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11c34a72ec208126942d595d762b289556587c4d [INFO] checking lewis-od/advent-of-code-2021 against try#f6d7c613ae2d161ff37dbc63cc5abd809c878597 for pr-83850 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flewis-od%2Fadvent-of-code-2021" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lewis-od/advent-of-code-2021 on toolchain f6d7c613ae2d161ff37dbc63cc5abd809c878597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lewis-od/advent-of-code-2021 [INFO] finished tweaking git repo https://github.com/lewis-od/advent-of-code-2021 [INFO] tweaked toml for git repo https://github.com/lewis-od/advent-of-code-2021 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/lewis-od/advent-of-code-2021 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 996e9eb19827890428729e76a81cab6006f92bda55184a853e39e03e253ac315 [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" "996e9eb19827890428729e76a81cab6006f92bda55184a853e39e03e253ac315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "996e9eb19827890428729e76a81cab6006f92bda55184a853e39e03e253ac315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "996e9eb19827890428729e76a81cab6006f92bda55184a853e39e03e253ac315", kill_on_drop: false }` [INFO] [stdout] 996e9eb19827890428729e76a81cab6006f92bda55184a853e39e03e253ac315 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 36692c3a932eb4640b4d43d10594013b5bc5e31930f22b9ed2947161538c01fd [INFO] running `Command { std: "docker" "start" "-a" "36692c3a932eb4640b4d43d10594013b5bc5e31930f22b9ed2947161538c01fd", kill_on_drop: false }` [INFO] [stderr] Checking utils v0.1.0 (/opt/rustwide/workdir/utils) [INFO] [stderr] Checking day3 v0.1.0 (/opt/rustwide/workdir/day3) [INFO] [stderr] Checking day4 v0.1.0 (/opt/rustwide/workdir/day4) [INFO] [stderr] Checking day1 v0.1.0 (/opt/rustwide/workdir/day1) [INFO] [stderr] Checking day6 v0.1.0 (/opt/rustwide/workdir/day6) [INFO] [stderr] Checking day9 v0.1.0 (/opt/rustwide/workdir/day9) [INFO] [stderr] Checking day7 v0.1.0 (/opt/rustwide/workdir/day7) [INFO] [stderr] Checking day5 v0.1.0 (/opt/rustwide/workdir/day5) [INFO] [stderr] Checking day2 v0.1.0 (/opt/rustwide/workdir/day2) [INFO] [stderr] Checking day8 v0.1.0 (/opt/rustwide/workdir/day8) [INFO] [stdout] warning: unused import: `crate::bingo::*` [INFO] [stdout] --> day4/src/bingo/cell.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::bingo::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day2/src/part1.rs:85:36 [INFO] [stdout] | [INFO] [stdout] 85 | submarine.process_commands(&vec![command]); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ expected trait object `dyn Execute`, found struct `part1::UpCommand` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec>` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> day2/src/lib.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn process_commands(&mut self, commands: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- -------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day2/src/part1.rs:96:36 [INFO] [stdout] | [INFO] [stdout] 96 | submarine.process_commands(&vec![command]); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ expected trait object `dyn Execute`, found struct `part1::DownCommand` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec>` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> day2/src/lib.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn process_commands(&mut self, commands: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- -------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day2/src/part1.rs:107:36 [INFO] [stdout] | [INFO] [stdout] 107 | submarine.process_commands(&vec![command]); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ expected trait object `dyn Execute`, found struct `part1::ForwardCommand` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec>` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> day2/src/lib.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn process_commands(&mut self, commands: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- -------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day2/src/part2.rs:87:36 [INFO] [stdout] | [INFO] [stdout] 87 | submarine.process_commands(&vec![command]); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ expected trait object `dyn Execute`, found struct `part2::UpCommand` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec>` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> day2/src/lib.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn process_commands(&mut self, commands: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- -------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day2/src/part2.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 98 | submarine.process_commands(&vec![command]); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ expected trait object `dyn Execute`, found struct `part2::DownCommand` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec>` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> day2/src/lib.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn process_commands(&mut self, commands: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- -------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> day2/src/part2.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | submarine.process_commands(&vec![command]); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ expected trait object `dyn Execute`, found struct `part2::ForwardCommand` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec>` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> day2/src/lib.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn process_commands(&mut self, commands: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- -------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `day2` due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "36692c3a932eb4640b4d43d10594013b5bc5e31930f22b9ed2947161538c01fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36692c3a932eb4640b4d43d10594013b5bc5e31930f22b9ed2947161538c01fd", kill_on_drop: false }` [INFO] [stdout] 36692c3a932eb4640b4d43d10594013b5bc5e31930f22b9ed2947161538c01fd