[INFO] fetching crate futures-channel 0.3.31... [INFO] checking futures-channel-0.3.31 against try#306c6aded24f02440063be828ebe601fe5eb8323 for pr-133502-3 [INFO] extracting crate futures-channel 0.3.31 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate futures-channel 0.3.31 on toolchain 306c6aded24f02440063be828ebe601fe5eb8323 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate futures-channel 0.3.31 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate futures-channel 0.3.31 [INFO] tweaked toml for crates.io crate futures-channel 0.3.31 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c8fc07afdd36fd606a2eb0de29d5936180f1d28a684e8cd92b9abfc4791c12b [INFO] running `Command { std: "docker" "start" "-a" "5c8fc07afdd36fd606a2eb0de29d5936180f1d28a684e8cd92b9abfc4791c12b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c8fc07afdd36fd606a2eb0de29d5936180f1d28a684e8cd92b9abfc4791c12b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c8fc07afdd36fd606a2eb0de29d5936180f1d28a684e8cd92b9abfc4791c12b", kill_on_drop: false }` [INFO] [stdout] 5c8fc07afdd36fd606a2eb0de29d5936180f1d28a684e8cd92b9abfc4791c12b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69402979e009f6ad35104fe610793342c6035eb0b9eff2c6fd1a4ced92d49582 [INFO] running `Command { std: "docker" "start" "-a" "69402979e009f6ad35104fe610793342c6035eb0b9eff2c6fd1a4ced92d49582", kill_on_drop: false }` [INFO] [stderr] Checking futures-channel v0.3.31 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::{mpsc, oneshot}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::executor::{block_on, block_on_stream}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::{poll_fn, FutureExt}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::sink::{Sink, SinkExt}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{Stream, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::task::{Context, Poll}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures_test` [INFO] [stdout] --> tests/mpsc.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures_test::task::{new_count_waker, noop_context}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `futures_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - use futures_test::task::{new_count_waker, noop_context}; [INFO] [stdout] 8 + use futures_core::task::{new_count_waker, noop_context}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> tests/mpsc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/oneshot.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::oneshot::{self, Sender}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/oneshot.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc-close.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc-close.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc-close.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::Future; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc-close.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::sink::SinkExt; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc-close.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc-close.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::task::{Context, Poll}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/channel.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/channel.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/channel.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::poll_fn; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/channel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::sink::SinkExt; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/channel.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/oneshot.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::{poll_fn, FutureExt}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/oneshot.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::{Context, Poll}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures_test` [INFO] [stdout] --> tests/oneshot.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_test::task::panic_waker_ref; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `futures_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - use futures_test::task::panic_waker_ref; [INFO] [stdout] 5 + use futures_core::task::panic_waker_ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> benches/sync_mpsc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | futures::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures_test` [INFO] [stdout] --> benches/sync_mpsc.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | futures_test::task::noop_context, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `futures_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 14 - futures_test::task::noop_context, [INFO] [stdout] 14 + futures_core::task::noop_context, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> benches/sync_mpsc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | futures::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc-size_hint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc-size_hint.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::stream::Stream; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `futures-channel` (bench "sync_mpsc") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mpsc-size_hint.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!((0, None), rx.size_hint()); [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mpsc-size_hint.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | tx.unbounded_send(1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/channel.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | sender.send(n - x).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `futures-channel` (test "mpsc") due to 8 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mpsc-size_hint.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!((0, None), rx.size_hint()); [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/channel.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | let list: Vec<_> = block_on(rx.collect()); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | assert!(tx.poll_canceled(cx).is_pending()); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/mpsc-size_hint.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | tx.try_send(1).unwrap(); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/channel.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | let f = poll_fn(|cx| rx.poll_next_unpin(cx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> tests/mpsc-close.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | block_on(receiver.take(3).for_each(|_| futures::future::ready(()))); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use std::future; [INFO] [stdout] | [INFO] [stdout] help: if you import `future`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 19 - block_on(receiver.take(3).for_each(|_| futures::future::ready(()))); [INFO] [stdout] 19 + block_on(receiver.take(3).for_each(|_| future::ready(()))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/channel.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | block_on(tx.send(1)).unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/channel.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | block_on(tx.send(A)).unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | block_on(tx.cancellation()); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | block_on(tx.cancellation()); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | tx2.send(()).unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `futures-channel` (test "channel") due to 10 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | assert_eq!(tx.poll_canceled(&mut cx), Poll::Pending); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `futures-channel` (test "mpsc-close") due to 7 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | rx.close(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | assert!(tx.poll_canceled(cx).is_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | rx.close(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | block_on(tx.cancellation()); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `futures-channel` (test "mpsc-size_hint") due to 6 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | assert!(!tx.is_canceled()); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | let _ = otx.send(42); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/oneshot.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | orx.close(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `futures-channel` (test "oneshot") due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "69402979e009f6ad35104fe610793342c6035eb0b9eff2c6fd1a4ced92d49582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69402979e009f6ad35104fe610793342c6035eb0b9eff2c6fd1a4ced92d49582", kill_on_drop: false }` [INFO] [stdout] 69402979e009f6ad35104fe610793342c6035eb0b9eff2c6fd1a4ced92d49582