[INFO] fetching crate python_rub 0.0.3... [INFO] checking python_rub-0.0.3 against master#d62d3f7fa9a91d933213cc10e20e740608983f64 for pr-77015 [INFO] extracting crate python_rub 0.0.3 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate python_rub 0.0.3 on toolchain d62d3f7fa9a91d933213cc10e20e740608983f64 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate python_rub 0.0.3 [INFO] finished tweaking crates.io crate python_rub 0.0.3 [INFO] tweaked toml for crates.io crate python_rub 0.0.3 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77fc5430cf1256936b4d78a2e13317e8b2ef8935477664463c137012b40985c5 [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" "77fc5430cf1256936b4d78a2e13317e8b2ef8935477664463c137012b40985c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77fc5430cf1256936b4d78a2e13317e8b2ef8935477664463c137012b40985c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77fc5430cf1256936b4d78a2e13317e8b2ef8935477664463c137012b40985c5", kill_on_drop: false }` [INFO] [stdout] 77fc5430cf1256936b4d78a2e13317e8b2ef8935477664463c137012b40985c5 [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98e1eb819007e975e4798a74f75310c9f6784c95e8e5ba025a2bbb55c4a80a1e [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" "98e1eb819007e975e4798a74f75310c9f6784c95e8e5ba025a2bbb55c4a80a1e", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking commandext v0.1.0 [INFO] [stderr] Checking strsim v0.9.3 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking buildable v0.0.5 [INFO] [stderr] Compiling libc v0.2.78 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stdout] error[E0658]: non-builtin inner attributes are unstable [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #![experimental] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #54726 for more information [INFO] [stdout] = help: add `#![feature(custom_inner_attributes)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/src/lib.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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 derive macro `Copy` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/src/lib.rs:214:10 [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: cannot determine resolution for the derive macro `PartialEq` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/src/lib.rs:214:15 [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: cannot determine resolution for the derive macro `Eq` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/src/lib.rs:214:26 [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: cannot determine resolution for the derive macro `PartialOrd` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/src/lib.rs:214:30 [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: cannot determine resolution for the derive macro `Ord` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/src/lib.rs:214:42 [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: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/src/lib.rs:214:47 [INFO] [stdout] | [INFO] [stdout] 214 | #[derive(Copy,PartialEq, Eq, PartialOrd, Ord, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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] = help: the trait `PartialEq` is not implemented for `LifeCycle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `LifeCycle` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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 `std::cmp::PartialEq` might be missing for `LifeCycle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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 `std::cmp::PartialEq` might be missing for `LifeCycle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dedup` found for struct `Vec` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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 not found in `Vec` [INFO] [stdout] | [INFO] [stdout] = note: the method `dedup` exists but the following trait bounds were not satisfied: [INFO] [stdout] `LifeCycle: PartialEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `LifeCycle` with `LifeCycle` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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] = help: the trait `PartialEq` is not implemented for `LifeCycle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `LifeCycle` with `LifeCycle` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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] = help: the trait `PartialEq` is not implemented for `LifeCycle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `LifeCycle` with `LifeCycle` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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] = help: the trait `PartialEq` is not implemented for `LifeCycle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `LifeCycle` with `LifeCycle` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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] = help: the trait `PartialEq` is not implemented for `LifeCycle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `LifeCycle` with `LifeCycle` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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] = help: the trait `PartialEq` is not implemented for `LifeCycle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LifeCycle: Ord` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/buildable-0.0.5/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] [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0412, E0425, E0433, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `buildable` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "98e1eb819007e975e4798a74f75310c9f6784c95e8e5ba025a2bbb55c4a80a1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98e1eb819007e975e4798a74f75310c9f6784c95e8e5ba025a2bbb55c4a80a1e", kill_on_drop: false }` [INFO] [stdout] 98e1eb819007e975e4798a74f75310c9f6784c95e8e5ba025a2bbb55c4a80a1e