[INFO] fetching crate futures-util 0.3.8... [INFO] testing futures-util-0.3.8 against beta-2021-01-01 for beta-1.50-1 [INFO] extracting crate futures-util 0.3.8 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate futures-util 0.3.8 on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate futures-util 0.3.8 [INFO] finished tweaking crates.io crate futures-util 0.3.8 [INFO] tweaked toml for crates.io crate futures-util 0.3.8 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e311c3cb478b3c7a717f552bebd438008d399464e75b7ae710ff7a7fd5e4a02 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5e311c3cb478b3c7a717f552bebd438008d399464e75b7ae710ff7a7fd5e4a02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e311c3cb478b3c7a717f552bebd438008d399464e75b7ae710ff7a7fd5e4a02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e311c3cb478b3c7a717f552bebd438008d399464e75b7ae710ff7a7fd5e4a02", kill_on_drop: false }` [INFO] [stdout] 5e311c3cb478b3c7a717f552bebd438008d399464e75b7ae710ff7a7fd5e4a02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5ac6fffcd868bf92c9f60740c7374c4b4c4a77450f4901091bf143a3a92fb37 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e5ac6fffcd868bf92c9f60740c7374c4b4c4a77450f4901091bf143a3a92fb37", kill_on_drop: false }` [INFO] [stderr] Compiling futures-util v0.3.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/future/future/shared.rs:213:36 [INFO] [stdout] | [INFO] [stdout] 213 | match inner.notifier.state.compare_and_swap(IDLE, POLLING, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/future/future/shared.rs:258:48 [INFO] [stdout] | [INFO] [stdout] 258 | match inner.notifier.state.compare_and_swap(POLLING, IDLE, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.73s [INFO] running `Command { std: "docker" "inspect" "e5ac6fffcd868bf92c9f60740c7374c4b4c4a77450f4901091bf143a3a92fb37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5ac6fffcd868bf92c9f60740c7374c4b4c4a77450f4901091bf143a3a92fb37", kill_on_drop: false }` [INFO] [stdout] e5ac6fffcd868bf92c9f60740c7374c4b4c4a77450f4901091bf143a3a92fb37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a6580533ae0bed9ae9fad9c3f7c0cf779f28738690fa90d6c90209a1a93547c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4a6580533ae0bed9ae9fad9c3f7c0cf779f28738690fa90d6c90209a1a93547c", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/future/future/shared.rs:213:36 [INFO] [stdout] | [INFO] [stdout] 213 | match inner.notifier.state.compare_and_swap(IDLE, POLLING, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/future/future/shared.rs:258:48 [INFO] [stdout] | [INFO] [stdout] 258 | match inner.notifier.state.compare_and_swap(POLLING, IDLE, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-util v0.3.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/future/future/shared.rs:213:36 [INFO] [stdout] | [INFO] [stdout] 213 | match inner.notifier.state.compare_and_swap(IDLE, POLLING, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/future/future/shared.rs:258:48 [INFO] [stdout] | [INFO] [stdout] 258 | match inner.notifier.state.compare_and_swap(POLLING, IDLE, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.61s [INFO] running `Command { std: "docker" "inspect" "4a6580533ae0bed9ae9fad9c3f7c0cf779f28738690fa90d6c90209a1a93547c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a6580533ae0bed9ae9fad9c3f7c0cf779f28738690fa90d6c90209a1a93547c", kill_on_drop: false }` [INFO] [stdout] 4a6580533ae0bed9ae9fad9c3f7c0cf779f28738690fa90d6c90209a1a93547c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6d8fdc45b08dd395ea28e501781d247483d0f67da91900be0f9e3983019e159a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6d8fdc45b08dd395ea28e501781d247483d0f67da91900be0f9e3983019e159a", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/future/future/shared.rs:213:36 [INFO] [stderr] | [INFO] [stderr] 213 | match inner.notifier.state.compare_and_swap(IDLE, POLLING, SeqCst) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/future/future/shared.rs:258:48 [INFO] [stderr] | [INFO] [stderr] 258 | match inner.notifier.state.compare_and_swap(POLLING, IDLE, SeqCst) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/future/future/shared.rs:213:36 [INFO] [stderr] | [INFO] [stderr] 213 | match inner.notifier.state.compare_and_swap(IDLE, POLLING, SeqCst) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/future/future/shared.rs:258:48 [INFO] [stderr] | [INFO] [stderr] 258 | match inner.notifier.state.compare_and_swap(POLLING, IDLE, SeqCst) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/futures_util-9ad1cd4a03a4c947 [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 127 tests [INFO] [stdout] test src/async_await/join_mod.rs - try_join (line 126) ... FAILED [INFO] [stdout] test src/async_await/join_mod.rs - join (line 104) ... FAILED [INFO] [stdout] test src/future/abortable.rs - future::abortable::AbortHandle::new_pair (line 70) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - select_biased (line 363) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - select (line 366) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - select (line 443) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - select (line 351) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - select_biased (line 440) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - select_biased (line 381) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - select_biased (line 348) ... FAILED [INFO] [stdout] test src/async_await/join_mod.rs - try_join (line 107) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - select (line 384) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - select_biased (line 406) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - select (line 409) ... FAILED [INFO] [stdout] test src/future/abortable.rs - future::abortable::Abortable::new (line 30) ... 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::flatten_stream (line 328) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::now_or_never (line 575) ... FAILED [INFO] [stdout] test src/future/future/fuse.rs - future::future::fuse::Fuse::terminated (line 26) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::now_or_never (line 589) ... 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::left_future (line 208) ... FAILED [INFO] [stdout] test src/future/join.rs - future::join::join (line 100) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::flatten (line 298) ... FAILED [INFO] [stdout] test src/future/pending.rs - future::pending::pending (line 26) ... ignored [INFO] [stdout] test src/future/join.rs - future::join::join4 (line 153) ... 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/join.rs - future::join::join3 (line 124) ... FAILED [INFO] [stdout] test src/future/maybe_done.rs - future::maybe_done::maybe_done (line 27) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::then (line 182) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::shared (line 452) ... FAILED [INFO] [stdout] test src/future/join_all.rs - future::join_all::join_all (line 71) ... FAILED [INFO] [stdout] test src/future/lazy.rs - future::lazy::lazy (line 21) ... FAILED [INFO] [stdout] test src/future/ready.rs - future::ready::ok (line 55) ... FAILED [INFO] [stdout] test src/future/ready.rs - future::ready::err (line 71) ... FAILED [INFO] [stdout] test src/future/poll_fn.rs - future::poll_fn::poll_fn (line 22) ... FAILED [INFO] [stdout] test src/future/ready.rs - future::ready::ready (line 39) ... 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::shared (line 465) ... FAILED [INFO] [stdout] test src/future/join.rs - future::join::join5 (line 185) ... FAILED [INFO] [stdout] test src/future/option.rs - future::option::OptionFuture (line 14) ... FAILED [INFO] [stdout] test src/future/select.rs - future::select::select (line 58) ... FAILED [INFO] [stdout] test src/future/select.rs - future::select::select (line 32) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::err_into (line 327) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::into_future (line 592) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::or_else (line 425) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::inspect_err (line 478) ... 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_future/mod.rs - future::try_future::TryFutureExt::map_err (line 296) ... FAILED [INFO] [stdout] test src/future/try_join.rs - future::try_join::try_join (line 121) ... 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::and_then (line 380) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::inspect_ok (line 452) ... FAILED [INFO] [stdout] test src/future/try_select.rs - future::try_select::try_select (line 30) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_ok (line 208) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::or_else (line 412) ... 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_join.rs - future::try_join::try_join (line 136) ... FAILED [INFO] [stdout] test src/future/try_join.rs - future::try_join::try_join4 (line 188) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_ok (line 195) ... FAILED [INFO] [stdout] test src/lock/mutex.rs - lock::mutex::MappedMutexGuard::map (line 337) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::try_flatten_stream (line 519) ... FAILED [INFO] [stdout] test src/future/try_join.rs - future::try_join::try_join5 (line 220) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::unwrap_or_else (line 555) ... FAILED [INFO] [stdout] test src/future/try_join.rs - future::try_join::try_join3 (line 159) ... FAILED [INFO] [stdout] test src/lock/mutex.rs - lock::mutex::Mutex::get_mut (line 129) ... FAILED [INFO] [stdout] test src/lock/mutex.rs - lock::mutex::Mutex::into_inner (line 87) ... FAILED [INFO] [stdout] test src/lock/mutex.rs - lock::mutex::MutexGuard::map (line 271) ... FAILED [INFO] [stdout] test src/stream/iter.rs - stream::iter::iter (line 20) ... FAILED [INFO] [stdout] test src/stream/poll_fn.rs - stream::poll_fn::poll_fn (line 28) ... FAILED [INFO] [stdout] test src/future/try_join_all.rs - future::try_join_all::try_join_all (line 69) ... FAILED [INFO] [stdout] test src/stream/once.rs - stream::once::once (line 9) ... FAILED [INFO] [stdout] test src/stream/repeat.rs - stream::repeat::repeat (line 18) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::concat (line 492) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::filter (line 363) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::chain (line 1190) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::by_ref (line 991) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::enumerate (line 327) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::for_each (line 805) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::collect (line 455) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::catch_unwind (line 1035) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::buffer_unordered (line 1125) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::flat_map (line 633) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::cycle (line 528) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::for_each_concurrent (line 856) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::fold (line 561) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::flatten (line 583) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::filter_map (line 396) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::take (line 899) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::map (line 285) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::next (line 218) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::fuse (line 955) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::skip (line 922) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::zip (line 1163) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::skip_while (line 695) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::take_while (line 725) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::select_next_some (line 1386) ... FAILED [INFO] [stdout] test src/stream/stream/take_until.rs - stream::stream::take_until::TakeUntil::take_result (line 81) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::into_future (line 252) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::into_stream (line 329) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::then (line 429) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::scan (line 661) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::and_then (line 243) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::map_ok (line 175) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_collect (line 548) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::take_until (line 759) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffered (line 900) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_concat (line 754) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::err_into (line 150) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_filter (line 590) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffer_unordered (line 801) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_fold (line 718) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::map_err (line 200) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_for_each_concurrent (line 491) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_next (line 358) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffer_unordered (line 824) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_filter_map (line 629) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_flatten (line 663) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_for_each (line 390) ... FAILED [INFO] [stdout] test src/stream/try_stream/try_unfold.rs - stream::try_stream::try_unfold::try_unfold (line 33) ... FAILED [INFO] [stdout] test src/task/spawn.rs - task::spawn::LocalSpawnExt::spawn_local (line 113) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_take_while (line 456) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffered (line 870) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_skip_while (line 426) ... 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 29) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/async_await/join_mod.rs - try_join (line 126) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/join_mod.rs:128: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:133: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:127: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 - join (line 104) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/join_mod.rs:106: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:110: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:116: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:105: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/abortable.rs - future::abortable::AbortHandle::new_pair (line 70) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/abortable.rs:72: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/future/abortable.rs:71: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/future/abortable.rs:74: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::future::AbortHandle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Abortable` [INFO] [stdout] --> src/future/abortable.rs:75: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::future::Abortable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Aborted` in this scope [INFO] [stdout] --> src/future/abortable.rs:77: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::future::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 - select_biased (line 363) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:365: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:366: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:366: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:367: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:371: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:364: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 - select (line 366) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:368: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:369: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:369: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:370: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:374: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:367: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 - select (line 443) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:445: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:446: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:452: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:444: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:459: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:441:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unreachable_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in a macro (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 - select (line 351) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:353: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:354: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:358: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:352: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 - select_biased (line 440) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:442: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:443: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:449: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:441: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:456: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:438:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unreachable_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in a macro (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 - select_biased (line 381) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:383: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:384: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:392: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:382: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 - select_biased (line 348) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:350: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:351: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:355: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:349: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/join_mod.rs - try_join (line 107) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/join_mod.rs:109: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:113: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:119: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:108: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 - select (line 384) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:386: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:387: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:395: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:385: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 - select_biased (line 406) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:408: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:409: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:410: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:421: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:423: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: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[E0599]: no method named `fuse` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/async_await/select_mod.rs:418:34 [INFO] [stdout] | [INFO] [stdout] 15 | let fut_1 = async_identity_fn(1).fuse(); [INFO] [stdout] | ^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] = note: the method `fuse` exists but 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]: no method named `fuse` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/async_await/select_mod.rs:419:34 [INFO] [stdout] | [INFO] [stdout] 16 | let fut_2 = async_identity_fn(2).fuse(); [INFO] [stdout] | ^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] = note: the method `fuse` exists but 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/select_mod.rs - select (line 409) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:411: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:412: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:413: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:424: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:426: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:410: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 `fuse` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/async_await/select_mod.rs:421:34 [INFO] [stdout] | [INFO] [stdout] 15 | let fut_1 = async_identity_fn(1).fuse(); [INFO] [stdout] | ^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] = note: the method `fuse` exists but 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]: no method named `fuse` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/async_await/select_mod.rs:422:34 [INFO] [stdout] | [INFO] [stdout] 16 | let fut_2 = async_identity_fn(2).fuse(); [INFO] [stdout] | ^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] = note: the method `fuse` exists but 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/abortable.rs - future::abortable::Abortable::new (line 30) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/abortable.rs:32: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/future/abortable.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[E0433]: failed to resolve: use of undeclared type `AbortHandle` [INFO] [stdout] --> src/future/abortable.rs:34: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::future::AbortHandle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Abortable` [INFO] [stdout] --> src/future/abortable.rs:35: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::future::Abortable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Aborted` in this scope [INFO] [stdout] --> src/future/abortable.rs:37: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::future::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/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 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 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::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] = 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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 8 | let stream_items = vec![17, 18, 19]; [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/future/mod.rs:337:20 [INFO] [stdout] | [INFO] [stdout] 12 | let list: Vec<_> = stream.collect().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0698. [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::now_or_never (line 575) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:576: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:577: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:577: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:578: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:579: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 26) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/fuse.rs:28: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:29: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:31: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:30: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:32: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:47: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:44: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:27: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:34: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:43: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 1 other candidate [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/future/future/mod.rs - future::future::FutureExt::now_or_never (line 589) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:590: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:590: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:591: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::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] = 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] = 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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 7 | let x = 6; [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/future/mod.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(future.await, false); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0698. [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::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] = 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] = 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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 7 | let x = 6; [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/future/mod.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(future.await, true); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0698. [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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/join.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 7 | let a = async { 1 }; [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/join.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(pair.await, (1, 2)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/join.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 8 | let b = async { 2 }; [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/join.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(pair.await, (1, 2)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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]: no method named `flatten` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:303:28 [INFO] [stdout] | [INFO] [stdout] 8 | let future = nested_future.flatten(); [INFO] [stdout] | ^^^^^^^ method not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] = note: the method `flatten` exists but 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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 7 | let nested_future = async { async { 1 } }; [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/future/mod.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(future.await, 1); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0698. [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::join4 (line 153) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/join.rs:155: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:154: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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/join.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 7 | let a = async { 1 }; [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/join.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(tuple.await, (1, 2, 3, 4)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/join.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 8 | let b = async { 2 }; [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/join.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(tuple.await, (1, 2, 3, 4)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/join.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 9 | let c = async { 3 }; [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/join.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(tuple.await, (1, 2, 3, 4)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/join.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 10 | let d = async { 4 }; [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/join.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(tuple.await, (1, 2, 3, 4)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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]: no method named `inspect` found for opaque type `impl Future` in the current scope [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 not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] = note: the method `inspect` exists but 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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 7 | let future = async { 1 }; [INFO] [stdout] | ^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/future/mod.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(new_future.await, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0698. [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]: no method named `map` found for opaque type `impl Future` in the current scope [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 not found in `impl Future` [INFO] [stdout] | [INFO] [stdout] = note: the method `map` exists but 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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 7 | let future = async { 1 }; [INFO] [stdout] | ^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/future/mod.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(new_future.await, 4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0698. [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::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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/join.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 7 | let a = async { 1 }; [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/join.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(tuple.await, (1, 2, 3)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/join.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 8 | let b = async { 2 }; [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/join.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(tuple.await, (1, 2, 3)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/join.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 9 | let c = async { 3 }; [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/join.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(tuple.await, (1, 2, 3)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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 27) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/maybe_done.rs:29: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:30: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:33: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:28: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/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] = 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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 7 | let future_of_1 = async { 1 }; [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/future/mod.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(future_of_4.await, 4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0698. [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::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] = 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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 7 | let future = async { 6 }; [INFO] [stdout] | ^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/future/mod.rs:461:15 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(6, shared2.await); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:460:12 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(6, shared1.await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/future/mod.rs:460:15 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(6, shared1.await); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:460:1 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(6, shared1.await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/future/mod.rs:460:15 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(6, shared1.await); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:461:12 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(6, shared2.await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/future/mod.rs:461:15 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(6, shared2.await); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:461:1 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(6, shared2.await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/future/mod.rs:461:15 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(6, shared2.await); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0698. [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 71) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/join_all.rs:73: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:72: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:79: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 this function [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::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/lazy.rs - future::lazy::lazy (line 21) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/lazy.rs:23: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: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 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 55) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/ready.rs:57: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:56: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::err (line 71) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/ready.rs:73: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:72: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/poll_fn.rs - future::poll_fn::poll_fn (line 22) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/poll_fn.rs:24: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:25: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: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[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/future/poll_fn.rs:27: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 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> src/future/poll_fn.rs:27: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::__private::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 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/future/poll_fn.rs:28: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::__private::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 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `poll_fn` in this scope [INFO] [stdout] --> src/future/poll_fn.rs:31: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] [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/ready.rs - future::ready::ready (line 39) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/ready.rs:41: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:40: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] = 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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 8 | let future = async { 17 }; [INFO] [stdout] | ^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/future/mod.rs:274:25 [INFO] [stdout] | [INFO] [stdout] 10 | let collected: Vec<_> = stream.collect().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0698. [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::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] = 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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 13 | let future = async { 6 }; [INFO] [stdout] | ^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/future/mod.rs:481:15 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(6, shared1.await); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:481:12 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(6, shared1.await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/future/mod.rs:481:15 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(6, shared1.await); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(6, shared1.await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/future/mod.rs:481:15 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(6, shared1.await); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599, E0698. [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 185) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/join.rs:187: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:186: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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/join.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 7 | let a = async { 1 }; [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/join.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(tuple.await, (1, 2, 3, 4, 5)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/join.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 8 | let b = async { 2 }; [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/join.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(tuple.await, (1, 2, 3, 4, 5)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/join.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 9 | let c = async { 3 }; [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/join.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(tuple.await, (1, 2, 3, 4, 5)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/join.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 10 | let d = async { 4 }; [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/join.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(tuple.await, (1, 2, 3, 4, 5)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/join.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 11 | let e = async { 5 }; [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/join.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(tuple.await, (1, 2, 3, 4, 5)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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/select.rs - future::select::select (line 58) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/select.rs:59: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:59: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:69: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:70: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:64: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::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::future::Future; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/future/select.rs:65: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::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::future::Future; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/future/select.rs:63: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::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::future::Future; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [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/select.rs - future::select::select (line 32) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/select.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::{self, Either}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/select.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::{self, Either}; [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] 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/select.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 13 | 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:43:1 [INFO] [stdout] | [INFO] [stdout] 14 | 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: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[E0433]: failed to resolve: use of undeclared type `Either` [INFO] [stdout] --> src/future/select.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 17 | 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:48:5 [INFO] [stdout] | [INFO] [stdout] 19 | Either::Right((value2, _)) => value2, // `value2` is resolved from `future2` [INFO] [stdout] | ^^^^^^ use of undeclared type `Either` [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/select.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 9 | let future1 = async { 1 }; [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/select.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 16 | let value = match future::select(future1, future2).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/select.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 10 | let future2 = async { 2 }; [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/select.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 16 | let value = match future::select(future1, future2).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/select.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 16 | let value = match future::select(future1, future2).await { [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/select.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 16 | let value = match future::select(future1, future2).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/select.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 16 | let value = match future::select(future1, future2).await { [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/select.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 16 | let value = match future::select(future1, future2).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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::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] = 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::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::future::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::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::future::Future; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [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/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] = 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::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] = 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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/try_future/mod.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 7 | let future = async { Err::<(), _>(1) }; [INFO] [stdout] | ^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/try_future/mod.rs:484:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(new_future.await, Err(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0698. [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] = 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::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] = 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_join (line 121) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/try_join.rs:123: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:122: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::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] = 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] = 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::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] = 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::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] = 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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/try_future/mod.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 7 | let future = async { Ok::<_, ()>(1) }; [INFO] [stdout] | ^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/try_future/mod.rs:458:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(new_future.await, Ok(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0698. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [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::future::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::future::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::future::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::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::core_reexport::future::Future; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [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/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] = 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] = 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::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] = 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_join (line 136) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/try_join.rs:138: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: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 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_join.rs - future::try_join::try_join4 (line 188) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/try_join.rs:190: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: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 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::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] = 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/lock/mutex.rs - lock::mutex::MappedMutexGuard::map (line 337) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/lock/mutex.rs:339: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:338: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:341: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:343: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:344: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/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] = 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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/try_future/mod.rs:524:5 [INFO] [stdout] | [INFO] [stdout] 8 | let stream_items = vec![17, 18, 19].into_iter().map(Ok); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/future/try_future/mod.rs:528:12 [INFO] [stdout] | [INFO] [stdout] 12 | let list = stream.try_collect::>().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0698. [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 220) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/try_join.rs:222: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:221: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::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] = 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_join3 (line 159) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/try_join.rs:161: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:160: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::get_mut (line 129) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/lock/mutex.rs:131: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:130: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:133: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/lock/mutex.rs - lock::mutex::Mutex::into_inner (line 87) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/lock/mutex.rs:88: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:90: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/lock/mutex.rs - lock::mutex::MutexGuard::map (line 271) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/lock/mutex.rs:273: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:272: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:275: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:277: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/iter.rs - stream::iter::iter (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/iter.rs:22: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:22: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:21: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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/iter.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![17, 19], stream.collect::>().await); [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/iter.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![17, 19], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/iter.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![17, 19], stream.collect::>().await); [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/iter.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![17, 19], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/iter.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![17, 19], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/iter.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![17, 19], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/iter.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![17, 19], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/iter.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![17, 19], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/iter.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![17, 19], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/iter.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![17, 19], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/iter.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![17, 19], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/iter.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![17, 19], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/poll_fn.rs - stream::poll_fn::poll_fn (line 28) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/poll_fn.rs:29: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:30: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:34: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] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> src/stream/poll_fn.rs:34: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::__private::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 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/stream/poll_fn.rs:35: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::__private::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 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/stream/poll_fn.rs:37: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::__private::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 2 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_join_all.rs - future::try_join_all::try_join_all (line 69) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/future/try_join_all.rs:71: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:71: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:70: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:79: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:87: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/once.rs - stream::once::once (line 9) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/once.rs:11: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:11: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:10: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 18) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/repeat.rs:20: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:20: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:19: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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/repeat.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![9, 9, 9], stream.take(3).collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/repeat.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![9, 9, 9], stream.take(3).collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/repeat.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![9, 9, 9], stream.take(3).collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/repeat.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![9, 9, 9], stream.take(3).collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/repeat.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![9, 9, 9], stream.take(3).collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/repeat.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![9, 9, 9], stream.take(3).collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/repeat.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![9, 9, 9], stream.take(3).collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/repeat.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![9, 9, 9], stream.take(3).collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/repeat.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![9, 9, 9], stream.take(3).collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/repeat.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![9, 9, 9], stream.take(3).collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/repeat.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![9, 9, 9], stream.take(3).collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/repeat.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![9, 9, 9], stream.take(3).collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/repeat.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![9, 9, 9], stream.take(3).collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/repeat.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![9, 9, 9], stream.take(3).collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/repeat.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![9, 9, 9], stream.take(3).collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/repeat.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(vec![9, 9, 9], stream.take(3).collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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 492) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:494: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:495: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:493: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:498: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 363) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:365: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:366: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:366: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:364: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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:371:17 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(vec![2, 4, 6, 8, 10], evens.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:371:34 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(vec![2, 4, 6, 8, 10], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:371:20 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(vec![2, 4, 6, 8, 10], evens.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:371:34 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(vec![2, 4, 6, 8, 10], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:371:23 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(vec![2, 4, 6, 8, 10], evens.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:371:34 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(vec![2, 4, 6, 8, 10], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:371:26 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(vec![2, 4, 6, 8, 10], evens.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:371:34 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(vec![2, 4, 6, 8, 10], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:371:29 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(vec![2, 4, 6, 8, 10], evens.collect::>().await); [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:371:34 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(vec![2, 4, 6, 8, 10], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:371:12 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(vec![2, 4, 6, 8, 10], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:371:34 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(vec![2, 4, 6, 8, 10], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:371:12 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(vec![2, 4, 6, 8, 10], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:371:34 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(vec![2, 4, 6, 8, 10], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:371:12 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(vec![2, 4, 6, 8, 10], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:371:34 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(vec![2, 4, 6, 8, 10], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:371:1 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(vec![2, 4, 6, 8, 10], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:371:34 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(vec![2, 4, 6, 8, 10], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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::chain (line 1190) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1192: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:1192: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:1191: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::by_ref (line 991) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:993: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:993: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:992: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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:998:23 [INFO] [stdout] | [INFO] [stdout] 10 | .take(2) [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:997:11 [INFO] [stdout] | [INFO] [stdout] 9 | let sum = stream.by_ref() [INFO] [stdout] | ___________^ [INFO] [stdout] 10 | | .take(2) [INFO] [stdout] 11 | | .fold(0, |a, b| async move { a + b }) [INFO] [stdout] 12 | | .await; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:999:23 [INFO] [stdout] | [INFO] [stdout] 11 | .fold(0, |a, b| async move { a + b }) [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:997:11 [INFO] [stdout] | [INFO] [stdout] 9 | let sum = stream.by_ref() [INFO] [stdout] | ___________^ [INFO] [stdout] 10 | | .take(2) [INFO] [stdout] 11 | | .fold(0, |a, b| async move { a + b }) [INFO] [stdout] 12 | | .await; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:1004:23 [INFO] [stdout] | [INFO] [stdout] 16 | let sum = stream.take(2) [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:1004:11 [INFO] [stdout] | [INFO] [stdout] 16 | let sum = stream.take(2) [INFO] [stdout] | ___________^ [INFO] [stdout] 17 | | .fold(0, |a, b| async move { a + b }) [INFO] [stdout] 18 | | .await; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:1005:23 [INFO] [stdout] | [INFO] [stdout] 17 | .fold(0, |a, b| async move { a + b }) [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:1004:11 [INFO] [stdout] | [INFO] [stdout] 16 | let sum = stream.take(2) [INFO] [stdout] | ___________^ [INFO] [stdout] 17 | | .fold(0, |a, b| async move { a + b }) [INFO] [stdout] 18 | | .await; [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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::enumerate (line 327) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:329: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:329: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: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: 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 (line 805) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:807: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:808: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:808: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:806: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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:810:5 [INFO] [stdout] | [INFO] [stdout] 8 | let mut x = 0; [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:817:5 [INFO] [stdout] | [INFO] [stdout] 15 | fut.await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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 455) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:457: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:458: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:456: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:461: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::catch_unwind (line 1035) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1037: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:1037: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:1036: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::buffer_unordered (line 1125) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1127: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:1128: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:1128: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:1126: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:1130: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:1131: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::flat_map (line 633) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:635: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:635: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:634: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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:640:17 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 5, 6, 6, 6], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:640:36 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 5, 6, 6, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:640:20 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 5, 6, 6, 6], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:640:36 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 5, 6, 6, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:640:23 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 5, 6, 6, 6], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:640:36 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 5, 6, 6, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:640:26 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 5, 6, 6, 6], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:640:36 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 5, 6, 6, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:640:29 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 5, 6, 6, 6], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:640:36 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 5, 6, 6, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:640:32 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 5, 6, 6, 6], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:640:36 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 5, 6, 6, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:640:12 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 5, 6, 6, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:640:36 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 5, 6, 6, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:640:12 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 5, 6, 6, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:640:36 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 5, 6, 6, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:640:12 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 5, 6, 6, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:640:36 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 5, 6, 6, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:640:1 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 5, 6, 6, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:640:36 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 5, 6, 6, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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 528) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:530: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:530: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:529: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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:531:5 [INFO] [stdout] | [INFO] [stdout] 6 | let a = [1, 2, 3]; [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:540:12 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(s.next().await, Some(&1)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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 856) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:858: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:859: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:859: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:857: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:861: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:862: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:863: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/stream/stream/mod.rs - stream::stream::StreamExt::fold (line 561) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:563: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:563: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: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: 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 583) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:585: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:586: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:584: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:589: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:590: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:591: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/stream/mod.rs - stream::stream::StreamExt::filter_map (line 396) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:398: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:398: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:397: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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:405:17 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![3, 5, 7, 9, 11], evens.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:405:34 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![3, 5, 7, 9, 11], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:405:20 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![3, 5, 7, 9, 11], evens.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:405:34 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![3, 5, 7, 9, 11], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:405:23 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![3, 5, 7, 9, 11], evens.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:405:34 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![3, 5, 7, 9, 11], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:405:26 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![3, 5, 7, 9, 11], evens.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:405:34 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![3, 5, 7, 9, 11], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:405:29 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![3, 5, 7, 9, 11], evens.collect::>().await); [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:405:34 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![3, 5, 7, 9, 11], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:405:12 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![3, 5, 7, 9, 11], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:405:34 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![3, 5, 7, 9, 11], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:405:12 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![3, 5, 7, 9, 11], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:405:34 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![3, 5, 7, 9, 11], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:405:12 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![3, 5, 7, 9, 11], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:405:34 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![3, 5, 7, 9, 11], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:405:1 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![3, 5, 7, 9, 11], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:405:34 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![3, 5, 7, 9, 11], evens.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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 899) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:901: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:901: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:900: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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:905:17 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:905:27 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:905:20 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:905:27 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:905:23 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:905:27 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:905:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:905:27 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:905:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:905:27 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:905:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:905:27 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:905:1 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:905:27 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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 285) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:287: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:287: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:286: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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:292:20 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:292:23 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:292:1 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:292:27 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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::next (line 218) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:220: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:220: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:219: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::fuse (line 955) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:956: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:957: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:958: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:957: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:964: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::__private::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 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Poll` [INFO] [stdout] --> src/stream/stream/mod.rs:965: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::__private::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 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on_stream` in this scope [INFO] [stdout] --> src/stream/stream/mod.rs:970: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::skip (line 922) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:924: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:924: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:923: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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:928:17 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:928:34 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:928:20 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:928:34 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:928:23 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:928:34 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:928:26 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:928:34 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:928:29 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:928:34 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:928:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:928:34 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:928:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:928:34 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:928:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:928:34 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:928:1 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:928:34 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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::zip (line 1163) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1165: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:1165: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:1164: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 695) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:697: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:698: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:698: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:696: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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:704:17 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:704:34 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:704:20 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:704:34 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:704:23 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:704:34 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:704:26 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:704:34 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:704:29 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:704:34 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:704:12 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:704:34 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:704:12 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:704:34 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:704:12 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:704:34 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:704:1 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:704:34 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![6, 7, 8, 9, 10], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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 725) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:727: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:728: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:728:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:726: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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:734:17 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:734:33 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:734:20 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:734:33 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:734:23 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:734:33 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:734:26 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:734:33 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:734:29 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:734:33 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:734:12 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:734:33 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:734:12 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:734:33 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:734:12 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:734:33 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:734:1 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:734:33 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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::select_next_some (line 1386) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1389: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:1388: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:1395: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:1387: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:1392: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 this struct [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::FuturesUnordered; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unreachable statement [INFO] [stdout] --> src/stream/stream/mod.rs:1412: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:1384:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unreachable_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in a macro (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/stream/take_until.rs - stream::stream::take_until::TakeUntil::take_result (line 81) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/take_until.rs:83: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:84: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:85: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:84: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:82: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:93: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:95: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::__private::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 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/take_until.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 11 | let mut i = 0; [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/take_until.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 22 | let _ = stream.by_ref().collect::>().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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 252) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:254: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:254: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:253: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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:258:6 [INFO] [stdout] | [INFO] [stdout] 9 | let (item, stream) = stream.into_future().await; [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:261:22 [INFO] [stdout] | [INFO] [stdout] 12 | let (item, stream) = stream.into_future().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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 329) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:330: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:335: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:334: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::stream::TryStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Stream` in this scope [INFO] [stdout] --> src/stream/try_stream/mod.rs:337: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::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::then (line 429) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:431: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:431: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:430: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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:436:17 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:436:27 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:436:20 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:436:27 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:436:23 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:436:27 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:436:12 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:436:27 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:436:12 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:436:27 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:436:12 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:436:27 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:436:1 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:436:27 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec![4, 5, 6], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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 661) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:663: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:664: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:664: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:662: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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:673:17 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:673:27 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:673:20 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:673:27 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:673:23 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:673:27 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:673:12 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:673:27 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:673:12 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:673:27 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:673:12 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:673:27 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:673:1 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:673:27 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(vec![1, 2, 3], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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::and_then (line 243) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:244: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:246: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:245: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:248: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/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::map_ok (line 175) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:177: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:177: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:176: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_collect (line 548) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:550: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:551: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:549: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:554: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::take_until (line 759) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:761: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:762: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:763: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:762: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:760: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:771: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:773: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::__private::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 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:767:5 [INFO] [stdout] | [INFO] [stdout] 11 | let mut i = 0; [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:779:33 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:779:17 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:779:33 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:779:20 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:779:33 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:779:23 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:779:33 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:779:26 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:779:33 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:779:29 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:779:33 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:779:12 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:779:33 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:779:12 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:779:33 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:779:12 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:779:33 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:779:1 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/stream/stream/mod.rs:779:33 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(vec![1, 2, 3, 4, 5], stream.collect::>().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [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 900) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:902: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:903: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:901: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:905: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 754) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:756: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:757: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:755: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:760: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 150) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:152: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:152: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:151: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_filter (line 590) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:592: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:593: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:593: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:591: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_buffer_unordered (line 801) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:803: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:804: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:804: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:802: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:806: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:807: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/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_fold (line 718) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:720: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:720: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:719: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::map_err (line 200) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:202: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:202: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:201: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_for_each_concurrent (line 491) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:493: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:494: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:494: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:492: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:496: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:497: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:498: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:504: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:515: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/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_next (line 358) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:360: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:360: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: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 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 824) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:826: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:827: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:825: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:829: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_filter_map (line 629) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:631: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:631: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:632: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:640: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:630: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/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_flatten (line 663) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:665: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:666: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:664: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:669: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:670: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:671: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_for_each (line 390) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:392: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:393: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:393: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:391: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/try_unfold.rs - stream::try_stream::try_unfold::try_unfold (line 33) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/try_unfold.rs:37: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:37: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:36: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/task/spawn.rs - task::spawn::LocalSpawnExt::spawn_local (line 113) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/task/spawn.rs:114: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:115: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:117: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/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_take_while (line 456) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:458: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:459: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:459: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:457: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 870) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:872: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:873: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:874: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:874: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:871: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:876: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:877: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:879: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 this function [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::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/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_skip_while (line 426) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:428: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:429: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:429: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:427: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/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:37:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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:38:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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:40:16 [INFO] [stdout] | [INFO] [stdout] 7 | let executor = ThreadPool::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ThreadPool` [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 29) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/stream/unfold.rs:31: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:31: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:30: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/async_await/join_mod.rs - join (line 104) [INFO] [stdout] src/async_await/join_mod.rs - try_join (line 107) [INFO] [stdout] src/async_await/join_mod.rs - try_join (line 126) [INFO] [stdout] src/async_await/select_mod.rs - select (line 351) [INFO] [stdout] src/async_await/select_mod.rs - select (line 366) [INFO] [stdout] src/async_await/select_mod.rs - select (line 384) [INFO] [stdout] src/async_await/select_mod.rs - select (line 409) [INFO] [stdout] src/async_await/select_mod.rs - select (line 443) [INFO] [stdout] src/async_await/select_mod.rs - select_biased (line 348) [INFO] [stdout] src/async_await/select_mod.rs - select_biased (line 363) [INFO] [stdout] src/async_await/select_mod.rs - select_biased (line 381) [INFO] [stdout] src/async_await/select_mod.rs - select_biased (line 406) [INFO] [stdout] src/async_await/select_mod.rs - select_biased (line 440) [INFO] [stdout] src/future/abortable.rs - future::abortable::AbortHandle::new_pair (line 70) [INFO] [stdout] src/future/abortable.rs - future::abortable::Abortable::new (line 30) [INFO] [stdout] src/future/future/fuse.rs - future::future::fuse::Fuse::terminated (line 26) [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 575) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::now_or_never (line 589) [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 153) [INFO] [stdout] src/future/join.rs - future::join::join5 (line 185) [INFO] [stdout] src/future/join_all.rs - future::join_all::join_all (line 71) [INFO] [stdout] src/future/lazy.rs - future::lazy::lazy (line 21) [INFO] [stdout] src/future/maybe_done.rs - future::maybe_done::maybe_done (line 27) [INFO] [stdout] src/future/option.rs - future::option::OptionFuture (line 14) [INFO] [stdout] src/future/poll_fn.rs - future::poll_fn::poll_fn (line 22) [INFO] [stdout] src/future/ready.rs - future::ready::err (line 71) [INFO] [stdout] src/future/ready.rs - future::ready::ok (line 55) [INFO] [stdout] src/future/ready.rs - future::ready::ready (line 39) [INFO] [stdout] src/future/select.rs - future::select::select (line 32) [INFO] [stdout] src/future/select.rs - future::select::select (line 58) [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 121) [INFO] [stdout] src/future/try_join.rs - future::try_join::try_join (line 136) [INFO] [stdout] src/future/try_join.rs - future::try_join::try_join3 (line 159) [INFO] [stdout] src/future/try_join.rs - future::try_join::try_join4 (line 188) [INFO] [stdout] src/future/try_join.rs - future::try_join::try_join5 (line 220) [INFO] [stdout] src/future/try_join_all.rs - future::try_join_all::try_join_all (line 69) [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 337) [INFO] [stdout] src/lock/mutex.rs - lock::mutex::Mutex::get_mut (line 129) [INFO] [stdout] src/lock/mutex.rs - lock::mutex::Mutex::into_inner (line 87) [INFO] [stdout] src/lock/mutex.rs - lock::mutex::MutexGuard::map (line 271) [INFO] [stdout] src/stream/iter.rs - stream::iter::iter (line 20) [INFO] [stdout] src/stream/once.rs - stream::once::once (line 9) [INFO] [stdout] src/stream/poll_fn.rs - stream::poll_fn::poll_fn (line 28) [INFO] [stdout] src/stream/repeat.rs - stream::repeat::repeat (line 18) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::buffer_unordered (line 1125) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::by_ref (line 991) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::catch_unwind (line 1035) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::chain (line 1190) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::collect (line 455) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::concat (line 492) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::cycle (line 528) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::enumerate (line 327) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::filter (line 363) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::filter_map (line 396) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::flat_map (line 633) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::flatten (line 583) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::fold (line 561) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::for_each (line 805) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::for_each_concurrent (line 856) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::fuse (line 955) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::into_future (line 252) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::map (line 285) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::next (line 218) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::scan (line 661) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::select_next_some (line 1386) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::skip (line 922) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::skip_while (line 695) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::take (line 899) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::take_until (line 759) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::take_while (line 725) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::then (line 429) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::zip (line 1163) [INFO] [stdout] src/stream/stream/take_until.rs - stream::stream::take_until::TakeUntil::take_result (line 81) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::and_then (line 243) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::err_into (line 150) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::into_stream (line 329) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::map_err (line 200) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::map_ok (line 175) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffer_unordered (line 801) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffer_unordered (line 824) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffered (line 870) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffered (line 900) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_collect (line 548) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_concat (line 754) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_filter (line 590) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_filter_map (line 629) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_flatten (line 663) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_fold (line 718) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_for_each (line 390) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_for_each_concurrent (line 491) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_next (line 358) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_skip_while (line 426) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_take_while (line 456) [INFO] [stdout] src/stream/try_stream/try_unfold.rs - stream::try_stream::try_unfold::try_unfold (line 33) [INFO] [stdout] src/stream/unfold.rs - stream::unfold::unfold (line 29) [INFO] [stdout] src/task/spawn.rs - task::spawn::LocalSpawnExt::spawn_local (line 113) [INFO] [stdout] src/task/spawn.rs - task::spawn::SpawnExt::spawn (line 36) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 126 failed; 1 ignored; 0 measured; 0 filtered out; finished in 5.55s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6d8fdc45b08dd395ea28e501781d247483d0f67da91900be0f9e3983019e159a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d8fdc45b08dd395ea28e501781d247483d0f67da91900be0f9e3983019e159a", kill_on_drop: false }` [INFO] [stdout] 6d8fdc45b08dd395ea28e501781d247483d0f67da91900be0f9e3983019e159a