[INFO] fetching crate buildable 0.0.5... [INFO] testing buildable-0.0.5 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate buildable 0.0.5 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate buildable 0.0.5 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 crates.io crate buildable 0.0.5 [INFO] finished tweaking crates.io crate buildable 0.0.5 [INFO] tweaked toml for crates.io crate buildable 0.0.5 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", 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] cd012cd4f87f5b105b695e3db00bd47c621d216f7529525f34e00d0675653152 [INFO] running `Command { std: "docker" "start" "-a" "cd012cd4f87f5b105b695e3db00bd47c621d216f7529525f34e00d0675653152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd012cd4f87f5b105b695e3db00bd47c621d216f7529525f34e00d0675653152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd012cd4f87f5b105b695e3db00bd47c621d216f7529525f34e00d0675653152", kill_on_drop: false }` [INFO] [stdout] cd012cd4f87f5b105b695e3db00bd47c621d216f7529525f34e00d0675653152 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--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] 4ee2150ae78a3ba265c581d43be6d08e1ed860ad003e9af93ab714205031eedf [INFO] running `Command { std: "docker" "start" "-a" "4ee2150ae78a3ba265c581d43be6d08e1ed860ad003e9af93ab714205031eedf", kill_on_drop: false }` [INFO] [stderr] Compiling buildable v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/lib.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/lib.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | #![experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Clone` [INFO] [stdout] --> src/lib.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone,Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Default` [INFO] [stdout] --> src/lib.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone,Default)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/lib.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `derive` [INFO] [stdout] --> src/lib.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone,Default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/lib.rs:196:3 [INFO] [stdout] | [INFO] [stdout] 196 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `derive` [INFO] [stdout] --> src/lib.rs:214:3 [INFO] [stdout] | [INFO] [stdout] 214 | #[derive(Copy,PartialEq, Eq, PartialOrd, Ord, Show)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | dir: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `std::os` [INFO] [stdout] --> src/lib.rs:41:43 [INFO] [stdout] | [INFO] [stdout] 41 | let home = match std::os::getenv("HOME") { [INFO] [stdout] | ^^^^^^ not found in `std::os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | let path = Path::new(home); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn dir(&mut self, dir: Path) -> &mut BuildConfig { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib.rs:155:41 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn get_dir<'a>(&'a self) -> &'a Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:198:23 [INFO] [stdout] | [INFO] [stdout] 198 | fn new(&mut self, &Vec) -> &mut Self; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:200:27 [INFO] [stdout] | [INFO] [stdout] 200 | fn reorder<'a>(&self, &'a mut Vec) -> &'a mut Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a mut Vec` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:267:32 [INFO] [stdout] | [INFO] [stdout] 267 | None => { ; }, [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/lib.rs:165:30 [INFO] [stdout] | [INFO] [stdout] 165 | Some(ref p) => p.as_slice(), [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/lib.rs:173:30 [INFO] [stdout] | [INFO] [stdout] 173 | Some(ref b) => b.as_slice(), [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `LifeCycle` with `LifeCycle` [INFO] [stdout] --> src/lib.rs:255:28 [INFO] [stdout] | [INFO] [stdout] 255 | if !v.contains(lc) { [INFO] [stdout] | -------- ^^ no implementation for `LifeCycle == LifeCycle` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `LifeCycle` [INFO] [stdout] note: required by a bound in `core::slice::::contains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `LifeCycle` [INFO] [stdout] --> src/lib.rs:265:44 [INFO] [stdout] | [INFO] [stdout] 265 | match v.iter().position(|x| *x == *lc) { [INFO] [stdout] | -- ^^ --- LifeCycle [INFO] [stdout] | | [INFO] [stdout] | LifeCycle [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `LifeCycle` [INFO] [stdout] --> src/lib.rs:215:1 [INFO] [stdout] | [INFO] [stdout] 215 | pub enum LifeCycle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `LifeCycle` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 215 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/lib.rs:276:68 [INFO] [stdout] | [INFO] [stdout] 276 | ... .map(|s| LifeCycle::from_str(s.as_slice())) [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `LifeCycle` [INFO] [stdout] --> src/lib.rs:277:52 [INFO] [stdout] | [INFO] [stdout] 277 | ... .filter(|l| *l != Nil)); [INFO] [stdout] | -- ^^ --- LifeCycle [INFO] [stdout] | | [INFO] [stdout] | LifeCycle [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `LifeCycle` [INFO] [stdout] --> src/lib.rs:215:1 [INFO] [stdout] | [INFO] [stdout] 215 | pub enum LifeCycle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `LifeCycle` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 215 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `dedup` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 215 | pub enum LifeCycle { [INFO] [stdout] | ------------------ doesn't satisfy `LifeCycle: PartialEq` [INFO] [stdout] ... [INFO] [stdout] 282 | vec.dedup(); [INFO] [stdout] | ^^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `LifeCycle: PartialEq` [INFO] [stdout] help: consider annotating `LifeCycle` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 215 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `LifeCycle` with `LifeCycle` [INFO] [stdout] --> src/lib.rs:285:25 [INFO] [stdout] | [INFO] [stdout] 285 | if vec.contains(&Help) { [INFO] [stdout] | -------- ^^^^^ no implementation for `LifeCycle == LifeCycle` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `LifeCycle` [INFO] [stdout] note: required by a bound in `core::slice::::contains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `LifeCycle` with `LifeCycle` [INFO] [stdout] --> src/lib.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | if vec.contains(&Version) { [INFO] [stdout] | -------- ^^^^^^^^ no implementation for `LifeCycle == LifeCycle` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `LifeCycle` [INFO] [stdout] note: required by a bound in `core::slice::::contains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `LifeCycle` with `LifeCycle` [INFO] [stdout] --> src/lib.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | if vec.contains(&All) { [INFO] [stdout] | -------- ^^^^ no implementation for `LifeCycle == LifeCycle` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `LifeCycle` [INFO] [stdout] note: required by a bound in `core::slice::::contains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `LifeCycle` with `LifeCycle` [INFO] [stdout] --> src/lib.rs:303:25 [INFO] [stdout] | [INFO] [stdout] 303 | if vec.contains(&Most) { [INFO] [stdout] | -------- ^^^^^ no implementation for `LifeCycle == LifeCycle` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `LifeCycle` [INFO] [stdout] note: required by a bound in `core::slice::::contains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `LifeCycle` with `LifeCycle` [INFO] [stdout] --> src/lib.rs:310:25 [INFO] [stdout] | [INFO] [stdout] 310 | if vec.contains(&Build) { [INFO] [stdout] | -------- ^^^^^^ no implementation for `LifeCycle == LifeCycle` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `LifeCycle` [INFO] [stdout] note: required by a bound in `core::slice::::contains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LifeCycle: Ord` is not satisfied [INFO] [stdout] --> src/lib.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | vec.sort(); [INFO] [stdout] | ^^^^ the trait `Ord` is not implemented for `LifeCycle` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `slice::::sort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `buildable` due to 26 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4ee2150ae78a3ba265c581d43be6d08e1ed860ad003e9af93ab714205031eedf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ee2150ae78a3ba265c581d43be6d08e1ed860ad003e9af93ab714205031eedf", kill_on_drop: false }` [INFO] [stdout] 4ee2150ae78a3ba265c581d43be6d08e1ed860ad003e9af93ab714205031eedf