[INFO] fetching crate reactive-streams 0.0.1... [INFO] checking reactive-streams-0.0.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate reactive-streams 0.0.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate reactive-streams 0.0.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8dcbeb02b66deb6f22e63c7b76f4eb8c2a006e2cbb710273c85d7e509f688484 [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" "8dcbeb02b66deb6f22e63c7b76f4eb8c2a006e2cbb710273c85d7e509f688484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8dcbeb02b66deb6f22e63c7b76f4eb8c2a006e2cbb710273c85d7e509f688484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dcbeb02b66deb6f22e63c7b76f4eb8c2a006e2cbb710273c85d7e509f688484", kill_on_drop: false }` [INFO] [stdout] 8dcbeb02b66deb6f22e63c7b76f4eb8c2a006e2cbb710273c85d7e509f688484 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a13fd9996fb5577091c2342787c9d7648055248f5d1eb19018b5a485a4d8508c [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" "a13fd9996fb5577091c2342787c9d7648055248f5d1eb19018b5a485a4d8508c", kill_on_drop: false }` [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] [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] [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] [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] 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] [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] [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] [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` [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] [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" "a13fd9996fb5577091c2342787c9d7648055248f5d1eb19018b5a485a4d8508c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a13fd9996fb5577091c2342787c9d7648055248f5d1eb19018b5a485a4d8508c", kill_on_drop: false }` [INFO] [stdout] a13fd9996fb5577091c2342787c9d7648055248f5d1eb19018b5a485a4d8508c