[INFO] fetching crate futures-channel 0.3.16... [INFO] building futures-channel-0.3.16 against master#d5c88c22807925c189328ef9d923c5d2b11a95b8 for pr-87066-3 [INFO] extracting crate futures-channel 0.3.16 into /workspace/builds/worker-102/source [INFO] validating manifest of crates.io crate futures-channel 0.3.16 on toolchain d5c88c22807925c189328ef9d923c5d2b11a95b8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate futures-channel 0.3.16 [INFO] finished tweaking crates.io crate futures-channel 0.3.16 [INFO] tweaked toml for crates.io crate futures-channel 0.3.16 written to /workspace/builds/worker-102/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 582cb5ffddbc5384e3a57b5c57ca3c039a27541df3a19bc8500354d674570b79 [INFO] running `Command { std: "docker" "start" "-a" "582cb5ffddbc5384e3a57b5c57ca3c039a27541df3a19bc8500354d674570b79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "582cb5ffddbc5384e3a57b5c57ca3c039a27541df3a19bc8500354d674570b79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "582cb5ffddbc5384e3a57b5c57ca3c039a27541df3a19bc8500354d674570b79", kill_on_drop: false }` [INFO] [stdout] 582cb5ffddbc5384e3a57b5c57ca3c039a27541df3a19bc8500354d674570b79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64c5e301d083139133b1c9c2de745167f3864f760c36fd864fec38075f32d7a5 [INFO] running `Command { std: "docker" "start" "-a" "64c5e301d083139133b1c9c2de745167f3864f760c36fd864fec38075f32d7a5", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.16 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `Command { std: "docker" "inspect" "64c5e301d083139133b1c9c2de745167f3864f760c36fd864fec38075f32d7a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64c5e301d083139133b1c9c2de745167f3864f760c36fd864fec38075f32d7a5", kill_on_drop: false }` [INFO] [stdout] 64c5e301d083139133b1c9c2de745167f3864f760c36fd864fec38075f32d7a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e63fc01159b4c22871fa6fb2c0ab708eb76482365db703d4fda087ba14f44efe [INFO] running `Command { std: "docker" "start" "-a" "e63fc01159b4c22871fa6fb2c0ab708eb76482365db703d4fda087ba14f44efe", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.16 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/oneshot.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::oneshot::{self, Sender}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/oneshot.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/oneshot.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::{poll_fn, FutureExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/oneshot.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::{Context, Poll}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/oneshot.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_test::task::panic_waker_ref; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> tests/oneshot.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | let (mut tx, rx) = oneshot::channel::(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> tests/oneshot.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | let (mut tx, rx) = oneshot::channel::(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> tests/oneshot.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | let (otx, orx) = oneshot::channel::(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> tests/oneshot.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | let (mut tx, rx) = oneshot::channel::(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/oneshot.rs:62:43 [INFO] [stdout] | [INFO] [stdout] 62 | assert_eq!(tx.poll_canceled(&mut cx), Poll::Pending); [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> tests/oneshot.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | let (mut tx, mut rx) = oneshot::channel::(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/oneshot.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | Poll::Ready(Err(_)) => {} [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> tests/oneshot.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | let (mut tx, mut rx) = oneshot::channel::(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> tests/oneshot.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | let (tx, rx) = oneshot::channel::(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> tests/oneshot.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | let (otx, mut orx) = oneshot::channel::(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_fn` in this scope [INFO] [stdout] --> tests/oneshot.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let f = poll_fn(|cx| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::future::poll_fn; [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::poll_fn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/oneshot.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | Poll::Ready(()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/oneshot.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | block_on(f); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/oneshot.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | block_on(tx.cancellation()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> tests/oneshot.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | let (tx, rx) = mpsc::channel::<(Sender<_>, mpsc::Sender<_>)>(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 38 | let (tx, rx) = mpsc::channel::<(Send<_>, mpsc::Sender<_>)>(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_channel::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_channel::oneshot::Sender; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/oneshot.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | block_on(tx.cancellation()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/oneshot.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | let mut cx = Context::from_waker(panic_waker_ref()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_waker_ref` in this scope [INFO] [stdout] --> tests/oneshot.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 61 | let mut cx = Context::from_waker(panic_waker_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/oneshot.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | block_on(poll_fn(|cx| { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_fn` in this scope [INFO] [stdout] --> tests/oneshot.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | block_on(poll_fn(|cx| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::future::poll_fn; [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::poll_fn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/oneshot.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | Poll::Ready(()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/oneshot.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | block_on(tx.cancellation()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> tests/oneshot.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | let (tx, rx) = mpsc::channel::>(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 104 | let (tx, rx) = mpsc::channel::>(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_channel::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_channel::oneshot::Sender; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/oneshot.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let _ = block_on(orx); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/mpsc-close.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `futures-channel` due to 30 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/mpsc-close.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/mpsc-close.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::Future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/mpsc-close.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::sink::SinkExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/mpsc-close.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/mpsc-close.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::task::{Context, Poll}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc-close.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | let (mut sender, receiver) = mpsc::channel(1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/mpsc-close.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | block_on(receiver.take(3).for_each(|_| futures::future::ready(()))); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc-close.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | let (mut tx1, mut rx) = mpsc::channel(1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/mpsc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::{mpsc, oneshot}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc-close.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | let (mut tx1, mut rx) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/mpsc.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::executor::{block_on, block_on_stream}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/mpsc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::{poll_fn, FutureExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/mpsc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::sink::{Sink, SinkExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/mpsc.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{Stream, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/mpsc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::task::{Context, Poll}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/mpsc.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures_test::task::{new_count_waker, noop_context}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> tests/mpsc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `pin_mut` [INFO] [stdout] --> tests/mpsc.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pin_mut!(tx, rx); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc-close.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | let (mut tx1, mut rx) = mpsc::channel(1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | impl AssertSend for mpsc::Sender {} [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | impl AssertSend for mpsc::Receiver {} [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc-close.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | let (tx1, mut rx) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc-close.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | let (sender, receiver) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc-close.rs:131:38 [INFO] [stdout] | [INFO] [stdout] 131 | let (mut sender, receiver) = mpsc::channel(1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc-close.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | rx: mpsc::Receiver>, [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc-close.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | command_rx: mpsc::Receiver, [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc-close.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | test_rx: Option>>, [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc-close.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | fn new() -> (TestTask, mpsc::Sender) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc-close.rs:177:44 [INFO] [stdout] | [INFO] [stdout] 177 | let (command_tx, command_rx) = mpsc::channel::(0); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc-close.rs:194:24 [INFO] [stdout] | [INFO] [stdout] 194 | if let Poll::Ready(v) = rx.poll_next_unpin(cx) { [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc-close.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | Poll::Ready(Some(TestRx { rx, poll_count })) => { [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc-close.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | Poll::Ready(None) => return Poll::Ready(()), [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc-close.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | Poll::Pending => {} [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc-close.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | Poll::Pending [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc-close.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | let (mut test_tx, rx) = mpsc::channel(0); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc-close.rs:280:24 [INFO] [stdout] | [INFO] [stdout] 280 | let (tx, mut rx) = mpsc::unbounded::(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc-close.rs:291:24 [INFO] [stdout] | [INFO] [stdout] 291 | let (tx, mut rx) = mpsc::channel::(17); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc-close.rs:16:54 [INFO] [stdout] | [INFO] [stdout] 16 | let t = thread::spawn(move || while let Ok(()) = block_on(sender.send(42)) {}); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc-close.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | block_on(receiver.take(3).for_each(|_| futures::future::ready(()))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc-close.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | block_on(tx3.close()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc-close.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | block_on(tx4.send(5)).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc-close.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | assert_eq!(block_on(rx.next()), Some(5)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc-close.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(block_on(rx.next()), None); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc-close.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | block_on(tx3.close()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc-close.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | block_on(tx4.send(5)).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc-close.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | assert_eq!(block_on(rx.next()), Some(5)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc-close.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(block_on(rx.next()), None); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc-close.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let err = block_on(tx2.send(5)).unwrap_err(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc-close.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | assert_eq!(block_on(rx.next()), None); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc-close.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | let err = block_on(tx2.send(5)).unwrap_err(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc-close.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | assert_eq!(block_on(rx.next()), None); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> tests/mpsc-close.rs:188:10 [INFO] [stdout] | [INFO] [stdout] 188 | impl Future for TestTask { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::future::Future; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::Future; [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::Future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> tests/mpsc-close.rs:191:52 [INFO] [stdout] | [INFO] [stdout] 191 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> tests/mpsc-close.rs:191:68 [INFO] [stdout] | [INFO] [stdout] 191 | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc-close.rs:208:45 [INFO] [stdout] | [INFO] [stdout] 208 | Poll::Ready(None) => return Poll::Ready(()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc-close.rs:219:36 [INFO] [stdout] | [INFO] [stdout] 219 | let bg = thread::spawn(move || block_on(f)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | let (mut tx, rx) = mpsc::channel::(16); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | let (tx, rx) = mpsc::channel::(0); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 46 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | let (mut tx1, rx) = mpsc::channel::(16); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | let (mut tx, rx) = mpsc::channel::(16); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/channel.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | let (mut tx, rx) = mpsc::channel::(0); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/channel.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/channel.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::poll_fn; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/channel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::sink::SinkExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | let (mut tx, mut rx) = mpsc::channel::(10); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | Poll::Pending | Poll::Ready(Ok(_)) => panic!(), [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | Poll::Pending | Poll::Ready(Ok(_)) => panic!(), [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | Poll::Ready(Err(e)) => assert!(e.is_disconnected()), [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:125:23 [INFO] [stdout] | [INFO] [stdout] 125 | let (_, mut rx) = mpsc::channel::(10); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/channel.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:205:20 [INFO] [stdout] | [INFO] [stdout] 205 | let (tx, rx) = mpsc::unbounded::(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:234:20 [INFO] [stdout] | [INFO] [stdout] 234 | let (tx, rx) = mpsc::channel::(0); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:265:24 [INFO] [stdout] | [INFO] [stdout] 265 | let (mut tx, rx) = mpsc::channel::(0); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc.rs:295:29 [INFO] [stdout] | [INFO] [stdout] 295 | ... Poll::Ready(Some(_)) => { [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc.rs:298:29 [INFO] [stdout] | [INFO] [stdout] 298 | ... Poll::Ready(None) => { [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc.rs:302:29 [INFO] [stdout] | [INFO] [stdout] 302 | ... Poll::Pending => {} [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:331:24 [INFO] [stdout] | [INFO] [stdout] 331 | let (tx, rx) = mpsc::channel(1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:344:37 [INFO] [stdout] | [INFO] [stdout] 344 | async fn send_one_two_three(mut tx: mpsc::Sender) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:353:20 [INFO] [stdout] | [INFO] [stdout] 353 | let (tx, rx) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:390:47 [INFO] [stdout] | [INFO] [stdout] 390 | async fn stress_poll_ready_sender(mut sender: mpsc::Sender, count: u32) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:405:24 [INFO] [stdout] | [INFO] [stdout] 405 | let (tx, rx) = mpsc::channel(capacity); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:430:24 [INFO] [stdout] | [INFO] [stdout] 430 | let (mut tx, rx) = mpsc::channel(0); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:452:24 [INFO] [stdout] | [INFO] [stdout] 452 | let (mut tx, rx) = mpsc::channel(0); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> tests/mpsc.rs:457:30 [INFO] [stdout] | [INFO] [stdout] 457 | let (readytx, readyrx) = oneshot::channel::<()>(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:479:24 [INFO] [stdout] | [INFO] [stdout] 479 | let (mut tx, rx) = mpsc::channel(0); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/channel.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let (tx, rx) = mpsc::channel(1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:498:28 [INFO] [stdout] | [INFO] [stdout] 498 | let (mut tx, mut rx) = mpsc::channel(1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/channel.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | async fn send_sequence(n: u32, mut sender: mpsc::Sender) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:512:25 [INFO] [stdout] | [INFO] [stdout] 512 | let (mut txa1, _) = mpsc::channel::(1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/channel.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | let (tx, mut rx) = mpsc::channel::(1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:515:25 [INFO] [stdout] | [INFO] [stdout] 515 | let (mut txb1, _) = mpsc::channel::(1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/channel.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let (mut tx, rx) = mpsc::channel::(1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:531:22 [INFO] [stdout] | [INFO] [stdout] 531 | let (txa, rxa) = mpsc::channel::(1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:532:22 [INFO] [stdout] | [INFO] [stdout] 532 | let (txb, rxb) = mpsc::channel::(1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/channel.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | let (mut tx, rx) = mpsc::channel(1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:549:25 [INFO] [stdout] | [INFO] [stdout] 549 | let (mut txa1, _) = mpsc::channel::(1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/channel.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | let t = thread::spawn(move || block_on(send_sequence(amt, tx))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:552:25 [INFO] [stdout] | [INFO] [stdout] 552 | let (mut txb1, _) = mpsc::channel::(1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/channel.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | let list: Vec<_> = block_on(rx.collect()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_fn` in this scope [INFO] [stdout] --> tests/channel.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let f = poll_fn(|cx| rx.poll_next_unpin(cx)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::future::poll_fn; [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::poll_fn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/channel.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(block_on(f), None) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/channel.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | block_on(tx.send(1)).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/channel.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | assert!(block_on(tx.send(1)).is_err()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:594:28 [INFO] [stdout] | [INFO] [stdout] 594 | let (mut tx, mut rx) = mpsc::channel(1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/channel.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | block_on(tx.send(A)).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/channel.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | assert!(block_on(tx.send(A)).is_err()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc.rs:598:42 [INFO] [stdout] | [INFO] [stdout] 598 | assert_eq!(task.poll_unpin(&mut cx), Poll::Pending); [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:615:29 [INFO] [stdout] | [INFO] [stdout] 615 | let (mut tx1, mut rx) = mpsc::channel(1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc.rs:620:42 [INFO] [stdout] | [INFO] [stdout] 620 | assert_eq!(task.poll_unpin(&mut cx), Poll::Pending); [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | block_on(tx.send(1)).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | let v: Vec<_> = block_on(rx.collect()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | block_on(poll_fn(move |cx| { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_fn` in this scope [INFO] [stdout] --> tests/mpsc.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | block_on(poll_fn(move |cx| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::future::poll_fn; [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::poll_fn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc.rs:47:47 [INFO] [stdout] | [INFO] [stdout] 47 | assert_eq!(rx.as_mut().poll_next(cx), Poll::Ready(Some(1))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(rx.as_mut().poll_next(cx), Poll::Ready(Some(2))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | Poll::Ready(()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on_stream` in this scope [INFO] [stdout] --> tests/mpsc.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | let mut rx = block_on_stream(rx); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | block_on(tx1.send(1)).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | block_on(tx2.send(2)).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | block_on(tx.send(1)).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let v: Vec<_> = block_on(rx.take(1).collect()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | block_on(tx.send(1)).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | block_on(tx.send(2)).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let v: Vec<_> = block_on(rx.collect()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | block_on(poll_fn(move |cx| { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_fn` in this scope [INFO] [stdout] --> tests/mpsc.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | block_on(poll_fn(move |cx| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::future::poll_fn; [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::poll_fn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc.rs:113:44 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(rx.poll_next_unpin(cx), Poll::Ready(None)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | Poll::Ready(()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | block_on(poll_fn(move |cx| { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_fn` in this scope [INFO] [stdout] --> tests/mpsc.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | block_on(poll_fn(move |cx| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::future::poll_fn; [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::poll_fn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc.rs:129:44 [INFO] [stdout] | [INFO] [stdout] 129 | assert_eq!(rx.poll_next_unpin(cx), Poll::Ready(None)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | Poll::Ready(()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:208:30 [INFO] [stdout] | [INFO] [stdout] 208 | let result: Vec<_> = block_on(rx.collect()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:237:30 [INFO] [stdout] | [INFO] [stdout] 237 | let result: Vec<_> = block_on(rx.collect()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | block_on(tx.send(1)).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:283:36 [INFO] [stdout] | [INFO] [stdout] 283 | let item = block_on(rx.next()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/mpsc.rs:294:55 [INFO] [stdout] | [INFO] [stdout] 294 | match rx.poll_next_unpin(&mut noop_context()) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | block_on(tx.send(i)).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Stream` in this scope [INFO] [stdout] --> tests/mpsc.rs:330:23 [INFO] [stdout] | [INFO] [stdout] 330 | fn list() -> impl Stream { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::stream::Stream; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::Stream; [INFO] [stdout] | [INFO] [stdout] 1 | use std::stream::Stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | block_on(send_one_two_three(tx)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:339:25 [INFO] [stdout] | [INFO] [stdout] 339 | let v: Vec<_> = block_on(list().collect()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on_stream` in this scope [INFO] [stdout] --> tests/mpsc.rs:354:18 [INFO] [stdout] | [INFO] [stdout] 354 | let mut rx = block_on_stream(rx); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:409:48 [INFO] [stdout] | [INFO] [stdout] 409 | threads.push(thread::spawn(move || block_on(stress_poll_ready_sender(sender, AMT)))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:413:30 [INFO] [stdout] | [INFO] [stdout] 413 | let result: Vec<_> = block_on(rx.collect()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:442:26 [INFO] [stdout] | [INFO] [stdout] 442 | let result: Vec<_> = block_on(rx.collect()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on_stream` in this scope [INFO] [stdout] --> tests/mpsc.rs:453:18 [INFO] [stdout] | [INFO] [stdout] 453 | let mut rx = block_on_stream(rx); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:460:9 [INFO] [stdout] | [INFO] [stdout] 460 | block_on(poll_fn(|cx| { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_fn` in this scope [INFO] [stdout] --> tests/mpsc.rs:460:18 [INFO] [stdout] | [INFO] [stdout] 460 | block_on(poll_fn(|cx| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::future::poll_fn; [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::poll_fn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | Poll::Ready(()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:466:9 [INFO] [stdout] | [INFO] [stdout] 466 | block_on(tx.send("goodbye")).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:469:13 [INFO] [stdout] | [INFO] [stdout] 469 | let _ = block_on(readyrx); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on_stream` in this scope [INFO] [stdout] --> tests/mpsc.rs:480:18 [INFO] [stdout] | [INFO] [stdout] 480 | let mut rx = block_on_stream(rx); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_count_waker` in this scope [INFO] [stdout] --> tests/mpsc.rs:591:28 [INFO] [stdout] | [INFO] [stdout] 591 | let (waker, counter) = new_count_waker(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/mpsc.rs:592:18 [INFO] [stdout] | [INFO] [stdout] 592 | let mut cx = Context::from_waker(&waker); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:595:5 [INFO] [stdout] | [INFO] [stdout] 595 | block_on(tx.send(1)).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:601:16 [INFO] [stdout] | [INFO] [stdout] 601 | let item = block_on(rx.next()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc.rs:604:42 [INFO] [stdout] | [INFO] [stdout] 604 | assert_eq!(task.poll_unpin(&mut cx), Poll::Ready(Ok(()))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:606:16 [INFO] [stdout] | [INFO] [stdout] 606 | let item = block_on(rx.next()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_count_waker` in this scope [INFO] [stdout] --> tests/mpsc.rs:612:28 [INFO] [stdout] | [INFO] [stdout] 612 | let (waker, counter) = new_count_waker(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> tests/mpsc.rs:613:18 [INFO] [stdout] | [INFO] [stdout] 613 | let mut cx = Context::from_waker(&waker); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:617:5 [INFO] [stdout] | [INFO] [stdout] 617 | block_on(tx1.send(1)).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:623:16 [INFO] [stdout] | [INFO] [stdout] 623 | let item = block_on(rx.next()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> tests/mpsc.rs:626:42 [INFO] [stdout] | [INFO] [stdout] 626 | assert_eq!(task.poll_unpin(&mut cx), Poll::Ready(Ok(()))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:628:16 [INFO] [stdout] | [INFO] [stdout] 628 | let item = block_on(rx.next()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 102 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e63fc01159b4c22871fa6fb2c0ab708eb76482365db703d4fda087ba14f44efe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e63fc01159b4c22871fa6fb2c0ab708eb76482365db703d4fda087ba14f44efe", kill_on_drop: false }` [INFO] [stdout] e63fc01159b4c22871fa6fb2c0ab708eb76482365db703d4fda087ba14f44efe