[INFO] crate tarpc-lib 0.7.0 is already in cache [INFO] checking tarpc-lib-0.7.0 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate tarpc-lib 0.7.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate tarpc-lib 0.7.0 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [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-11/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 12b0a79c41badf7c127b5674987c8225b611434022e033da200f2b89f8b82dfc [INFO] running `"docker" "start" "-a" "12b0a79c41badf7c127b5674987c8225b611434022e033da200f2b89f8b82dfc"` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tarpc-trace v0.3.0 [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] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/client/channel.rs:736:9 [INFO] [stderr] | [INFO] [stderr] 736 | use tokio::runtime::current_thread; [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/transport/channel.rs:90:7 [INFO] [stderr] | [INFO] [stderr] 90 | #[tokio::test] [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `current_thread` [INFO] [stderr] --> src/client/channel.rs:782:9 [INFO] [stderr] | [INFO] [stderr] 782 | current_thread::Runtime::new().unwrap().block_on(f) [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `current_thread` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/transport/channel.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | tokio::spawn( [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Handler` [INFO] [stderr] --> src/transport/channel.rs:82:18 [INFO] [stderr] | [INFO] [stderr] 82 | server::{Handler, Server}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `respond_with` found for opaque type `impl futures_core::stream::Stream` in the current scope [INFO] [stderr] --> src/transport/channel.rs:98:18 [INFO] [stderr] | [INFO] [stderr] 98 | .respond_with(|_ctx, request: String| { [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `impl futures_core::stream::Stream` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] note: `server::Channel` defines an item `respond_with`, perhaps you need to implement it [INFO] [stderr] --> src/server/mod.rs:243:1 [INFO] [stderr] | [INFO] [stderr] 243 | / pub trait Channel [INFO] [stderr] 244 | | where [INFO] [stderr] 245 | | Self: Transport::Resp>, Request<::Req>>, [INFO] [stderr] 246 | | { [INFO] [stderr] ... | [INFO] [stderr] 288 | | } [INFO] [stderr] 289 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `spawn` found for struct `client::NewClient, client::channel::RequestDispatch<_, _, transport::channel::UnboundedChannel, ClientMessage<_>>>>` in the current scope [INFO] [stderr] --> src/transport/channel.rs:108:81 [INFO] [stderr] | [INFO] [stderr] 108 | let mut client = client::new(client::Config::default(), client_channel).spawn()?; [INFO] [stderr] | ^^^^^ method not found in `client::NewClient, client::channel::RequestDispatch<_, _, transport::channel::UnboundedChannel, ClientMessage<_>>>>` [INFO] [stderr] | [INFO] [stderr] ::: src/client/mod.rs:131:1 [INFO] [stderr] | [INFO] [stderr] 131 | pub struct NewClient { [INFO] [stderr] | -------------------------- method `spawn` not found for this [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following traits define an item `spawn`, perhaps you need to implement one of them: [INFO] [stderr] candidate #1: `futures_util::task::spawn::SpawnExt` [INFO] [stderr] candidate #2: `tokio_executor::executor::Executor` [INFO] [stderr] candidate #3: `tokio_executor::typed::TypedExecutor` [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> src/transport/channel.rs:110:13 [INFO] [stderr] | [INFO] [stderr] 110 | let response1 = client.call(context::current(), "123".into()).await?; [INFO] [stderr] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> src/transport/channel.rs:111:25 [INFO] [stderr] | [INFO] [stderr] 111 | let response2 = client.call(context::current(), "abc".into()).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the feature `non_exhaustive` has been stable since 1.40.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:7:25 [INFO] [stderr] | [INFO] [stderr] 7 | #![feature(weak_counts, non_exhaustive, trait_alias)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `weak_counts` has been stable since 1.41.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | #![feature(weak_counts, non_exhaustive, trait_alias)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0433, E0599, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0433`. [INFO] [stderr] error: could not compile `tarpc-lib`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "12b0a79c41badf7c127b5674987c8225b611434022e033da200f2b89f8b82dfc"` [INFO] running `"docker" "rm" "-f" "12b0a79c41badf7c127b5674987c8225b611434022e033da200f2b89f8b82dfc"` [INFO] [stdout] 12b0a79c41badf7c127b5674987c8225b611434022e033da200f2b89f8b82dfc