[INFO] fetching crate tarpc-plugins 0.14.1... [INFO] testing tarpc-plugins-0.14.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate tarpc-plugins 0.14.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate tarpc-plugins 0.14.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate tarpc-plugins 0.14.1 [INFO] tweaked toml for crates.io crate tarpc-plugins 0.14.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tarpc-plugins 0.14.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert-type-eq v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6dcca4172de37e01fe11fce9d938e9a6fa4e81bd8a1846e42c0fc23c15e58ad [INFO] running `Command { std: "docker" "start" "-a" "f6dcca4172de37e01fe11fce9d938e9a6fa4e81bd8a1846e42c0fc23c15e58ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6dcca4172de37e01fe11fce9d938e9a6fa4e81bd8a1846e42c0fc23c15e58ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6dcca4172de37e01fe11fce9d938e9a6fa4e81bd8a1846e42c0fc23c15e58ad", kill_on_drop: false }` [INFO] [stdout] f6dcca4172de37e01fe11fce9d938e9a6fa4e81bd8a1846e42c0fc23c15e58ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9bf8e3eff7992c9dac8adb74b0c0952f302958e7e5c46324e0f12137802cbf7 [INFO] running `Command { std: "docker" "start" "-a" "b9bf8e3eff7992c9dac8adb74b0c0952f302958e7e5c46324e0f12137802cbf7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tarpc-plugins v0.14.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.62s [INFO] running `Command { std: "docker" "inspect" "b9bf8e3eff7992c9dac8adb74b0c0952f302958e7e5c46324e0f12137802cbf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9bf8e3eff7992c9dac8adb74b0c0952f302958e7e5c46324e0f12137802cbf7", kill_on_drop: false }` [INFO] [stdout] b9bf8e3eff7992c9dac8adb74b0c0952f302958e7e5c46324e0f12137802cbf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1506ea6e87ef9652df534bd3bf9f362c51cf3a6ceae8048a0e779ce8f7b2853 [INFO] running `Command { std: "docker" "start" "-a" "d1506ea6e87ef9652df534bd3bf9f362c51cf3a6ceae8048a0e779ce8f7b2853", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling assert-type-eq v0.1.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tarpc-plugins v0.14.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stdout] error[E0432]: unresolved import `tarpc` [INFO] [stdout] --> tests/service.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tarpc::context; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tarpc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tarpc`, use `cargo add tarpc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tarpc` [INFO] [stdout] --> tests/service.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[tarpc::service] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tarpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tarpc` [INFO] [stdout] --> tests/service.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[tarpc::service] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tarpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tarpc` [INFO] [stdout] --> tests/service.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | #[tarpc::service] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tarpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tarpc` [INFO] [stdout] --> tests/service.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | #[tarpc::service] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tarpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tarpc` [INFO] [stdout] --> tests/service.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | #[tarpc::service(derive = [Clone, Hash])] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tarpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tarpc` [INFO] [stdout] --> tests/service.rs:111:7 [INFO] [stdout] | [INFO] [stdout] 111 | #[tarpc::service] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tarpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tarpc` [INFO] [stdout] --> tests/service.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 129 | #[tarpc::service(derive_serde = true)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tarpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tarpc` [INFO] [stdout] --> tests/server.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[tarpc::service] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tarpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tarpc` [INFO] [stdout] --> tests/server.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[tarpc::service] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tarpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tarpc` [INFO] [stdout] --> tests/server.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[tarpc::service] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tarpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tarpc-plugins` (test "server") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0185]: method `two_part` has a `self` declaration in the impl, but not in the trait [INFO] [stdout] --> tests/service.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 9 | async fn two_part(s: String, i: i32) -> (String, i32); [INFO] [stdout] | ------------------------------------------------------ trait method declared without `self` [INFO] [stdout] ... [INFO] [stdout] 15 | async fn two_part(self, _: context::Context, s: String, i: i32) -> (String, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` used in impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0185]: method `bar` has a `self` declaration in the impl, but not in the trait [INFO] [stdout] --> tests/service.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 10 | async fn bar(s: String) -> String; [INFO] [stdout] | ---------------------------------- trait method declared without `self` [INFO] [stdout] ... [INFO] [stdout] 19 | async fn bar(self, _: context::Context, s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` used in impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0185]: method `baz` has a `self` declaration in the impl, but not in the trait [INFO] [stdout] --> tests/service.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 11 | async fn baz(); [INFO] [stdout] | --------------- trait method declared without `self` [INFO] [stdout] ... [INFO] [stdout] 23 | async fn baz(self, _: context::Context) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` used in impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0185]: method `await` has a `self` declaration in the impl, but not in the trait [INFO] [stdout] --> tests/service.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 34 | async fn r#await(r#struct: r#yield, r#enum: i32) -> (r#yield, i32); [INFO] [stdout] | ------------------------------------------------------------------- trait method declared without `self` [INFO] [stdout] ... [INFO] [stdout] 40 | / async fn r#await( [INFO] [stdout] 41 | | self, [INFO] [stdout] 42 | | _: context::Context, [INFO] [stdout] 43 | | r#struct: r#yield, [INFO] [stdout] 44 | | r#enum: i32, [INFO] [stdout] 45 | | ) -> (r#yield, i32) { [INFO] [stdout] | |___________________________^ `self` used in impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0185]: method `fn` has a `self` declaration in the impl, but not in the trait [INFO] [stdout] --> tests/service.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 35 | async fn r#fn(r#impl: r#yield) -> r#yield; [INFO] [stdout] | ------------------------------------------ trait method declared without `self` [INFO] [stdout] ... [INFO] [stdout] 49 | async fn r#fn(self, _: context::Context, r#impl: r#yield) -> r#yield { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` used in impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0185]: method `async` has a `self` declaration in the impl, but not in the trait [INFO] [stdout] --> tests/service.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 36 | async fn r#async(); [INFO] [stdout] | ------------------- trait method declared without `self` [INFO] [stdout] ... [INFO] [stdout] 53 | async fn r#async(self, _: context::Context) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` used in impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0185]: method `foo` has a `self` declaration in the impl, but not in the trait [INFO] [stdout] --> tests/service.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 61 | async fn foo(); [INFO] [stdout] | --------------- trait method declared without `self` [INFO] [stdout] ... [INFO] [stdout] 67 | async fn foo(self, _: context::Context) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` used in impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooRequest` [INFO] [stdout] --> tests/service.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let x = FooRequest::Foo {}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FooRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooRequest` [INFO] [stdout] --> tests/service.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let x = FooRequest::Foo {}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FooRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooRequest` [INFO] [stdout] --> tests/service.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let x = FooRequest::Foo {}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FooRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0185, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0185`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tarpc-plugins` (test "service") due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "d1506ea6e87ef9652df534bd3bf9f362c51cf3a6ceae8048a0e779ce8f7b2853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1506ea6e87ef9652df534bd3bf9f362c51cf3a6ceae8048a0e779ce8f7b2853", kill_on_drop: false }` [INFO] [stdout] d1506ea6e87ef9652df534bd3bf9f362c51cf3a6ceae8048a0e779ce8f7b2853