[INFO] fetching crate xy-rpc 0.2.0... [INFO] building xy-rpc-0.2.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate xy-rpc 0.2.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate xy-rpc 0.2.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate xy-rpc 0.2.0 [INFO] tweaked toml for crates.io crate xy-rpc 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xy-rpc 0.2.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate xy-rpc 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xy-rpc-macro v0.2.0 [INFO] [stderr] Downloaded compio-runtime v0.6.3 [INFO] [stderr] Downloaded compio-net v0.6.0 [INFO] [stderr] Downloaded compio-macros v0.1.2 [INFO] [stderr] Downloaded io-uring v0.7.4 [INFO] [stderr] Downloaded compio-quic v0.2.0 [INFO] [stderr] Downloaded compio-process v0.3.0 [INFO] [stderr] Downloaded compio-signal v0.4.0 [INFO] [stderr] Downloaded compio v0.13.2 [INFO] [stderr] Downloaded widestring v1.1.0 [INFO] [stderr] Downloaded ts-rs v10.1.0 [INFO] [stderr] Downloaded ts-rs-macros v10.1.0 [INFO] [stderr] Downloaded compio-dispatcher v0.5.0 [INFO] [stderr] Downloaded compio-driver v0.6.1 [INFO] [stderr] Downloaded os_pipe v1.2.1 [INFO] [stderr] Downloaded compio-fs v0.6.0 [INFO] [stderr] Downloaded compio-io v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0acb2dcd255f79b75118b1578b103495b4795ec868e82b80767eecf0a2ec157 [INFO] running `Command { std: "docker" "start" "-a" "e0acb2dcd255f79b75118b1578b103495b4795ec868e82b80767eecf0a2ec157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0acb2dcd255f79b75118b1578b103495b4795ec868e82b80767eecf0a2ec157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0acb2dcd255f79b75118b1578b103495b4795ec868e82b80767eecf0a2ec157", kill_on_drop: false }` [INFO] [stdout] e0acb2dcd255f79b75118b1578b103495b4795ec868e82b80767eecf0a2ec157 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32e4a09db5d9eae5132ef1e582ad9398b78f40875c0ed897b514e9303a78c9fd [INFO] running `Command { std: "docker" "start" "-a" "32e4a09db5d9eae5132ef1e582ad9398b78f40875c0ed897b514e9303a78c9fd", kill_on_drop: false }` [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling uuid v1.14.0 [INFO] [stderr] Compiling derive_utils v0.15.0 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling ts-rs-macros v10.1.0 [INFO] [stderr] Compiling xy-rpc-macro v0.2.0 [INFO] [stderr] Compiling auto_enums v0.8.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling ts-rs v10.1.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling xy-rpc v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.57s [INFO] running `Command { std: "docker" "inspect" "32e4a09db5d9eae5132ef1e582ad9398b78f40875c0ed897b514e9303a78c9fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32e4a09db5d9eae5132ef1e582ad9398b78f40875c0ed897b514e9303a78c9fd", kill_on_drop: false }` [INFO] [stdout] 32e4a09db5d9eae5132ef1e582ad9398b78f40875c0ed897b514e9303a78c9fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c927db6aa9b3cf10571af9f9cf66553bafb31a8f788a3e2c6693449f2f6ffac [INFO] running `Command { std: "docker" "start" "-a" "6c927db6aa9b3cf10571af9f9cf66553bafb31a8f788a3e2c6693449f2f6ffac", kill_on_drop: false }` [INFO] [stderr] Compiling io-uring v0.7.4 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling compio-driver v0.6.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling winnow v0.7.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling compio-fs v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling os_pipe v1.2.1 [INFO] [stderr] Compiling xy-rpc-macro v0.2.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling uuid v1.14.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling compio-log v0.1.0 [INFO] [stderr] Compiling compio-buf v0.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling compio-io v0.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling axum-core v0.5.0 [INFO] [stderr] Compiling compio-runtime v0.6.3 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling compio-net v0.6.0 [INFO] [stderr] Compiling compio-macros v0.1.2 [INFO] [stderr] Compiling compio v0.13.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling axum v0.8.1 [INFO] [stderr] Compiling xy-rpc v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `xy_rpc::tokio` [INFO] [stdout] --> examples/unidirectional_rpc_example/caller.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use xy_rpc::tokio::ChannelBuilderTokioExt; [INFO] [stdout] | ^^^^^ could not find `tokio` in `xy_rpc` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "rt_tokio_without_send_sync")] [INFO] [stdout] | -------------------------------------- the item is gated behind the `rt_tokio_without_send_sync` feature [INFO] [stdout] 7 | pub mod tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `xy_rpc::formats::JsonFormat` [INFO] [stdout] --> examples/unidirectional_rpc_example/proto.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use xy_rpc::{formats::JsonFormat, rpc_service}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `JsonFormat` in `formats` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/formats.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "format_json")] [INFO] [stdout] | ----------------------- the item is gated behind the `format_json` feature [INFO] [stdout] 23 | #[derive(Clone, Default, Debug)] [INFO] [stdout] 24 | pub struct JsonFormat; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `xy_rpc::formats::JsonFormat` [INFO] [stdout] --> examples/axum_example.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use xy_rpc::formats::JsonFormat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `JsonFormat` in `formats` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/formats.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "format_json")] [INFO] [stdout] | ----------------------- the item is gated behind the `format_json` feature [INFO] [stdout] 23 | #[derive(Clone, Default, Debug)] [INFO] [stdout] 24 | pub struct JsonFormat; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `xy_rpc::tokio` [INFO] [stdout] --> examples/axum_example.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use xy_rpc::tokio::serve_duplex_tokio; [INFO] [stdout] | ^^^^^ could not find `tokio` in `xy_rpc` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "rt_tokio_without_send_sync")] [INFO] [stdout] | -------------------------------------- the item is gated behind the `rt_tokio_without_send_sync` feature [INFO] [stdout] 7 | pub mod tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FutureExt` and `StreamExt` [INFO] [stdout] --> examples/axum_example.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use futures_util::{FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> examples/axum_example.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/axum_example.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `select` and `try_join` [INFO] [stdout] --> examples/axum_example.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::{select, try_join}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `xy_rpc_macro::rpc_service` [INFO] [stdout] --> examples/axum_example.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use xy_rpc_macro::rpc_service; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `xy_rpc::tokio` [INFO] [stdout] --> examples/bidirectional_rpc_example/connector.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use xy_rpc::tokio::ChannelBuilderTokioExt; [INFO] [stdout] | ^^^^^ could not find `tokio` in `xy_rpc` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "rt_tokio_without_send_sync")] [INFO] [stdout] | -------------------------------------- the item is gated behind the `rt_tokio_without_send_sync` feature [INFO] [stdout] 7 | pub mod tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `xy_rpc::formats::JsonFormat` [INFO] [stdout] --> examples/bidirectional_rpc_example/proto.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use xy_rpc::{formats::JsonFormat, rpc_service}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `JsonFormat` in `formats` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/formats.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "format_json")] [INFO] [stdout] | ----------------------- the item is gated behind the `format_json` feature [INFO] [stdout] 23 | #[derive(Clone, Default, Debug)] [INFO] [stdout] 24 | pub struct JsonFormat; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `xy_rpc::tokio` [INFO] [stdout] --> examples/custom_serde_format.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use xy_rpc::tokio::{serve_duplex_from_tokio, serve_duplex_tokio}; [INFO] [stdout] | ^^^^^ could not find `tokio` in `xy_rpc` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "rt_tokio_without_send_sync")] [INFO] [stdout] | -------------------------------------- the item is gated behind the `rt_tokio_without_send_sync` feature [INFO] [stdout] 7 | pub mod tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xy-rpc` (example "axum_example") due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `xy_rpc::tokio` [INFO] [stdout] --> examples/unidirectional_rpc_example/service.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use xy_rpc::tokio::ChannelBuilderTokioExt; [INFO] [stdout] | ^^^^^ could not find `tokio` in `xy_rpc` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "rt_tokio_without_send_sync")] [INFO] [stdout] | -------------------------------------- the item is gated behind the `rt_tokio_without_send_sync` feature [INFO] [stdout] 7 | pub mod tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `xy_rpc::formats::JsonFormat` [INFO] [stdout] --> examples/unidirectional_rpc_example/proto.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use xy_rpc::{formats::JsonFormat, rpc_service}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `JsonFormat` in `formats` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/formats.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "format_json")] [INFO] [stdout] | ----------------------- the item is gated behind the `format_json` feature [INFO] [stdout] 23 | #[derive(Clone, Default, Debug)] [INFO] [stdout] 24 | pub struct JsonFormat; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: impl trait in impl method signature does not match trait method signature [INFO] [stdout] --> examples/unidirectional_rpc_example/service.rs:11:85 [INFO] [stdout] | [INFO] [stdout] 11 | fn hello(&self, content: String, param2: u32) -> impl Future + Send { [INFO] [stdout] | ^^^^ this bound is stronger than that defined on the trait [INFO] [stdout] | [INFO] [stdout] ::: examples/unidirectional_rpc_example/proto.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[rpc_service] [INFO] [stdout] | -------------- return type from trait method defined here [INFO] [stdout] | [INFO] [stdout] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stdout] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stdout] = note: `#[warn(refining_impl_trait_reachable)]` (part of `#[warn(refining_impl_trait)]`) on by default [INFO] [stdout] help: replace the return type so that it matches the trait [INFO] [stdout] | [INFO] [stdout] 11 - fn hello(&self, content: String, param2: u32) -> impl Future + Send { [INFO] [stdout] 11 + fn hello(&self, content: String, param2: u32) -> impl Future + MaybeSend { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: impl trait in impl method signature does not match trait method signature [INFO] [stdout] --> examples/custom_serde_format.rs:33:85 [INFO] [stdout] | [INFO] [stdout] 19 | #[rpc_service] [INFO] [stdout] | -------------- return type from trait method defined here [INFO] [stdout] ... [INFO] [stdout] 33 | fn hello1(&self, mut content: ComplexObj) -> impl Future + Send { [INFO] [stdout] | ^^^^ this bound is stronger than that defined on the trait [INFO] [stdout] | [INFO] [stdout] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stdout] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stdout] = note: `#[warn(refining_impl_trait_internal)]` (part of `#[warn(refining_impl_trait)]`) on by default [INFO] [stdout] help: replace the return type so that it matches the trait [INFO] [stdout] | [INFO] [stdout] 33 - fn hello1(&self, mut content: ComplexObj) -> impl Future + Send { [INFO] [stdout] 33 + fn hello1(&self, mut content: ComplexObj) -> impl futures_util::Future + MaybeSend { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/bidirectional_rpc_example/connector.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | self.channel.say(&content).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/unidirectional_rpc_example/caller.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | .hello(&"Hello. I am Caller".into(), &39) [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/unidirectional_rpc_example/caller.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `xy_rpc::formats::JsonFormat` [INFO] [stdout] --> tests/duplex.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | use xy_rpc::formats::JsonFormat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `JsonFormat` in `formats` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/formats.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "format_json")] [INFO] [stdout] | ----------------------- the item is gated behind the `format_json` feature [INFO] [stdout] 23 | #[derive(Clone, Default, Debug)] [INFO] [stdout] 24 | pub struct JsonFormat; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `xy_rpc::tokio` [INFO] [stdout] --> tests/duplex.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | use xy_rpc::tokio::serve_duplex_tokio; [INFO] [stdout] | ^^^^^ could not find `tokio` in `xy_rpc` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "rt_tokio_without_send_sync")] [INFO] [stdout] | -------------------------------------- the item is gated behind the `rt_tokio_without_send_sync` feature [INFO] [stdout] 7 | pub mod tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `xy_rpc::tokio` [INFO] [stdout] --> examples/bidirectional_rpc_example/acceptor.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use xy_rpc::tokio::ChannelBuilderTokioExt; [INFO] [stdout] | ^^^^^ could not find `tokio` in `xy_rpc` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "rt_tokio_without_send_sync")] [INFO] [stdout] | -------------------------------------- the item is gated behind the `rt_tokio_without_send_sync` feature [INFO] [stdout] 7 | pub mod tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `xy_rpc::formats::JsonFormat` [INFO] [stdout] --> examples/bidirectional_rpc_example/proto.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use xy_rpc::{formats::JsonFormat, rpc_service}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `JsonFormat` in `formats` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/formats.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "format_json")] [INFO] [stdout] | ----------------------- the item is gated behind the `format_json` feature [INFO] [stdout] 23 | #[derive(Clone, Default, Debug)] [INFO] [stdout] 24 | pub struct JsonFormat; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/unidirectional_rpc_example/service.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | future.await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/custom_serde_format.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | .hello2(&ComplexObj { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/custom_serde_format.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | .hello1(&ComplexObj { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/custom_serde_format.rs:119:6 [INFO] [stdout] | [INFO] [stdout] 119 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/custom_serde_format.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | .hello2(&ComplexObj { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/custom_serde_format.rs:163:26 [INFO] [stdout] | [INFO] [stdout] 163 | .hello1(&ComplexObj { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/custom_serde_format.rs:180:6 [INFO] [stdout] | [INFO] [stdout] 180 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xy-rpc` (example "unidirectional_rpc_exmaple_service") due to 3 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/bidirectional_rpc_example/connector.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let replay = channel.say(&say_content).await.unwrap(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/bidirectional_rpc_example/connector.rs:36:50 [INFO] [stdout] | [INFO] [stdout] 36 | let replay = channel.say(&say_content).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xy-rpc` (example "unidirectional_rpc_exmaple_caller") due to 4 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xy-rpc` (example "custom_serde_format") due to 7 previous errors; 1 warning emitted [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> tests/duplex.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | fn b(&self, p1: u32, p2: String, p3: bool) -> impl Future + Send { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p3` [INFO] [stdout] --> tests/duplex.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | fn b(&self, p1: u32, p2: String, p3: bool) -> impl Future + Send { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/duplex.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | channel.hello(&1).await?; [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/duplex.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | channel.a(&1).await?; [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/duplex.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/bidirectional_rpc_example/acceptor.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | let say_reply = channel.say(&"Hello. I am Server".into()).await.unwrap(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/duplex.rs:96:33 [INFO] [stdout] | [INFO] [stdout] 96 | channel.hello(&1), [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/bidirectional_rpc_example/acceptor.rs:31:69 [INFO] [stdout] | [INFO] [stdout] 31 | let say_reply = channel.say(&"Hello. I am Server".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/bidirectional_rpc_example/acceptor.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/duplex.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | let r = try_join!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 96 | | channel.hello(&1), [INFO] [stdout] 97 | | channel.hello(&2), [INFO] [stdout] 98 | | channel.hello(&3), [INFO] [stdout] 99 | | channel.hello(&4) [INFO] [stdout] 100 | | )?; [INFO] [stdout] | |_____________________^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join` which comes from the expansion of the macro `try_join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/duplex.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | let r = try_join!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 96 | | channel.hello(&1), [INFO] [stdout] 97 | | channel.hello(&2), [INFO] [stdout] 98 | | channel.hello(&3), [INFO] [stdout] 99 | | channel.hello(&4) [INFO] [stdout] 100 | | )?; [INFO] [stdout] | |_____________________^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join` which comes from the expansion of the macro `try_join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/duplex.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | let r = try_join!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 96 | | channel.hello(&1), [INFO] [stdout] 97 | | channel.hello(&2), [INFO] [stdout] 98 | | channel.hello(&3), [INFO] [stdout] 99 | | channel.hello(&4) [INFO] [stdout] 100 | | )?; [INFO] [stdout] | |_____________________^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join` which comes from the expansion of the macro `try_join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/duplex.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | let r = try_join!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 96 | | channel.hello(&1), [INFO] [stdout] 97 | | channel.hello(&2), [INFO] [stdout] 98 | | channel.hello(&3), [INFO] [stdout] 99 | | channel.hello(&4) [INFO] [stdout] 100 | | )?; [INFO] [stdout] | |_____________________^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join` which comes from the expansion of the macro `try_join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/duplex.rs:108:47 [INFO] [stdout] | [INFO] [stdout] 108 | let r = try_join!(channel.a(&1), channel.a(&2), channel.a(&3), channel.a(&4))?; [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/duplex.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | let r = try_join!(channel.a(&1), channel.a(&2), channel.a(&3), channel.a(&4))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join` which comes from the expansion of the macro `try_join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xy-rpc` (example "bidirectional_rpc_exmaple_connector") due to 5 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/duplex.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | let r = try_join!(channel.a(&1), channel.a(&2), channel.a(&3), channel.a(&4))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join` which comes from the expansion of the macro `try_join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/duplex.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | let r = try_join!(channel.a(&1), channel.a(&2), channel.a(&3), channel.a(&4))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join` which comes from the expansion of the macro `try_join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/duplex.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | let r = try_join!(channel.a(&1), channel.a(&2), channel.a(&3), channel.a(&4))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::try_join` which comes from the expansion of the macro `try_join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/duplex.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xy-rpc` (example "bidirectional_rpc_exmaple_acceptor") due to 5 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xy-rpc` (test "duplex") due to 16 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6c927db6aa9b3cf10571af9f9cf66553bafb31a8f788a3e2c6693449f2f6ffac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c927db6aa9b3cf10571af9f9cf66553bafb31a8f788a3e2c6693449f2f6ffac", kill_on_drop: false }` [INFO] [stdout] 6c927db6aa9b3cf10571af9f9cf66553bafb31a8f788a3e2c6693449f2f6ffac