[INFO] cloning repository https://github.com/ycysdf/xy-rpc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ycysdf/xy-rpc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fycysdf%2Fxy-rpc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fycysdf%2Fxy-rpc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29a2cbd1a2cccf67a91c1646645f63dbbce03f02 [INFO] checking ycysdf/xy-rpc against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fycysdf%2Fxy-rpc" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ycysdf/xy-rpc [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/ycysdf/xy-rpc [INFO] tweaked toml for git repo https://github.com/ycysdf/xy-rpc written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ycysdf/xy-rpc on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ycysdf/xy-rpc 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ts-rs-macros v10.1.0 [INFO] [stderr] Downloaded compio-runtime v0.6.3 [INFO] [stderr] Downloaded compio-signal v0.4.0 [INFO] [stderr] Downloaded compio-driver v0.6.1 [INFO] [stderr] Downloaded compio-process v0.3.0 [INFO] [stderr] Downloaded compio-dispatcher v0.5.0 [INFO] [stderr] Downloaded compio-macros v0.1.2 [INFO] [stderr] Downloaded derive_utils v0.15.0 [INFO] [stderr] Downloaded uuid v1.14.0 [INFO] [stderr] Downloaded compio-net v0.6.0 [INFO] [stderr] Downloaded compio-fs v0.6.0 [INFO] [stderr] Downloaded auto_enums v0.8.7 [INFO] [stderr] Downloaded compio-quic v0.2.0 [INFO] [stderr] Downloaded io-uring v0.7.4 [INFO] [stderr] Downloaded compio-io v0.5.0 [INFO] [stderr] Downloaded compio-buf v0.5.1 [INFO] [stderr] Downloaded compio v0.13.2 [INFO] [stderr] Downloaded ts-rs v10.1.0 [INFO] [stderr] Downloaded aligned-array v1.0.1 [INFO] [stderr] Downloaded compio-log v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8fcb5f663e2f5bafafb1f0cca2fe49648da3ba6593ff9cc158f8e6427dc8c2b8 [INFO] running `Command { std: "docker" "start" "-a" "8fcb5f663e2f5bafafb1f0cca2fe49648da3ba6593ff9cc158f8e6427dc8c2b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fcb5f663e2f5bafafb1f0cca2fe49648da3ba6593ff9cc158f8e6427dc8c2b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fcb5f663e2f5bafafb1f0cca2fe49648da3ba6593ff9cc158f8e6427dc8c2b8", kill_on_drop: false }` [INFO] [stdout] 8fcb5f663e2f5bafafb1f0cca2fe49648da3ba6593ff9cc158f8e6427dc8c2b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d83fc94943a602c551eab199216e732bbbf5e1e0847604280dfc8c2a729d0b1 [INFO] running `Command { std: "docker" "start" "-a" "9d83fc94943a602c551eab199216e732bbbf5e1e0847604280dfc8c2a729d0b1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling io-uring v0.7.4 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling compio-driver v0.6.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling winnow v0.7.3 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling compio-fs v0.6.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking compio-buf v0.5.1 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking uuid v1.14.0 [INFO] [stderr] Checking os_pipe v1.2.1 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling derive_utils v0.15.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking xy-rpc-macro v0.2.0 (/opt/rustwide/workdir/crates/xy-rpc-macro) [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling ts-rs-macros v10.1.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling auto_enums v0.8.7 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.9 [INFO] [stderr] Compiling compio-macros v0.1.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking pin-project v1.1.9 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking ts-rs v10.1.0 [INFO] [stderr] Checking compio-log v0.1.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking compio-io v0.5.0 [INFO] [stderr] Checking compio-runtime v0.6.3 [INFO] [stderr] Checking axum-core v0.5.0 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking compio-net v0.6.0 [INFO] [stderr] Checking compio v0.13.2 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking axum v0.8.1 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking web-sys v0.3.77 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.50 [INFO] [stderr] Checking xy-rpc v0.2.0 (/opt/rustwide/workdir) [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)]` 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::formats::JsonFormat` [INFO] [stdout] --> examples/axum_example.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use xy_rpc::formats::JsonFormat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `xy_rpc::tokio::serve_duplex_tokio` [INFO] [stdout] --> examples/axum_example.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use xy_rpc::tokio::serve_duplex_tokio; [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] 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)]` 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] error[E0277]: `dyn Stream>` cannot be sent between threads safely [INFO] [stdout] --> examples/unidirectional_rpc_example/caller.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | tokio::spawn(future); [INFO] [stdout] | ------------ ^^^^^^ `dyn Stream>` cannot be sent between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn Stream>` [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it appears within the type `impl RpcTransportStream + futures_core::stream::TryStream + Unpin` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:490:6 [INFO] [stdout] | [INFO] [stdout] 490 | ) -> impl RpcTransportStream + Unpin { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:326:19 [INFO] [stdout] | [INFO] [stdout] 326 | (channel, async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `impl Future> + MaybeSend + 'static` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | impl Future> + MaybeSend + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `impl Future> + MaybeSend + 'static` [INFO] [stdout] --> /opt/rustwide/workdir/src/tokio.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | impl Future> + MaybeSend + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `impl Future> + MaybeSend + 'static` [INFO] [stdout] --> /opt/rustwide/workdir/src/tokio.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | impl Future> + MaybeSend + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/task/spawn.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn spawn(future: F) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 167 | where [INFO] [stdout] 168 | F: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/unidirectional_rpc_exmaple_caller-4094e55b205998f7.long-type-6739787129862204457.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl Future::Reply> + MaybeSend` cannot be sent between threads safely [INFO] [stdout] --> examples/unidirectional_rpc_example/caller.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | tokio::spawn(future); [INFO] [stdout] | ------------ ^^^^^^ `impl Future::Reply> + MaybeSend` cannot be sent between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: within `SelectFutures + MaybeSend, ...>, ...>`, the trait `Send` is not implemented for `impl Future::Reply> + MaybeSend` [INFO] [stdout] note: required because it appears within the type `Map + MaybeSend, ...>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/future/map.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Map { [INFO] [stdout] | ^^^ [INFO] [stdout] note: required because it appears within the type `Map + MaybeSend, ...>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/future/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | Map( [INFO] [stdout] | ^^^ [INFO] [stdout] note: required because it appears within the type `SelectFutures + MaybeSend, ...>, ...>` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:331:18 [INFO] [stdout] | [INFO] [stdout] 331 | enum SelectFutures { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `FuturesUnordered, ...>>` to implement `Send` [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:326:19 [INFO] [stdout] | [INFO] [stdout] 326 | (channel, async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `impl Future> + MaybeSend + 'static` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | impl Future> + MaybeSend + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `impl Future> + MaybeSend + 'static` [INFO] [stdout] --> /opt/rustwide/workdir/src/tokio.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | impl Future> + MaybeSend + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `impl Future> + MaybeSend + 'static` [INFO] [stdout] --> /opt/rustwide/workdir/src/tokio.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | impl Future> + MaybeSend + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/task/spawn.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn spawn(future: F) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 167 | where [INFO] [stdout] 168 | F: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/unidirectional_rpc_exmaple_caller-4094e55b205998f7.long-type-7935073673870649752.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn Stream>` cannot be sent between threads safely [INFO] [stdout] --> examples/bidirectional_rpc_example/connector.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | tokio::spawn(future); [INFO] [stdout] | ------------ ^^^^^^ `dyn Stream>` cannot be sent between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn Stream>` [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it appears within the type `impl RpcTransportStream + futures_core::stream::TryStream + Unpin` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:490:6 [INFO] [stdout] | [INFO] [stdout] 490 | ) -> impl RpcTransportStream + Unpin { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:326:19 [INFO] [stdout] | [INFO] [stdout] 326 | (channel, async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `impl Future> + MaybeSend + 'static` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | impl Future> + MaybeSend + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `impl Future> + MaybeSend + 'static` [INFO] [stdout] --> /opt/rustwide/workdir/src/tokio.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | impl Future> + MaybeSend + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `impl Future> + MaybeSend + 'static` [INFO] [stdout] --> /opt/rustwide/workdir/src/tokio.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | impl Future> + MaybeSend + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/task/spawn.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn spawn(future: F) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 167 | where [INFO] [stdout] 168 | F: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/bidirectional_rpc_exmaple_connector-2e44cc153b134fcf.long-type-4532977255101724968.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl Future::Reply> + MaybeSend` cannot be sent between threads safely [INFO] [stdout] --> examples/bidirectional_rpc_example/connector.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | tokio::spawn(future); [INFO] [stdout] | ------------ ^^^^^^ `impl Future::Reply> + MaybeSend` cannot be sent between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: within `SelectFutures + MaybeSend, ...>, ...>`, the trait `Send` is not implemented for `impl Future::Reply> + MaybeSend` [INFO] [stdout] note: required because it appears within the type `Map + MaybeSend, ...>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/future/map.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Map { [INFO] [stdout] | ^^^ [INFO] [stdout] note: required because it appears within the type `Map + MaybeSend, ...>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/future/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | Map( [INFO] [stdout] | ^^^ [INFO] [stdout] note: required because it appears within the type `SelectFutures + MaybeSend, ...>, ...>` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:331:18 [INFO] [stdout] | [INFO] [stdout] 331 | enum SelectFutures { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `FuturesUnordered, ...>>` to implement `Send` [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:326:19 [INFO] [stdout] | [INFO] [stdout] 326 | (channel, async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `impl Future> + MaybeSend + 'static` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | impl Future> + MaybeSend + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `impl Future> + MaybeSend + 'static` [INFO] [stdout] --> /opt/rustwide/workdir/src/tokio.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | impl Future> + MaybeSend + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `impl Future> + MaybeSend + 'static` [INFO] [stdout] --> /opt/rustwide/workdir/src/tokio.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | impl Future> + MaybeSend + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/task/spawn.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn spawn(future: F) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 167 | where [INFO] [stdout] 168 | F: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/bidirectional_rpc_exmaple_connector-2e44cc153b134fcf.long-type-6916731170589581988.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xy-rpc` (example "unidirectional_rpc_exmaple_caller") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xy-rpc` (example "bidirectional_rpc_exmaple_connector") due to 2 previous errors [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)]` 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] 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)]` 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[E0277]: `dyn Stream>` cannot be sent between threads safely [INFO] [stdout] --> examples/bidirectional_rpc_example/acceptor.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let task = tokio::spawn(future); [INFO] [stdout] | ------------ ^^^^^^ `dyn Stream>` cannot be sent between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn Stream>` [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it appears within the type `impl RpcTransportStream + futures_core::stream::TryStream + Unpin` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:490:6 [INFO] [stdout] | [INFO] [stdout] 490 | ) -> impl RpcTransportStream + Unpin { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:326:19 [INFO] [stdout] | [INFO] [stdout] 326 | (channel, async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `impl Future> + MaybeSend + 'static` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | impl Future> + MaybeSend + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `impl Future> + MaybeSend + 'static` [INFO] [stdout] --> /opt/rustwide/workdir/src/tokio.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | impl Future> + MaybeSend + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `impl Future> + MaybeSend + 'static` [INFO] [stdout] --> /opt/rustwide/workdir/src/tokio.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | impl Future> + MaybeSend + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/task/spawn.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn spawn(future: F) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 167 | where [INFO] [stdout] 168 | F: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/bidirectional_rpc_exmaple_acceptor-b624fab2b62f4ae8.long-type-10145186504177100982.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl Future::Reply> + MaybeSend` cannot be sent between threads safely [INFO] [stdout] --> examples/bidirectional_rpc_example/acceptor.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let task = tokio::spawn(future); [INFO] [stdout] | ------------ ^^^^^^ `impl Future::Reply> + MaybeSend` cannot be sent between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: within `SelectFutures + MaybeSend, ...>, ...>`, the trait `Send` is not implemented for `impl Future::Reply> + MaybeSend` [INFO] [stdout] note: required because it appears within the type `Map + MaybeSend, ...>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/future/map.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Map { [INFO] [stdout] | ^^^ [INFO] [stdout] note: required because it appears within the type `Map + MaybeSend, ...>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/future/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | Map( [INFO] [stdout] | ^^^ [INFO] [stdout] note: required because it appears within the type `SelectFutures + MaybeSend, ...>, ...>` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:331:18 [INFO] [stdout] | [INFO] [stdout] 331 | enum SelectFutures { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `FuturesUnordered, ...>>` to implement `Send` [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:326:19 [INFO] [stdout] | [INFO] [stdout] 326 | (channel, async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `impl Future> + MaybeSend + 'static` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | impl Future> + MaybeSend + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `impl Future> + MaybeSend + 'static` [INFO] [stdout] --> /opt/rustwide/workdir/src/tokio.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | impl Future> + MaybeSend + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `impl Future> + MaybeSend + 'static` [INFO] [stdout] --> /opt/rustwide/workdir/src/tokio.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | impl Future> + MaybeSend + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/task/spawn.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn spawn(future: F) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 167 | where [INFO] [stdout] 168 | F: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/bidirectional_rpc_exmaple_acceptor-b624fab2b62f4ae8.long-type-18375216302777661136.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xy-rpc` (example "bidirectional_rpc_exmaple_acceptor") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "9d83fc94943a602c551eab199216e732bbbf5e1e0847604280dfc8c2a729d0b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d83fc94943a602c551eab199216e732bbbf5e1e0847604280dfc8c2a729d0b1", kill_on_drop: false }` [INFO] [stdout] 9d83fc94943a602c551eab199216e732bbbf5e1e0847604280dfc8c2a729d0b1