[INFO] fetching crate fast-rustc-ap-rustc_index 1.0.0... [INFO] testing fast-rustc-ap-rustc_index-1.0.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate fast-rustc-ap-rustc_index 1.0.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate fast-rustc-ap-rustc_index 1.0.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac35c29db926546dc9382b77121adf1227d81e7777e67f9ce748cff29e2aa9e7 [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" "ac35c29db926546dc9382b77121adf1227d81e7777e67f9ce748cff29e2aa9e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac35c29db926546dc9382b77121adf1227d81e7777e67f9ce748cff29e2aa9e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac35c29db926546dc9382b77121adf1227d81e7777e67f9ce748cff29e2aa9e7", kill_on_drop: false }` [INFO] [stdout] ac35c29db926546dc9382b77121adf1227d81e7777e67f9ce748cff29e2aa9e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80ac691ee34fa700c775a9016a66be5de763ddbec5a0adaa48ba8380117fc2be [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" "80ac691ee34fa700c775a9016a66be5de763ddbec5a0adaa48ba8380117fc2be", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling fast-rustc-ap-serialize v1.0.0 [INFO] [stderr] Compiling 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] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.34s [INFO] running `Command { std: "docker" "inspect" "80ac691ee34fa700c775a9016a66be5de763ddbec5a0adaa48ba8380117fc2be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80ac691ee34fa700c775a9016a66be5de763ddbec5a0adaa48ba8380117fc2be", kill_on_drop: false }` [INFO] [stdout] 80ac691ee34fa700c775a9016a66be5de763ddbec5a0adaa48ba8380117fc2be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49189362edc6254c0aff05f759cd93ae53224b9b122a6d7eda39674c989259c3 [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" "49189362edc6254c0aff05f759cd93ae53224b9b122a6d7eda39674c989259c3", kill_on_drop: false }` [INFO] [stderr] Compiling fast-rustc-ap-rustc_index v1.0.0 (/opt/rustwide/workdir) [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] 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" "49189362edc6254c0aff05f759cd93ae53224b9b122a6d7eda39674c989259c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49189362edc6254c0aff05f759cd93ae53224b9b122a6d7eda39674c989259c3", kill_on_drop: false }` [INFO] [stdout] 49189362edc6254c0aff05f759cd93ae53224b9b122a6d7eda39674c989259c3