[INFO] crate futures-channel-preview 0.3.0-alpha.10 is already in cache [INFO] extracting crate futures-channel-preview 0.3.0-alpha.10 into work/ex/pr-57745/sources/master#f613dc138b4012cf3d2eb40718fbcc7cf0a34039/reg/futures-channel-preview/0.3.0-alpha.10 [INFO] extracting crate futures-channel-preview 0.3.0-alpha.10 into work/ex/pr-57745/sources/try#29640c57b5f92febba0e40c50cb863c9a7ede51d/reg/futures-channel-preview/0.3.0-alpha.10 [INFO] validating manifest of futures-channel-preview-0.3.0-alpha.10 on toolchain master#f613dc138b4012cf3d2eb40718fbcc7cf0a34039 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+f613dc138b4012cf3d2eb40718fbcc7cf0a34039-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of futures-channel-preview-0.3.0-alpha.10 on toolchain try#29640c57b5f92febba0e40c50cb863c9a7ede51d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+29640c57b5f92febba0e40c50cb863c9a7ede51d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing futures-channel-preview-0.3.0-alpha.10 [INFO] finished frobbing futures-channel-preview-0.3.0-alpha.10 [INFO] frobbed toml for futures-channel-preview-0.3.0-alpha.10 written to work/ex/pr-57745/sources/master#f613dc138b4012cf3d2eb40718fbcc7cf0a34039/reg/futures-channel-preview/0.3.0-alpha.10/Cargo.toml [INFO] started frobbing futures-channel-preview-0.3.0-alpha.10 [INFO] finished frobbing futures-channel-preview-0.3.0-alpha.10 [INFO] frobbed toml for futures-channel-preview-0.3.0-alpha.10 written to work/ex/pr-57745/sources/try#29640c57b5f92febba0e40c50cb863c9a7ede51d/reg/futures-channel-preview/0.3.0-alpha.10/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+f613dc138b4012cf3d2eb40718fbcc7cf0a34039-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+29640c57b5f92febba0e40c50cb863c9a7ede51d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+f613dc138b4012cf3d2eb40718fbcc7cf0a34039-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+29640c57b5f92febba0e40c50cb863c9a7ede51d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking futures-channel-preview-0.3.0-alpha.10 against master#f613dc138b4012cf3d2eb40718fbcc7cf0a34039 for pr-57745 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-57745/worker-6/master#f613dc138b4012cf3d2eb40718fbcc7cf0a34039:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-57745/sources/master#f613dc138b4012cf3d2eb40718fbcc7cf0a34039/reg/futures-channel-preview/0.3.0-alpha.10:/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" "+f613dc138b4012cf3d2eb40718fbcc7cf0a34039-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 593bac28c5b9146a8b9b1a116fab0c054fb909a3650fab686ba7d12e7cb54e34 [INFO] running `"docker" "start" "-a" "593bac28c5b9146a8b9b1a116fab0c054fb909a3650fab686ba7d12e7cb54e34"` [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.10 (/opt/crater/workdir) [INFO] [stderr] warning: the feature `pin` has been stable since 1.33.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | #![feature(pin, arbitrary_self_types, futures_api)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(stable_features)] on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `pin` has been stable since 1.33.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | #![feature(pin, arbitrary_self_types, futures_api)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(stable_features)] on by default [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::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: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/oneshot.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | 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:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use futures::task::{LocalWaker, 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 `oneshot` [INFO] [stderr] --> tests/oneshot.rs:13:24 [INFO] [stderr] | [INFO] [stderr] 13 | 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: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` [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::{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: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` [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[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] 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 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: 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 `Poll` [INFO] [stderr] --> tests/oneshot.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | 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 `futures_test` [INFO] [stderr] --> benches/sync_mpsc.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | futures_test::task::noop_local_waker_ref, [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[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stderr] --> tests/oneshot.rs:29:20 [INFO] [stderr] | [INFO] [stderr] 29 | 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] --> 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(lw)); [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(lw)); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `pin_utils` [INFO] [stderr] --> tests/mpsc.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | 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:15:21 [INFO] [stderr] | [INFO] [stderr] 15 | 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:16:21 [INFO] [stderr] | [INFO] [stderr] 16 | 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:20:24 [INFO] [stderr] | [INFO] [stderr] 20 | 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] --> 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(lw)); [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(lw)); [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: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] --> 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(lw)); [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: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: 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(lw)).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(lw)); [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: cannot determine resolution for the macro `pin_mut` [INFO] [stderr] --> tests/mpsc.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | 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:32:24 [INFO] [stderr] | [INFO] [stderr] 32 | 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:48:47 [INFO] [stderr] | [INFO] [stderr] 48 | assert_eq!(rx.as_mut().poll_next(lw), 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:57:47 [INFO] [stderr] | [INFO] [stderr] 57 | assert_eq!(rx.as_mut().poll_next(lw), 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:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | 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:66:25 [INFO] [stderr] | [INFO] [stderr] 66 | let (mut tx1, rx) = mpsc::channel::(16); [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/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(|lw| { [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: aborting due to 18 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: 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] --> 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(lw)); [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(lw)); [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(lw)); [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: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(lw)); [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(lw)); [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(lw)); [INFO] [stderr] | ^^^^ use of undeclared type or module `Poll` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_local_waker_ref` in this scope [INFO] [stderr] --> benches/sync_mpsc.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | let lw = noop_local_waker_ref(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_local_waker_ref` in this scope [INFO] [stderr] --> benches/sync_mpsc.rs:43:14 [INFO] [stderr] | [INFO] [stderr] 43 | let lw = noop_local_waker_ref(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_local_waker_ref` in this scope [INFO] [stderr] --> benches/sync_mpsc.rs:64:14 [INFO] [stderr] | [INFO] [stderr] 64 | let lw = noop_local_waker_ref(); [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 `LocalWaker` in this scope [INFO] [stderr] --> benches/sync_mpsc.rs:87:49 [INFO] [stderr] | [INFO] [stderr] 87 | fn poll_next(mut self: Pin<&mut Self>, lw: &LocalWaker) [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::LocalWaker; [INFO] [stderr] | [INFO] [stderr] 4 | use futures_core::task::LocalWaker; [INFO] [stderr] | [INFO] [stderr] 4 | use std::task::LocalWaker; [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_local_waker_ref` in this scope [INFO] [stderr] --> benches/sync_mpsc.rs:104:14 [INFO] [stderr] | [INFO] [stderr] 104 | let lw = noop_local_waker_ref(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_local_waker_ref` in this scope [INFO] [stderr] --> benches/sync_mpsc.rs:121:14 [INFO] [stderr] | [INFO] [stderr] 121 | let lw = noop_local_waker_ref(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LocalWaker`, `Poll`, `Sender`, `StreamExt`, `Stream`, `UnboundedSender`, `futures_test::task::noop_local_waker_ref`, `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::{LocalWaker, Poll}, [INFO] [stderr] | ^^^^^^^^^^ ^^^^ [INFO] [stderr] 13 | }, [INFO] [stderr] 14 | futures_test::task::noop_local_waker_ref, [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 occurred: 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 `oneshot` [INFO] [stderr] --> tests/oneshot.rs:61:26 [INFO] [stderr] | [INFO] [stderr] 61 | 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:74:28 [INFO] [stderr] | [INFO] [stderr] 74 | 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:78:13 [INFO] [stderr] | [INFO] [stderr] 78 | 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:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | 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:88:24 [INFO] [stderr] | [INFO] [stderr] 88 | 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/mpsc.rs:79:24 [INFO] [stderr] | [INFO] [stderr] 79 | 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 `oneshot` [INFO] [stderr] --> tests/oneshot.rs:101:20 [INFO] [stderr] | [INFO] [stderr] 101 | 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:117:30 [INFO] [stderr] | [INFO] [stderr] 117 | 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:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | let f = poll_fn(|lw| { [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:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | 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:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | 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:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | tx: Sender, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 39 | tx: Send, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use futures_channel::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_channel::oneshot::Sender; [INFO] [stderr] | [INFO] [stderr] 3 | 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:42:6 [INFO] [stderr] | [INFO] [stderr] 42 | 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] 3 | use core::future::Future; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_core::Future; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_core::future::Future; [INFO] [stderr] | [INFO] [stderr] 3 | use std::future::Future; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LocalWaker` in this scope [INFO] [stderr] --> tests/oneshot.rs:45:44 [INFO] [stderr] | [INFO] [stderr] 45 | fn poll(mut self: Pin<&mut Self>, lw: &LocalWaker) -> 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] 3 | use core::task::LocalWaker; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_core::task::LocalWaker; [INFO] [stderr] | [INFO] [stderr] 3 | use std::task::LocalWaker; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Poll` in this scope [INFO] [stderr] --> tests/oneshot.rs:45:59 [INFO] [stderr] | [INFO] [stderr] 45 | fn poll(mut self: Pin<&mut Self>, lw: &LocalWaker) -> 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] 3 | use core::task::Poll; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_core::Poll; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_core::task::Poll; [INFO] [stderr] | [INFO] [stderr] 3 | use std::task::Poll; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> tests/oneshot.rs:52:37 [INFO] [stderr] | [INFO] [stderr] 52 | let (tx, rx) = mpsc::channel::<(Sender<_>, mpsc::Sender<_>)>(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 52 | 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] 3 | use futures_channel::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_channel::oneshot::Sender; [INFO] [stderr] | [INFO] [stderr] 3 | 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:55:13 [INFO] [stderr] | [INFO] [stderr] 55 | block_on(WaitForCancel { 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/oneshot.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | block_on(poll_fn(|lw| { [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:76:14 [INFO] [stderr] | [INFO] [stderr] 76 | block_on(poll_fn(|lw| { [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:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | 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:109:36 [INFO] [stderr] | [INFO] [stderr] 109 | let (tx, rx) = mpsc::channel::>(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 109 | 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] 3 | use futures_channel::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] 3 | use futures_channel::oneshot::Sender; [INFO] [stderr] | [INFO] [stderr] 3 | 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:121:14 [INFO] [stderr] | [INFO] [stderr] 121 | 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:3:33 [INFO] [stderr] | [INFO] [stderr] 3 | 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:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::executor::block_on; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FutureExt`, `Future`, `poll_fn` [INFO] [stderr] --> tests/oneshot.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use futures::future::{Future, FutureExt, poll_fn}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LocalWaker`, `Poll` [INFO] [stderr] --> tests/oneshot.rs:6:21 [INFO] [stderr] | [INFO] [stderr] 6 | use futures::task::{LocalWaker, Poll}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 28 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: 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:93:24 [INFO] [stderr] | [INFO] [stderr] 93 | 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:96:30 [INFO] [stderr] | [INFO] [stderr] 96 | 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:118:28 [INFO] [stderr] | [INFO] [stderr] 118 | 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:124:44 [INFO] [stderr] | [INFO] [stderr] 124 | assert_eq!(rx.poll_next_unpin(lw), 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:126:13 [INFO] [stderr] | [INFO] [stderr] 126 | 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:126:29 [INFO] [stderr] | [INFO] [stderr] 126 | 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:13 [INFO] [stderr] | [INFO] [stderr] 127 | 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:132:9 [INFO] [stderr] | [INFO] [stderr] 132 | 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:138:23 [INFO] [stderr] | [INFO] [stderr] 138 | 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:142:44 [INFO] [stderr] | [INFO] [stderr] 142 | assert_eq!(rx.poll_next_unpin(lw), 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:143:44 [INFO] [stderr] | [INFO] [stderr] 143 | assert_eq!(rx.poll_next_unpin(lw), 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:145:9 [INFO] [stderr] | [INFO] [stderr] 145 | 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:220:20 [INFO] [stderr] | [INFO] [stderr] 220 | 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:249:20 [INFO] [stderr] | [INFO] [stderr] 249 | 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:279:24 [INFO] [stderr] | [INFO] [stderr] 279 | 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:309:29 [INFO] [stderr] | [INFO] [stderr] 309 | 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:313:29 [INFO] [stderr] | [INFO] [stderr] 313 | Poll::Ready(None) => true, [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:314:29 [INFO] [stderr] | [INFO] [stderr] 314 | Poll::Pending => false, [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:317:25 [INFO] [stderr] | [INFO] [stderr] 317 | Poll::Ready(r) [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:348:24 [INFO] [stderr] | [INFO] [stderr] 348 | 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:361:37 [INFO] [stderr] | [INFO] [stderr] 361 | 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:370:20 [INFO] [stderr] | [INFO] [stderr] 370 | 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:407:47 [INFO] [stderr] | [INFO] [stderr] 407 | 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:421:24 [INFO] [stderr] | [INFO] [stderr] 421 | 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:448:24 [INFO] [stderr] | [INFO] [stderr] 448 | 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:470:24 [INFO] [stderr] | [INFO] [stderr] 470 | 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:475:30 [INFO] [stderr] | [INFO] [stderr] 475 | 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:480:13 [INFO] [stderr] | [INFO] [stderr] 480 | 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:497:24 [INFO] [stderr] | [INFO] [stderr] 497 | 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:516:28 [INFO] [stderr] | [INFO] [stderr] 516 | 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:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | 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:24:21 [INFO] [stderr] | [INFO] [stderr] 24 | 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:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | block_on(poll_fn(move |lw| { [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:31:14 [INFO] [stderr] | [INFO] [stderr] 31 | block_on(poll_fn(move |lw| { [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:67:18 [INFO] [stderr] | [INFO] [stderr] 67 | 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:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | 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:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | 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:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | 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:85:21 [INFO] [stderr] | [INFO] [stderr] 85 | 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:94:18 [INFO] [stderr] | [INFO] [stderr] 94 | 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:97:23 [INFO] [stderr] | [INFO] [stderr] 97 | 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:100:40 [INFO] [stderr] | [INFO] [stderr] 100 | let (send_res_1, send_res_2) = block_on(tx.send(1).join(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:103:9 [INFO] [stderr] | [INFO] [stderr] 103 | block_on(tx.send(2).join(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:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | block_on(poll_fn(move |lw| { [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:121:14 [INFO] [stderr] | [INFO] [stderr] 121 | block_on(poll_fn(move |lw| { [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:141:5 [INFO] [stderr] | [INFO] [stderr] 141 | block_on(poll_fn(move |lw| { [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:141:14 [INFO] [stderr] | [INFO] [stderr] 141 | block_on(poll_fn(move |lw| { [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:223:30 [INFO] [stderr] | [INFO] [stderr] 223 | 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:252:30 [INFO] [stderr] | [INFO] [stderr] 252 | 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:264:17 [INFO] [stderr] | [INFO] [stderr] 264 | 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:297:32 [INFO] [stderr] | [INFO] [stderr] 297 | let item = block_on(rx.next()); [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:307:29 [INFO] [stderr] | [INFO] [stderr] 307 | let f = poll_fn(move |lw| { [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:320:24 [INFO] [stderr] | [INFO] [stderr] 320 | if 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/mpsc.rs:332:9 [INFO] [stderr] | [INFO] [stderr] 332 | 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:347:23 [INFO] [stderr] | [INFO] [stderr] 347 | 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:350:13 [INFO] [stderr] | [INFO] [stderr] 350 | 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:356:25 [INFO] [stderr] | [INFO] [stderr] 356 | 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:371:18 [INFO] [stderr] | [INFO] [stderr] 371 | 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:426:17 [INFO] [stderr] | [INFO] [stderr] 426 | 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:431:30 [INFO] [stderr] | [INFO] [stderr] 431 | 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:460:26 [INFO] [stderr] | [INFO] [stderr] 460 | 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:471:18 [INFO] [stderr] | [INFO] [stderr] 471 | 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:478:9 [INFO] [stderr] | [INFO] [stderr] 478 | block_on(poll_fn(|lw| { [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:478:18 [INFO] [stderr] | [INFO] [stderr] 478 | block_on(poll_fn(|lw| { [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:9 [INFO] [stderr] | [INFO] [stderr] 484 | 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:487:10 [INFO] [stderr] | [INFO] [stderr] 487 | 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:498:18 [INFO] [stderr] | [INFO] [stderr] 498 | 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: `FutureExt`, `poll_fn` [INFO] [stderr] --> tests/mpsc.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use futures::future::{FutureExt, 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] error[E0698]: type inside generator must be known in this context [INFO] [stderr] --> tests/mpsc.rs:362:14 [INFO] [stderr] | [INFO] [stderr] 362 | for i in 1..=3 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the type is part of the generator because of this `yield` [INFO] [stderr] --> tests/mpsc.rs:363:9 [INFO] [stderr] | [INFO] [stderr] 363 | await!(tx.send(i)).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside generator must be known in this context [INFO] [stderr] --> tests/mpsc.rs:362:14 [INFO] [stderr] | [INFO] [stderr] 362 | for i in 1..=3 { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: the type is part of the generator because of this `yield` [INFO] [stderr] --> tests/mpsc.rs:363:9 [INFO] [stderr] | [INFO] [stderr] 363 | await!(tx.send(i)).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside generator must be known in this context [INFO] [stderr] --> tests/mpsc.rs:362:18 [INFO] [stderr] | [INFO] [stderr] 362 | for i in 1..=3 { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: the type is part of the generator because of this `yield` [INFO] [stderr] --> tests/mpsc.rs:363:9 [INFO] [stderr] | [INFO] [stderr] 363 | await!(tx.send(i)).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside generator must be known in this context [INFO] [stderr] --> tests/mpsc.rs:362:14 [INFO] [stderr] | [INFO] [stderr] 362 | for i in 1..=3 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the type is part of the generator because of this `yield` [INFO] [stderr] --> tests/mpsc.rs:363:9 [INFO] [stderr] | [INFO] [stderr] 363 | await!(tx.send(i)).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside generator must be known in this context [INFO] [stderr] --> tests/mpsc.rs:362:9 [INFO] [stderr] | [INFO] [stderr] 362 | for i in 1..=3 { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: the type is part of the generator because of this `yield` [INFO] [stderr] --> tests/mpsc.rs:363:9 [INFO] [stderr] | [INFO] [stderr] 363 | await!(tx.send(i)).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 89 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: 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" "593bac28c5b9146a8b9b1a116fab0c054fb909a3650fab686ba7d12e7cb54e34"` [INFO] running `"docker" "rm" "-f" "593bac28c5b9146a8b9b1a116fab0c054fb909a3650fab686ba7d12e7cb54e34"` [INFO] [stdout] 593bac28c5b9146a8b9b1a116fab0c054fb909a3650fab686ba7d12e7cb54e34