[INFO] fetching crate futures-util 0.3.21... [INFO] testing futures-util-0.3.21 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate futures-util 0.3.21 into /workspace/builds/worker-113/source [INFO] validating manifest of crates.io crate futures-util 0.3.21 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate futures-util 0.3.21 [INFO] finished tweaking crates.io crate futures-util 0.3.21 [INFO] tweaked toml for crates.io crate futures-util 0.3.21 written to /workspace/builds/worker-113/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88cbf68df3e1699a3d73b286e4823af3e3c9b7b977d400dc33a27440450a74a3 [INFO] running `Command { std: "docker" "start" "-a" "88cbf68df3e1699a3d73b286e4823af3e3c9b7b977d400dc33a27440450a74a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88cbf68df3e1699a3d73b286e4823af3e3c9b7b977d400dc33a27440450a74a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88cbf68df3e1699a3d73b286e4823af3e3c9b7b977d400dc33a27440450a74a3", kill_on_drop: false }` [INFO] [stdout] 88cbf68df3e1699a3d73b286e4823af3e3c9b7b977d400dc33a27440450a74a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb823b8f23322cdc9d16e54cdf9e0fef33d76bb4eeea4bbfee3cf18ed9e5cfab [INFO] running `Command { std: "docker" "start" "-a" "cb823b8f23322cdc9d16e54cdf9e0fef33d76bb4eeea4bbfee3cf18ed9e5cfab", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.71s [INFO] running `Command { std: "docker" "inspect" "cb823b8f23322cdc9d16e54cdf9e0fef33d76bb4eeea4bbfee3cf18ed9e5cfab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb823b8f23322cdc9d16e54cdf9e0fef33d76bb4eeea4bbfee3cf18ed9e5cfab", kill_on_drop: false }` [INFO] [stdout] cb823b8f23322cdc9d16e54cdf9e0fef33d76bb4eeea4bbfee3cf18ed9e5cfab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71f65c80f0facf31b18947a71332375e9faefa4814452067456d1f703325c317 [INFO] running `Command { std: "docker" "start" "-a" "71f65c80f0facf31b18947a71332375e9faefa4814452067456d1f703325c317", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling futures-util v0.3.21 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.01s [INFO] running `Command { std: "docker" "inspect" "71f65c80f0facf31b18947a71332375e9faefa4814452067456d1f703325c317", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71f65c80f0facf31b18947a71332375e9faefa4814452067456d1f703325c317", kill_on_drop: false }` [INFO] [stdout] 71f65c80f0facf31b18947a71332375e9faefa4814452067456d1f703325c317 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e704ce0f8c573cb9cfb97ba4842dc8083d759611b24d9b3bf87f4c2afa01f4c7 [INFO] running `Command { std: "docker" "start" "-a" "e704ce0f8c573cb9cfb97ba4842dc8083d759611b24d9b3bf87f4c2afa01f4c7", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/futures_util-029725d41124d079) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test lock::mutex::test_mutex_guard_debug_not_recurse ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests futures-util [INFO] [stdout] [INFO] [stdout] running 149 tests [INFO] [stdout] test src/future/pending.rs - future::pending::pending (line 27) ... ignored [INFO] [stdout] test src/async_await/join_mod.rs - async_await::join_mod::join (line 102) ... FAILED [INFO] [stdout] test src/abortable.rs - abortable::Abortable::new (line 47) ... FAILED [INFO] [stdout] test src/async_await/join_mod.rs - async_await::join_mod::try_join (line 124) ... FAILED [INFO] [stdout] test src/async_await/join_mod.rs - async_await::join_mod::try_join (line 105) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - async_await::select_mod::select (line 343) ... FAILED [INFO] [stdout] test src/abortable.rs - abortable::Abortable::new (line 34) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - async_await::select_mod::select_biased (line 376) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - async_await::select_mod::select (line 358) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - async_await::select_mod::select (line 376) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - async_await::select_mod::select (line 435) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - async_await::select_mod::select_biased (line 358) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - async_await::select_mod::select_biased (line 343) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - async_await::select_mod::select (line 401) ... FAILED [INFO] [stdout] test src/async_await/stream_select_mod.rs - async_await::stream_select_mod::stream_select (line 17) ... FAILED [INFO] [stdout] test src/future/either.rs - future::either::Either (line 12) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::catch_unwind (line 417) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::now_or_never (line 590) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::now_or_never (line 576) ... FAILED [INFO] [stdout] test src/future/future/fuse.rs - future::future::fuse::Fuse::terminated (line 31) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - async_await::select_mod::select_biased (line 435) ... FAILED [INFO] [stdout] test src/future/select.rs - future::select::select (line 33) ... FAILED [INFO] [stdout] test src/future/maybe_done.rs - future::maybe_done::maybe_done (line 30) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - async_await::select_mod::select_biased (line 401) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::inspect (line 382) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::map (line 137) ... FAILED [INFO] [stdout] test src/future/select.rs - future::select::select (line 67) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::shared (line 465) ... FAILED [INFO] [stdout] test src/future/poll_immediate.rs - future::poll_immediate::PollImmediate (line 49) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::flatten (line 298) ... FAILED [INFO] [stdout] test src/future/join.rs - future::join::join (line 100) ... FAILED [INFO] [stdout] test src/future/ready.rs - future::ready::ok (line 56) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::left_future (line 208) ... FAILED [INFO] [stdout] test src/future/poll_immediate.rs - future::poll_immediate::poll_immediate (line 115) ... FAILED [INFO] [stdout] test src/future/poll_immediate.rs - future::poll_immediate::poll_immediate (line 101) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::right_future (line 238) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::then (line 182) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::and_then (line 380) ... FAILED [INFO] [stdout] test src/future/join_all.rs - future::join_all::join_all (line 91) ... FAILED [INFO] [stdout] test src/future/join.rs - future::join::join5 (line 187) ... FAILED [INFO] [stdout] test src/future/join.rs - future::join::join4 (line 154) ... FAILED [INFO] [stdout] test src/future/join.rs - future::join::join3 (line 124) ... FAILED [INFO] [stdout] test src/future/option.rs - future::option::OptionFuture (line 14) ... FAILED [INFO] [stdout] test src/future/lazy.rs - future::lazy::lazy (line 22) ... FAILED [INFO] [stdout] test src/stream/once.rs - stream::once::once (line 11) ... FAILED [INFO] [stdout] test src/future/ready.rs - future::ready::ready (line 40) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::into_stream (line 267) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::flatten_stream (line 328) ... FAILED [INFO] [stdout] test src/future/ready.rs - future::ready::err (line 72) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::shared (line 452) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::and_then (line 367) ... FAILED [INFO] [stdout] test src/future/try_join.rs - future::try_join::try_join4 (line 191) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_next (line 371) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_skip_while (line 439) ... FAILED [INFO] [stdout] test src/lock/mutex.rs - lock::mutex::MappedMutexGuard::map (line 327) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_for_each (line 403) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_for_each_concurrent (line 504) ... FAILED [INFO] [stdout] test src/future/try_select.rs - future::try_select::try_select (line 30) ... FAILED [INFO] [stdout] test src/lock/mutex.rs - lock::mutex::MutexGuard::map (line 264) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_take_while (line 469) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_collect (line 561) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_filter_map (line 689) ... FAILED [INFO] [stdout] test src/stream/iter.rs - stream::iter::iter (line 21) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_ok (line 195) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::err_into (line 327) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_filter (line 650) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::collect (line 498) ... FAILED [INFO] [stdout] test src/stream/try_stream/try_unfold.rs - stream::try_stream::try_unfold::try_unfold (line 35) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_flatten (line 723) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_fold (line 782) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::inspect_ok (line 452) ... FAILED [INFO] [stdout] test src/task/spawn.rs - task::spawn::LocalSpawnExt::spawn_local (line 115) ... FAILED [INFO] [stdout] test src/task/spawn.rs - task::spawn::SpawnExt::spawn (line 36) ... FAILED [INFO] [stdout] test src/stream/unfold.rs - stream::unfold::unfold (line 32) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::all (line 719) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffer_unordered (line 888) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_concat (line 818) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::err_into (line 163) ... FAILED [INFO] [stdout] test src/stream/stream/take_until.rs - stream::stream::take_until::TakeUntil::take_result (line 75) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::fuse (line 1210) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::any (line 697) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::catch_unwind (line 1290) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::into_stream (line 342) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::buffer_unordered (line 1380) ... FAILED [INFO] [stdout] test src/lock/mutex.rs - lock::mutex::Mutex::get_mut (line 125) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::enumerate (line 370) ... FAILED [INFO] [stdout] test src/future/try_join.rs - future::try_join::try_join3 (line 160) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::by_ref (line 1246) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::skip_while (line 950) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffered (line 964) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::select_next_some (line 1648) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffer_unordered (line 865) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::filter_map (line 439) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::for_each_concurrent (line 1111) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_ok (line 208) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::unzip (line 534) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::zip (line 1418) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::map (line 328) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::flat_map (line 835) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::take (line 1154) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::try_flatten_stream (line 519) ... FAILED [INFO] [stdout] test src/stream/select.rs - stream::select::select (line 31) ... FAILED [INFO] [stdout] test src/future/try_join_all.rs - future::try_join_all::try_join_all (line 65) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::map_ok (line 188) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::fold (line 675) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_chunks (line 608) ... FAILED [INFO] [stdout] test src/stream/select_with_strategy.rs - stream::select_with_strategy::select_with_strategy (line 93) ... FAILED [INFO] [stdout] test src/future/try_join.rs - future::try_join::try_join (line 122) ... FAILED [INFO] [stdout] test src/lock/mutex.rs - lock::mutex::Mutex::into_inner (line 86) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::and_then (line 256) ... FAILED [INFO] [stdout] test src/future/try_join.rs - future::try_join::try_join5 (line 225) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::into_future (line 592) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::flatten_unordered (line 781) ... FAILED [INFO] [stdout] test src/stream/poll_fn.rs - stream::poll_fn::poll_fn (line 29) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::unwrap_or_else (line 555) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::for_each (line 1060) ... FAILED [INFO] [stdout] test src/future/poll_fn.rs - future::poll_fn::poll_fn (line 23) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::flat_map_unordered (line 880) ... FAILED [INFO] [stdout] test src/stream/repeat_with.rs - stream::repeat_with::repeat_with (line 53) ... FAILED [INFO] [stdout] test src/stream/poll_immediate.rs - stream::poll_immediate::poll_immediate (line 59) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::take_while (line 980) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::count (line 617) ... FAILED [INFO] [stdout] test src/future/try_join.rs - future::try_join::try_join (line 137) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffered (line 934) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::then (line 472) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_ok_or_else (line 243) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::inspect_err (line 478) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::chain (line 1445) ... FAILED [INFO] [stdout] test src/stream/repeat.rs - stream::repeat::repeat (line 19) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::cycle (line 642) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::concat (line 574) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::filter (line 406) ... FAILED [INFO] [stdout] test src/stream/stream/peek.rs - stream::stream::peek::Peekable::next_if (line 136) ... FAILED [INFO] [stdout] test src/stream/stream/peek.rs - stream::stream::peek::Peekable::next_if_eq (line 163) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::or_else (line 425) ... FAILED [INFO] [stdout] test src/stream/stream/peek.rs - stream::stream::peek::Peekable::next_if (line 118) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::into_future (line 295) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::scan (line 916) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::map_err (line 213) ... FAILED [INFO] [stdout] test src/stream/stream/peek.rs - stream::stream::peek::Peekable::peek_mut (line 65) ... FAILED [INFO] [stdout] test src/stream/select_with_strategy.rs - stream::select_with_strategy::select_with_strategy (line 67) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_err (line 296) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::next (line 261) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::flatten (line 741) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_err (line 283) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::or_else (line 412) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::skip (line 1177) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::take_until (line 1014) ... FAILED [INFO] [stdout] test src/stream/repeat_with.rs - stream::repeat_with::repeat_with (line 73) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/async_await/join_mod.rs - async_await::join_mod::join (line 102) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/join_mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::join; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `join` [INFO] [stdout] --> src/async_await/join_mod.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(join!(a, b), (1, 2)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `join` [INFO] [stdout] --> src/async_await/join_mod.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(join!(c, d, e), (3, 4, 5)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/join_mod.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/abortable.rs - abortable::Abortable::new (line 47) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/abortable.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::{Abortable, AbortHandle}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/abortable.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/abortable.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/abortable.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbortHandle` [INFO] [stdout] --> src/abortable.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 8 | let (abort_handle, abort_registration) = AbortHandle::new_pair(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::AbortHandle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Abortable` [INFO] [stdout] --> src/abortable.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 9 | let mut stream = Abortable::new(stream::iter(vec![1, 2, 3]), abort_registration); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::Abortable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/async_await/join_mod.rs - async_await::join_mod::try_join (line 124) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/join_mod.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::try_join; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `try_join` [INFO] [stdout] --> src/async_await/join_mod.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(try_join!(a, b), Err(2)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/join_mod.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/async_await/join_mod.rs - async_await::join_mod::try_join (line 105) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/join_mod.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::try_join; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `try_join` [INFO] [stdout] --> src/async_await/join_mod.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(try_join!(a, b), Ok((1, 2))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `try_join` [INFO] [stdout] --> src/async_await/join_mod.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(try_join!(c, d, e), Ok((3, 4, 5))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/join_mod.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/async_await/select_mod.rs - async_await::select_mod::select (line 343) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::select; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select` [INFO] [stdout] --> src/async_await/select_mod.rs:350:11 [INFO] [stdout] | [INFO] [stdout] 10 | let res = select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:344:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/abortable.rs - abortable::Abortable::new (line 34) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/abortable.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::{Abortable, AbortHandle, Aborted}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/abortable.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AbortHandle` [INFO] [stdout] --> src/abortable.rs:38:42 [INFO] [stdout] | [INFO] [stdout] 7 | let (abort_handle, abort_registration) = AbortHandle::new_pair(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::AbortHandle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Abortable` [INFO] [stdout] --> src/abortable.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 8 | let future = Abortable::new(async { 2 }, abort_registration); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::Abortable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Aborted` in this scope [INFO] [stdout] --> src/abortable.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(future.await, Err(Aborted)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::Aborted; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/async_await/select_mod.rs - async_await::select_mod::select_biased (line 376) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::select_biased; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select_biased` [INFO] [stdout] --> src/async_await/select_mod.rs:387:11 [INFO] [stdout] | [INFO] [stdout] 14 | let res = select_biased! { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:377:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/async_await/select_mod.rs - async_await::select_mod::select (line 358) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::select; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select` [INFO] [stdout] --> src/async_await/select_mod.rs:366:1 [INFO] [stdout] | [INFO] [stdout] 11 | select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:359:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/async_await/select_mod.rs - async_await::select_mod::select (line 376) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::select; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select` [INFO] [stdout] --> src/async_await/select_mod.rs:387:11 [INFO] [stdout] | [INFO] [stdout] 14 | let res = select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:377:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/async_await/select_mod.rs - async_await::select_mod::select (line 435) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::select; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select` [INFO] [stdout] --> src/async_await/select_mod.rs:444:5 [INFO] [stdout] | [INFO] [stdout] 12 | select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:436:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: unreachable statement [INFO] [stdout] --> src/async_await/select_mod.rs:451:1 [INFO] [stdout] | [INFO] [stdout] 11 | / loop { [INFO] [stdout] 12 | | select! { [INFO] [stdout] 13 | | a = a_fut => total += a, [INFO] [stdout] 14 | | b = b_fut => total += b, [INFO] [stdout] ... | [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_- any code following this expression is unreachable [INFO] [stdout] 19 | assert_eq!(total, 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/async_await/select_mod.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings, rust_2018_idioms, single_use_lifetimes)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unreachable_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/async_await/select_mod.rs - async_await::select_mod::select_biased (line 358) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::select_biased; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select_biased` [INFO] [stdout] --> src/async_await/select_mod.rs:366:1 [INFO] [stdout] | [INFO] [stdout] 11 | select_biased! { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:359:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/async_await/select_mod.rs - async_await::select_mod::select_biased (line 343) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::select_biased; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select_biased` [INFO] [stdout] --> src/async_await/select_mod.rs:350:11 [INFO] [stdout] | [INFO] [stdout] 10 | let res = select_biased! { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:344:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/async_await/select_mod.rs - async_await::select_mod::select (line 401) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:403:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::select; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `pin_mut` [INFO] [stdout] --> src/async_await/select_mod.rs:416:1 [INFO] [stdout] | [INFO] [stdout] 18 | pin_mut!(fut_2); // Pins the Future on the stack [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select` [INFO] [stdout] --> src/async_await/select_mod.rs:418:11 [INFO] [stdout] | [INFO] [stdout] 20 | let res = select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:402:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `fuse` exists for opaque type `impl Future`, but its trait bounds were not satisfied [INFO] [stdout] --> src/async_await/select_mod.rs:413:34 [INFO] [stdout] | [INFO] [stdout] 15 | let fut_1 = async_identity_fn(1).fuse(); [INFO] [stdout] | ^^^^ method cannot be called on `impl Future` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `impl Future: Iterator` [INFO] [stdout] which is required by `&mut impl Future: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `fuse` exists for opaque type `impl Future`, but its trait bounds were not satisfied [INFO] [stdout] --> src/async_await/select_mod.rs:414:34 [INFO] [stdout] | [INFO] [stdout] 16 | let fut_2 = async_identity_fn(2).fuse(); [INFO] [stdout] | ^^^^ method cannot be called on `impl Future` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `impl Future: Iterator` [INFO] [stdout] which is required by `&mut impl Future: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/async_await/stream_select_mod.rs - async_await::stream_select_mod::stream_select (line 17) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/stream_select_mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{stream, StreamExt, stream_select}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `stream_select` [INFO] [stdout] --> src/async_await/stream_select_mod.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 8 | let mut endless_numbers = stream_select!(endless_ints(1i32), endless_ints(2), endless_ints(3)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/stream_select_mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/either.rs - future::either::Either (line 12) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/either.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::Either; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/either.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Either` [INFO] [stdout] --> src/future/either.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 10 | Either::Left(async move { 12 }) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::future::Either; [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::prelude::future::Either; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Either` [INFO] [stdout] --> src/future/either.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 12 | Either::Right(async move { 44 }) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::future::Either; [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::prelude::future::Either; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/future/mod.rs - future::future::FutureExt::catch_unwind (line 417) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::{self, FutureExt, Ready}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/future/mod.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::{self, FutureExt, Ready}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:418:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ready` in this scope [INFO] [stdout] --> src/future/future/mod.rs:424:34 [INFO] [stdout] | [INFO] [stdout] 10 | let future = future::lazy(|_| -> Ready { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::future::Ready; [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Ready; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::future::Ready; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::future::Ready; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/future/mod.rs - future::future::FutureExt::now_or_never (line 590) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:591:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::{prelude::*, future::ready}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures::future::ready` [INFO] [stdout] --> src/future/future/mod.rs:591:27 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::{prelude::*, future::ready}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ready` in this scope [INFO] [stdout] --> src/future/future/mod.rs:592:20 [INFO] [stdout] | [INFO] [stdout] 5 | let future_ready = ready("foobar"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::future::ready; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::future::ready; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::future::ready; [INFO] [stdout] | [INFO] [stdout] 3 | use std::future::ready; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/future/mod.rs - future::future::FutureExt::now_or_never (line 576) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:578:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{future::ready, future::pending}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `futures::future::ready`, `futures::future::pending` [INFO] [stdout] --> src/future/future/mod.rs:578:15 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{future::ready, future::pending}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ready` in this scope [INFO] [stdout] --> src/future/future/mod.rs:579:20 [INFO] [stdout] | [INFO] [stdout] 6 | let future_ready = ready("foobar"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::future::ready; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::future::ready; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::future::ready; [INFO] [stdout] | [INFO] [stdout] 3 | use std::future::ready; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pending` in this scope [INFO] [stdout] --> src/future/future/mod.rs:580:22 [INFO] [stdout] | [INFO] [stdout] 7 | let future_pending = pending::<&'static str>(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::future::pending; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::future::pending; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::pending; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::future::pending; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/future/fuse.rs - future::future::fuse::Fuse::terminated (line 31) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/fuse.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/fuse.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::future::{Fuse, FusedFuture, FutureExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/fuse.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/future/fuse.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::select; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/future/fuse.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select` [INFO] [stdout] --> src/future/future/fuse.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 24 | select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `pin_mut` [INFO] [stdout] --> src/future/future/fuse.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 21 | pin_mut!(foo_printer); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/fuse.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> src/future/future/fuse.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 11 | let (sender, mut stream) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fuse` [INFO] [stdout] --> src/future/future/fuse.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 20 | let foo_printer = Fuse::terminated(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::Fuse; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::future::Fuse; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::Fuse; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::iter::Fuse; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/async_await/select_mod.rs - async_await::select_mod::select_biased (line 435) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::select_biased; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select_biased` [INFO] [stdout] --> src/async_await/select_mod.rs:444:5 [INFO] [stdout] | [INFO] [stdout] 12 | select_biased! { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:436:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: unreachable statement [INFO] [stdout] --> src/async_await/select_mod.rs:451:1 [INFO] [stdout] | [INFO] [stdout] 11 | / loop { [INFO] [stdout] 12 | | select_biased! { [INFO] [stdout] 13 | | a = a_fut => total += a, [INFO] [stdout] 14 | | b = b_fut => total += b, [INFO] [stdout] ... | [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_- any code following this expression is unreachable [INFO] [stdout] 19 | assert_eq!(total, 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/async_await/select_mod.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings, rust_2018_idioms, single_use_lifetimes)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unreachable_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/select.rs - future::select::select (line 33) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/select.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{ [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/select.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{ [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `pin_mut` [INFO] [stdout] --> src/future/select.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 21 | pin_mut!(future1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `pin_mut` [INFO] [stdout] --> src/future/select.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 22 | pin_mut!(future2); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/select.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Either` [INFO] [stdout] --> src/future/select.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 25 | Either::Left((value1, _)) => value1, // `value1` is resolved from `future1` [INFO] [stdout] | ^^^^^^ use of undeclared type `Either` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Either` [INFO] [stdout] --> src/future/select.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 27 | Either::Right((value2, _)) => value2, // `value2` is resolved from `future2` [INFO] [stdout] | ^^^^^^ use of undeclared type `Either` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/maybe_done.rs - future::maybe_done::maybe_done (line 30) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/maybe_done.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/maybe_done.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `pin_mut` [INFO] [stdout] --> src/future/maybe_done.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 9 | pin_mut!(future); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/maybe_done.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/async_await/select_mod.rs - async_await::select_mod::select_biased (line 401) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:403:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::select_biased; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `pin_mut` [INFO] [stdout] --> src/async_await/select_mod.rs:416:1 [INFO] [stdout] | [INFO] [stdout] 18 | pin_mut!(fut_2); // Pins the Future on the stack [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select_biased` [INFO] [stdout] --> src/async_await/select_mod.rs:418:11 [INFO] [stdout] | [INFO] [stdout] 20 | let res = select_biased! { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:402:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `fuse` exists for opaque type `impl Future`, but its trait bounds were not satisfied [INFO] [stdout] --> src/async_await/select_mod.rs:413:34 [INFO] [stdout] | [INFO] [stdout] 15 | let fut_1 = async_identity_fn(1).fuse(); [INFO] [stdout] | ^^^^ method cannot be called on `impl Future` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `impl Future: Iterator` [INFO] [stdout] which is required by `&mut impl Future: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `fuse` exists for opaque type `impl Future`, but its trait bounds were not satisfied [INFO] [stdout] --> src/async_await/select_mod.rs:414:34 [INFO] [stdout] | [INFO] [stdout] 16 | let fut_2 = async_identity_fn(2).fuse(); [INFO] [stdout] | ^^^^ method cannot be called on `impl Future` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `impl Future: Iterator` [INFO] [stdout] which is required by `&mut impl Future: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/future/mod.rs - future::future::FutureExt::inspect (line 382) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `inspect` exists for opaque type `impl Future`, but its trait bounds were not satisfied [INFO] [stdout] --> src/future/future/mod.rs:387:25 [INFO] [stdout] | [INFO] [stdout] 8 | let new_future = future.inspect(|&x| println!("about to resolve: {}", x)); [INFO] [stdout] | ^^^^^^^ method cannot be called on `impl Future` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `impl Future: Iterator` [INFO] [stdout] which is required by `&mut impl Future: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/future/mod.rs - future::future::FutureExt::map (line 137) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map` exists for opaque type `impl Future`, but its trait bounds were not satisfied [INFO] [stdout] --> src/future/future/mod.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 8 | let new_future = future.map(|x| x + 3); [INFO] [stdout] | ^^^ method cannot be called on `impl Future` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `impl Future: Iterator` [INFO] [stdout] which is required by `&mut impl Future: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/select.rs - future::select::select (line 67) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/select.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::{self, Either, Future, FutureExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/select.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::{self, Either, Future, FutureExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Either` [INFO] [stdout] --> src/future/select.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 14 | Either::Left((x, b)) => b.map(move |y| (x, y)).left_future(), [INFO] [stdout] | ^^^^^^ use of undeclared type `Either` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Either` [INFO] [stdout] --> src/future/select.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 15 | Either::Right((y, a)) => a.map(move |x| (x, y)).right_future(), [INFO] [stdout] | ^^^^^^ use of undeclared type `Either` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/future/select.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 9 | where A: Future + Unpin, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::future::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::future::Future; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/future/select.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 10 | B: Future + Unpin, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::future::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::future::Future; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/future/select.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 8 | fn join(a: A, b: B) -> impl Future [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::future::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::future::Future; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/future/mod.rs - future::future::FutureExt::shared (line 465) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:471:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:472:5 [INFO] [stdout] | [INFO] [stdout] 10 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:470:1 [INFO] [stdout] | [INFO] [stdout] 8 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> src/future/future/mod.rs:479:19 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(6, block_on(shared2)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `shared` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:476:22 [INFO] [stdout] | [INFO] [stdout] 14 | let shared1 = future.shared(); [INFO] [stdout] | ^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/future/mod.rs:486:8 [INFO] [stdout] | [INFO] [stdout] 486 | fn shared(self) -> Shared [INFO] [stdout] | ------ the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 7 | use futures_util::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/poll_immediate.rs - future::poll_immediate::PollImmediate (line 49) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/poll_immediate.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::task::Poll; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `futures`, `future::FusedFuture` [INFO] [stdout] --> src/future/poll_immediate.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{StreamExt, future, pin_mut}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] 7 | use future::FusedFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/poll_immediate.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 14 | let f = async {futures::pending!(); 42_u8}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `pin_mut` [INFO] [stdout] --> src/future/poll_immediate.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 10 | pin_mut!(f); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `pin_mut` [INFO] [stdout] --> src/future/poll_immediate.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 15 | pin_mut!(f); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/poll_immediate.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/future/poll_immediate.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(p.next().await, Some(Poll::Pending)); [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/future/poll_immediate.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(r.next().await, Some(Poll::Ready(1))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::task::Poll; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/future/poll_immediate.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(p.next().await, Some(Poll::Ready(42))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::task::Poll; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/future/mod.rs - future::future::FutureExt::flatten (line 298) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:299:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `flatten` exists for opaque type `impl Future`, but its trait bounds were not satisfied [INFO] [stdout] --> src/future/future/mod.rs:303:28 [INFO] [stdout] | [INFO] [stdout] 8 | let future = nested_future.flatten(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `impl Future` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `impl Future: Iterator` [INFO] [stdout] which is required by `&mut impl Future: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/join.rs - future::join::join (line 100) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/join.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/join.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/ready.rs - future::ready::ok (line 56) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/ready.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/ready.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/future/mod.rs - future::future::FutureExt::left_future (line 208) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `left_future` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:214:20 [INFO] [stdout] | [INFO] [stdout] 9 | async { true }.left_future() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/future/mod.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | fn left_future(self) -> Either [INFO] [stdout] | ----------- the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `right_future` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 11 | async { false }.right_future() [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/future/mod.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | fn right_future(self) -> Either [INFO] [stdout] | ------------ the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/poll_immediate.rs - future::poll_immediate::poll_immediate (line 115) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/poll_immediate.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{future, pin_mut}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/poll_immediate.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 6 | let f = async {futures::pending!(); 42_u8}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `pin_mut` [INFO] [stdout] --> src/future/poll_immediate.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 7 | pin_mut!(f); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/poll_immediate.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/poll_immediate.rs - future::poll_immediate::poll_immediate (line 101) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/poll_immediate.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/poll_immediate.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/future/mod.rs - future::future::FutureExt::right_future (line 238) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:239:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `left_future` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 9 | async { true }.left_future() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/future/mod.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | fn left_future(self) -> Either [INFO] [stdout] | ----------- the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `right_future` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 11 | async { false }.right_future() [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/future/mod.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | fn right_future(self) -> Either [INFO] [stdout] | ------------ the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/future/mod.rs - future::future::FutureExt::then (line 182) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:183:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `then` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 8 | let future_of_4 = future_of_1.then(|x| async move { x + 3 }); [INFO] [stdout] | ^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/future/mod.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | fn then(self, f: F) -> Then [INFO] [stdout] | ---- the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_future/mod.rs - future::try_future::TryFutureExt::and_then (line 380) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:383:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `and_then` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:385:21 [INFO] [stdout] | [INFO] [stdout] 8 | let future = future.and_then(|x| async move { Err::(x + 3) }); [INFO] [stdout] | ^^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/try_future/mod.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | fn and_then(self, f: F) -> AndThen [INFO] [stdout] | -------- the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::TryFutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/join_all.rs - future::join_all::join_all (line 91) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/join_all.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::join_all; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/join_all.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `join_all` in this scope [INFO] [stdout] --> src/future/join_all.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(join_all(futures).await, [1, 2, 3]); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::future::join_all; [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::prelude::future::join_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/join.rs - future::join::join5 (line 187) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/join.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/join.rs:188:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/join.rs - future::join::join4 (line 154) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/join.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/join.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/join.rs - future::join::join3 (line 124) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/join.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/join.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/option.rs - future::option::OptionFuture (line 14) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/option.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::OptionFuture; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/option.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OptionFuture` in this scope [INFO] [stdout] --> src/future/option.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 7 | let mut a: OptionFuture<_> = Some(async { 123 }).into(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::future::OptionFuture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/lazy.rs - future::lazy::lazy (line 22) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/lazy.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/lazy.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/once.rs - stream::once::once (line 11) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/once.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/once.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/once.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/ready.rs - future::ready::ready (line 40) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/ready.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/ready.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/future/mod.rs - future::future::FutureExt::into_stream (line 267) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:268:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_stream` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 9 | let stream = future.into_stream(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/future/mod.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 278 | fn into_stream(self) -> IntoStream [INFO] [stdout] | ----------- the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/future/mod.rs - future::future::FutureExt::flatten_stream (line 328) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/future/mod.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `flatten_stream` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:336:33 [INFO] [stdout] | [INFO] [stdout] 11 | let stream = future_of_a_stream.flatten_stream(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/future/mod.rs:341:8 [INFO] [stdout] | [INFO] [stdout] 341 | fn flatten_stream(self) -> FlattenStream [INFO] [stdout] | -------------- the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/ready.rs - future::ready::err (line 72) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/ready.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/ready.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/future/mod.rs - future::future::FutureExt::shared (line 452) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:453:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `shared` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:457:22 [INFO] [stdout] | [INFO] [stdout] 8 | let shared1 = future.shared(); [INFO] [stdout] | ^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/future/mod.rs:486:8 [INFO] [stdout] | [INFO] [stdout] 486 | fn shared(self) -> Shared [INFO] [stdout] | ------ the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_future/mod.rs - future::try_future::TryFutureExt::and_then (line 367) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:370:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `and_then` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:372:21 [INFO] [stdout] | [INFO] [stdout] 8 | let future = future.and_then(|x| async move { Ok::(x + 3) }); [INFO] [stdout] | ^^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/try_future/mod.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | fn and_then(self, f: F) -> AndThen [INFO] [stdout] | -------- the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::TryFutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_join.rs - future::try_join::try_join4 (line 191) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/try_join.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_join.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_next (line 371) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_skip_while (line 439) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:442:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:442:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:440:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lock/mutex.rs - lock::mutex::MappedMutexGuard::map (line 327) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/lock/mutex.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::lock::{MappedMutexGuard, Mutex, MutexGuard}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/lock/mutex.rs:328:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/lock/mutex.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 7 | let data = Mutex::new(Some("value".to_string())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::lock::Mutex; [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutexGuard` [INFO] [stdout] --> src/lock/mutex.rs:333:22 [INFO] [stdout] | [INFO] [stdout] 9 | let locked_str = MutexGuard::map(data.lock().await, |opt| opt.as_mut().unwrap()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::lock::MutexGuard; [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::MutexGuard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MappedMutexGuard` [INFO] [stdout] --> src/lock/mutex.rs:334:23 [INFO] [stdout] | [INFO] [stdout] 10 | let locked_char = MappedMutexGuard::map(locked_str, |s| s.get_mut(0..1).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::lock::MappedMutexGuard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_for_each (line 403) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:404:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_for_each_concurrent (line 504) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:506:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::oneshot; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:507:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:507:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:505:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> src/stream/try_stream/mod.rs:509:18 [INFO] [stdout] | [INFO] [stdout] 8 | let (tx1, rx1) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> src/stream/try_stream/mod.rs:510:18 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx2, rx2) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> src/stream/try_stream/mod.rs:511:19 [INFO] [stdout] | [INFO] [stdout] 10 | let (_tx3, rx3) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> src/stream/try_stream/mod.rs:517:29 [INFO] [stdout] | [INFO] [stdout] 16 | let res: Result<(), oneshot::Canceled> = rx.await; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> src/stream/try_stream/mod.rs:528:16 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(Err(oneshot::Canceled), fut.await); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_select.rs - future::try_select::try_select (line 30) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_select.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::{self, Either, Future, FutureExt, TryFuture, TryFutureExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/try_select.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::{self, Either, Future, FutureExt, TryFuture, TryFutureExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Either` [INFO] [stdout] --> src/future/try_select.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(Either::Left((x, b))) => Box::new(b.map_ok(move |y| (x, y))), [INFO] [stdout] | ^^^^^^ use of undeclared type `Either` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Either` [INFO] [stdout] --> src/future/try_select.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 16 | Ok(Either::Right((y, a))) => Box::new(a.map_ok(move |x| (x, y))), [INFO] [stdout] | ^^^^^^ use of undeclared type `Either` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Either` [INFO] [stdout] --> src/future/try_select.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 17 | Err(Either::Left((e, _))) => Box::new(future::err(e)), [INFO] [stdout] | ^^^^^^ use of undeclared type `Either` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Either` [INFO] [stdout] --> src/future/try_select.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 18 | Err(Either::Right((e, _))) => Box::new(future::err(e)), [INFO] [stdout] | ^^^^^^ use of undeclared type `Either` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `TryFuture` in this scope [INFO] [stdout] --> src/future/try_select.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 9 | where A: TryFuture + Unpin + 'static, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::TryFuture; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::TryFuture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `TryFuture` in this scope [INFO] [stdout] --> src/future/try_select.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 10 | B: TryFuture + Unpin + 'static, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::TryFuture; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::TryFuture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `TryFuture` in this scope [INFO] [stdout] --> src/future/try_select.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 8 | fn try_join(a: A, b: B) -> impl TryFuture [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::TryFuture; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::TryFuture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/future/try_select.rs:40:52 [INFO] [stdout] | [INFO] [stdout] 13 | future::try_select(a, b).then(|res| -> Box> + Unpin> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::future::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::future::Future; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lock/mutex.rs - lock::mutex::MutexGuard::map (line 264) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/lock/mutex.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::lock::{Mutex, MutexGuard}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/lock/mutex.rs:265:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/lock/mutex.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 7 | let data = Mutex::new(Some("value".to_string())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::lock::Mutex; [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MutexGuard` [INFO] [stdout] --> src/lock/mutex.rs:270:22 [INFO] [stdout] | [INFO] [stdout] 9 | let locked_str = MutexGuard::map(data.lock().await, |opt| opt.as_mut().unwrap()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::lock::MutexGuard; [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::MutexGuard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_take_while (line 469) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:471:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:472:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:472:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:470:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_collect (line 561) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:563:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:564:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::TryStreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:562:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> src/stream/try_stream/mod.rs:567:16 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx, rx) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_filter_map (line 689) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:691:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:691:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:692:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `pin_mut` [INFO] [stdout] --> src/stream/try_stream/mod.rs:700:1 [INFO] [stdout] | [INFO] [stdout] 14 | pin_mut!(halves); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:690:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/iter.rs - stream::iter::iter (line 21) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/iter.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/iter.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/iter.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_ok (line 195) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_ok` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 8 | let future = future.map_ok(|x| x + 3); [INFO] [stdout] | ^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/try_future/mod.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | fn map_ok(self, f: F) -> MapOk [INFO] [stdout] | ------ the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::TryFutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_future/mod.rs - future::try_future::TryFutureExt::err_into (line 327) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `err_into` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:332:36 [INFO] [stdout] | [INFO] [stdout] 8 | let future_err_i32 = future_err_u8.err_into::(); [INFO] [stdout] | ^^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/try_future/mod.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 335 | fn err_into(self) -> ErrInto [INFO] [stdout] | -------- the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::TryFutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_filter (line 650) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:652:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:653:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:653:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:651:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::collect (line 498) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:501:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:499:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> src/stream/stream/mod.rs:504:16 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx, rx) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/try_unfold.rs - stream::try_stream::try_unfold::try_unfold (line 35) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/try_unfold.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/try_unfold.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/try_unfold.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_flatten (line 723) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:725:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:726:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:724:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> src/stream/try_stream/mod.rs:729:18 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx1, rx1) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> src/stream/try_stream/mod.rs:730:18 [INFO] [stdout] | [INFO] [stdout] 10 | let (tx2, rx2) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> src/stream/try_stream/mod.rs:731:18 [INFO] [stdout] | [INFO] [stdout] 11 | let (tx3, rx3) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_fold (line 782) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:784:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:784:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:783:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_future/mod.rs - future::try_future::TryFutureExt::inspect_ok (line 452) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:453:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `inspect_ok` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:457:25 [INFO] [stdout] | [INFO] [stdout] 8 | let new_future = future.inspect_ok(|&x| println!("about to resolve: {}", x)); [INFO] [stdout] | ^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/try_future/mod.rs:461:8 [INFO] [stdout] | [INFO] [stdout] 461 | fn inspect_ok(self, f: F) -> InspectOk [INFO] [stdout] | ---------- the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::TryFutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/task/spawn.rs - task::spawn::LocalSpawnExt::spawn_local (line 115) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/task/spawn.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::executor::LocalPool; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/task/spawn.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::task::LocalSpawnExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocalPool` [INFO] [stdout] --> src/task/spawn.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 7 | let executor = LocalPool::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `LocalPool` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/task/spawn.rs - task::spawn::SpawnExt::spawn (line 36) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/task/spawn.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::executor::ThreadPool; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/task/spawn.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::task::SpawnExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ThreadPool` [INFO] [stdout] --> src/task/spawn.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 8 | let executor = ThreadPool::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::executor::thread_pool::ThreadPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/unfold.rs - stream::unfold::unfold (line 32) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/unfold.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/unfold.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/unfold.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::all (line 719) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:721:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:721:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:720:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffer_unordered (line 888) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:890:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:891:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:889:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> src/stream/try_stream/mod.rs:893:33 [INFO] [stdout] | [INFO] [stdout] 8 | let (sink, stream_of_futures) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_concat (line 818) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:820:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:821:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::TryStreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:819:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> src/stream/try_stream/mod.rs:824:16 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx, rx) = mpsc::unbounded::, ()>>(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::err_into (line 163) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/take_until.rs - stream::stream::take_until::TakeUntil::take_result (line 75) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/take_until.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/take_until.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/take_until.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::task::Poll; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/take_until.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/take_until.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/stream/stream/take_until.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 15 | Poll::Pending [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/stream/stream/take_until.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 17 | Poll::Ready("reason") [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::task::Poll; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::fuse (line 1210) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1211:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::executor::block_on_stream; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1212:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1213:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::task::Poll; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1212:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/stream/stream/mod.rs:1219:18 [INFO] [stdout] | [INFO] [stdout] 12 | 0..=2 => Poll::Ready(Some(x)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::task::Poll; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/stream/stream/mod.rs:1220:14 [INFO] [stdout] | [INFO] [stdout] 13 | 3 => 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] 3 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::task::Poll; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on_stream` in this scope [INFO] [stdout] --> src/stream/stream/mod.rs:1225:16 [INFO] [stdout] | [INFO] [stdout] 18 | let mut iter = block_on_stream(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::any (line 697) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:699:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:699:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:698:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::catch_unwind (line 1290) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1292:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1292:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1291:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::into_stream (line 342) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::stream::{Stream, TryStream, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 9 | futures::stream::empty() [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `TryStream` in this scope [INFO] [stdout] --> src/stream/try_stream/mod.rs:347:30 [INFO] [stdout] | [INFO] [stdout] 8 | fn make_try_stream() -> impl TryStream { // ... } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::TryStream; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::TryStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Stream` in this scope [INFO] [stdout] --> src/stream/try_stream/mod.rs:350:29 [INFO] [stdout] | [INFO] [stdout] 11 | fn take_stream(stream: impl Stream>) { /* ... */ } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::Stream; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::Stream; [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::prelude::Stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::buffer_unordered (line 1380) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1382:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::oneshot; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1383:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1383:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1381:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> src/stream/stream/mod.rs:1385:28 [INFO] [stdout] | [INFO] [stdout] 8 | let (send_one, recv_one) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> src/stream/stream/mod.rs:1386:28 [INFO] [stdout] | [INFO] [stdout] 9 | let (send_two, recv_two) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lock/mutex.rs - lock::mutex::Mutex::get_mut (line 125) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/lock/mutex.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::lock::Mutex; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/lock/mutex.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/lock/mutex.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 7 | let mut mutex = Mutex::new(0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::lock::Mutex; [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::enumerate (line 370) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:371:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_join.rs - future::try_join::try_join3 (line 160) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/try_join.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_join.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::by_ref (line 1246) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1248:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1248:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1247:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::skip_while (line 950) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:952:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:953:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:953:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:951:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffered (line 964) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:966:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:967:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:965:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> src/stream/try_stream/mod.rs:969:33 [INFO] [stdout] | [INFO] [stdout] 8 | let (sink, stream_of_futures) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::select_next_some (line 1648) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1651:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{StreamExt, FuturesUnordered}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1650:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{future, select}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select` [INFO] [stdout] --> src/stream/stream/mod.rs:1657:5 [INFO] [stdout] | [INFO] [stdout] 12 | select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1649:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FuturesUnordered` [INFO] [stdout] --> src/stream/stream/mod.rs:1654:23 [INFO] [stdout] | [INFO] [stdout] 9 | let mut async_tasks = FuturesUnordered::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::FuturesUnordered; [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::prelude::stream::FuturesUnordered; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unreachable statement [INFO] [stdout] --> src/stream/stream/mod.rs:1674:1 [INFO] [stdout] | [INFO] [stdout] 11 | / loop { [INFO] [stdout] 12 | | select! { [INFO] [stdout] 13 | | num = fut => { [INFO] [stdout] 14 | | // First, the `ready` future completes. [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [INFO] [stdout] | |_- any code following this expression is unreachable [INFO] [stdout] 29 | assert_eq!(total, 6); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/stream/stream/mod.rs:1646:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings, rust_2018_idioms, single_use_lifetimes)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unreachable_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffer_unordered (line 865) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:867:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::oneshot; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:868:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:868:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:866:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> src/stream/try_stream/mod.rs:870:28 [INFO] [stdout] | [INFO] [stdout] 8 | let (send_one, recv_one) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> src/stream/try_stream/mod.rs:871:28 [INFO] [stdout] | [INFO] [stdout] 9 | let (send_two, recv_two) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::filter_map (line 439) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:440:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::for_each_concurrent (line 1111) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1113:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::oneshot; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1114:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1114:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1112:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> src/stream/stream/mod.rs:1116:18 [INFO] [stdout] | [INFO] [stdout] 8 | let (tx1, rx1) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> src/stream/stream/mod.rs:1117:18 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx2, rx2) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> src/stream/stream/mod.rs:1118:18 [INFO] [stdout] | [INFO] [stdout] 10 | let (tx3, rx3) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_ok (line 208) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_ok` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 8 | let future = future.map_ok(|x| x + 3); [INFO] [stdout] | ^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/try_future/mod.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | fn map_ok(self, f: F) -> MapOk [INFO] [stdout] | ------ the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::TryFutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::unzip (line 534) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:536:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:537:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:535:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> src/stream/stream/mod.rs:540:16 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx, rx) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::zip (line 1418) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1420:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1420:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1419:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::map (line 328) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::flat_map (line 835) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:837:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:837:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:836:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::take (line 1154) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1156:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1156:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1155:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_future/mod.rs - future::try_future::TryFutureExt::try_flatten_stream (line 519) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:522:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:522:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:520:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_flatten_stream` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:527:33 [INFO] [stdout] | [INFO] [stdout] 11 | let stream = future_of_a_stream.try_flatten_stream(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/try_future/mod.rs:532:8 [INFO] [stdout] | [INFO] [stdout] 532 | fn try_flatten_stream(self) -> TryFlattenStream [INFO] [stdout] | ------------------ the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::TryFutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/select.rs - stream::select::select (line 31) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/select.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{ repeat, select, StreamExt }; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/select.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `repeat` in this scope [INFO] [stdout] --> src/stream/select.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 7 | let left = repeat(1); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::repeat; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::repeat; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::iter::repeat; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::repeat; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `repeat` in this scope [INFO] [stdout] --> src/stream/select.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 8 | let right = repeat(2); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::repeat; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::repeat; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::iter::repeat; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::repeat; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `select` in this scope [INFO] [stdout] --> src/stream/select.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 10 | let mut out = select(left, right); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::future::select; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::select; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_join_all.rs - future::try_join_all::try_join_all (line 65) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_join_all.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::{self, try_join_all}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/try_join_all.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::{self, try_join_all}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_join_all.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_join_all` in this scope [INFO] [stdout] --> src/future/try_join_all.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(try_join_all(futures).await, Ok(vec![1, 2, 3])); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::future::try_join_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_join_all` in this scope [INFO] [stdout] --> src/future/try_join_all.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(try_join_all(futures).await, Err(2)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::future::try_join_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::map_ok (line 188) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::fold (line 675) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:677:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:677:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:676:1 [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_chunks (line 608) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:610:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryChunksError, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:610:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryChunksError, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TryChunksError` in this scope [INFO] [stdout] --> src/stream/try_stream/mod.rs:616:41 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(stream.try_next().await, Err(TryChunksError(vec![3], 4))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::TryChunksError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/select_with_strategy.rs - stream::select_with_strategy::select_with_strategy (line 93) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/select_with_strategy.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{ repeat, select_with_strategy, PollNext, StreamExt }; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/select_with_strategy.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `repeat` in this scope [INFO] [stdout] --> src/stream/select_with_strategy.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 7 | let left = repeat(1); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::repeat; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::repeat; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::iter::repeat; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::repeat; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `repeat` in this scope [INFO] [stdout] --> src/stream/select_with_strategy.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 8 | let right = repeat(2); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::repeat; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::repeat; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::iter::repeat; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::repeat; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PollNext` in this scope [INFO] [stdout] --> src/stream/select_with_strategy.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 10 | let rrobin = |last: &mut PollNext| last.toggle(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::PollNext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `select_with_strategy` in this scope [INFO] [stdout] --> src/stream/select_with_strategy.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 12 | let mut out = select_with_strategy(left, right, rrobin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::select_with_strategy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_join.rs - future::try_join::try_join (line 122) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/try_join.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_join.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lock/mutex.rs - lock::mutex::Mutex::into_inner (line 86) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/lock/mutex.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::lock::Mutex; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/lock/mutex.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mutex = Mutex::new(0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::lock::Mutex; [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::and_then (line 256) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::TryStreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> src/stream/try_stream/mod.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 8 | let (_tx, rx) = mpsc::channel::>(1); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_join.rs - future::try_join::try_join5 (line 225) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/try_join.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_join.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_future/mod.rs - future::try_future::TryFutureExt::into_future (line 592) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:593:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::{Future, TryFuture, TryFutureExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `TryFuture` in this scope [INFO] [stdout] --> src/future/try_future/mod.rs:597:30 [INFO] [stdout] | [INFO] [stdout] 8 | fn make_try_future() -> impl TryFuture { // ... } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::TryFuture; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::TryFuture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/future/try_future/mod.rs:600:29 [INFO] [stdout] | [INFO] [stdout] 11 | fn take_future(future: impl Future>) { /* ... */ } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::future::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::future::Future; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::flatten_unordered (line 781) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:783:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:784:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:782:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> src/stream/stream/mod.rs:787:18 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx1, rx1) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> src/stream/stream/mod.rs:788:18 [INFO] [stdout] | [INFO] [stdout] 10 | let (tx2, rx2) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> src/stream/stream/mod.rs:789:18 [INFO] [stdout] | [INFO] [stdout] 11 | let (tx3, rx3) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/poll_fn.rs - stream::poll_fn::poll_fn (line 29) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/poll_fn.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::stream::poll_fn; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/poll_fn.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::task::Poll; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_fn` in this scope [INFO] [stdout] --> src/stream/poll_fn.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 9 | let read_stream = poll_fn(move |_| -> Poll> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::future::poll_fn; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::future::poll_fn; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::poll_fn; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::future::poll_fn; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> src/stream/poll_fn.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 9 | let read_stream = poll_fn(move |_| -> Poll> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::task::Poll; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/stream/poll_fn.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 10 | if counter == 0 { return 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] 3 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::task::Poll; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/stream/poll_fn.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 12 | Poll::Ready(Some("Hello, World!".to_owned())) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::task::Poll; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_future/mod.rs - future::try_future::TryFutureExt::unwrap_or_else (line 555) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:556:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:558:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_or_else` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:560:21 [INFO] [stdout] | [INFO] [stdout] 8 | let future = future.unwrap_or_else(|_| ()); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/try_future/mod.rs:564:8 [INFO] [stdout] | [INFO] [stdout] 564 | fn unwrap_or_else(self, f: F) -> UnwrapOrElse [INFO] [stdout] | -------------- the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::TryFutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::for_each (line 1060) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1062:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1063:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1063:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1061:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/poll_fn.rs - future::poll_fn::poll_fn (line 23) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/poll_fn.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::poll_fn; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/poll_fn.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::task::{Context, Poll}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/poll_fn.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/future/poll_fn.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 8 | fn read_line(_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] 3 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::task::Context; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_task::Context; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::task::Context; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> src/future/poll_fn.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 8 | fn read_line(_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] 3 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::task::Poll; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/future/poll_fn.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 9 | Poll::Ready("Hello, World!".into()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::task::Poll; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_fn` in this scope [INFO] [stdout] --> src/future/poll_fn.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 12 | let read_future = poll_fn(read_line); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::future::poll_fn; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::future::poll_fn; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::poll_fn; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::future::poll_fn; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::flat_map_unordered (line 880) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:882:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:882:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:881:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/repeat_with.rs - stream::repeat_with::repeat_with (line 53) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/repeat_with.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/repeat_with.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/repeat_with.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/poll_immediate.rs - stream::poll_immediate::poll_immediate (line 59) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/poll_immediate.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/poll_immediate.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::task::Poll; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/poll_immediate.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/poll_immediate.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 14 | futures::pending!(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/poll_immediate.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/stream/poll_immediate.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(p.next().await, Some(Poll::Pending)); [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/stream/poll_immediate.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(r.next().await, Some(Poll::Ready(1))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::task::Poll; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/stream/poll_immediate.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(r.next().await, Some(Poll::Ready(2))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::task::Poll; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/stream/poll_immediate.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(p.next().await, Some(Poll::Ready(42))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::task::Poll; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::take_while (line 980) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:982:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:983:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:983:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:981:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::count (line 617) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:619:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:619:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:618:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_join.rs - future::try_join::try_join (line 137) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/try_join.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_join.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffered (line 934) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:936:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::oneshot; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:937:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::future::lazy; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:938:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::stream::{self, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:938:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::stream::{self, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:935:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> src/stream/try_stream/mod.rs:940:28 [INFO] [stdout] | [INFO] [stdout] 9 | let (send_one, recv_one) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `oneshot` [INFO] [stdout] --> src/stream/try_stream/mod.rs:941:28 [INFO] [stdout] | [INFO] [stdout] 10 | let (send_two, recv_two) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `oneshot` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> src/stream/try_stream/mod.rs:943:20 [INFO] [stdout] | [INFO] [stdout] 12 | let mut buffered = lazy(move |cx| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::future::lazy; [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::prelude::future::lazy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::then (line 472) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:474:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:474:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:473:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_ok_or_else (line 243) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_ok_or_else` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 8 | let future = future.map_ok_or_else(|x| x * 2, |x| x + 3); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/try_future/mod.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 257 | fn map_ok_or_else(self, e: E, f: F) -> MapOkOrElse [INFO] [stdout] | -------------- the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::TryFutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_ok_or_else` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 12 | let future = future.map_ok_or_else(|x| x * 2, |x| x + 3); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/try_future/mod.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 257 | fn map_ok_or_else(self, e: E, f: F) -> MapOkOrElse [INFO] [stdout] | -------------- the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::TryFutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_future/mod.rs - future::try_future::TryFutureExt::inspect_err (line 478) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:480:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:479:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `inspect_err` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:483:25 [INFO] [stdout] | [INFO] [stdout] 8 | let new_future = future.inspect_err(|&x| println!("about to error: {}", x)); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/try_future/mod.rs:487:8 [INFO] [stdout] | [INFO] [stdout] 487 | fn inspect_err(self, f: F) -> InspectErr [INFO] [stdout] | ----------- the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::TryFutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::chain (line 1445) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1447:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1447:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1446:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/repeat.rs - stream::repeat::repeat (line 19) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/repeat.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/repeat.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/repeat.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::cycle (line 642) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:644:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:644:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:643:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::concat (line 574) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:575:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> src/stream/stream/mod.rs:580:16 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx, rx) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::filter (line 406) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:407:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/peek.rs - stream::stream::peek::Peekable::next_if (line 136) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/peek.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/peek.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/peek.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `pin_mut` [INFO] [stdout] --> src/stream/stream/peek.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 9 | pin_mut!(stream); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/peek.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/peek.rs - stream::stream::peek::Peekable::next_if_eq (line 163) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/peek.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/peek.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/peek.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `pin_mut` [INFO] [stdout] --> src/stream/stream/peek.rs:169:1 [INFO] [stdout] | [INFO] [stdout] 9 | pin_mut!(stream); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/peek.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_future/mod.rs - future::try_future::TryFutureExt::or_else (line 425) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:428:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `or_else` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:430:21 [INFO] [stdout] | [INFO] [stdout] 8 | let future = future.or_else(|x| async move { Ok::(x + 3) }); [INFO] [stdout] | ^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/try_future/mod.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 434 | fn or_else(self, f: F) -> OrElse [INFO] [stdout] | ------- the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::TryFutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/peek.rs - stream::stream::peek::Peekable::next_if (line 118) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/peek.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/peek.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/peek.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `pin_mut` [INFO] [stdout] --> src/stream/stream/peek.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 9 | pin_mut!(stream); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/peek.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::into_future (line 295) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::scan (line 916) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:918:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:919:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:919:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:917:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::map_err (line 213) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/peek.rs - stream::stream::peek::Peekable::peek_mut (line 65) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/peek.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/peek.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/peek.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `pin_mut` [INFO] [stdout] --> src/stream/stream/peek.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 9 | pin_mut!(stream); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/peek.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/select_with_strategy.rs - stream::select_with_strategy::select_with_strategy (line 67) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/select_with_strategy.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{ repeat, select_with_strategy, PollNext, StreamExt }; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/select_with_strategy.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollNext` [INFO] [stdout] --> src/stream/select_with_strategy.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 14 | fn prio_left(_: &mut ()) -> PollNext { PollNext::Left } [INFO] [stdout] | ^^^^^^^^ use of undeclared type `PollNext` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `repeat` in this scope [INFO] [stdout] --> src/stream/select_with_strategy.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 7 | let left = repeat(1); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::repeat; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::repeat; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::iter::repeat; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::repeat; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `repeat` in this scope [INFO] [stdout] --> src/stream/select_with_strategy.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 8 | let right = repeat(2); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::iter::repeat; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::repeat; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::iter::repeat; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::repeat; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PollNext` in this scope [INFO] [stdout] --> src/stream/select_with_strategy.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 14 | fn prio_left(_: &mut ()) -> PollNext { PollNext::Left } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::PollNext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `select_with_strategy` in this scope [INFO] [stdout] --> src/stream/select_with_strategy.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 16 | let mut out = select_with_strategy(left, right, prio_left); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::select_with_strategy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_err (line 296) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:299:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_err` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:301:21 [INFO] [stdout] | [INFO] [stdout] 8 | let future = future.map_err(|x| x + 3); [INFO] [stdout] | ^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/try_future/mod.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | fn map_err(self, f: F) -> MapErr [INFO] [stdout] | ------- the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::TryFutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::next (line 261) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::flatten (line 741) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:743:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:744:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:742:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> src/stream/stream/mod.rs:747:18 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx1, rx1) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> src/stream/stream/mod.rs:748:18 [INFO] [stdout] | [INFO] [stdout] 10 | let (tx2, rx2) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpsc` [INFO] [stdout] --> src/stream/stream/mod.rs:749:18 [INFO] [stdout] | [INFO] [stdout] 11 | let (tx3, rx3) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `mpsc` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_err (line 283) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:286:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_err` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:288:21 [INFO] [stdout] | [INFO] [stdout] 8 | let future = future.map_err(|x| x + 3); [INFO] [stdout] | ^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/try_future/mod.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | fn map_err(self, f: F) -> MapErr [INFO] [stdout] | ------- the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::TryFutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_future/mod.rs - future::try_future::TryFutureExt::or_else (line 412) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:415:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `or_else` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:417:21 [INFO] [stdout] | [INFO] [stdout] 8 | let future = future.or_else(|x| async move { Err::(x + 3) }); [INFO] [stdout] | ^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/future/try_future/mod.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 434 | fn or_else(self, f: F) -> OrElse [INFO] [stdout] | ------- the method is available for `impl Future` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::TryFutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::skip (line 1177) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1179:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1179:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1178:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::take_until (line 1014) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1016:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1017:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1018:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::task::Poll; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1017:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1015:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/stream/stream/mod.rs:1026:9 [INFO] [stdout] | [INFO] [stdout] 15 | Poll::Pending [INFO] [stdout] | ^^^^ use of undeclared type `Poll` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/stream/stream/mod.rs:1028:9 [INFO] [stdout] | [INFO] [stdout] 17 | Poll::Ready(()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::task::Poll; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/repeat_with.rs - stream::repeat_with::repeat_with (line 73) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/repeat_with.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/repeat_with.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/repeat_with.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/abortable.rs - abortable::Abortable::new (line 34) [INFO] [stdout] src/abortable.rs - abortable::Abortable::new (line 47) [INFO] [stdout] src/async_await/join_mod.rs - async_await::join_mod::join (line 102) [INFO] [stdout] src/async_await/join_mod.rs - async_await::join_mod::try_join (line 105) [INFO] [stdout] src/async_await/join_mod.rs - async_await::join_mod::try_join (line 124) [INFO] [stdout] src/async_await/select_mod.rs - async_await::select_mod::select (line 343) [INFO] [stdout] src/async_await/select_mod.rs - async_await::select_mod::select (line 358) [INFO] [stdout] src/async_await/select_mod.rs - async_await::select_mod::select (line 376) [INFO] [stdout] src/async_await/select_mod.rs - async_await::select_mod::select (line 401) [INFO] [stdout] src/async_await/select_mod.rs - async_await::select_mod::select (line 435) [INFO] [stdout] src/async_await/select_mod.rs - async_await::select_mod::select_biased (line 343) [INFO] [stdout] src/async_await/select_mod.rs - async_await::select_mod::select_biased (line 358) [INFO] [stdout] src/async_await/select_mod.rs - async_await::select_mod::select_biased (line 376) [INFO] [stdout] src/async_await/select_mod.rs - async_await::select_mod::select_biased (line 401) [INFO] [stdout] src/async_await/select_mod.rs - async_await::select_mod::select_biased (line 435) [INFO] [stdout] src/async_await/stream_select_mod.rs - async_await::stream_select_mod::stream_select (line 17) [INFO] [stdout] src/future/either.rs - future::either::Either (line 12) [INFO] [stdout] src/future/future/fuse.rs - future::future::fuse::Fuse::terminated (line 31) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::catch_unwind (line 417) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::flatten (line 298) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::flatten_stream (line 328) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::inspect (line 382) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::into_stream (line 267) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::left_future (line 208) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::map (line 137) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::now_or_never (line 576) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::now_or_never (line 590) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::right_future (line 238) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::shared (line 452) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::shared (line 465) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::then (line 182) [INFO] [stdout] src/future/join.rs - future::join::join (line 100) [INFO] [stdout] src/future/join.rs - future::join::join3 (line 124) [INFO] [stdout] src/future/join.rs - future::join::join4 (line 154) [INFO] [stdout] src/future/join.rs - future::join::join5 (line 187) [INFO] [stdout] src/future/join_all.rs - future::join_all::join_all (line 91) [INFO] [stdout] src/future/lazy.rs - future::lazy::lazy (line 22) [INFO] [stdout] src/future/maybe_done.rs - future::maybe_done::maybe_done (line 30) [INFO] [stdout] src/future/option.rs - future::option::OptionFuture (line 14) [INFO] [stdout] src/future/poll_fn.rs - future::poll_fn::poll_fn (line 23) [INFO] [stdout] src/future/poll_immediate.rs - future::poll_immediate::PollImmediate (line 49) [INFO] [stdout] src/future/poll_immediate.rs - future::poll_immediate::poll_immediate (line 101) [INFO] [stdout] src/future/poll_immediate.rs - future::poll_immediate::poll_immediate (line 115) [INFO] [stdout] src/future/ready.rs - future::ready::err (line 72) [INFO] [stdout] src/future/ready.rs - future::ready::ok (line 56) [INFO] [stdout] src/future/ready.rs - future::ready::ready (line 40) [INFO] [stdout] src/future/select.rs - future::select::select (line 33) [INFO] [stdout] src/future/select.rs - future::select::select (line 67) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::and_then (line 367) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::and_then (line 380) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::err_into (line 327) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::inspect_err (line 478) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::inspect_ok (line 452) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::into_future (line 592) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_err (line 283) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_err (line 296) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_ok (line 195) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_ok (line 208) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_ok_or_else (line 243) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::or_else (line 412) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::or_else (line 425) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::try_flatten_stream (line 519) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::unwrap_or_else (line 555) [INFO] [stdout] src/future/try_join.rs - future::try_join::try_join (line 122) [INFO] [stdout] src/future/try_join.rs - future::try_join::try_join (line 137) [INFO] [stdout] src/future/try_join.rs - future::try_join::try_join3 (line 160) [INFO] [stdout] src/future/try_join.rs - future::try_join::try_join4 (line 191) [INFO] [stdout] src/future/try_join.rs - future::try_join::try_join5 (line 225) [INFO] [stdout] src/future/try_join_all.rs - future::try_join_all::try_join_all (line 65) [INFO] [stdout] src/future/try_select.rs - future::try_select::try_select (line 30) [INFO] [stdout] src/lock/mutex.rs - lock::mutex::MappedMutexGuard::map (line 327) [INFO] [stdout] src/lock/mutex.rs - lock::mutex::Mutex::get_mut (line 125) [INFO] [stdout] src/lock/mutex.rs - lock::mutex::Mutex::into_inner (line 86) [INFO] [stdout] src/lock/mutex.rs - lock::mutex::MutexGuard::map (line 264) [INFO] [stdout] src/stream/iter.rs - stream::iter::iter (line 21) [INFO] [stdout] src/stream/once.rs - stream::once::once (line 11) [INFO] [stdout] src/stream/poll_fn.rs - stream::poll_fn::poll_fn (line 29) [INFO] [stdout] src/stream/poll_immediate.rs - stream::poll_immediate::poll_immediate (line 59) [INFO] [stdout] src/stream/repeat.rs - stream::repeat::repeat (line 19) [INFO] [stdout] src/stream/repeat_with.rs - stream::repeat_with::repeat_with (line 53) [INFO] [stdout] src/stream/repeat_with.rs - stream::repeat_with::repeat_with (line 73) [INFO] [stdout] src/stream/select.rs - stream::select::select (line 31) [INFO] [stdout] src/stream/select_with_strategy.rs - stream::select_with_strategy::select_with_strategy (line 67) [INFO] [stdout] src/stream/select_with_strategy.rs - stream::select_with_strategy::select_with_strategy (line 93) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::all (line 719) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::any (line 697) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::buffer_unordered (line 1380) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::by_ref (line 1246) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::catch_unwind (line 1290) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::chain (line 1445) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::collect (line 498) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::concat (line 574) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::count (line 617) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::cycle (line 642) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::enumerate (line 370) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::filter (line 406) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::filter_map (line 439) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::flat_map (line 835) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::flat_map_unordered (line 880) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::flatten (line 741) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::flatten_unordered (line 781) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::fold (line 675) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::for_each (line 1060) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::for_each_concurrent (line 1111) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::fuse (line 1210) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::into_future (line 295) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::map (line 328) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::next (line 261) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::scan (line 916) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::select_next_some (line 1648) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::skip (line 1177) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::skip_while (line 950) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::take (line 1154) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::take_until (line 1014) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::take_while (line 980) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::then (line 472) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::unzip (line 534) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::zip (line 1418) [INFO] [stdout] src/stream/stream/peek.rs - stream::stream::peek::Peekable::next_if (line 118) [INFO] [stdout] src/stream/stream/peek.rs - stream::stream::peek::Peekable::next_if (line 136) [INFO] [stdout] src/stream/stream/peek.rs - stream::stream::peek::Peekable::next_if_eq (line 163) [INFO] [stdout] src/stream/stream/peek.rs - stream::stream::peek::Peekable::peek_mut (line 65) [INFO] [stdout] src/stream/stream/take_until.rs - stream::stream::take_until::TakeUntil::take_result (line 75) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::and_then (line 256) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::err_into (line 163) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::into_stream (line 342) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::map_err (line 213) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::map_ok (line 188) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffer_unordered (line 865) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffer_unordered (line 888) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffered (line 934) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffered (line 964) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_chunks (line 608) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_collect (line 561) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_concat (line 818) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_filter (line 650) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_filter_map (line 689) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_flatten (line 723) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_fold (line 782) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_for_each (line 403) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_for_each_concurrent (line 504) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_next (line 371) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_skip_while (line 439) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_take_while (line 469) [INFO] [stdout] src/stream/try_stream/try_unfold.rs - stream::try_stream::try_unfold::try_unfold (line 35) [INFO] [stdout] src/stream/unfold.rs - stream::unfold::unfold (line 32) [INFO] [stdout] src/task/spawn.rs - task::spawn::LocalSpawnExt::spawn_local (line 115) [INFO] [stdout] src/task/spawn.rs - task::spawn::SpawnExt::spawn (line 36) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 148 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.63s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e704ce0f8c573cb9cfb97ba4842dc8083d759611b24d9b3bf87f4c2afa01f4c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e704ce0f8c573cb9cfb97ba4842dc8083d759611b24d9b3bf87f4c2afa01f4c7", kill_on_drop: false }` [INFO] [stdout] e704ce0f8c573cb9cfb97ba4842dc8083d759611b24d9b3bf87f4c2afa01f4c7