[INFO] fetching crate tarpc-lib 0.7.0... [INFO] checking tarpc-lib-0.7.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate tarpc-lib 0.7.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate tarpc-lib 0.7.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tarpc-lib 0.7.0 [INFO] finished tweaking crates.io crate tarpc-lib 0.7.0 [INFO] tweaked toml for crates.io crate tarpc-lib 0.7.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 57 packages [INFO] [stderr] Adding bytes v0.5.6 (latest: v1.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding crossbeam-utils v0.6.6 (latest: v0.8.19) [INFO] [stderr] Adding env_logger v0.6.2 (latest: v0.11.3) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.12) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding pin-project-lite v0.1.12 (latest: v0.2.14) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding rand v0.7.3 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (latest: v0.3.2) [INFO] [stderr] Adding tokio v0.2.25 (latest: v1.37.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-timer v0.3.0-alpha.6 [INFO] [stderr] Downloaded tokio-executor v0.2.0-alpha.6 [INFO] [stderr] Downloaded futures-test-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded tokio-sync v0.2.0-alpha.6 [INFO] [stderr] Downloaded tarpc-trace v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ef07cd5185bc950a7699ec1ff3b7cc168f3cfbcf96a87e08f2f0979c386179d [INFO] running `Command { std: "docker" "start" "-a" "1ef07cd5185bc950a7699ec1ff3b7cc168f3cfbcf96a87e08f2f0979c386179d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ef07cd5185bc950a7699ec1ff3b7cc168f3cfbcf96a87e08f2f0979c386179d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ef07cd5185bc950a7699ec1ff3b7cc168f3cfbcf96a87e08f2f0979c386179d", kill_on_drop: false }` [INFO] [stdout] 1ef07cd5185bc950a7699ec1ff3b7cc168f3cfbcf96a87e08f2f0979c386179d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] deb1206486645335897810e53df17e93e4da94d0089dd532392d5f669a098e95 [INFO] running `Command { std: "docker" "start" "-a" "deb1206486645335897810e53df17e93e4da94d0089dd532392d5f669a098e95", kill_on_drop: false }` [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking tarpc-trace v0.3.0 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Checking tokio-sync v0.2.0-alpha.6 [INFO] [stderr] Checking tokio-executor v0.2.0-alpha.6 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-test-preview v0.3.0-alpha.19 [INFO] [stderr] Checking tokio-timer v0.3.0-alpha.6 [INFO] [stderr] Checking tarpc-lib v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Unpin` is imported redundantly [INFO] [stdout] --> src/client/channel.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | marker::Unpin, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Unpin` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `trace` is imported redundantly [INFO] [stdout] --> src/context.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use trace::{self, TraceId}; [INFO] [stdout] | ^^^^ the item `trace` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Unpin` is imported redundantly [INFO] [stdout] --> src/server/filter.rs:24:70 [INFO] [stdout] | [INFO] [stdout] 24 | collections::hash_map::Entry, convert::TryInto, fmt, hash::Hash, marker::Unpin, pin::Pin, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Unpin` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `non_exhaustive` has been stable since 1.40.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(weak_counts, non_exhaustive, trait_alias)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `weak_counts` has been stable since 1.41.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(weak_counts, non_exhaustive, trait_alias)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.10.4 [INFO] [stdout] warning: field `ctx` is never read [INFO] [stdout] --> src/client/channel.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 159 | struct DispatchResponse { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 160 | response: Timeout>>, [INFO] [stdout] 161 | ctx: context::Context, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DispatchResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tracker` is never read [INFO] [stdout] --> src/server/filter.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct TrackedChannel { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 44 | inner: C, [INFO] [stdout] 45 | tracker: Arc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackedChannel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/client/channel.rs:736:9 [INFO] [stdout] | [INFO] [stdout] 736 | use tokio::runtime::current_thread; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/transport/channel.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Unpin` is imported redundantly [INFO] [stdout] --> src/client/channel.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | marker::Unpin, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Unpin` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `trace` is imported redundantly [INFO] [stdout] --> src/context.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use trace::{self, TraceId}; [INFO] [stdout] | ^^^^ the item `trace` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Unpin` is imported redundantly [INFO] [stdout] --> src/server/filter.rs:24:70 [INFO] [stdout] | [INFO] [stdout] 24 | collections::hash_map::Entry, convert::TryInto, fmt, hash::Hash, marker::Unpin, pin::Pin, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Unpin` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Handler` [INFO] [stdout] --> src/transport/channel.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | server::{Handler, Server}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `stream` is imported redundantly [INFO] [stdout] --> src/transport/channel.rs:86:31 [INFO] [stdout] | [INFO] [stdout] 86 | use futures::{prelude::*, stream}; [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `stream` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `non_exhaustive` has been stable since 1.40.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(weak_counts, non_exhaustive, trait_alias)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `weak_counts` has been stable since 1.41.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(weak_counts, non_exhaustive, trait_alias)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/transport/channel.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | tokio::spawn( [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `respond_with` found for opaque type `impl futures::Stream, Response<_>>>>` in the current scope [INFO] [stdout] --> src/transport/channel.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 96 | / Server::default() [INFO] [stdout] 97 | | .incoming(stream::once(future::ready(server_channel))) [INFO] [stdout] 98 | | .respond_with(|_ctx, request: String| { [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `impl Stream, Response<_>>>>` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `server::Channel` defines an item `respond_with`, perhaps you need to implement it [INFO] [stdout] --> src/server/mod.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait Channel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn` found for struct `NewClient` in the current scope [INFO] [stdout] --> src/transport/channel.rs:108:81 [INFO] [stdout] | [INFO] [stdout] 108 | let mut client = client::new(client::Config::default(), client_channel).spawn()?; [INFO] [stdout] | ^^^^^ method not found in `NewClient, RequestDispatch<_, _, UnboundedChannel, ClientMessage<_>>>>` [INFO] [stdout] | [INFO] [stdout] ::: src/client/mod.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct NewClient { [INFO] [stdout] | -------------------------- method `spawn` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `spawn`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `SpawnExt` [INFO] [stdout] candidate #2: `tokio_executor::executor::Executor` [INFO] [stdout] candidate #3: `tokio_executor::typed::TypedExecutor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result` [INFO] [stdout] --> src/transport/channel.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let response2 = client.call(context::current(), "abc".into()).await?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | assert_matches!(response2, Err(ref e) if e.kind() == io::ErrorKind::InvalidInput); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response2` an explicit type, where the type for type parameter `E` is specified [INFO] [stdout] | [INFO] [stdout] 111 | let response2: Result = client.call(context::current(), "abc".into()).await?; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tarpc-lib` (lib test) due to 7 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "deb1206486645335897810e53df17e93e4da94d0089dd532392d5f669a098e95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deb1206486645335897810e53df17e93e4da94d0089dd532392d5f669a098e95", kill_on_drop: false }` [INFO] [stdout] deb1206486645335897810e53df17e93e4da94d0089dd532392d5f669a098e95