[INFO] cloning repository https://github.com/josephlr/rust-aoc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/josephlr/rust-aoc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosephlr%2Frust-aoc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosephlr%2Frust-aoc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a2cfb653e80c78a3fb31635bcf8150d38dca939 [INFO] checking josephlr/rust-aoc against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosephlr%2Frust-aoc" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/josephlr/rust-aoc on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/josephlr/rust-aoc [INFO] finished tweaking git repo https://github.com/josephlr/rust-aoc [INFO] tweaked toml for git repo https://github.com/josephlr/rust-aoc written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/josephlr/rust-aoc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96a58fd2fcbdeed2e1dabf35a734f861e1e37cfb43e2bcae4095c96a4090c5da [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" "96a58fd2fcbdeed2e1dabf35a734f861e1e37cfb43e2bcae4095c96a4090c5da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96a58fd2fcbdeed2e1dabf35a734f861e1e37cfb43e2bcae4095c96a4090c5da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96a58fd2fcbdeed2e1dabf35a734f861e1e37cfb43e2bcae4095c96a4090c5da", kill_on_drop: false }` [INFO] [stdout] 96a58fd2fcbdeed2e1dabf35a734f861e1e37cfb43e2bcae4095c96a4090c5da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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] 7fdce1185f553e2dc5f3e2c31780c4fe2e6cc11ea6b9ead17770154cbe1812f9 [INFO] running `Command { std: "docker" "start" "-a" "7fdce1185f553e2dc5f3e2c31780c4fe2e6cc11ea6b9ead17770154cbe1812f9", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking intrusive-collections v0.7.8 [INFO] [stderr] Checking bit-vec v0.5.0 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking euclid v0.19.4 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking nom v4.1.1 [INFO] [stderr] Checking rust-aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `option` [INFO] [stdout] --> src/util/error.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^ not found in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `option` [INFO] [stdout] --> src/util/error.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | fn from(_: option::NoneError) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | specialization, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/y2018/day9.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | intrusive_adapter!(MyAdapter = Box: Node { link: Link }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `option` [INFO] [stdout] --> src/util/error.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^ not found in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `option` [INFO] [stdout] --> src/util/error.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | fn from(_: option::NoneError) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | specialization, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/y2018/day9.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | intrusive_adapter!(MyAdapter = Box: Node { link: Link }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/y2018/day13.rs:104:43 [INFO] [stdout] | [INFO] [stdout] 101 | / fn step(&mut self, map: &[Vec]) -> Result<()> { [INFO] [stdout] 102 | | self.gen += 1; [INFO] [stdout] 103 | | self.pos += self.dir.unit(); [INFO] [stdout] 104 | | match map.get(self.pos.y as usize)?.get(self.pos.x as usize)? { [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result<(), util::error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 132 | | Ok(()) [INFO] [stdout] 133 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result<(), util::error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/y2018/day13.rs:104:69 [INFO] [stdout] | [INFO] [stdout] 101 | / fn step(&mut self, map: &[Vec]) -> Result<()> { [INFO] [stdout] 102 | | self.gen += 1; [INFO] [stdout] 103 | | self.pos += self.dir.unit(); [INFO] [stdout] 104 | | match map.get(self.pos.y as usize)?.get(self.pos.x as usize)? { [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result<(), util::error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 132 | | Ok(()) [INFO] [stdout] 133 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result<(), util::error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/y2018/day14.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 36 | / fn ans(&self, mut inputs: impl Iterator) -> Result { [INFO] [stdout] 37 | | let input = inputs.next()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] 38 | | [INFO] [stdout] 39 | | let mut recipies = Recipies::new(); [INFO] [stdout] ... | [INFO] [stdout] 49 | | Ok(output) [INFO] [stdout] 50 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/y2018/day14.rs:58:44 [INFO] [stdout] | [INFO] [stdout] 57 | / fn ans(&self, mut inputs: impl Iterator) -> Result { [INFO] [stdout] 58 | | let needle: Vec = inputs.next()?.bytes().map(|b| b - b'0').collect(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] 59 | | [INFO] [stdout] 60 | | let mut recipies = Recipies::new(); [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-aoc` due to 7 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/y2018/day13.rs:104:43 [INFO] [stdout] | [INFO] [stdout] 101 | / fn step(&mut self, map: &[Vec]) -> Result<()> { [INFO] [stdout] 102 | | self.gen += 1; [INFO] [stdout] 103 | | self.pos += self.dir.unit(); [INFO] [stdout] 104 | | match map.get(self.pos.y as usize)?.get(self.pos.x as usize)? { [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result<(), util::error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 132 | | Ok(()) [INFO] [stdout] 133 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result<(), util::error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/y2018/day13.rs:104:69 [INFO] [stdout] | [INFO] [stdout] 101 | / fn step(&mut self, map: &[Vec]) -> Result<()> { [INFO] [stdout] 102 | | self.gen += 1; [INFO] [stdout] 103 | | self.pos += self.dir.unit(); [INFO] [stdout] 104 | | match map.get(self.pos.y as usize)?.get(self.pos.x as usize)? { [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result<(), util::error::Error>` [INFO] [stdout] ... | [INFO] [stdout] 132 | | Ok(()) [INFO] [stdout] 133 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result<(), util::error::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/y2018/day14.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 36 | / fn ans(&self, mut inputs: impl Iterator) -> Result { [INFO] [stdout] 37 | | let input = inputs.next()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] 38 | | [INFO] [stdout] 39 | | let mut recipies = Recipies::new(); [INFO] [stdout] ... | [INFO] [stdout] 49 | | Ok(output) [INFO] [stdout] 50 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/y2018/day14.rs:58:44 [INFO] [stdout] | [INFO] [stdout] 57 | / fn ans(&self, mut inputs: impl Iterator) -> Result { [INFO] [stdout] 58 | | let needle: Vec = inputs.next()?.bytes().map(|b| b - b'0').collect(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] 59 | | [INFO] [stdout] 60 | | let mut recipies = Recipies::new(); [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7fdce1185f553e2dc5f3e2c31780c4fe2e6cc11ea6b9ead17770154cbe1812f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fdce1185f553e2dc5f3e2c31780c4fe2e6cc11ea6b9ead17770154cbe1812f9", kill_on_drop: false }` [INFO] [stdout] 7fdce1185f553e2dc5f3e2c31780c4fe2e6cc11ea6b9ead17770154cbe1812f9