[INFO] cloning repository https://github.com/maxmcc/aoc-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxmcc/aoc-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxmcc%2Faoc-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxmcc%2Faoc-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5abad561359896d37895a45337aecf053ccb9e54 [INFO] checking maxmcc/aoc-2020 against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxmcc%2Faoc-2020" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxmcc/aoc-2020 on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maxmcc/aoc-2020 [INFO] finished tweaking git repo https://github.com/maxmcc/aoc-2020 [INFO] tweaked toml for git repo https://github.com/maxmcc/aoc-2020 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/maxmcc/aoc-2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e59e5bf94c1ae385ba7b0a3b3e41649f0d6bf081aa122407d303a2ff8be47ce8 [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" "e59e5bf94c1ae385ba7b0a3b3e41649f0d6bf081aa122407d303a2ff8be47ce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e59e5bf94c1ae385ba7b0a3b3e41649f0d6bf081aa122407d303a2ff8be47ce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e59e5bf94c1ae385ba7b0a3b3e41649f0d6bf081aa122407d303a2ff8be47ce8", kill_on_drop: false }` [INFO] [stdout] e59e5bf94c1ae385ba7b0a3b3e41649f0d6bf081aa122407d303a2ff8be47ce8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d75c3e0382ea0c569ad2600688252759dd9b388b057c5395c4a860e75abb9d4 [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" "5d75c3e0382ea0c569ad2600688252759dd9b388b057c5395c4a860e75abb9d4", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling reformation_derive v0.5.2 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling parse-display-derive v0.4.0 [INFO] [stderr] Checking parse-display v0.4.0 [INFO] [stderr] Checking reformation v0.5.3 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/bin/day11.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | fn visible_seats(&'a self, row: usize, col: usize) -> impl Iterator + 'a { [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> SeatLayout { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 74 | fn visible_seats<'a>(&'a self, row: usize, col: usize) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/bin/day11.rs:74:92 [INFO] [stdout] | [INFO] [stdout] 74 | fn visible_seats(&'a self, row: usize, col: usize) -> impl Iterator + 'a { [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> SeatLayout { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 74 | fn visible_seats<'a>(&'a self, row: usize, col: usize) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/bin/day11.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | fn visible_seats(&'a self, row: usize, col: usize) -> impl Iterator + 'a { [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> SeatLayout { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 74 | fn visible_seats<'a>(&'a self, row: usize, col: usize) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/bin/day11.rs:74:92 [INFO] [stdout] | [INFO] [stdout] 74 | fn visible_seats(&'a self, row: usize, col: usize) -> impl Iterator + 'a { [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] = help: if you want to experiment with in-band lifetime bindings, add `#![feature(in_band_lifetimes)]` to the crate attributes [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> SeatLayout { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 74 | fn visible_seats<'a>(&'a self, row: usize, col: usize) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Vec` is not an iterator [INFO] [stdout] --> src/bin/day11.rs:74:59 [INFO] [stdout] | [INFO] [stdout] 74 | fn visible_seats(&'a self, row: usize, col: usize) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Vec` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day11.rs:117:40 [INFO] [stdout] | [INFO] [stdout] 117 | ... .neighbors(row, col) [INFO] [stdout] | ^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 117 | .neighbors(row.try_into().unwrap(), col) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day11.rs:117:45 [INFO] [stdout] | [INFO] [stdout] 117 | ... .neighbors(row, col) [INFO] [stdout] | ^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 117 | .neighbors(row, col.try_into().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day11.rs:118:35 [INFO] [stdout] | [INFO] [stdout] 118 | ... .all(|&seat| seat != Position::Occupied) => [INFO] [stdout] | ^----- [INFO] [stdout] | || [INFO] [stdout] | |expected due to this [INFO] [stdout] | expected enum `Position`, found reference [INFO] [stdout] | help: did you mean `seat`: `&Position` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Position` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day11.rs:124:40 [INFO] [stdout] | [INFO] [stdout] 124 | ... .neighbors(row, col) [INFO] [stdout] | ^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 124 | .neighbors(row.try_into().unwrap(), col) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day11.rs:124:45 [INFO] [stdout] | [INFO] [stdout] 124 | ... .neighbors(row, col) [INFO] [stdout] | ^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 124 | .neighbors(row, col.try_into().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day11.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 125 | ... .filter(|&&seat| seat == Position::Occupied) [INFO] [stdout] | ^---- [INFO] [stdout] | || [INFO] [stdout] | |expected due to this [INFO] [stdout] | expected enum `Position`, found reference [INFO] [stdout] | help: you can probably remove the explicit borrow: `seat` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Position` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `first_visible_seat` found for reference `&SeatLayout` in the current scope [INFO] [stdout] --> src/bin/day11.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | ... .first_visible_seat(row, col) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `&SeatLayout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `first_visible_seat` found for reference `&SeatLayout` in the current scope [INFO] [stdout] --> src/bin/day11.rs:154:30 [INFO] [stdout] | [INFO] [stdout] 154 | ... .first_visible_seat(row, col) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `&SeatLayout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0261, E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0261`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `Vec` is not an iterator [INFO] [stdout] --> src/bin/day11.rs:74:59 [INFO] [stdout] | [INFO] [stdout] 74 | fn visible_seats(&'a self, row: usize, col: usize) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Vec` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day11.rs:117:40 [INFO] [stdout] | [INFO] [stdout] 117 | ... .neighbors(row, col) [INFO] [stdout] | ^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 117 | .neighbors(row.try_into().unwrap(), col) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day11.rs:117:45 [INFO] [stdout] | [INFO] [stdout] 117 | ... .neighbors(row, col) [INFO] [stdout] | ^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 117 | .neighbors(row, col.try_into().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day11.rs:118:35 [INFO] [stdout] | [INFO] [stdout] 118 | ... .all(|&seat| seat != Position::Occupied) => [INFO] [stdout] | ^----- [INFO] [stdout] | || [INFO] [stdout] | |expected due to this [INFO] [stdout] | expected enum `Position`, found reference [INFO] [stdout] | help: did you mean `seat`: `&Position` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Position` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day11.rs:124:40 [INFO] [stdout] | [INFO] [stdout] 124 | ... .neighbors(row, col) [INFO] [stdout] | ^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 124 | .neighbors(row.try_into().unwrap(), col) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day11.rs:124:45 [INFO] [stdout] | [INFO] [stdout] 124 | ... .neighbors(row, col) [INFO] [stdout] | ^^^ expected `isize`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 124 | .neighbors(row, col.try_into().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day11.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 125 | ... .filter(|&&seat| seat == Position::Occupied) [INFO] [stdout] | ^---- [INFO] [stdout] | || [INFO] [stdout] | |expected due to this [INFO] [stdout] | expected enum `Position`, found reference [INFO] [stdout] | help: you can probably remove the explicit borrow: `seat` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Position` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `first_visible_seat` found for reference `&SeatLayout` in the current scope [INFO] [stdout] --> src/bin/day11.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | ... .first_visible_seat(row, col) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `&SeatLayout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `first_visible_seat` found for reference `&SeatLayout` in the current scope [INFO] [stdout] --> src/bin/day11.rs:154:30 [INFO] [stdout] | [INFO] [stdout] 154 | ... .first_visible_seat(row, col) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `&SeatLayout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0261, E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0261`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5d75c3e0382ea0c569ad2600688252759dd9b388b057c5395c4a860e75abb9d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d75c3e0382ea0c569ad2600688252759dd9b388b057c5395c4a860e75abb9d4", kill_on_drop: false }` [INFO] [stdout] 5d75c3e0382ea0c569ad2600688252759dd9b388b057c5395c4a860e75abb9d4