[INFO] fetching crate tarpc 0.18.0... [INFO] extracting crate tarpc 0.18.0 into work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/reg/tarpc/0.18.0 [INFO] extracting crate tarpc 0.18.0 into work/ex/pr-62133/sources/try#8ec8125bea94852768b56958f05da47666c21ab0/reg/tarpc/0.18.0 [INFO] validating manifest of tarpc-0.18.0 on toolchain master#5f9c0448dde167128d668da4555879f64e56af1d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of tarpc-0.18.0 on toolchain try#8ec8125bea94852768b56958f05da47666c21ab0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8ec8125bea94852768b56958f05da47666c21ab0-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing tarpc-0.18.0 [INFO] finished frobbing tarpc-0.18.0 [INFO] frobbed toml for tarpc-0.18.0 written to work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/reg/tarpc/0.18.0/Cargo.toml [INFO] started frobbing tarpc-0.18.0 [INFO] finished frobbing tarpc-0.18.0 [INFO] frobbed toml for tarpc-0.18.0 written to work/ex/pr-62133/sources/try#8ec8125bea94852768b56958f05da47666c21ab0/reg/tarpc/0.18.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8ec8125bea94852768b56958f05da47666c21ab0-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tarpc-bincode-transport v0.7.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8ec8125bea94852768b56958f05da47666c21ab0-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] checking tarpc-0.18.0 against master#5f9c0448dde167128d668da4555879f64e56af1d for pr-62133 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62133/worker-4/master#5f9c0448dde167128d668da4555879f64e56af1d:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/reg/tarpc/0.18.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] bdfe5ddd00379b151d17ef5368b776f333897d5d56fa419b69e54afa90fb986c [INFO] running `"docker" "start" "-a" "bdfe5ddd00379b151d17ef5368b776f333897d5d56fa419b69e54afa90fb986c"` [INFO] [stderr] Checking rustc_term v0.0.1 [INFO] [stderr] Compiling tarpc-plugins v0.5.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tarpc-trace v0.2.0 [INFO] [stderr] Checking bincode v1.1.4 [INFO] [stderr] Checking libtest v0.0.1 [INFO] [stderr] Checking tarpc-lib v0.6.1 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tarpc v0.18.0 (/opt/crater/workdir) [INFO] [stderr] Checking tokio v0.1.21 [INFO] [stderr] Checking async-bincode v0.4.9 [INFO] [stderr] Checking tarpc-bincode-transport v0.7.0 [INFO] [stderr] warning: the feature `impl_trait_in_bindings` is incomplete and may cause the compiler to crash [INFO] [stderr] --> examples/service_registry.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | impl_trait_in_bindings [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `subscriber::Response: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> examples/pubsub.rs:117:30 [INFO] [stderr] | [INFO] [stderr] 117 | let subscriber = subscriber::new_stub(client::Config::default(), conn).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `subscriber::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'de> serde::de::Deserialize<'de>` for `tarpc_lib::Response` [INFO] [stderr] = note: required because of the requirements on the impl of `tarpc_lib::transport::Transport` for `tarpc_bincode_transport::Transport, tarpc_lib::ClientMessage>` [INFO] [stderr] note: required by `subscriber::new_stub` [INFO] [stderr] --> examples/pubsub.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | / tarpc::service! { [INFO] [stderr] 34 | | rpc receive(message: String); [INFO] [stderr] 35 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `subscriber::Request: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/pubsub.rs:117:30 [INFO] [stderr] | [INFO] [stderr] 117 | let subscriber = subscriber::new_stub(client::Config::default(), conn).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `subscriber::Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required because of the requirements on the impl of `tarpc_lib::transport::Transport` for `tarpc_bincode_transport::Transport, tarpc_lib::ClientMessage>` [INFO] [stderr] note: required by `subscriber::new_stub` [INFO] [stderr] --> examples/pubsub.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | / tarpc::service! { [INFO] [stderr] 34 | | rpc receive(message: String); [INFO] [stderr] 35 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `subscriber::Response: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> examples/pubsub.rs:116:24 [INFO] [stderr] | [INFO] [stderr] 116 | let conn = bincode_transport::connect(&addr).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `subscriber::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'de> serde::de::Deserialize<'de>` for `tarpc_lib::Response` [INFO] [stderr] = note: required by `tarpc_bincode_transport::connect` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `subscriber::Request: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/pubsub.rs:116:24 [INFO] [stderr] | [INFO] [stderr] 116 | let conn = bincode_transport::connect(&addr).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `subscriber::Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required by `tarpc_bincode_transport::connect` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `add::Response: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/server_calling_server.rs:77:10 [INFO] [stderr] | [INFO] [stderr] 77 | .respond_with(add::serve(AddServer)); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `add::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::Response` [INFO] [stderr] = note: required because of the requirements on the impl of `tarpc_lib::transport::Transport` for `tarpc_bincode_transport::Transport, tarpc_lib::Response>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `add::Request: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> examples/server_calling_server.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | .incoming(add_listener) [INFO] [stderr] | ^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `add::Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'a> serde::de::Deserialize<'a>` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required because of the requirements on the impl of `futures_core::stream::Stream` for `tarpc_bincode_transport::Incoming, tarpc_lib::Response>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `add::Response: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/server_calling_server.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | .incoming(add_listener) [INFO] [stderr] | ^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `add::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::Response` [INFO] [stderr] = note: required because of the requirements on the impl of `futures_core::stream::Stream` for `tarpc_bincode_transport::Incoming, tarpc_lib::Response>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `add::Request: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> examples/server_calling_server.rs:72:24 [INFO] [stderr] | [INFO] [stderr] 72 | let add_listener = bincode_transport::listen(&"0.0.0.0:0".parse().unwrap())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `add::Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'de> serde::de::Deserialize<'de>` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required by `tarpc_bincode_transport::listen` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `add::Response: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/server_calling_server.rs:72:24 [INFO] [stderr] | [INFO] [stderr] 72 | let add_listener = bincode_transport::listen(&"0.0.0.0:0".parse().unwrap())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `add::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::Response` [INFO] [stderr] = note: required by `tarpc_bincode_transport::listen` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `publisher::Response: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/pubsub.rs:149:14 [INFO] [stderr] | [INFO] [stderr] 149 | .respond_with(publisher::serve(Publisher::new())) [INFO] [stderr] | ^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `publisher::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::Response` [INFO] [stderr] = note: required because of the requirements on the impl of `tarpc_lib::transport::Transport` for `tarpc_bincode_transport::Transport, tarpc_lib::Response>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `publisher::Request: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> examples/pubsub.rs:147:14 [INFO] [stderr] | [INFO] [stderr] 147 | .incoming(transport) [INFO] [stderr] | ^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `publisher::Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'a> serde::de::Deserialize<'a>` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required because of the requirements on the impl of `futures_core::stream::Stream` for `tarpc_bincode_transport::Incoming, tarpc_lib::Response>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `publisher::Response: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/pubsub.rs:147:14 [INFO] [stderr] | [INFO] [stderr] 147 | .incoming(transport) [INFO] [stderr] | ^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `publisher::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::Response` [INFO] [stderr] = note: required because of the requirements on the impl of `futures_core::stream::Stream` for `tarpc_bincode_transport::Incoming, tarpc_lib::Response>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `publisher::Request: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> examples/pubsub.rs:143:21 [INFO] [stderr] | [INFO] [stderr] 143 | let transport = bincode_transport::listen(&"0.0.0.0:0".parse().unwrap())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `publisher::Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'de> serde::de::Deserialize<'de>` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required by `tarpc_bincode_transport::listen` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `publisher::Response: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/pubsub.rs:143:21 [INFO] [stderr] | [INFO] [stderr] 143 | let transport = bincode_transport::listen(&"0.0.0.0:0".parse().unwrap())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `publisher::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::Response` [INFO] [stderr] = note: required by `tarpc_bincode_transport::listen` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Response: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/readme.rs:57:10 [INFO] [stderr] | [INFO] [stderr] 57 | .respond_with(serve(HelloServer)); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::Response` [INFO] [stderr] = note: required because of the requirements on the impl of `tarpc_lib::transport::Transport` for `tarpc_bincode_transport::Transport, tarpc_lib::Response>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Request: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> examples/readme.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | .incoming(transport) [INFO] [stderr] | ^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'a> serde::de::Deserialize<'a>` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required because of the requirements on the impl of `futures_core::stream::Stream` for `tarpc_bincode_transport::Incoming, tarpc_lib::Response>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Response: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/readme.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | .incoming(transport) [INFO] [stderr] | ^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::Response` [INFO] [stderr] = note: required because of the requirements on the impl of `futures_core::stream::Stream` for `tarpc_bincode_transport::Incoming, tarpc_lib::Response>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Request: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> examples/readme.rs:46:21 [INFO] [stderr] | [INFO] [stderr] 46 | let transport = bincode_transport::listen(&"0.0.0.0:0".parse().unwrap())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'de> serde::de::Deserialize<'de>` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required by `tarpc_bincode_transport::listen` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Response: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/readme.rs:46:21 [INFO] [stderr] | [INFO] [stderr] 46 | let transport = bincode_transport::listen(&"0.0.0.0:0".parse().unwrap())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::Response` [INFO] [stderr] = note: required by `tarpc_bincode_transport::listen` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ack::Response: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> tests/latency.rs:51:14 [INFO] [stderr] | [INFO] [stderr] 51 | .respond_with(ack::serve(Serve)) [INFO] [stderr] | ^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `ack::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::Response` [INFO] [stderr] = note: required because of the requirements on the impl of `tarpc_lib::transport::Transport` for `tarpc_bincode_transport::Transport, tarpc_lib::Response>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ack::Request: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> tests/latency.rs:49:14 [INFO] [stderr] | [INFO] [stderr] 49 | .incoming(listener) [INFO] [stderr] | ^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `ack::Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'a> serde::de::Deserialize<'a>` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required because of the requirements on the impl of `futures_core::stream::Stream` for `tarpc_bincode_transport::Incoming, tarpc_lib::Response>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ack::Response: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> tests/latency.rs:49:14 [INFO] [stderr] | [INFO] [stderr] 49 | .incoming(listener) [INFO] [stderr] | ^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `ack::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::Response` [INFO] [stderr] = note: required because of the requirements on the impl of `futures_core::stream::Stream` for `tarpc_bincode_transport::Incoming, tarpc_lib::Response>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ack::Request: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> tests/latency.rs:44:20 [INFO] [stderr] | [INFO] [stderr] 44 | let listener = bincode_transport::listen(&"0.0.0.0:0".parse().unwrap())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `ack::Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'de> serde::de::Deserialize<'de>` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required by `tarpc_bincode_transport::listen` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ack::Response: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> tests/latency.rs:44:20 [INFO] [stderr] | [INFO] [stderr] 44 | let listener = bincode_transport::listen(&"0.0.0.0:0".parse().unwrap())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `ack::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::Response` [INFO] [stderr] = note: required by `tarpc_bincode_transport::listen` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unit_error` found for type `tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, add::Request)>+std::clone::Clone>` in the current scope [INFO] [stderr] --> examples/server_calling_server.rs:78:38 [INFO] [stderr] | [INFO] [stderr] 78 | tokio_executor::spawn(add_server.unit_error().boxed().compat()); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `unit_error` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, add::Request)>+std::clone::Clone> : futures_util::future::FutureExt` [INFO] [stderr] `&tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, add::Request)>+std::clone::Clone> : futures_util::future::FutureExt` [INFO] [stderr] `tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, add::Request)>+std::clone::Clone> : futures_util::future::FutureExt` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `add::Response: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> examples/server_calling_server.rs:81:22 [INFO] [stderr] | [INFO] [stderr] 81 | let add_client = add::new_stub(client::Config::default(), to_add_server).await?; [INFO] [stderr] | ^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `add::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'de> serde::de::Deserialize<'de>` for `tarpc_lib::Response` [INFO] [stderr] = note: required because of the requirements on the impl of `tarpc_lib::transport::Transport` for `tarpc_bincode_transport::Transport, tarpc_lib::ClientMessage>` [INFO] [stderr] note: required by `add::new_stub` [INFO] [stderr] --> examples/server_calling_server.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | / tarpc::service! { [INFO] [stderr] 28 | | /// Add two ints together. [INFO] [stderr] 29 | | rpc add(x: i32, y: i32) -> i32; [INFO] [stderr] 30 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `add::Request: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/server_calling_server.rs:81:22 [INFO] [stderr] | [INFO] [stderr] 81 | let add_client = add::new_stub(client::Config::default(), to_add_server).await?; [INFO] [stderr] | ^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `add::Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required because of the requirements on the impl of `tarpc_lib::transport::Transport` for `tarpc_bincode_transport::Transport, tarpc_lib::ClientMessage>` [INFO] [stderr] note: required by `add::new_stub` [INFO] [stderr] --> examples/server_calling_server.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | / tarpc::service! { [INFO] [stderr] 28 | | /// Add two ints together. [INFO] [stderr] 29 | | rpc add(x: i32, y: i32) -> i32; [INFO] [stderr] 30 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `add::Response: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> examples/server_calling_server.rs:80:25 [INFO] [stderr] | [INFO] [stderr] 80 | let to_add_server = bincode_transport::connect(&addr).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `add::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'de> serde::de::Deserialize<'de>` for `tarpc_lib::Response` [INFO] [stderr] = note: required by `tarpc_bincode_transport::connect` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `add::Request: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/server_calling_server.rs:80:25 [INFO] [stderr] | [INFO] [stderr] 80 | let to_add_server = bincode_transport::connect(&addr).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `add::Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required by `tarpc_bincode_transport::connect` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `double::Response: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/server_calling_server.rs:88:10 [INFO] [stderr] | [INFO] [stderr] 88 | .respond_with(double::serve(DoubleServer { add_client })); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `double::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::Response` [INFO] [stderr] = note: required because of the requirements on the impl of `tarpc_lib::transport::Transport` for `tarpc_bincode_transport::Transport, tarpc_lib::Response>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `double::Request: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> examples/server_calling_server.rs:86:10 [INFO] [stderr] | [INFO] [stderr] 86 | .incoming(double_listener) [INFO] [stderr] | ^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `double::Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'a> serde::de::Deserialize<'a>` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required because of the requirements on the impl of `futures_core::stream::Stream` for `tarpc_bincode_transport::Incoming, tarpc_lib::Response>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `double::Response: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/server_calling_server.rs:86:10 [INFO] [stderr] | [INFO] [stderr] 86 | .incoming(double_listener) [INFO] [stderr] | ^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `double::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::Response` [INFO] [stderr] = note: required because of the requirements on the impl of `futures_core::stream::Stream` for `tarpc_bincode_transport::Incoming, tarpc_lib::Response>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `double::Request: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> examples/server_calling_server.rs:83:27 [INFO] [stderr] | [INFO] [stderr] 83 | let double_listener = bincode_transport::listen(&"0.0.0.0:0".parse().unwrap())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `double::Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'de> serde::de::Deserialize<'de>` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required by `tarpc_bincode_transport::listen` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `double::Response: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/server_calling_server.rs:83:27 [INFO] [stderr] | [INFO] [stderr] 83 | let double_listener = bincode_transport::listen(&"0.0.0.0:0".parse().unwrap())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `double::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::Response` [INFO] [stderr] = note: required by `tarpc_bincode_transport::listen` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unit_error` found for type `tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, double::Request)>+std::clone::Clone>` in the current scope [INFO] [stderr] --> examples/server_calling_server.rs:89:41 [INFO] [stderr] | [INFO] [stderr] 89 | tokio_executor::spawn(double_server.unit_error().boxed().compat()); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `unit_error` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, double::Request)>+std::clone::Clone> : futures_util::future::FutureExt` [INFO] [stderr] `&tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, double::Request)>+std::clone::Clone> : futures_util::future::FutureExt` [INFO] [stderr] `tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, double::Request)>+std::clone::Clone> : futures_util::future::FutureExt` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `double::Response: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> examples/server_calling_server.rs:92:29 [INFO] [stderr] | [INFO] [stderr] 92 | let mut double_client = double::new_stub(client::Config::default(), to_double_server).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `double::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'de> serde::de::Deserialize<'de>` for `tarpc_lib::Response` [INFO] [stderr] = note: required because of the requirements on the impl of `tarpc_lib::transport::Transport` for `tarpc_bincode_transport::Transport, tarpc_lib::ClientMessage>` [INFO] [stderr] note: required by `double::new_stub` [INFO] [stderr] --> examples/server_calling_server.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | / tarpc::service! { [INFO] [stderr] 35 | | /// 2 * x [INFO] [stderr] 36 | | rpc double(x: i32) -> Result; [INFO] [stderr] 37 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `double::Request: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/server_calling_server.rs:92:29 [INFO] [stderr] | [INFO] [stderr] 92 | let mut double_client = double::new_stub(client::Config::default(), to_double_server).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `double::Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required because of the requirements on the impl of `tarpc_lib::transport::Transport` for `tarpc_bincode_transport::Transport, tarpc_lib::ClientMessage>` [INFO] [stderr] note: required by `double::new_stub` [INFO] [stderr] --> examples/server_calling_server.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | / tarpc::service! { [INFO] [stderr] 35 | | /// 2 * x [INFO] [stderr] 36 | | rpc double(x: i32) -> Result; [INFO] [stderr] 37 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `double::Response: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> examples/server_calling_server.rs:91:28 [INFO] [stderr] | [INFO] [stderr] 91 | let to_double_server = bincode_transport::connect(&addr).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `double::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'de> serde::de::Deserialize<'de>` for `tarpc_lib::Response` [INFO] [stderr] = note: required by `tarpc_bincode_transport::connect` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `double::Request: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/server_calling_server.rs:91:28 [INFO] [stderr] | [INFO] [stderr] 91 | let to_double_server = bincode_transport::connect(&addr).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `double::Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required by `tarpc_bincode_transport::connect` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unit_error` found for type `tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, publisher::Request)>+std::clone::Clone>` in the current scope [INFO] [stderr] --> examples/pubsub.rs:150:14 [INFO] [stderr] | [INFO] [stderr] 150 | .unit_error() [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `unit_error` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, publisher::Request)>+std::clone::Clone> : futures_util::future::FutureExt` [INFO] [stderr] `&tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, publisher::Request)>+std::clone::Clone> : futures_util::future::FutureExt` [INFO] [stderr] `tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, publisher::Request)>+std::clone::Clone> : futures_util::future::FutureExt` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `publisher::Response: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> examples/pubsub.rs:160:25 [INFO] [stderr] | [INFO] [stderr] 160 | let mut publisher = publisher::new_stub(client::Config::default(), publisher_conn).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `publisher::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'de> serde::de::Deserialize<'de>` for `tarpc_lib::Response` [INFO] [stderr] = note: required because of the requirements on the impl of `tarpc_lib::transport::Transport` for `tarpc_bincode_transport::Transport, tarpc_lib::ClientMessage>` [INFO] [stderr] note: required by `publisher::new_stub` [INFO] [stderr] --> examples/pubsub.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | / tarpc::service! { [INFO] [stderr] 41 | | rpc broadcast(message: String); [INFO] [stderr] 42 | | rpc subscribe(id: u32, address: SocketAddr) -> Result<(), String>; [INFO] [stderr] 43 | | rpc unsubscribe(id: u32); [INFO] [stderr] 44 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `publisher::Request: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/pubsub.rs:160:25 [INFO] [stderr] | [INFO] [stderr] 160 | let mut publisher = publisher::new_stub(client::Config::default(), publisher_conn).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `publisher::Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required because of the requirements on the impl of `tarpc_lib::transport::Transport` for `tarpc_bincode_transport::Transport, tarpc_lib::ClientMessage>` [INFO] [stderr] note: required by `publisher::new_stub` [INFO] [stderr] --> examples/pubsub.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | / tarpc::service! { [INFO] [stderr] 41 | | rpc broadcast(message: String); [INFO] [stderr] 42 | | rpc subscribe(id: u32, address: SocketAddr) -> Result<(), String>; [INFO] [stderr] 43 | | rpc unsubscribe(id: u32); [INFO] [stderr] 44 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `publisher::Response: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> examples/pubsub.rs:158:26 [INFO] [stderr] | [INFO] [stderr] 158 | let publisher_conn = bincode_transport::connect(&publisher_addr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `publisher::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'de> serde::de::Deserialize<'de>` for `tarpc_lib::Response` [INFO] [stderr] = note: required by `tarpc_bincode_transport::connect` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `publisher::Request: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/pubsub.rs:158:26 [INFO] [stderr] | [INFO] [stderr] 158 | let publisher_conn = bincode_transport::connect(&publisher_addr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `publisher::Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required by `tarpc_bincode_transport::connect` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `subscriber::Response: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/pubsub.rs:69:18 [INFO] [stderr] | [INFO] [stderr] 69 | .respond_with(subscriber::serve(Subscriber { id })) [INFO] [stderr] | ^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `subscriber::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::Response` [INFO] [stderr] = note: required because of the requirements on the impl of `tarpc_lib::transport::Transport` for `tarpc_bincode_transport::Transport, tarpc_lib::Response>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `subscriber::Request: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> examples/pubsub.rs:67:18 [INFO] [stderr] | [INFO] [stderr] 67 | .incoming(incoming) [INFO] [stderr] | ^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `subscriber::Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'a> serde::de::Deserialize<'a>` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required because of the requirements on the impl of `futures_core::stream::Stream` for `tarpc_bincode_transport::Incoming, tarpc_lib::Response>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `subscriber::Response: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/pubsub.rs:67:18 [INFO] [stderr] | [INFO] [stderr] 67 | .incoming(incoming) [INFO] [stderr] | ^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `subscriber::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::Response` [INFO] [stderr] = note: required because of the requirements on the impl of `futures_core::stream::Stream` for `tarpc_bincode_transport::Incoming, tarpc_lib::Response>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `subscriber::Request: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> examples/pubsub.rs:63:24 [INFO] [stderr] | [INFO] [stderr] 63 | let incoming = bincode_transport::listen(&"0.0.0.0:0".parse().unwrap())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `subscriber::Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'de> serde::de::Deserialize<'de>` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required by `tarpc_bincode_transport::listen` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `subscriber::Response: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/pubsub.rs:63:24 [INFO] [stderr] | [INFO] [stderr] 63 | let incoming = bincode_transport::listen(&"0.0.0.0:0".parse().unwrap())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `subscriber::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::Response` [INFO] [stderr] = note: required by `tarpc_bincode_transport::listen` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unit_error` found for type `tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, subscriber::Request)>+std::clone::Clone>` in the current scope [INFO] [stderr] --> examples/pubsub.rs:70:18 [INFO] [stderr] | [INFO] [stderr] 70 | .unit_error() [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `unit_error` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, subscriber::Request)>+std::clone::Clone> : futures_util::future::FutureExt` [INFO] [stderr] `&tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, subscriber::Request)>+std::clone::Clone> : futures_util::future::FutureExt` [INFO] [stderr] `tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, subscriber::Request)>+std::clone::Clone> : futures_util::future::FutureExt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unit_error` found for type `tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, ack::Request)>+std::clone::Clone>` in the current scope [INFO] [stderr] --> tests/latency.rs:52:14 [INFO] [stderr] | [INFO] [stderr] 52 | .unit_error() [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `unit_error` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, ack::Request)>+std::clone::Clone> : futures_util::future::FutureExt` [INFO] [stderr] `&tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, ack::Request)>+std::clone::Clone> : futures_util::future::FutureExt` [INFO] [stderr] `tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, ack::Request)>+std::clone::Clone> : futures_util::future::FutureExt` [INFO] [stderr] [INFO] [stderr] error: aborting due to 20 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error[E0277]: the trait bound `ack::Response: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> tests/latency.rs:58:22 [INFO] [stderr] | [INFO] [stderr] 58 | let mut client = ack::new_stub(client::Config::default(), conn).await?; [INFO] [stderr] | ^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `ack::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'de> serde::de::Deserialize<'de>` for `tarpc_lib::Response` [INFO] [stderr] = note: required because of the requirements on the impl of `tarpc_lib::transport::Transport` for `tarpc_bincode_transport::Transport, tarpc_lib::ClientMessage>` [INFO] [stderr] note: required by `ack::new_stub` [INFO] [stderr] --> tests/latency.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | / tarpc::service! { [INFO] [stderr] 28 | | rpc ack(); [INFO] [stderr] 29 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ack::Request: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> tests/latency.rs:58:22 [INFO] [stderr] | [INFO] [stderr] 58 | let mut client = ack::new_stub(client::Config::default(), conn).await?; [INFO] [stderr] | ^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `ack::Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required because of the requirements on the impl of `tarpc_lib::transport::Transport` for `tarpc_bincode_transport::Transport, tarpc_lib::ClientMessage>` [INFO] [stderr] note: required by `ack::new_stub` [INFO] [stderr] --> tests/latency.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | / tarpc::service! { [INFO] [stderr] 28 | | rpc ack(); [INFO] [stderr] 29 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ack::Response: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> tests/latency.rs:57:16 [INFO] [stderr] | [INFO] [stderr] 57 | let conn = bincode_transport::connect(&addr).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `ack::Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'de> serde::de::Deserialize<'de>` for `tarpc_lib::Response` [INFO] [stderr] = note: required by `tarpc_bincode_transport::connect` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `ack::Request: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> tests/latency.rs:57:16 [INFO] [stderr] | [INFO] [stderr] 57 | let conn = bincode_transport::connect(&addr).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `ack::Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required by `tarpc_bincode_transport::connect` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unit_error` found for type `tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, Request)>+std::clone::Clone>` in the current scope [INFO] [stderr] --> examples/readme.rs:59:34 [INFO] [stderr] | [INFO] [stderr] 59 | tokio_executor::spawn(server.unit_error().boxed().compat()); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] error: aborting due to 20 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `tarpc`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] | [INFO] [stderr] = note: the method `unit_error` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, Request)>+std::clone::Clone> : futures_util::future::FutureExt` [INFO] [stderr] `&tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, Request)>+std::clone::Clone> : futures_util::future::FutureExt` [INFO] [stderr] `tarpc_lib::server::Running, impl std::marker::Send+std::ops::FnOnce<(tarpc_lib::context::Context, Request)>+std::clone::Clone> : futures_util::future::FutureExt` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Response: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> examples/readme.rs:66:22 [INFO] [stderr] | [INFO] [stderr] 66 | let mut client = new_stub(client::Config::default(), transport).await?; [INFO] [stderr] | ^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'de> serde::de::Deserialize<'de>` for `tarpc_lib::Response` [INFO] [stderr] = note: required because of the requirements on the impl of `tarpc_lib::transport::Transport` for `tarpc_bincode_transport::Transport, tarpc_lib::ClientMessage>` [INFO] [stderr] note: required by `new_stub` [INFO] [stderr] --> examples/readme.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / tarpc::service! { [INFO] [stderr] 24 | | rpc hello(name: String) -> String; [INFO] [stderr] 25 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Request: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/readme.rs:66:22 [INFO] [stderr] | [INFO] [stderr] 66 | let mut client = new_stub(client::Config::default(), transport).await?; [INFO] [stderr] | ^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required because of the requirements on the impl of `tarpc_lib::transport::Transport` for `tarpc_bincode_transport::Transport, tarpc_lib::ClientMessage>` [INFO] [stderr] note: required by `new_stub` [INFO] [stderr] --> examples/readme.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / tarpc::service! { [INFO] [stderr] 24 | | rpc hello(name: String) -> String; [INFO] [stderr] 25 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Response: serde::de::Deserialize<'_>` is not satisfied [INFO] [stderr] --> examples/readme.rs:61:21 [INFO] [stderr] | [INFO] [stderr] 61 | let transport = bincode_transport::connect(&addr).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `Response` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `for<'de> serde::de::Deserialize<'de>` for `tarpc_lib::Response` [INFO] [stderr] = note: required by `tarpc_bincode_transport::connect` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Request: serde::ser::Serialize` is not satisfied [INFO] [stderr] --> examples/readme.rs:61:21 [INFO] [stderr] | [INFO] [stderr] 61 | let transport = bincode_transport::connect(&addr).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `Request` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `tarpc_lib::ClientMessage` [INFO] [stderr] = note: required by `tarpc_bincode_transport::connect` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `tarpc`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `tarpc`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `tarpc`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `serde` [INFO] [stderr] --> examples/service_registry.rs:244:5 [INFO] [stderr] | [INFO] [stderr] 244 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^ help: a similar path exists: `bytes::serde` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `serde` [INFO] [stderr] --> examples/service_registry.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^ help: a similar path exists: `bytes::serde` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stderr] --> examples/service_registry.rs:27:25 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stderr] --> examples/service_registry.rs:27:14 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stderr] --> examples/service_registry.rs:34:25 [INFO] [stderr] | [INFO] [stderr] 34 | #[derive(Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stderr] --> examples/service_registry.rs:34:14 [INFO] [stderr] | [INFO] [stderr] 34 | #[derive(Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: Could not compile `tarpc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "bdfe5ddd00379b151d17ef5368b776f333897d5d56fa419b69e54afa90fb986c"` [INFO] running `"docker" "rm" "-f" "bdfe5ddd00379b151d17ef5368b776f333897d5d56fa419b69e54afa90fb986c"` [INFO] [stdout] bdfe5ddd00379b151d17ef5368b776f333897d5d56fa419b69e54afa90fb986c