[INFO] fetching crate futures-channel-preview 0.3.0-alpha.16... [INFO] extracting crate futures-channel-preview 0.3.0-alpha.16 into work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/reg/futures-channel-preview/0.3.0-alpha.16 [INFO] extracting crate futures-channel-preview 0.3.0-alpha.16 into work/ex/pr-62133/sources/try#8ec8125bea94852768b56958f05da47666c21ab0/reg/futures-channel-preview/0.3.0-alpha.16 [INFO] validating manifest of futures-channel-preview-0.3.0-alpha.16 on toolchain master#5f9c0448dde167128d668da4555879f64e56af1d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of futures-channel-preview-0.3.0-alpha.16 on toolchain try#8ec8125bea94852768b56958f05da47666c21ab0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8ec8125bea94852768b56958f05da47666c21ab0-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing futures-channel-preview-0.3.0-alpha.16 [INFO] finished frobbing futures-channel-preview-0.3.0-alpha.16 [INFO] frobbed toml for futures-channel-preview-0.3.0-alpha.16 written to work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/reg/futures-channel-preview/0.3.0-alpha.16/Cargo.toml [INFO] started frobbing futures-channel-preview-0.3.0-alpha.16 [INFO] finished frobbing futures-channel-preview-0.3.0-alpha.16 [INFO] frobbed toml for futures-channel-preview-0.3.0-alpha.16 written to work/ex/pr-62133/sources/try#8ec8125bea94852768b56958f05da47666c21ab0/reg/futures-channel-preview/0.3.0-alpha.16/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8ec8125bea94852768b56958f05da47666c21ab0-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8ec8125bea94852768b56958f05da47666c21ab0-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking futures-channel-preview-0.3.0-alpha.16 against master#5f9c0448dde167128d668da4555879f64e56af1d for pr-62133 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62133/worker-2/master#5f9c0448dde167128d668da4555879f64e56af1d:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/reg/futures-channel-preview/0.3.0-alpha.16:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 33834bfbd8eb15ccffc2592546655878decca6b4986c3afa02caada9a587290d [INFO] running `"docker" "start" "-a" "33834bfbd8eb15ccffc2592546655878decca6b4986c3afa02caada9a587290d"` [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.16 (/opt/crater/workdir) [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.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | 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:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | 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:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use futures::future::{join, 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:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | 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:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | 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:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use futures::task::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/mpsc.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use futures_test::task::noop_context; [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 `futures` [INFO] [stderr] --> tests/channel.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | 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:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | 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:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | 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:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | 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:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | 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:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | 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 `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:9:34 [INFO] [stderr] | [INFO] [stderr] 9 | 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_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] error[E0432]: unresolved import `pin_utils` [INFO] [stderr] --> tests/mpsc.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use pin_utils::pin_mut; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `pin_utils` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:16:21 [INFO] [stderr] | [INFO] [stderr] 16 | 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:17:21 [INFO] [stderr] | [INFO] [stderr] 17 | 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:21:24 [INFO] [stderr] | [INFO] [stderr] 21 | 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 `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 `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 `futures` [INFO] [stderr] --> tests/mpsc-close.rs:16:49 [INFO] [stderr] | [INFO] [stderr] 16 | drop(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:24:33 [INFO] [stderr] | [INFO] [stderr] 24 | 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] --> 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(&tx[i], 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 `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 `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 `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[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 `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:29:44 [INFO] [stderr] | [INFO] [stderr] 29 | 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:37:24 [INFO] [stderr] | [INFO] [stderr] 37 | 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 `mpsc` [INFO] [stderr] --> tests/channel.rs:47:24 [INFO] [stderr] | [INFO] [stderr] 47 | 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 `mpsc` [INFO] [stderr] --> tests/mpsc-close.rs:46:33 [INFO] [stderr] | [INFO] [stderr] 46 | let (mut tx1, mut rx) = mpsc::unbounded(); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `pin_mut` [INFO] [stderr] --> tests/mpsc.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | 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:33:24 [INFO] [stderr] | [INFO] [stderr] 33 | 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:49:47 [INFO] [stderr] | [INFO] [stderr] 49 | 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:58:47 [INFO] [stderr] | [INFO] [stderr] 58 | 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:61:9 [INFO] [stderr] | [INFO] [stderr] 61 | 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:67:25 [INFO] [stderr] | [INFO] [stderr] 67 | let (mut tx1, rx) = mpsc::channel::(16); [INFO] [stderr] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stderr] [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 `Poll` [INFO] [stderr] --> benches/sync_mpsc.rs:96:20 [INFO] [stderr] | [INFO] [stderr] 96 | assert_eq!(Poll::Ready(Ok(())), 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-close.rs:71:33 [INFO] [stderr] | [INFO] [stderr] 71 | 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/channel.rs:56:24 [INFO] [stderr] | [INFO] [stderr] 56 | 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 `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 `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 `mpsc` [INFO] [stderr] --> tests/mpsc-close.rs:87:29 [INFO] [stderr] | [INFO] [stderr] 87 | 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] --> 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)), tx[j].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, tx[j].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: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 `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] --> 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 `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] 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] 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] 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::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] 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::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[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] warning: unused imports: `Context`, `Poll`, `Sender`, `StreamExt`, `Stream`, `UnboundedSender`, `futures_test::task::noop_context`, `self`, `sink::Sink` [INFO] [stderr] --> benches/sync_mpsc.rs:8:25 [INFO] [stderr] | [INFO] [stderr] 8 | channel::mpsc::{self, Sender, UnboundedSender}, [INFO] [stderr] | ^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] 9 | ready, [INFO] [stderr] 10 | stream::{Stream, StreamExt}, [INFO] [stderr] | ^^^^^^ ^^^^^^^^^ [INFO] [stderr] 11 | sink::Sink, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 12 | task::{Context, Poll}, [INFO] [stderr] | ^^^^^^^ ^^^^ [INFO] [stderr] 13 | }, [INFO] [stderr] 14 | futures_test::task::noop_context, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [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-preview`. [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] --> tests/oneshot.rs:75:41 [INFO] [stderr] | [INFO] [stderr] 75 | assert_eq!(tx.poll_cancel(&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 `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[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/channel.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | 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:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | 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:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | 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:42:16 [INFO] [stderr] | [INFO] [stderr] 42 | 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:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | 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:50:13 [INFO] [stderr] | [INFO] [stderr] 50 | 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:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | 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:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | assert!(block_on(tx.send(A)).is_err()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::channel::mpsc` [INFO] [stderr] --> tests/channel.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use futures::channel::mpsc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::executor::block_on` [INFO] [stderr] --> tests/channel.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::executor::block_on; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::future::poll_fn` [INFO] [stderr] --> tests/channel.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use futures::future::poll_fn; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::stream::StreamExt` [INFO] [stderr] --> tests/channel.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use futures::stream::StreamExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::sink::SinkExt` [INFO] [stderr] --> tests/channel.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use futures::sink::SinkExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc-close.rs:12:28 [INFO] [stderr] | [INFO] [stderr] 12 | 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:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | drop(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:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | 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:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | 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:38:20 [INFO] [stderr] | [INFO] [stderr] 38 | 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:42:20 [INFO] [stderr] | [INFO] [stderr] 42 | 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:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | 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:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | 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:60:20 [INFO] [stderr] | [INFO] [stderr] 60 | 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:64:20 [INFO] [stderr] | [INFO] [stderr] 64 | 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:80:19 [INFO] [stderr] | [INFO] [stderr] 80 | 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:83:20 [INFO] [stderr] | [INFO] [stderr] 83 | 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:96:19 [INFO] [stderr] | [INFO] [stderr] 96 | 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:99:20 [INFO] [stderr] | [INFO] [stderr] 99 | assert_eq!(block_on(rx.next()), None); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::channel::mpsc` [INFO] [stderr] --> tests/mpsc-close.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use futures::channel::mpsc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::executor::block_on` [INFO] [stderr] --> tests/mpsc-close.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use futures::executor::block_on; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::sink::SinkExt` [INFO] [stderr] --> tests/mpsc-close.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use futures::sink::SinkExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::stream::StreamExt` [INFO] [stderr] --> tests/mpsc-close.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::stream::StreamExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 18 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: Could not compile `futures-channel-preview`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 24 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: Could not compile `futures-channel-preview`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:80:24 [INFO] [stderr] | [INFO] [stderr] 80 | 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 `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 `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[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: 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] 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] 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::future::Future; [INFO] [stderr] | [INFO] [stderr] 1 | use std::future::Future; [INFO] [stderr] | [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] 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::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] 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::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] 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: 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] 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:14 [INFO] [stderr] | [INFO] [stderr] 129 | drop(block_on(orx)); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Sender`, `self` [INFO] [stderr] --> tests/oneshot.rs:1:33 [INFO] [stderr] | [INFO] [stderr] 1 | use futures::channel::oneshot::{self, Sender}; [INFO] [stderr] | ^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::executor::block_on` [INFO] [stderr] --> tests/oneshot.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use futures::executor::block_on; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FutureExt`, `Future`, `poll_fn` [INFO] [stderr] --> tests/oneshot.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | use futures::future::{Future, FutureExt, poll_fn}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Context`, `Poll` [INFO] [stderr] --> tests/oneshot.rs:4:21 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::task::{Context, Poll}; [INFO] [stderr] | ^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures_test::task::panic_waker_ref` [INFO] [stderr] --> tests/oneshot.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use futures_test::task::panic_waker_ref; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: Could not compile `futures-channel-preview`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stderr] --> tests/mpsc.rs:94:24 [INFO] [stderr] | [INFO] [stderr] 94 | 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:97:30 [INFO] [stderr] | [INFO] [stderr] 97 | let (readytx, readyrx) = mpsc::channel::<()>(2); [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:119:28 [INFO] [stderr] | [INFO] [stderr] 119 | 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:125:44 [INFO] [stderr] | [INFO] [stderr] 125 | 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:127:13 [INFO] [stderr] | [INFO] [stderr] 127 | 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:127:29 [INFO] [stderr] | [INFO] [stderr] 127 | 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:128:13 [INFO] [stderr] | [INFO] [stderr] 128 | 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:133:9 [INFO] [stderr] | [INFO] [stderr] 133 | 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:139:23 [INFO] [stderr] | [INFO] [stderr] 139 | 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:143:44 [INFO] [stderr] | [INFO] [stderr] 143 | 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:144:9 [INFO] [stderr] | [INFO] [stderr] 144 | 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:219:20 [INFO] [stderr] | [INFO] [stderr] 219 | 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:248:20 [INFO] [stderr] | [INFO] [stderr] 248 | 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:278:24 [INFO] [stderr] | [INFO] [stderr] 278 | 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:308:29 [INFO] [stderr] | [INFO] [stderr] 308 | 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:311:29 [INFO] [stderr] | [INFO] [stderr] 311 | 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:315:29 [INFO] [stderr] | [INFO] [stderr] 315 | 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:345:24 [INFO] [stderr] | [INFO] [stderr] 345 | 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 `mpsc` [INFO] [stderr] --> tests/mpsc.rs:358:37 [INFO] [stderr] | [INFO] [stderr] 358 | 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:367:20 [INFO] [stderr] | [INFO] [stderr] 367 | 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:404:47 [INFO] [stderr] | [INFO] [stderr] 404 | 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:418:24 [INFO] [stderr] | [INFO] [stderr] 418 | 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:445:24 [INFO] [stderr] | [INFO] [stderr] 445 | 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:467:24 [INFO] [stderr] | [INFO] [stderr] 467 | 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:472:30 [INFO] [stderr] | [INFO] [stderr] 472 | 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 `Poll` [INFO] [stderr] --> tests/mpsc.rs:477:13 [INFO] [stderr] | [INFO] [stderr] 477 | 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:494:24 [INFO] [stderr] | [INFO] [stderr] 494 | 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:513:28 [INFO] [stderr] | [INFO] [stderr] 513 | let (mut tx, mut rx) = 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.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | 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:25:21 [INFO] [stderr] | [INFO] [stderr] 25 | 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:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | 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:32:14 [INFO] [stderr] | [INFO] [stderr] 32 | 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:68:18 [INFO] [stderr] | [INFO] [stderr] 68 | 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:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | 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:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | 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:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | 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:86:21 [INFO] [stderr] | [INFO] [stderr] 86 | 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_stream` in this scope [INFO] [stderr] --> tests/mpsc.rs:95:18 [INFO] [stderr] | [INFO] [stderr] 95 | 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_stream` in this scope [INFO] [stderr] --> tests/mpsc.rs:98:23 [INFO] [stderr] | [INFO] [stderr] 98 | let mut readyrx = block_on_stream(readyrx); [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:101:40 [INFO] [stderr] | [INFO] [stderr] 101 | let (send_res_1, send_res_2) = block_on(join(tx.send(1), readytx.send(()))); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `join` in this scope [INFO] [stderr] --> tests/mpsc.rs:101:49 [INFO] [stderr] | [INFO] [stderr] 101 | let (send_res_1, send_res_2) = block_on(join(tx.send(1), readytx.send(()))); [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:104:9 [INFO] [stderr] | [INFO] [stderr] 104 | block_on(join(tx.send(2), readytx.send(()))); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `join` in this scope [INFO] [stderr] --> tests/mpsc.rs:104:18 [INFO] [stderr] | [INFO] [stderr] 104 | block_on(join(tx.send(2), readytx.send(()))); [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:122:5 [INFO] [stderr] | [INFO] [stderr] 122 | 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:122:14 [INFO] [stderr] | [INFO] [stderr] 122 | 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:142:5 [INFO] [stderr] | [INFO] [stderr] 142 | 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:142:14 [INFO] [stderr] | [INFO] [stderr] 142 | 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:222:30 [INFO] [stderr] | [INFO] [stderr] 222 | 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:251:30 [INFO] [stderr] | [INFO] [stderr] 251 | 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:263:17 [INFO] [stderr] | [INFO] [stderr] 263 | 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:296:36 [INFO] [stderr] | [INFO] [stderr] 296 | 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] --> tests/mpsc.rs:307:55 [INFO] [stderr] | [INFO] [stderr] 307 | match rx.poll_next_unpin(&mut 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:329:9 [INFO] [stderr] | [INFO] [stderr] 329 | block_on(tx.send(i)).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Stream` in this scope [INFO] [stderr] --> tests/mpsc.rs:344:23 [INFO] [stderr] | [INFO] [stderr] 344 | fn list() -> impl Stream { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use futures_core::Stream; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_core::stream::Stream; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> tests/mpsc.rs:347:13 [INFO] [stderr] | [INFO] [stderr] 347 | 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:353:25 [INFO] [stderr] | [INFO] [stderr] 353 | 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:368:18 [INFO] [stderr] | [INFO] [stderr] 368 | 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:423:17 [INFO] [stderr] | [INFO] [stderr] 423 | 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:428:30 [INFO] [stderr] | [INFO] [stderr] 428 | 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:457:26 [INFO] [stderr] | [INFO] [stderr] 457 | 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:468:18 [INFO] [stderr] | [INFO] [stderr] 468 | 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:475:9 [INFO] [stderr] | [INFO] [stderr] 475 | 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:475:18 [INFO] [stderr] | [INFO] [stderr] 475 | 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:481:9 [INFO] [stderr] | [INFO] [stderr] 481 | 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:484:10 [INFO] [stderr] | [INFO] [stderr] 484 | drop(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:495:18 [INFO] [stderr] | [INFO] [stderr] 495 | let mut rx = block_on_stream(rx); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused imports: `mpsc`, `oneshot` [INFO] [stderr] --> tests/mpsc.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | use futures::channel::{mpsc, oneshot}; [INFO] [stderr] | ^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `block_on_stream`, `block_on` [INFO] [stderr] --> tests/mpsc.rs:4:25 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::executor::{block_on, block_on_stream}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `join`, `poll_fn` [INFO] [stderr] --> tests/mpsc.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use futures::future::{join, poll_fn}; [INFO] [stderr] | ^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `StreamExt`, `Stream` [INFO] [stderr] --> tests/mpsc.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | use futures::stream::{Stream, StreamExt}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `SinkExt`, `Sink` [INFO] [stderr] --> tests/mpsc.rs:7:21 [INFO] [stderr] | [INFO] [stderr] 7 | use futures::sink::{Sink, SinkExt}; [INFO] [stderr] | ^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::task::Poll` [INFO] [stderr] --> tests/mpsc.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use futures::task::Poll; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures_test::task::noop_context` [INFO] [stderr] --> tests/mpsc.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use futures_test::task::noop_context; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` object must be known in this context [INFO] [stderr] --> tests/mpsc.rs:360:9 [INFO] [stderr] | [INFO] [stderr] 360 | tx.send(i).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ cannot infer type for `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` object because of this `await` [INFO] [stderr] --> tests/mpsc.rs:360:9 [INFO] [stderr] | [INFO] [stderr] 360 | tx.send(i).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 85 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-preview`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "33834bfbd8eb15ccffc2592546655878decca6b4986c3afa02caada9a587290d"` [INFO] running `"docker" "rm" "-f" "33834bfbd8eb15ccffc2592546655878decca6b4986c3afa02caada9a587290d"` [INFO] [stdout] 33834bfbd8eb15ccffc2592546655878decca6b4986c3afa02caada9a587290d