[INFO] fetching crate tarpc-lib 0.7.0... [INFO] checking tarpc-lib-0.7.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate tarpc-lib 0.7.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate tarpc-lib 0.7.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tarpc-trace v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 110fc87e52a078852b03acbe3bcf988c26f3b64693eee3fa6055251d9803f7fe [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "110fc87e52a078852b03acbe3bcf988c26f3b64693eee3fa6055251d9803f7fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "110fc87e52a078852b03acbe3bcf988c26f3b64693eee3fa6055251d9803f7fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "110fc87e52a078852b03acbe3bcf988c26f3b64693eee3fa6055251d9803f7fe", kill_on_drop: false }` [INFO] [stdout] 110fc87e52a078852b03acbe3bcf988c26f3b64693eee3fa6055251d9803f7fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7091cd9a89139ce88293d3dd0ae3523149eb5088e4bd07951ca0567144e8fd87 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7091cd9a89139ce88293d3dd0ae3523149eb5088e4bd07951ca0567144e8fd87", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking assert_matches v1.4.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.3.9 [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 env_logger v0.6.2 [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] 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] error[E0433]: failed to resolve: use of undeclared crate or module `current_thread` [INFO] [stdout] --> src/client/channel.rs:782:9 [INFO] [stdout] | [INFO] [stdout] 782 | current_thread::Runtime::new().unwrap().block_on(f) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `current_thread` [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] 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] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `respond_with` found for opaque type `impl futures::Stream` in the current scope [INFO] [stdout] --> src/transport/channel.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | .respond_with(|_ctx, request: String| { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `impl futures::Stream` [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] 244 | | where [INFO] [stdout] 245 | | Self: Transport::Resp>, Request<::Req>>, [INFO] [stdout] 246 | | { [INFO] [stdout] ... | [INFO] [stdout] 288 | | } [INFO] [stdout] 289 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn` found for struct `NewClient, RequestDispatch<_, _, UnboundedChannel, ClientMessage<_>>>>` 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 [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[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/transport/channel.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let response1 = client.call(context::current(), "123".into()).await?; [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/transport/channel.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | let response2 = client.call(context::current(), "abc".into()).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tarpc-lib` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "7091cd9a89139ce88293d3dd0ae3523149eb5088e4bd07951ca0567144e8fd87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7091cd9a89139ce88293d3dd0ae3523149eb5088e4bd07951ca0567144e8fd87", kill_on_drop: false }` [INFO] [stdout] 7091cd9a89139ce88293d3dd0ae3523149eb5088e4bd07951ca0567144e8fd87