[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] testing josephlr/rust-aoc 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%2Fjosephlr%2Frust-aoc" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/josephlr/rust-aoc 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/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-25/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" "+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-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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] 048a3874cd6131ee3e1b7c45828fcc5bf0eff0986a1d39ea7d680ed174a61c06 [INFO] running `Command { std: "docker" "start" "-a" "048a3874cd6131ee3e1b7c45828fcc5bf0eff0986a1d39ea7d680ed174a61c06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "048a3874cd6131ee3e1b7c45828fcc5bf0eff0986a1d39ea7d680ed174a61c06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "048a3874cd6131ee3e1b7c45828fcc5bf0eff0986a1d39ea7d680ed174a61c06", kill_on_drop: false }` [INFO] [stdout] 048a3874cd6131ee3e1b7c45828fcc5bf0eff0986a1d39ea7d680ed174a61c06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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] a069b24c0042add216772a8d4ec19a51e67af6715f2025b7ee6aee7f6b0c6f55 [INFO] running `Command { std: "docker" "start" "-a" "a069b24c0042add216772a8d4ec19a51e67af6715f2025b7ee6aee7f6b0c6f55", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling intrusive-collections v0.7.8 [INFO] [stderr] Compiling bit-vec v0.5.0 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling euclid v0.19.4 [INFO] [stderr] Compiling 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] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![feature( [INFO] [stdout] 2 | | nll, [INFO] [stdout] 3 | | never_type, [INFO] [stdout] 4 | | specialization, [INFO] [stdout] ... | [INFO] [stdout] 9 | | try_trait [INFO] [stdout] 10 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [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: unused attribute `allow` [INFO] [stdout] --> src/y2018/day9.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[allow(clippy::expl_impl_clone_on_copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] note: the built-in attribute `allow` will be ignored, since it's applied to the macro invocation `intrusive_adapter` [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] [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] warning: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | uniform_paths, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | map_entry_replace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | drain_filter, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | try_from, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | try_trait [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | try_from, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `try_trait` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | try_trait [INFO] [stdout] | ^^^^^^^^^ [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0554, E0635. [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 13 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a069b24c0042add216772a8d4ec19a51e67af6715f2025b7ee6aee7f6b0c6f55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a069b24c0042add216772a8d4ec19a51e67af6715f2025b7ee6aee7f6b0c6f55", kill_on_drop: false }` [INFO] [stdout] a069b24c0042add216772a8d4ec19a51e67af6715f2025b7ee6aee7f6b0c6f55