[INFO] cloning repository https://github.com/dgoldsb/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/dgoldsb/advent-of-code-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgoldsb%2Fadvent-of-code-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgoldsb%2Fadvent-of-code-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 532409e7322a5e6019e7623555aab9967dcc75f2 [INFO] testing dgoldsb/advent-of-code-2021 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgoldsb%2Fadvent-of-code-2021" "/workspace/builds/worker-117/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-117/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dgoldsb/advent-of-code-2021 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dgoldsb/advent-of-code-2021 [INFO] finished tweaking git repo https://github.com/dgoldsb/advent-of-code-2021 [INFO] tweaked toml for git repo https://github.com/dgoldsb/advent-of-code-2021 written to /workspace/builds/worker-117/source/Cargo.toml [INFO] crate git repo https://github.com/dgoldsb/advent-of-code-2021 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4db4cedd905646b6f4b7eadc2081d77e3b18839c6f0b6086809d5b9bad7e0706 [INFO] running `Command { std: "docker" "start" "-a" "4db4cedd905646b6f4b7eadc2081d77e3b18839c6f0b6086809d5b9bad7e0706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4db4cedd905646b6f4b7eadc2081d77e3b18839c6f0b6086809d5b9bad7e0706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4db4cedd905646b6f4b7eadc2081d77e3b18839c6f0b6086809d5b9bad7e0706", kill_on_drop: false }` [INFO] [stdout] 4db4cedd905646b6f4b7eadc2081d77e3b18839c6f0b6086809d5b9bad7e0706 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 725125d9e2f7135b834711d41e9b8d5bae46c99db53927611b56f274031dd80a [INFO] running `Command { std: "docker" "start" "-a" "725125d9e2f7135b834711d41e9b8d5bae46c99db53927611b56f274031dd80a", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling indexmap v0.4.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling priority-queue v0.5.4 [INFO] [stderr] Compiling regex v1.4.4 [INFO] [stderr] Compiling aoc v0.1.0 (/opt/rustwide/workdir/aoc) [INFO] [stderr] Compiling days v0.1.0 (/opt/rustwide/workdir/days) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> days/src/day_22.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | let rx = (self.xs.0..=self.xs.1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - let rx = (self.xs.0..=self.xs.1); [INFO] [stdout] 59 + let rx = self.xs.0..=self.xs.1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> days/src/day_22.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | let ry = (self.ys.0..=self.ys.1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - let ry = (self.ys.0..=self.ys.1); [INFO] [stdout] 60 + let ry = self.ys.0..=self.ys.1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> days/src/day_22.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | let rz = (self.zs.0..=self.zs.1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - let rz = (self.zs.0..=self.zs.1); [INFO] [stdout] 61 + let rz = self.zs.0..=self.zs.1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> days/src/day_22.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | let rx = (self.xs.0..=self.xs.1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - let rx = (self.xs.0..=self.xs.1); [INFO] [stdout] 76 + let rx = self.xs.0..=self.xs.1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> days/src/day_22.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | let ry = (self.ys.0..=self.ys.1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - let ry = (self.ys.0..=self.ys.1); [INFO] [stdout] 77 + let ry = self.ys.0..=self.ys.1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> days/src/day_22.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | let rz = (self.zs.0..=self.zs.1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - let rz = (self.zs.0..=self.zs.1); [INFO] [stdout] 78 + let rz = self.zs.0..=self.zs.1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> days/src/day_22.rs:45:36 [INFO] [stdout] | [INFO] [stdout] 45 | } else if !self.intersects(other) && ! other.intersects(self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Cuboid`, found struct `Cuboid` [INFO] [stdout] | help: consider borrowing here: `&other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> days/src/day_22.rs:45:65 [INFO] [stdout] | [INFO] [stdout] 45 | } else if !self.intersects(other) && ! other.intersects(self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Cuboid`, found struct `Cuboid` [INFO] [stdout] | help: consider borrowing here: `&self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> days/src/day_22.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | result.iter().filter(|c| **c.on).map(|c| *c).collect::>() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> days/src/day_22.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | return rx.contains(other.xs.0) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&isize`, found `isize` [INFO] [stdout] | help: consider borrowing here: `&other.xs.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> days/src/day_22.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | && rx.contains(other.xs.1) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&isize`, found `isize` [INFO] [stdout] | help: consider borrowing here: `&other.xs.1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> days/src/day_22.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | && ry.contains(other.ys.0) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&isize`, found `isize` [INFO] [stdout] | help: consider borrowing here: `&other.ys.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> days/src/day_22.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | && ry.contains(other.ys.1) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&isize`, found `isize` [INFO] [stdout] | help: consider borrowing here: `&other.ys.1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> days/src/day_22.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | && rz.contains(other.zs.0) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&isize`, found `isize` [INFO] [stdout] | help: consider borrowing here: `&other.zs.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> days/src/day_22.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | && rz.contains(other.zs.1); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&isize`, found `isize` [INFO] [stdout] | help: consider borrowing here: `&other.zs.1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> days/src/day_22.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | return (rx.contains(other.xs.0) || rx.contains(other.xs.1)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&isize`, found `isize` [INFO] [stdout] | help: consider borrowing here: `&other.xs.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> days/src/day_22.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | return (rx.contains(other.xs.0) || rx.contains(other.xs.1)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&isize`, found `isize` [INFO] [stdout] | help: consider borrowing here: `&other.xs.1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> days/src/day_22.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | && (ry.contains(other.ys.0) || ry.contains(other.ys.1)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&isize`, found `isize` [INFO] [stdout] | help: consider borrowing here: `&other.ys.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> days/src/day_22.rs:81:56 [INFO] [stdout] | [INFO] [stdout] 81 | && (ry.contains(other.ys.0) || ry.contains(other.ys.1)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&isize`, found `isize` [INFO] [stdout] | help: consider borrowing here: `&other.ys.1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> days/src/day_22.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | && (rz.contains(other.zs.0) || rz.contains(other.zs.1)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&isize`, found `isize` [INFO] [stdout] | help: consider borrowing here: `&other.zs.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> days/src/day_22.rs:82:56 [INFO] [stdout] | [INFO] [stdout] 82 | && (rz.contains(other.zs.0) || rz.contains(other.zs.1)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&isize`, found `isize` [INFO] [stdout] | help: consider borrowing here: `&other.zs.1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `days` due to 16 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "725125d9e2f7135b834711d41e9b8d5bae46c99db53927611b56f274031dd80a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "725125d9e2f7135b834711d41e9b8d5bae46c99db53927611b56f274031dd80a", kill_on_drop: false }` [INFO] [stdout] 725125d9e2f7135b834711d41e9b8d5bae46c99db53927611b56f274031dd80a