[INFO] fetching crate tarpc-plugins 0.14.1... [INFO] checking tarpc-plugins-0.14.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate tarpc-plugins 0.14.1 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tarpc-plugins 0.14.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98b6e8463c5495773b902c8ac41138b01bf7b925b8a822b5813a1bf8451172f0 [INFO] running `Command { std: "docker" "start" "-a" "98b6e8463c5495773b902c8ac41138b01bf7b925b8a822b5813a1bf8451172f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98b6e8463c5495773b902c8ac41138b01bf7b925b8a822b5813a1bf8451172f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98b6e8463c5495773b902c8ac41138b01bf7b925b8a822b5813a1bf8451172f0", kill_on_drop: false }` [INFO] [stdout] 98b6e8463c5495773b902c8ac41138b01bf7b925b8a822b5813a1bf8451172f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af8a720fb67717de0a87e7c186f31781792f71618b2761a9c816e256a76eaa64 [INFO] running `Command { std: "docker" "start" "-a" "af8a720fb67717de0a87e7c186f31781792f71618b2761a9c816e256a76eaa64", kill_on_drop: false }` [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking assert-type-eq v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking syn v2.0.106 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking tarpc-plugins v0.14.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking 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" "af8a720fb67717de0a87e7c186f31781792f71618b2761a9c816e256a76eaa64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af8a720fb67717de0a87e7c186f31781792f71618b2761a9c816e256a76eaa64", kill_on_drop: false }` [INFO] [stdout] af8a720fb67717de0a87e7c186f31781792f71618b2761a9c816e256a76eaa64