[INFO] fetching crate fast-rustc-ap-rustc_index 1.0.0... [INFO] checking fast-rustc-ap-rustc_index-1.0.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate fast-rustc-ap-rustc_index 1.0.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate fast-rustc-ap-rustc_index 1.0.0 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 crates.io crate fast-rustc-ap-rustc_index 1.0.0 [INFO] finished tweaking crates.io crate fast-rustc-ap-rustc_index 1.0.0 [INFO] tweaked toml for crates.io crate fast-rustc-ap-rustc_index 1.0.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 82876401fab6ed022c9cd35094d68dae7a72a826a742a9eaca08016c106d4be1 [INFO] running `Command { std: "docker" "start" "-a" "82876401fab6ed022c9cd35094d68dae7a72a826a742a9eaca08016c106d4be1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82876401fab6ed022c9cd35094d68dae7a72a826a742a9eaca08016c106d4be1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82876401fab6ed022c9cd35094d68dae7a72a826a742a9eaca08016c106d4be1", kill_on_drop: false }` [INFO] [stdout] 82876401fab6ed022c9cd35094d68dae7a72a826a742a9eaca08016c106d4be1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 60163bada3f190bd9c6e607619b64fbc4c80c55a361dd4e733a5e85f3a704e72 [INFO] running `Command { std: "docker" "start" "-a" "60163bada3f190bd9c6e607619b64fbc4c80c55a361dd4e733a5e85f3a704e72", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking fast-rustc-ap-serialize v1.0.0 [INFO] [stderr] Checking fast-rustc-ap-rustc_index v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> bit_set.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, Eq, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> bit_set.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, Eq, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> bit_set.rs:703:39 [INFO] [stdout] | [INFO] [stdout] 703 | #[derive(Clone, Debug, Eq, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> bit_set.rs:703:55 [INFO] [stdout] | [INFO] [stdout] 703 | #[derive(Clone, Debug, Eq, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `replace_one` is not a member of trait `std::iter::Step` [INFO] [stdout] --> vec.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | / fn replace_one(&mut self) -> Self { [INFO] [stdout] 214 | | ::std::mem::replace(self, Self::from_u32(1)) [INFO] [stdout] 215 | | } [INFO] [stdout] | |_____________^ not a member of trait `std::iter::Step` [INFO] [stdout] | [INFO] [stdout] ::: vec/tests.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | newtype_index!(struct MyIdx { MAX = 0xFFFF_FFFA }); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::newtype_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `replace_zero` is not a member of trait `std::iter::Step` [INFO] [stdout] --> vec.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | / fn replace_zero(&mut self) -> Self { [INFO] [stdout] 219 | | ::std::mem::replace(self, Self::from_u32(0)) [INFO] [stdout] 220 | | } [INFO] [stdout] | |_____________^ not a member of trait `std::iter::Step` [INFO] [stdout] | [INFO] [stdout] ::: vec/tests.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | newtype_index!(struct MyIdx { MAX = 0xFFFF_FFFA }); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::newtype_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `add_one` is not a member of trait `std::iter::Step` [INFO] [stdout] --> vec.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | / fn add_one(&self) -> Self { [INFO] [stdout] 224 | | Self::from_usize(Self::index(*self) + 1) [INFO] [stdout] 225 | | } [INFO] [stdout] | |_____________^ not a member of trait `std::iter::Step` [INFO] [stdout] | [INFO] [stdout] ::: vec/tests.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | newtype_index!(struct MyIdx { MAX = 0xFFFF_FFFA }); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::newtype_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `sub_one` is not a member of trait `std::iter::Step` [INFO] [stdout] --> vec.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | / fn sub_one(&self) -> Self { [INFO] [stdout] 229 | | Self::from_usize(Self::index(*self) - 1) [INFO] [stdout] 230 | | } [INFO] [stdout] | |_____________^ not a member of trait `std::iter::Step` [INFO] [stdout] | [INFO] [stdout] ::: vec/tests.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | newtype_index!(struct MyIdx { MAX = 0xFFFF_FFFA }); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::newtype_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `add_usize` is not a member of trait `std::iter::Step` [INFO] [stdout] --> vec.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | / fn add_usize(&self, u: usize) -> Option { [INFO] [stdout] 234 | | Self::index(*self).checked_add(u).map(Self::from_usize) [INFO] [stdout] 235 | | } [INFO] [stdout] | |_____________^ not a member of trait `std::iter::Step` [INFO] [stdout] | [INFO] [stdout] ::: vec/tests.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | newtype_index!(struct MyIdx { MAX = 0xFFFF_FFFA }); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::newtype_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `sub_usize` is not a member of trait `std::iter::Step` [INFO] [stdout] --> vec.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | / fn sub_usize(&self, u: usize) -> Option { [INFO] [stdout] 239 | | Self::index(*self).checked_sub(u).map(Self::from_usize) [INFO] [stdout] 240 | | } [INFO] [stdout] | |_____________^ not a member of trait `std::iter::Step` [INFO] [stdout] | [INFO] [stdout] ::: vec/tests.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | newtype_index!(struct MyIdx { MAX = 0xFFFF_FFFA }); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::newtype_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> bit_set.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, Eq, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> bit_set.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, Eq, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> bit_set.rs:703:39 [INFO] [stdout] | [INFO] [stdout] 703 | #[derive(Clone, Debug, Eq, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> bit_set.rs:703:55 [INFO] [stdout] | [INFO] [stdout] 703 | #[derive(Clone, Debug, Eq, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> vec.rs:399:28 [INFO] [stdout] | [INFO] [stdout] 399 | @derives [RustcEncodable,] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: vec/tests.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | newtype_index!(struct MyIdx { MAX = 0xFFFF_FFFA }); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::newtype_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `forward_checked`, `backward_checked` [INFO] [stdout] --> vec.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | impl ::std::iter::Step for $type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `forward_checked`, `backward_checked` in implementation [INFO] [stdout] | [INFO] [stdout] ::: vec/tests.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | newtype_index!(struct MyIdx { MAX = 0xFFFF_FFFA }); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::newtype_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] = help: implement the missing item: `fn forward_checked(_: Self, _: usize) -> Option { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn backward_checked(_: Self, _: usize) -> Option { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0407. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fast-rustc-ap-rustc_index` due to 8 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "60163bada3f190bd9c6e607619b64fbc4c80c55a361dd4e733a5e85f3a704e72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60163bada3f190bd9c6e607619b64fbc4c80c55a361dd4e733a5e85f3a704e72", kill_on_drop: false }` [INFO] [stdout] 60163bada3f190bd9c6e607619b64fbc4c80c55a361dd4e733a5e85f3a704e72