[INFO] fetching crate reactive-streams 0.0.1... [INFO] checking reactive-streams-0.0.1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate reactive-streams 0.0.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate reactive-streams 0.0.1 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate reactive-streams 0.0.1 [INFO] finished tweaking crates.io crate reactive-streams 0.0.1 [INFO] tweaked toml for crates.io crate reactive-streams 0.0.1 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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] a9b9ad7c70a2d4c29536ab1df650f7a74447349961ce0d691a6b9e46c9fde146 [INFO] running `Command { std: "docker" "start" "-a" "a9b9ad7c70a2d4c29536ab1df650f7a74447349961ce0d691a6b9e46c9fde146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9b9ad7c70a2d4c29536ab1df650f7a74447349961ce0d691a6b9e46c9fde146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9b9ad7c70a2d4c29536ab1df650f7a74447349961ce0d691a6b9e46c9fde146", kill_on_drop: false }` [INFO] [stdout] a9b9ad7c70a2d4c29536ab1df650f7a74447349961ce0d691a6b9e46c9fde146 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95e68a73c61585f6e7f10a2a7eec207027714b12c91656b56219e0fc8981174a [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" "95e68a73c61585f6e7f10a2a7eec207027714b12c91656b56219e0fc8981174a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking reactive-streams v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | fn subscribe(s: Subscriber); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Subscriber` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | fn onSubscribe(s: Subscription); [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Subscription` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | fn onError(e: std::error::Error); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Subscriber` cannot be made into an object [INFO] [stdout] --> src/lib.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | fn subscribe(s: Subscriber); [INFO] [stdout] | ^^^^^^^^^^^^^ `Subscriber` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/lib.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Subscriber { [INFO] [stdout] | ---------- this trait cannot be made into an object... [INFO] [stdout] 14 | #[allow(non_snake_case)] [INFO] [stdout] 15 | fn onSubscribe(s: Subscription); [INFO] [stdout] | ^^^^^^^^^^^ ...because associated function `onSubscribe` has no `self` parameter [INFO] [stdout] 16 | #[allow(non_snake_case)] [INFO] [stdout] 17 | fn onNext(t: T); [INFO] [stdout] | ^^^^^^ ...because associated function `onNext` has no `self` parameter [INFO] [stdout] 18 | #[allow(non_snake_case)] [INFO] [stdout] 19 | fn onError(e: std::error::Error); [INFO] [stdout] | ^^^^^^^ ...because associated function `onError` has no `self` parameter [INFO] [stdout] 20 | #[allow(non_snake_case)] [INFO] [stdout] 21 | fn onComplete(); [INFO] [stdout] | ^^^^^^^^^^ ...because associated function `onComplete` has no `self` parameter [INFO] [stdout] help: consider turning `onSubscribe` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 15 | fn onSubscribe(&self, s: Subscription); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: alternatively, consider constraining `onSubscribe` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 15 | fn onSubscribe(s: Subscription) where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider turning `onNext` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 17 | fn onNext(&self, t: T); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: alternatively, consider constraining `onNext` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 17 | fn onNext(t: T) where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider turning `onError` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 19 | fn onError(&self, e: std::error::Error); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: alternatively, consider constraining `onError` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 19 | fn onError(e: std::error::Error) where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider turning `onComplete` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 21 | fn onComplete(&self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: alternatively, consider constraining `onComplete` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 21 | fn onComplete() where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Subscription` cannot be made into an object [INFO] [stdout] --> src/lib.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | fn onSubscribe(s: Subscription); [INFO] [stdout] | ^^^^^^^^^^^^ `Subscription` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/lib.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Subscription { [INFO] [stdout] | ------------ this trait cannot be made into an object... [INFO] [stdout] 7 | #[allow(non_snake_case)] [INFO] [stdout] 8 | fn request(n: u64); [INFO] [stdout] | ^^^^^^^ ...because associated function `request` has no `self` parameter [INFO] [stdout] 9 | #[allow(non_snake_case)] [INFO] [stdout] 10 | fn cancel(); [INFO] [stdout] | ^^^^^^ ...because associated function `cancel` has no `self` parameter [INFO] [stdout] help: consider turning `request` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 8 | fn request(&self, n: u64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: alternatively, consider constraining `request` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 8 | fn request(n: u64) where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider turning `cancel` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 10 | fn cancel(&self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: alternatively, consider constraining `cancel` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 10 | fn cancel() where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `reactive-streams` due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | fn subscribe(s: Subscriber); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Subscriber` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | fn onSubscribe(s: Subscription); [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Subscription` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | fn onError(e: std::error::Error); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Subscriber` cannot be made into an object [INFO] [stdout] --> src/lib.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | fn subscribe(s: Subscriber); [INFO] [stdout] | ^^^^^^^^^^^^^ `Subscriber` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/lib.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Subscriber { [INFO] [stdout] | ---------- this trait cannot be made into an object... [INFO] [stdout] 14 | #[allow(non_snake_case)] [INFO] [stdout] 15 | fn onSubscribe(s: Subscription); [INFO] [stdout] | ^^^^^^^^^^^ ...because associated function `onSubscribe` has no `self` parameter [INFO] [stdout] 16 | #[allow(non_snake_case)] [INFO] [stdout] 17 | fn onNext(t: T); [INFO] [stdout] | ^^^^^^ ...because associated function `onNext` has no `self` parameter [INFO] [stdout] 18 | #[allow(non_snake_case)] [INFO] [stdout] 19 | fn onError(e: std::error::Error); [INFO] [stdout] | ^^^^^^^ ...because associated function `onError` has no `self` parameter [INFO] [stdout] 20 | #[allow(non_snake_case)] [INFO] [stdout] 21 | fn onComplete(); [INFO] [stdout] | ^^^^^^^^^^ ...because associated function `onComplete` has no `self` parameter [INFO] [stdout] help: consider turning `onSubscribe` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 15 | fn onSubscribe(&self, s: Subscription); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: alternatively, consider constraining `onSubscribe` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 15 | fn onSubscribe(s: Subscription) where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider turning `onNext` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 17 | fn onNext(&self, t: T); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: alternatively, consider constraining `onNext` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 17 | fn onNext(t: T) where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider turning `onError` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 19 | fn onError(&self, e: std::error::Error); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: alternatively, consider constraining `onError` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 19 | fn onError(e: std::error::Error) where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider turning `onComplete` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 21 | fn onComplete(&self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: alternatively, consider constraining `onComplete` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 21 | fn onComplete() where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Subscription` cannot be made into an object [INFO] [stdout] --> src/lib.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | fn onSubscribe(s: Subscription); [INFO] [stdout] | ^^^^^^^^^^^^ `Subscription` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/lib.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Subscription { [INFO] [stdout] | ------------ this trait cannot be made into an object... [INFO] [stdout] 7 | #[allow(non_snake_case)] [INFO] [stdout] 8 | fn request(n: u64); [INFO] [stdout] | ^^^^^^^ ...because associated function `request` has no `self` parameter [INFO] [stdout] 9 | #[allow(non_snake_case)] [INFO] [stdout] 10 | fn cancel(); [INFO] [stdout] | ^^^^^^ ...because associated function `cancel` has no `self` parameter [INFO] [stdout] help: consider turning `request` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 8 | fn request(&self, n: u64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: alternatively, consider constraining `request` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 8 | fn request(n: u64) where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider turning `cancel` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 10 | fn cancel(&self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: alternatively, consider constraining `cancel` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 10 | fn cancel() where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "95e68a73c61585f6e7f10a2a7eec207027714b12c91656b56219e0fc8981174a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95e68a73c61585f6e7f10a2a7eec207027714b12c91656b56219e0fc8981174a", kill_on_drop: false }` [INFO] [stdout] 95e68a73c61585f6e7f10a2a7eec207027714b12c91656b56219e0fc8981174a