[INFO] fetching crate futures-channel 0.3.5... [INFO] checking futures-channel-0.3.5 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate futures-channel 0.3.5 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate futures-channel 0.3.5 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate futures-channel 0.3.5 [INFO] finished tweaking crates.io crate futures-channel 0.3.5 [INFO] tweaked toml for crates.io crate futures-channel 0.3.5 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a05b5fa5a26a224364875f93d0477b966a320100ddbdf5d22bc45739a9ea0ace [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a05b5fa5a26a224364875f93d0477b966a320100ddbdf5d22bc45739a9ea0ace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a05b5fa5a26a224364875f93d0477b966a320100ddbdf5d22bc45739a9ea0ace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a05b5fa5a26a224364875f93d0477b966a320100ddbdf5d22bc45739a9ea0ace", kill_on_drop: false }` [INFO] [stdout] a05b5fa5a26a224364875f93d0477b966a320100ddbdf5d22bc45739a9ea0ace [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14f3c90123596352cb14de74cc426e5afad94c547030331ac7d16569b686f901 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "14f3c90123596352cb14de74cc426e5afad94c547030331ac7d16569b686f901", kill_on_drop: false }` [INFO] [stderr] Checking futures-channel v0.3.5 (/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::{FutureExt, 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/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 `futures` [INFO] [stdout] --> benches/sync_mpsc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | futures::{ [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] --> benches/sync_mpsc.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | futures_test::task::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] --> benches/sync_mpsc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | futures::{ [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `ready` [INFO] [stdout] --> benches/sync_mpsc.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | ready!(tx.as_mut().poll_ready(cx)).unwrap(); [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 `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 `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::{FutureExt, 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/mpsc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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: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::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:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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.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 `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] [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] [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::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:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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/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 `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::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/channel.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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 `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 `mpsc` [INFO] [stdout] --> benches/sync_mpsc.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | 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 type `Poll` [INFO] [stdout] --> benches/sync_mpsc.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(Poll::Pending, rx.poll_next_unpin(&mut cx)); [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] --> benches/sync_mpsc.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | 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 type `Poll` [INFO] [stdout] --> benches/sync_mpsc.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(Poll::Pending, rx.poll_next_unpin(&mut cx)); [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: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 `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 `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 crate or module `mpsc` [INFO] [stdout] --> benches/sync_mpsc.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | 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 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 type `Poll` [INFO] [stdout] --> benches/sync_mpsc.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | assert_eq!(Poll::Pending, tx.as_mut().poll_flush(cx)); [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 `mpsc` [INFO] [stdout] --> benches/sync_mpsc.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | let (tx, mut 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] --> benches/sync_mpsc.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(Poll::Pending, tx.poll_next_unpin(&mut cx)); [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 `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[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 `mpsc` [INFO] [stdout] --> benches/sync_mpsc.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | let (tx, mut 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] --> benches/sync_mpsc.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | assert_eq!(Poll::Pending, x.poll_next_unpin(&mut cx)); [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> benches/sync_mpsc.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnboundedSender` [INFO] [stdout] --> benches/sync_mpsc.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | UnboundedSender::unbounded_send(&tx, i).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use futures_channel::mpsc::UnboundedSender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> benches/sync_mpsc.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | assert_eq!(Poll::Ready(Some(i)), rx.poll_next_unpin(&mut cx)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 4 | use futures_core::core_reexport::task::Poll; [INFO] [stdout] | [INFO] [stdout] 4 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> benches/sync_mpsc.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [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[E0433]: failed to resolve: use of undeclared type `UnboundedSender` [INFO] [stdout] --> benches/sync_mpsc.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | UnboundedSender::unbounded_send(x, i).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use futures_channel::mpsc::UnboundedSender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc-close.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | 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 type `Poll` [INFO] [stdout] --> benches/sync_mpsc.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(Poll::Ready(Some(i)), rx.poll_next_unpin(&mut cx)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 4 | use futures_core::core_reexport::task::Poll; [INFO] [stdout] | [INFO] [stdout] 4 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> benches/sync_mpsc.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | let mut cx = noop_context(); [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: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 futures_core::core_reexport::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 crate::thread::thread::env::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::core_reexport::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[E0433]: failed to resolve: use of undeclared type `UnboundedSender` [INFO] [stdout] --> benches/sync_mpsc.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | UnboundedSender::unbounded_send(&tx, i).expect("send"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use futures_channel::mpsc::UnboundedSender; [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 crate::thread::thread::env::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::thread::thread::env::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::core_reexport::task::Context; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> benches/sync_mpsc.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(Poll::Ready(Some(i)), rx.poll_next_unpin(&mut cx)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 4 | use futures_core::core_reexport::task::Poll; [INFO] [stdout] | [INFO] [stdout] 4 | use std::task::Poll; [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[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> benches/sync_mpsc.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | tx: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 79 | tx: Send, [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use futures_channel::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] 4 | use futures_channel::oneshot::Sender; [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::mpsc::Sender; [INFO] [stdout] | [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 futures_core::core_reexport::future::poll_fn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Stream` in this scope [INFO] [stdout] --> benches/sync_mpsc.rs:84:6 [INFO] [stdout] | [INFO] [stdout] 84 | impl Stream for TestSender { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 | use futures_core::Stream; [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 crate::thread::thread::env::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::core_reexport::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> benches/sync_mpsc.rs:87:53 [INFO] [stdout] | [INFO] [stdout] 87 | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 4 | use futures_core::core_reexport::task::Context; [INFO] [stdout] | [INFO] [stdout] 4 | 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/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 `Poll` in this scope [INFO] [stdout] --> benches/sync_mpsc.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | -> Poll> [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 4 | use futures_core::core_reexport::task::Poll; [INFO] [stdout] | [INFO] [stdout] 4 | use std::task::Poll; [INFO] [stdout] | [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[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> benches/sync_mpsc.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | Poll::Ready(Some(this.last)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 4 | use futures_core::core_reexport::task::Poll; [INFO] [stdout] | [INFO] [stdout] 4 | 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: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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> benches/sync_mpsc.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | let mut cx = noop_context(); [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] --> benches/sync_mpsc.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | assert_eq!(Poll::Ready(Some(i + 1)), tx.poll_next_unpin(&mut cx)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 4 | use futures_core::core_reexport::task::Poll; [INFO] [stdout] | [INFO] [stdout] 4 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> benches/sync_mpsc.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(Poll::Ready(Some(i + 1)), rx.poll_next_unpin(&mut cx)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 4 | use futures_core::core_reexport::task::Poll; [INFO] [stdout] | [INFO] [stdout] 4 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> benches/sync_mpsc.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | let mut cx = noop_context(); [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] --> benches/sync_mpsc.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(Poll::Ready(Some(i + 1)), x.poll_next_unpin(&mut cx)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 4 | use futures_core::core_reexport::task::Poll; [INFO] [stdout] | [INFO] [stdout] 4 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> benches/sync_mpsc.rs:140:28 [INFO] [stdout] | [INFO] [stdout] 140 | assert_eq!(Poll::Ready(Some(i + 1)), rx.poll_next_unpin(&mut cx)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 4 | use futures_core::core_reexport::task::Poll; [INFO] [stdout] | [INFO] [stdout] 4 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, 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 `futures` [INFO] [stdout] --> tests/mpsc-close.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | block_on(receiver.take(3).for_each(|_| futures::future::ready(()))); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `futures-channel` [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] [stderr] [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] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/channel.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | 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-close.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | 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/channel.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | 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/channel.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | 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: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 `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 `mpsc` [INFO] [stdout] --> tests/channel.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | 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-close.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | let (mut tx1, mut rx) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/channel.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | block_on(send_sequence(amt, tx)) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/channel.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let list: Vec<_> = block_on(rx.collect()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_fn` in this scope [INFO] [stdout] --> tests/channel.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | 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 futures_core::core_reexport::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:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | 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:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | 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:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | assert!(block_on(tx.send(1)).is_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/channel.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | 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:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | 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 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 crate or module `mpsc` [INFO] [stdout] --> tests/mpsc-close.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | 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: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 `mpsc` [INFO] [stdout] --> tests/mpsc-close.rs:88:29 [INFO] [stdout] | [INFO] [stdout] 88 | 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:110:34 [INFO] [stdout] | [INFO] [stdout] 110 | 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.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-close.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 129 | let (mut sender, receiver) = 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/mpsc-close.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | 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:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | 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:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | 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:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | 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:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | 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:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | 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:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | 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:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | 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:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | 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:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | 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:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | 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:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | 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:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | 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:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | assert_eq!(block_on(rx.next()), None); [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:264:24 [INFO] [stdout] | [INFO] [stdout] 264 | 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:294:29 [INFO] [stdout] | [INFO] [stdout] 294 | ... 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:297:29 [INFO] [stdout] | [INFO] [stdout] 297 | ... 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:301:29 [INFO] [stdout] | [INFO] [stdout] 301 | ... 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: 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[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:404:24 [INFO] [stdout] | [INFO] [stdout] 404 | 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:431:24 [INFO] [stdout] | [INFO] [stdout] 431 | let (mut tx, rx) = mpsc::channel(0); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 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[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> tests/mpsc.rs:453:24 [INFO] [stdout] | [INFO] [stdout] 453 | 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:458:30 [INFO] [stdout] | [INFO] [stdout] 458 | 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:480:24 [INFO] [stdout] | [INFO] [stdout] 480 | 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:499:28 [INFO] [stdout] | [INFO] [stdout] 499 | 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/mpsc.rs:513:25 [INFO] [stdout] | [INFO] [stdout] 513 | 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/mpsc.rs:516:25 [INFO] [stdout] | [INFO] [stdout] 516 | 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/mpsc.rs:539:25 [INFO] [stdout] | [INFO] [stdout] 539 | 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/mpsc.rs:542:25 [INFO] [stdout] | [INFO] [stdout] 542 | 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/mpsc.rs:584:28 [INFO] [stdout] | [INFO] [stdout] 584 | 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 type `Poll` [INFO] [stdout] --> tests/mpsc.rs:588:42 [INFO] [stdout] | [INFO] [stdout] 588 | 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:605:29 [INFO] [stdout] | [INFO] [stdout] 605 | 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:610:42 [INFO] [stdout] | [INFO] [stdout] 610 | 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 futures_core::core_reexport::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 crate::thread::thread::env::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::core_reexport::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 crate::thread::thread::env::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::core_reexport::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 crate::thread::thread::env::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::core_reexport::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 futures_core::core_reexport::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 crate::thread::thread::env::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::core_reexport::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 crate::thread::thread::env::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::core_reexport::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 futures_core::core_reexport::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 crate::thread::thread::env::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::core_reexport::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 crate::thread::thread::env::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::core_reexport::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:282:36 [INFO] [stdout] | [INFO] [stdout] 282 | 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:293:55 [INFO] [stdout] | [INFO] [stdout] 293 | 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 this trait [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::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:17 [INFO] [stdout] | [INFO] [stdout] 409 | 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:414:30 [INFO] [stdout] | [INFO] [stdout] 414 | 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:443:26 [INFO] [stdout] | [INFO] [stdout] 443 | 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:454:18 [INFO] [stdout] | [INFO] [stdout] 454 | 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:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | 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:461:18 [INFO] [stdout] | [INFO] [stdout] 461 | 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 futures_core::core_reexport::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:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | 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 crate::thread::thread::env::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::core_reexport::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:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | 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:470:13 [INFO] [stdout] | [INFO] [stdout] 470 | 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:481:18 [INFO] [stdout] | [INFO] [stdout] 481 | 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:581:28 [INFO] [stdout] | [INFO] [stdout] 581 | 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:582:18 [INFO] [stdout] | [INFO] [stdout] 582 | 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 crate::thread::thread::env::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::thread::thread::env::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::core_reexport::task::Context; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:585:5 [INFO] [stdout] | [INFO] [stdout] 585 | 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:591:16 [INFO] [stdout] | [INFO] [stdout] 591 | 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:594:42 [INFO] [stdout] | [INFO] [stdout] 594 | 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 crate::thread::thread::env::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::core_reexport::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:596:16 [INFO] [stdout] | [INFO] [stdout] 596 | 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:602:28 [INFO] [stdout] | [INFO] [stdout] 602 | 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:603:18 [INFO] [stdout] | [INFO] [stdout] 603 | 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 crate::thread::thread::env::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::thread::thread::env::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::core_reexport::task::Context; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/mpsc.rs:607:5 [INFO] [stdout] | [INFO] [stdout] 607 | 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:613:16 [INFO] [stdout] | [INFO] [stdout] 613 | 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:616:42 [INFO] [stdout] | [INFO] [stdout] 616 | 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 crate::thread::thread::env::sys::ext::net::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::task::Poll; [INFO] [stdout] | [INFO] [stdout] 1 | use futures_core::core_reexport::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:618:16 [INFO] [stdout] | [INFO] [stdout] 618 | let item = block_on(rx.next()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/mpsc.rs:345:14 [INFO] [stdout] | [INFO] [stdout] 345 | for i in 1..=3 { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/mpsc.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | tx.send(i).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/mpsc.rs:345:18 [INFO] [stdout] | [INFO] [stdout] 345 | for i in 1..=3 { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/mpsc.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | tx.send(i).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/mpsc.rs:345:14 [INFO] [stdout] | [INFO] [stdout] 345 | for i in 1..=3 { [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/mpsc.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | tx.send(i).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/mpsc.rs:345:14 [INFO] [stdout] | [INFO] [stdout] 345 | for i in 1..=3 { [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/mpsc.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | tx.send(i).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/mpsc.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | for i in 1..=3 { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/mpsc.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | tx.send(i).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/mpsc.rs:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | tx.send(i).await.unwrap(); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/mpsc.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | tx.send(i).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 106 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0432, E0433, E0698. [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" "14f3c90123596352cb14de74cc426e5afad94c547030331ac7d16569b686f901", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14f3c90123596352cb14de74cc426e5afad94c547030331ac7d16569b686f901", kill_on_drop: false }` [INFO] [stdout] 14f3c90123596352cb14de74cc426e5afad94c547030331ac7d16569b686f901