[INFO] fetching crate futures-channel 0.3.4... [INFO] checking futures-channel-0.3.4 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate futures-channel 0.3.4 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate futures-channel 0.3.4 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate futures-channel 0.3.4 [INFO] finished tweaking crates.io crate futures-channel 0.3.4 [INFO] tweaked toml for crates.io crate futures-channel 0.3.4 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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] 53baee9c5478cd5fe52959f8271fd134a77abea32eb05b17bc9439398c52a329 [INFO] running `"docker" "start" "-a" "53baee9c5478cd5fe52959f8271fd134a77abea32eb05b17bc9439398c52a329"` [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.4 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> tests/oneshot.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use futures::channel::oneshot::{self, Sender}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> tests/oneshot.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use futures::executor::block_on; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> tests/oneshot.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use futures::future::{Future, FutureExt, poll_fn}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> tests/oneshot.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::task::{Context, Poll}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stderr] --> tests/oneshot.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use futures_test::task::panic_waker_ref; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> tests/oneshot.rs:12:24 [INFO] [stderr] | [INFO] [stderr] 12 | let (mut tx, rx) = oneshot::channel::(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> tests/channel.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use futures::channel::mpsc; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> tests/channel.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use futures::executor::block_on; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> tests/channel.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use futures::future::poll_fn; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> tests/channel.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::stream::StreamExt; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> tests/channel.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use futures::sink::SinkExt; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/channel.rs:11:20 [INFO] [stderr] | [INFO] [stderr] 11 | let (tx, rx) = mpsc::channel(1); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/oneshot.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | Poll::Ready(()) [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> tests/oneshot.rs:28:20 [INFO] [stderr] | [INFO] [stderr] 28 | let (tx, rx) = oneshot::channel::(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/channel.rs:27:44 [INFO] [stderr] | [INFO] [stderr] 27 | async fn send_sequence(n: u32, mut sender: mpsc::Sender) { [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/channel.rs:35:24 [INFO] [stderr] | [INFO] [stderr] 35 | let (tx, mut rx) = mpsc::channel::(1); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> tests/oneshot.rs:60:26 [INFO] [stderr] | [INFO] [stderr] 60 | let (otx, orx) = oneshot::channel::(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> tests/oneshot.rs:73:24 [INFO] [stderr] | [INFO] [stderr] 73 | let (mut tx, rx) = oneshot::channel::(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Context` [INFO] [stderr] --> tests/oneshot.rs:74:18 [INFO] [stderr] | [INFO] [stderr] 74 | let mut cx = Context::from_waker(panic_waker_ref()); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Context` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/oneshot.rs:75:43 [INFO] [stderr] | [INFO] [stderr] 75 | assert_eq!(tx.poll_canceled(&mut cx), Poll::Pending); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/channel.rs:45:24 [INFO] [stderr] | [INFO] [stderr] 45 | let (mut tx, rx) = mpsc::channel::(1); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> tests/oneshot.rs:82:28 [INFO] [stderr] | [INFO] [stderr] 82 | let (mut tx, mut rx) = oneshot::channel::(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/oneshot.rs:86:13 [INFO] [stderr] | [INFO] [stderr] 86 | Poll::Ready(Err(_)) => {}, [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/oneshot.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | Poll::Ready(()) [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> tests/oneshot.rs:96:24 [INFO] [stderr] | [INFO] [stderr] 96 | let (tx, mut rx) = oneshot::channel::(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/channel.rs:54:24 [INFO] [stderr] | [INFO] [stderr] 54 | let (mut tx, rx) = mpsc::channel(1); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> tests/oneshot.rs:109:20 [INFO] [stderr] | [INFO] [stderr] 109 | let (tx, rx) = oneshot::channel::(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/channel.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | block_on(send_sequence(amt, tx)) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/channel.rs:17:24 [INFO] [stderr] | [INFO] [stderr] 17 | let list: Vec<_> = block_on(rx.collect()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `poll_fn` in this scope [INFO] [stderr] --> tests/channel.rs:37:13 [INFO] [stderr] | [INFO] [stderr] 37 | let f = poll_fn(|cx| { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/channel.rs:40:16 [INFO] [stderr] | [INFO] [stderr] 40 | assert_eq!(block_on(f), None) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/channel.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | block_on(tx.send(1)).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/channel.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | assert!(block_on(tx.send(1)).is_err()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/channel.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | block_on(tx.send(A)).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/channel.rs:68:13 [INFO] [stderr] | [INFO] [stderr] 68 | assert!(block_on(tx.send(A)).is_err()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> tests/oneshot.rs:125:30 [INFO] [stderr] | [INFO] [stderr] 125 | let (otx, mut orx) = oneshot::channel::(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `poll_fn` in this scope [INFO] [stderr] --> tests/oneshot.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | let f = poll_fn(|cx| { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/oneshot.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | block_on(f); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/oneshot.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | block_on(WaitForCancel { tx }); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> tests/oneshot.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | tx: Sender, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 38 | tx: Send, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use futures_channel::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] 1 | use futures_channel::oneshot::Sender; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Future` in this scope [INFO] [stderr] --> tests/oneshot.rs:41:6 [INFO] [stderr] | [INFO] [stderr] 41 | impl Future for WaitForCancel { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use core::future::Future; [INFO] [stderr] | [INFO] [stderr] 1 | use futures_core::Future; [INFO] [stderr] | [INFO] [stderr] 1 | use futures_core::core_reexport::future::Future; [INFO] [stderr] | [INFO] [stderr] 1 | use futures_core::future::Future; [INFO] [stderr] | [INFO] [stderr] and 1 other candidate [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Context` in this scope [INFO] [stderr] --> tests/oneshot.rs:44:48 [INFO] [stderr] | [INFO] [stderr] 44 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use core::task::Context; [INFO] [stderr] | [INFO] [stderr] 1 | use futures_core::core_reexport::task::Context; [INFO] [stderr] | [INFO] [stderr] 1 | use futures_core::task::Context; [INFO] [stderr] | [INFO] [stderr] 1 | use std::task::Context; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Poll` in this scope [INFO] [stderr] --> tests/oneshot.rs:44:64 [INFO] [stderr] | [INFO] [stderr] 44 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use core::task::Poll; [INFO] [stderr] | [INFO] [stderr] 1 | use futures_core::core_reexport::task::Poll; [INFO] [stderr] | [INFO] [stderr] 1 | use futures_core::task::Poll; [INFO] [stderr] | [INFO] [stderr] 1 | use std::task::Poll; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> tests/oneshot.rs:51:37 [INFO] [stderr] | [INFO] [stderr] 51 | let (tx, rx) = mpsc::channel::<(Sender<_>, mpsc::Sender<_>)>(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 51 | let (tx, rx) = mpsc::channel::<(Send<_>, mpsc::Sender<_>)>(); [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use futures_channel::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] 1 | use futures_channel::oneshot::Sender; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/oneshot.rs:54:13 [INFO] [stderr] | [INFO] [stderr] 54 | block_on(WaitForCancel { tx }); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `panic_waker_ref` in this scope [INFO] [stderr] --> tests/oneshot.rs:74:38 [INFO] [stderr] | [INFO] [stderr] 74 | let mut cx = Context::from_waker(panic_waker_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/oneshot.rs:84:5 [INFO] [stderr] | [INFO] [stderr] 84 | block_on(poll_fn(|cx| { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `poll_fn` in this scope [INFO] [stderr] --> tests/oneshot.rs:84:14 [INFO] [stderr] | [INFO] [stderr] 84 | block_on(poll_fn(|cx| { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/oneshot.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | block_on(WaitForCancel { tx }); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> tests/oneshot.rs:117:36 [INFO] [stderr] | [INFO] [stderr] 117 | let (tx, rx) = mpsc::channel::>(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 117 | let (tx, rx) = mpsc::channel::>(); [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use futures_channel::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] 1 | use futures_channel::oneshot::Sender; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/oneshot.rs:129:17 [INFO] [stderr] | [INFO] [stderr] 129 | let _ = block_on(orx); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> tests/mpsc-close.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use futures::channel::mpsc; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> tests/mpsc-close.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use futures::executor::block_on; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> tests/mpsc-close.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use futures::sink::SinkExt; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> tests/mpsc-close.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::stream::StreamExt; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc-close.rs:10:34 [INFO] [stderr] | [INFO] [stderr] 10 | let (mut sender, receiver) = mpsc::channel(1); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> tests/mpsc.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use futures::channel::{mpsc, oneshot}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> tests/mpsc.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use futures::executor::{block_on, block_on_stream}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> tests/mpsc.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use futures::future::{FutureExt, poll_fn}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> tests/mpsc.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::stream::{Stream, StreamExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> tests/mpsc.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use futures::sink::{Sink, SinkExt}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> tests/mpsc.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use futures::task::{Context, Poll}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> benches/sync_mpsc.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | futures::{ [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> tests/mpsc-close.rs:17:44 [INFO] [stderr] | [INFO] [stderr] 17 | block_on(receiver.take(3).for_each(|_| futures::future::ready(()))); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc-close.rs:25:33 [INFO] [stderr] | [INFO] [stderr] 25 | let (mut tx1, mut rx) = mpsc::channel(1); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stderr] --> tests/mpsc.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use futures_test::task::{new_count_waker, noop_context}; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> tests/mpsc.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use futures::pin_mut; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `pin_mut` [INFO] [stderr] --> tests/mpsc.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | pin_mut!(tx, rx); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:14:21 [INFO] [stderr] | [INFO] [stderr] 14 | impl AssertSend for mpsc::Sender {} [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:15:21 [INFO] [stderr] | [INFO] [stderr] 15 | impl AssertSend for mpsc::Receiver {} [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | let (mut tx, rx) = mpsc::channel::(16); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc-close.rs:47:33 [INFO] [stderr] | [INFO] [stderr] 47 | let (mut tx1, mut rx) = mpsc::unbounded(); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error: aborting due to 33 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc-close.rs:72:33 [INFO] [stderr] | [INFO] [stderr] 72 | let (mut tx1, mut rx) = mpsc::channel(1); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc-close.rs:88:29 [INFO] [stderr] | [INFO] [stderr] 88 | let (tx1, mut rx) = mpsc::unbounded(); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc-close.rs:110:34 [INFO] [stderr] | [INFO] [stderr] 110 | let (sender, receiver) = mpsc::unbounded(); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc-close.rs:129:38 [INFO] [stderr] | [INFO] [stderr] 129 | let (mut sender, receiver) = mpsc::channel(1); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc-close.rs:13:28 [INFO] [stderr] | [INFO] [stderr] 13 | while let Ok(()) = block_on(sender.send(42)) {} [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc-close.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | block_on(receiver.take(3).for_each(|_| futures::future::ready(()))); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc-close.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | block_on(tx3.close()).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc-close.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | block_on(tx4.send(5)).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc-close.rs:39:20 [INFO] [stderr] | [INFO] [stderr] 39 | assert_eq!(block_on(rx.next()), Some(5)); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc-close.rs:43:20 [INFO] [stderr] | [INFO] [stderr] 43 | assert_eq!(block_on(rx.next()), None); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc-close.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | block_on(tx3.close()).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc-close.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | block_on(tx4.send(5)).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc-close.rs:61:20 [INFO] [stderr] | [INFO] [stderr] 61 | assert_eq!(block_on(rx.next()), Some(5)); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc-close.rs:65:20 [INFO] [stderr] | [INFO] [stderr] 65 | assert_eq!(block_on(rx.next()), None); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc-close.rs:81:19 [INFO] [stderr] | [INFO] [stderr] 81 | let err = block_on(tx2.send(5)).unwrap_err(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc-close.rs:84:20 [INFO] [stderr] | [INFO] [stderr] 84 | assert_eq!(block_on(rx.next()), None); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: could not compile `futures-channel`. [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] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc-close.rs:97:19 [INFO] [stderr] | [INFO] [stderr] 97 | let err = block_on(tx2.send(5)).unwrap_err(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc-close.rs:100:20 [INFO] [stderr] | [INFO] [stderr] 100 | assert_eq!(block_on(rx.next()), None); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:31:24 [INFO] [stderr] | [INFO] [stderr] 31 | let (tx, rx) = mpsc::channel::(0); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/mpsc.rs:47:47 [INFO] [stderr] | [INFO] [stderr] 47 | assert_eq!(rx.as_mut().poll_next(cx), Poll::Ready(Some(1))); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/mpsc.rs:56:47 [INFO] [stderr] | [INFO] [stderr] 56 | assert_eq!(rx.as_mut().poll_next(cx), Poll::Ready(Some(2))); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/mpsc.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | Poll::Ready(()) [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:65:25 [INFO] [stderr] | [INFO] [stderr] 65 | let (mut tx1, rx) = mpsc::channel::(16); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:78:24 [INFO] [stderr] | [INFO] [stderr] 78 | let (mut tx, rx) = mpsc::channel::(16); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:92:24 [INFO] [stderr] | [INFO] [stderr] 92 | let (mut tx, rx) = mpsc::channel::(0); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:107:28 [INFO] [stderr] | [INFO] [stderr] 107 | let (mut tx, mut rx) = mpsc::channel::(10); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/mpsc.rs:113:44 [INFO] [stderr] | [INFO] [stderr] 113 | assert_eq!(rx.poll_next_unpin(cx), Poll::Ready(None)); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/mpsc.rs:115:13 [INFO] [stderr] | [INFO] [stderr] 115 | Poll::Pending | Poll::Ready(Ok(_)) => panic!(), [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/mpsc.rs:115:29 [INFO] [stderr] | [INFO] [stderr] 115 | Poll::Pending | Poll::Ready(Ok(_)) => panic!(), [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/mpsc.rs:116:13 [INFO] [stderr] | [INFO] [stderr] 116 | Poll::Ready(Err(e)) => assert!(e.is_disconnected()), [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/mpsc.rs:119:9 [INFO] [stderr] | [INFO] [stderr] 119 | Poll::Ready(()) [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:125:23 [INFO] [stderr] | [INFO] [stderr] 125 | let (_, mut rx) = mpsc::channel::(10); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/mpsc.rs:129:44 [INFO] [stderr] | [INFO] [stderr] 129 | assert_eq!(rx.poll_next_unpin(cx), Poll::Ready(None)); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/mpsc.rs:130:9 [INFO] [stderr] | [INFO] [stderr] 130 | Poll::Ready(()) [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:205:20 [INFO] [stderr] | [INFO] [stderr] 205 | let (tx, rx) = mpsc::unbounded::(); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:234:20 [INFO] [stderr] | [INFO] [stderr] 234 | let (tx, rx) = mpsc::channel::(0); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:264:24 [INFO] [stderr] | [INFO] [stderr] 264 | let (mut tx, rx) = mpsc::channel::(0); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/mpsc.rs:294:29 [INFO] [stderr] | [INFO] [stderr] 294 | ... Poll::Ready(Some(_)) => { [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/mpsc.rs:297:29 [INFO] [stderr] | [INFO] [stderr] 297 | ... Poll::Ready(None) => { [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/mpsc.rs:301:29 [INFO] [stderr] | [INFO] [stderr] 301 | ... Poll::Pending => {}, [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:331:24 [INFO] [stderr] | [INFO] [stderr] 331 | let (tx, rx) = mpsc::channel(1); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error: aborting due to 18 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stderr] --> benches/sync_mpsc.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | futures_test::task::noop_context, [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures` [INFO] [stderr] --> benches/sync_mpsc.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | futures::{ [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: cannot determine resolution for the macro `ready` [INFO] [stderr] --> benches/sync_mpsc.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | ready!(tx.as_mut().poll_ready(cx)).unwrap(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> benches/sync_mpsc.rs:23:28 [INFO] [stderr] | [INFO] [stderr] 23 | let (tx, mut rx) = mpsc::unbounded(); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> benches/sync_mpsc.rs:30:24 [INFO] [stderr] | [INFO] [stderr] 30 | assert_eq!(Poll::Pending, rx.poll_next_unpin(&mut cx)); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `UnboundedSender` [INFO] [stderr] --> benches/sync_mpsc.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | UnboundedSender::unbounded_send(&tx, i).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `UnboundedSender` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> benches/sync_mpsc.rs:35:24 [INFO] [stderr] | [INFO] [stderr] 35 | assert_eq!(Poll::Ready(Some(i)), rx.poll_next_unpin(&mut cx)); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:344:37 [INFO] [stderr] | [INFO] [stderr] 344 | async fn send_one_two_three(mut tx: mpsc::Sender) { [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:353:20 [INFO] [stderr] | [INFO] [stderr] 353 | let (tx, rx) = mpsc::unbounded(); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> benches/sync_mpsc.rs:45:28 [INFO] [stderr] | [INFO] [stderr] 45 | let (tx, mut rx) = mpsc::unbounded(); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> benches/sync_mpsc.rs:52:28 [INFO] [stderr] | [INFO] [stderr] 52 | assert_eq!(Poll::Pending, rx.poll_next_unpin(&mut cx)); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `UnboundedSender` [INFO] [stderr] --> benches/sync_mpsc.rs:54:17 [INFO] [stderr] | [INFO] [stderr] 54 | UnboundedSender::unbounded_send(x, i).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `UnboundedSender` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> benches/sync_mpsc.rs:56:28 [INFO] [stderr] | [INFO] [stderr] 56 | assert_eq!(Poll::Ready(Some(i)), rx.poll_next_unpin(&mut cx)); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> benches/sync_mpsc.rs:66:28 [INFO] [stderr] | [INFO] [stderr] 66 | let (tx, mut rx) = mpsc::unbounded(); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:390:47 [INFO] [stderr] | [INFO] [stderr] 390 | async fn stress_poll_ready_sender(mut sender: mpsc::Sender, count: u32) { [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:404:24 [INFO] [stderr] | [INFO] [stderr] 404 | let (tx, rx) = mpsc::channel(capacity); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:431:24 [INFO] [stderr] | [INFO] [stderr] 431 | let (mut tx, rx) = mpsc::channel(0); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:453:24 [INFO] [stderr] | [INFO] [stderr] 453 | let (mut tx, rx) = mpsc::channel(0); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> tests/mpsc.rs:458:30 [INFO] [stderr] | [INFO] [stderr] 458 | let (readytx, readyrx) = oneshot::channel::<()>(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `UnboundedSender` [INFO] [stderr] --> benches/sync_mpsc.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | UnboundedSender::unbounded_send(&tx, i).expect("send"); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `UnboundedSender` [INFO] [stderr] [INFO] [stderr] error: could not compile `futures-channel`. [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] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> benches/sync_mpsc.rs:71:24 [INFO] [stderr] | [INFO] [stderr] 71 | assert_eq!(Poll::Ready(Some(i)), rx.poll_next_unpin(&mut cx)); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/mpsc.rs:463:13 [INFO] [stderr] | [INFO] [stderr] 463 | Poll::Ready(()) [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error: aborting due to 26 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:480:24 [INFO] [stderr] | [INFO] [stderr] 480 | let (mut tx, rx) = mpsc::channel(0); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> benches/sync_mpsc.rs:96:20 [INFO] [stderr] | [INFO] [stderr] 96 | assert_eq!(Poll::Pending, tx.as_mut().poll_flush(cx)); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> benches/sync_mpsc.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | Poll::Ready(Some(this.last)) [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:499:28 [INFO] [stderr] | [INFO] [stderr] 499 | let (mut tx, mut rx) = mpsc::channel(1); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:513:25 [INFO] [stderr] | [INFO] [stderr] 513 | let (mut txa1, _) = mpsc::channel::(1); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:516:25 [INFO] [stderr] | [INFO] [stderr] 516 | let (mut txb1, _) = mpsc::channel::(1); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> benches/sync_mpsc.rs:106:28 [INFO] [stderr] | [INFO] [stderr] 106 | let (tx, mut rx) = mpsc::channel(0); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> benches/sync_mpsc.rs:111:24 [INFO] [stderr] | [INFO] [stderr] 111 | assert_eq!(Poll::Ready(Some(i + 1)), tx.poll_next_unpin(&mut cx)); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> benches/sync_mpsc.rs:112:24 [INFO] [stderr] | [INFO] [stderr] 112 | assert_eq!(Poll::Pending, tx.poll_next_unpin(&mut cx)); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> benches/sync_mpsc.rs:113:24 [INFO] [stderr] | [INFO] [stderr] 113 | assert_eq!(Poll::Ready(Some(i + 1)), rx.poll_next_unpin(&mut cx)); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:539:25 [INFO] [stderr] | [INFO] [stderr] 539 | let (mut txa1, _) = mpsc::channel::(1); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:542:25 [INFO] [stderr] | [INFO] [stderr] 542 | let (mut txb1, _) = mpsc::channel::(1); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> benches/sync_mpsc.rs:124:28 [INFO] [stderr] | [INFO] [stderr] 124 | let (tx, mut rx) = mpsc::channel(0); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> benches/sync_mpsc.rs:136:28 [INFO] [stderr] | [INFO] [stderr] 136 | assert_eq!(Poll::Ready(Some(i + 1)), x.poll_next_unpin(&mut cx)); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> benches/sync_mpsc.rs:138:28 [INFO] [stderr] | [INFO] [stderr] 138 | assert_eq!(Poll::Pending, x.poll_next_unpin(&mut cx)); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Context` [INFO] [stderr] --> tests/mpsc.rs:582:18 [INFO] [stderr] | [INFO] [stderr] 582 | let mut cx = Context::from_waker(&waker); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Context` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:584:28 [INFO] [stderr] | [INFO] [stderr] 584 | let (mut tx, mut rx) = mpsc::channel(1); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/mpsc.rs:588:42 [INFO] [stderr] | [INFO] [stderr] 588 | assert_eq!(task.poll_unpin(&mut cx), Poll::Pending); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/mpsc.rs:594:42 [INFO] [stderr] | [INFO] [stderr] 594 | assert_eq!(task.poll_unpin(&mut cx), Poll::Ready(Ok(()))); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error: could not compile `futures-channel`. [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] error[E0433]: failed to resolve: use of undeclared type or module `Context` [INFO] [stderr] --> tests/mpsc.rs:603:18 [INFO] [stderr] | [INFO] [stderr] 603 | let mut cx = Context::from_waker(&waker); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Context` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:605:29 [INFO] [stderr] | [INFO] [stderr] 605 | let (mut tx1, mut rx) = mpsc::channel(1); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/mpsc.rs:610:42 [INFO] [stderr] | [INFO] [stderr] 610 | assert_eq!(task.poll_unpin(&mut cx), Poll::Pending); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> tests/mpsc.rs:616:42 [INFO] [stderr] | [INFO] [stderr] 616 | assert_eq!(task.poll_unpin(&mut cx), Poll::Ready(Ok(()))); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | block_on(tx.send(1)).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:23:21 [INFO] [stderr] | [INFO] [stderr] 23 | let v: Vec<_> = block_on(rx.collect()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | block_on(poll_fn(move |cx| { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `poll_fn` in this scope [INFO] [stderr] --> tests/mpsc.rs:30:14 [INFO] [stderr] | [INFO] [stderr] 30 | block_on(poll_fn(move |cx| { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on_stream` in this scope [INFO] [stderr] --> tests/mpsc.rs:66:18 [INFO] [stderr] | [INFO] [stderr] 66 | let mut rx = block_on_stream(rx); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | block_on(tx1.send(1)).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | block_on(tx2.send(2)).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | block_on(tx.send(1)).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:84:21 [INFO] [stderr] | [INFO] [stderr] 84 | let v: Vec<_> = block_on(rx.take(1).collect()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | block_on(tx.send(1)).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:96:9 [INFO] [stderr] | [INFO] [stderr] 96 | block_on(tx.send(2)).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:99:21 [INFO] [stderr] | [INFO] [stderr] 99 | let v: Vec<_> = block_on(rx.collect()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | block_on(poll_fn(move |cx| { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `poll_fn` in this scope [INFO] [stderr] --> tests/mpsc.rs:110:14 [INFO] [stderr] | [INFO] [stderr] 110 | block_on(poll_fn(move |cx| { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:128:5 [INFO] [stderr] | [INFO] [stderr] 128 | block_on(poll_fn(move |cx| { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `poll_fn` in this scope [INFO] [stderr] --> tests/mpsc.rs:128:14 [INFO] [stderr] | [INFO] [stderr] 128 | block_on(poll_fn(move |cx| { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:208:30 [INFO] [stderr] | [INFO] [stderr] 208 | let result: Vec<_> = block_on(rx.collect()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stderr] --> benches/sync_mpsc.rs:140:28 [INFO] [stderr] | [INFO] [stderr] 140 | assert_eq!(Poll::Ready(Some(i + 1)), rx.poll_next_unpin(&mut cx)); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:237:30 [INFO] [stderr] | [INFO] [stderr] 237 | let result: Vec<_> = block_on(rx.collect()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:249:17 [INFO] [stderr] | [INFO] [stderr] 249 | block_on(tx.send(1)).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:282:36 [INFO] [stderr] | [INFO] [stderr] 282 | let item = block_on(rx.next()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> benches/sync_mpsc.rs:21:18 [INFO] [stderr] | [INFO] [stderr] 21 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/mpsc.rs:293:55 [INFO] [stderr] | [INFO] [stderr] 293 | match rx.poll_next_unpin(&mut noop_context()) { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> benches/sync_mpsc.rs:43:18 [INFO] [stderr] | [INFO] [stderr] 43 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:315:9 [INFO] [stderr] | [INFO] [stderr] 315 | block_on(tx.send(i)).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> benches/sync_mpsc.rs:64:18 [INFO] [stderr] | [INFO] [stderr] 64 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> benches/sync_mpsc.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | tx: Sender, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 79 | tx: Send, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 4 | use futures_channel::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] 4 | use futures_channel::oneshot::Sender; [INFO] [stderr] | [INFO] [stderr] 4 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Stream` in this scope [INFO] [stderr] --> benches/sync_mpsc.rs:84:6 [INFO] [stderr] | [INFO] [stderr] 84 | impl Stream for TestSender { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 4 | use futures_core::Stream; [INFO] [stderr] | [INFO] [stderr] 4 | use futures_core::stream::Stream; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Context` in this scope [INFO] [stderr] --> benches/sync_mpsc.rs:87:53 [INFO] [stderr] | [INFO] [stderr] 87 | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 4 | use core::task::Context; [INFO] [stderr] | [INFO] [stderr] 4 | use futures_core::core_reexport::task::Context; [INFO] [stderr] | [INFO] [stderr] 4 | use futures_core::task::Context; [INFO] [stderr] | [INFO] [stderr] 4 | use std::task::Context; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Poll` in this scope [INFO] [stderr] --> benches/sync_mpsc.rs:88:12 [INFO] [stderr] | [INFO] [stderr] 88 | -> Poll> [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 4 | use core::task::Poll; [INFO] [stderr] | [INFO] [stderr] 4 | use futures_core::core_reexport::task::Poll; [INFO] [stderr] | [INFO] [stderr] 4 | use futures_core::task::Poll; [INFO] [stderr] | [INFO] [stderr] 4 | use std::task::Poll; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Stream` in this scope [INFO] [stderr] --> tests/mpsc.rs:330:23 [INFO] [stderr] | [INFO] [stderr] 330 | fn list() -> impl Stream { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use futures_core::Stream; [INFO] [stderr] | [INFO] [stderr] 1 | use futures_core::stream::Stream; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> benches/sync_mpsc.rs:104:18 [INFO] [stderr] | [INFO] [stderr] 104 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> benches/sync_mpsc.rs:121:18 [INFO] [stderr] | [INFO] [stderr] 121 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:333:13 [INFO] [stderr] | [INFO] [stderr] 333 | block_on(send_one_two_three(tx)); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:339:25 [INFO] [stderr] | [INFO] [stderr] 339 | let v: Vec<_> = block_on(list().collect()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on_stream` in this scope [INFO] [stderr] --> tests/mpsc.rs:354:18 [INFO] [stderr] | [INFO] [stderr] 354 | let mut rx = block_on_stream(rx); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:409:17 [INFO] [stderr] | [INFO] [stderr] 409 | block_on(stress_poll_ready_sender(sender, AMT)) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:414:30 [INFO] [stderr] | [INFO] [stderr] 414 | let result: Vec<_> = block_on(rx.collect()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:443:26 [INFO] [stderr] | [INFO] [stderr] 443 | let result: Vec<_> = block_on(rx.collect()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on_stream` in this scope [INFO] [stderr] --> tests/mpsc.rs:454:18 [INFO] [stderr] | [INFO] [stderr] 454 | let mut rx = block_on_stream(rx); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:461:9 [INFO] [stderr] | [INFO] [stderr] 461 | block_on(poll_fn(|cx| { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `poll_fn` in this scope [INFO] [stderr] --> tests/mpsc.rs:461:18 [INFO] [stderr] | [INFO] [stderr] 461 | block_on(poll_fn(|cx| { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:467:9 [INFO] [stderr] | [INFO] [stderr] 467 | block_on(tx.send("goodbye")).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:470:13 [INFO] [stderr] | [INFO] [stderr] 470 | let _ = block_on(readyrx); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on_stream` in this scope [INFO] [stderr] --> tests/mpsc.rs:481:18 [INFO] [stderr] | [INFO] [stderr] 481 | let mut rx = block_on_stream(rx); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `new_count_waker` in this scope [INFO] [stderr] --> tests/mpsc.rs:581:28 [INFO] [stderr] | [INFO] [stderr] 581 | let (waker, counter) = new_count_waker(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:585:5 [INFO] [stderr] | [INFO] [stderr] 585 | block_on(tx.send(1)).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:591:16 [INFO] [stderr] | [INFO] [stderr] 591 | let item = block_on(rx.next()).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:596:16 [INFO] [stderr] | [INFO] [stderr] 596 | let item = block_on(rx.next()).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `new_count_waker` in this scope [INFO] [stderr] --> tests/mpsc.rs:602:28 [INFO] [stderr] | [INFO] [stderr] 602 | let (waker, counter) = new_count_waker(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:607:5 [INFO] [stderr] | [INFO] [stderr] 607 | block_on(tx1.send(1)).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:613:16 [INFO] [stderr] | [INFO] [stderr] 613 | let item = block_on(rx.next()).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:618:16 [INFO] [stderr] | [INFO] [stderr] 618 | let item = block_on(rx.next()).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 34 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: could not compile `futures-channel`. [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] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:345:14 [INFO] [stderr] | [INFO] [stderr] 345 | for i in 1..=3 { [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] --> tests/mpsc.rs:346:9 [INFO] [stderr] | [INFO] [stderr] 346 | tx.send(i).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:345:18 [INFO] [stderr] | [INFO] [stderr] 345 | for i in 1..=3 { [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] --> tests/mpsc.rs:346:9 [INFO] [stderr] | [INFO] [stderr] 346 | tx.send(i).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:345:14 [INFO] [stderr] | [INFO] [stderr] 345 | for i in 1..=3 { [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] --> tests/mpsc.rs:346:9 [INFO] [stderr] | [INFO] [stderr] 346 | tx.send(i).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:345:9 [INFO] [stderr] | [INFO] [stderr] 345 | for i in 1..=3 { [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] --> tests/mpsc.rs:346:9 [INFO] [stderr] | [INFO] [stderr] 346 | tx.send(i).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/mpsc.rs:346:17 [INFO] [stderr] | [INFO] [stderr] 346 | tx.send(i).await.unwrap(); [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] --> tests/mpsc.rs:346:9 [INFO] [stderr] | [INFO] [stderr] 346 | tx.send(i).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 105 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0425, E0432, E0433, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: could not compile `futures-channel`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "53baee9c5478cd5fe52959f8271fd134a77abea32eb05b17bc9439398c52a329"` [INFO] running `"docker" "rm" "-f" "53baee9c5478cd5fe52959f8271fd134a77abea32eb05b17bc9439398c52a329"` [INFO] [stdout] 53baee9c5478cd5fe52959f8271fd134a77abea32eb05b17bc9439398c52a329