[INFO] crate futures-util 0.3.5 is already in cache [INFO] testing futures-util-0.3.5 against 1.44.0 for beta-1.45-1 [INFO] extracting crate futures-util 0.3.5 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate futures-util 0.3.5 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate futures-util 0.3.5 [INFO] finished tweaking crates.io crate futures-util 0.3.5 [INFO] tweaked toml for crates.io crate futures-util 0.3.5 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ec00f4fc4ca678b72a3917c14df1fbca3ed2b9dc8edadbd4a7b01006de54aec5 [INFO] running `"docker" "start" "-a" "ec00f4fc4ca678b72a3917c14df1fbca3ed2b9dc8edadbd4a7b01006de54aec5"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling pin-project v0.4.17 [INFO] [stderr] Compiling futures-util v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.09s [INFO] running `"docker" "inspect" "ec00f4fc4ca678b72a3917c14df1fbca3ed2b9dc8edadbd4a7b01006de54aec5"` [INFO] running `"docker" "rm" "-f" "ec00f4fc4ca678b72a3917c14df1fbca3ed2b9dc8edadbd4a7b01006de54aec5"` [INFO] [stdout] ec00f4fc4ca678b72a3917c14df1fbca3ed2b9dc8edadbd4a7b01006de54aec5 [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9477784bfe637e8d6feed0c86e893d1b8dc523297f7b9dd38ec0a9b1df58c187 [INFO] running `"docker" "start" "-a" "9477784bfe637e8d6feed0c86e893d1b8dc523297f7b9dd38ec0a9b1df58c187"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling futures-util v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.21s [INFO] running `"docker" "inspect" "9477784bfe637e8d6feed0c86e893d1b8dc523297f7b9dd38ec0a9b1df58c187"` [INFO] running `"docker" "rm" "-f" "9477784bfe637e8d6feed0c86e893d1b8dc523297f7b9dd38ec0a9b1df58c187"` [INFO] [stdout] 9477784bfe637e8d6feed0c86e893d1b8dc523297f7b9dd38ec0a9b1df58c187 [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 64e188f11b54cc6327568e4e26a5173cd71908b10bab0e723873536e552a70d6 [INFO] running `"docker" "start" "-a" "64e188f11b54cc6327568e4e26a5173cd71908b10bab0e723873536e552a70d6"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/futures_util-cd49ac5bec783267 [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 [INFO] [stdout] [INFO] [stderr] Doc-tests futures-util [INFO] [stdout] [INFO] [stdout] running 122 tests [INFO] [stdout] test src/async_await/select_mod.rs - select (line 72) ... FAILED [INFO] [stdout] test src/async_await/join_mod.rs - try_join (line 46) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - select_biased (line 222) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - select (line 131) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - select_biased (line 247) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - select (line 39) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - select_biased (line 281) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - select_biased (line 189) ... 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 (line 54) ... FAILED [INFO] [stdout] test src/async_await/join_mod.rs - join (line 19) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::inspect (line 378) ... FAILED [INFO] [stdout] test src/async_await/join_mod.rs - try_join (line 60) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::flatten (line 294) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - select (line 97) ... FAILED [INFO] [stdout] test src/async_await/select_mod.rs - select_biased (line 204) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::right_future (line 234) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::flatten_stream (line 324) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::catch_unwind (line 413) ... FAILED [INFO] [stdout] test src/future/join.rs - future::join::join (line 100) ... 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::into_stream (line 263) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::map (line 133) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::shared (line 446) ... FAILED [INFO] [stdout] test src/future/pending.rs - future::pending::pending (line 26) ... ignored [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::left_future (line 204) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::shared (line 459) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::now_or_never (line 568) ... FAILED [INFO] [stdout] test src/future/join.rs - future::join::join4 (line 153) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::then (line 178) ... FAILED [INFO] [stdout] test src/future/future/mod.rs - future::future::FutureExt::now_or_never (line 582) ... FAILED [INFO] [stdout] test src/future/join.rs - future::join::join3 (line 124) ... 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::ok (line 55) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::and_then (line 365) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::err_into (line 325) ... FAILED [INFO] [stdout] test src/future/select.rs - future::select::select (line 30) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::into_future (line 587) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::inspect_err (line 476) ... FAILED [INFO] [stdout] test src/future/lazy.rs - future::lazy::lazy (line 21) ... FAILED [INFO] [stdout] test src/future/join_all.rs - future::join_all::join_all (line 69) ... FAILED [INFO] [stdout] test src/future/maybe_done.rs - future::maybe_done::maybe_done (line 28) ... FAILED [INFO] [stdout] test src/future/ready.rs - future::ready::ready (line 39) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::inspect_ok (line 450) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::and_then (line 378) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_err (line 281) ... FAILED [INFO] [stdout] test src/future/ready.rs - future::ready::err (line 71) ... FAILED [INFO] [stdout] test src/future/join.rs - future::join::join5 (line 185) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_ok_or_else (line 241) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_err (line 294) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::or_else (line 410) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_ok (line 206) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::or_else (line 423) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_ok (line 193) ... FAILED [INFO] [stdout] test src/future/try_join.rs - future::try_join::try_join4 (line 188) ... FAILED [INFO] [stdout] test src/future/try_join.rs - future::try_join::try_join5 (line 220) ... FAILED [INFO] [stdout] test src/future/try_join.rs - future::try_join::try_join3 (line 159) ... FAILED [INFO] [stdout] test src/future/try_future/mod.rs - future::try_future::TryFutureExt::unwrap_or_else (line 551) ... FAILED [INFO] [stdout] test src/lib.rs - future::option::OptionFuture (line 7) ... FAILED [INFO] [stdout] test src/stream/repeat.rs - stream::repeat::repeat (line 18) ... FAILED [INFO] [stdout] test src/stream/iter.rs - stream::iter::iter (line 20) ... FAILED [INFO] [stdout] test src/lock/mutex.rs - lock::mutex::Mutex::into_inner (line 86) ... 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::try_flatten_stream (line 517) ... FAILED [INFO] [stdout] test src/lock/mutex.rs - lock::mutex::MutexGuard::map (line 270) ... FAILED [INFO] [stdout] test src/future/try_join_all.rs - future::try_join_all::try_join_all (line 69) ... FAILED [INFO] [stdout] test src/future/try_join.rs - future::try_join::try_join (line 136) ... FAILED [INFO] [stdout] test src/lock/mutex.rs - lock::mutex::MappedMutexGuard::map (line 335) ... FAILED [INFO] [stdout] test src/lock/mutex.rs - lock::mutex::Mutex::get_mut (line 128) ... FAILED [INFO] [stdout] test src/future/try_select.rs - future::try_select::try_select (line 30) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::catch_unwind (line 997) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::buffer_unordered (line 1087) ... FAILED [INFO] [stdout] test src/stream/poll_fn.rs - stream::poll_fn::poll_fn (line 28) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::by_ref (line 953) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::concat (line 484) ... FAILED [INFO] [stdout] test src/stream/once.rs - stream::once::once (line 9) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::flat_map (line 595) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::collect (line 447) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::flatten (line 545) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::enumerate (line 319) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::filter (line 355) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::filter_map (line 388) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::chain (line 1152) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::for_each (line 767) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::fold (line 523) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::map (line 277) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::for_each_concurrent (line 818) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::fuse (line 917) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::take_until (line 721) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::into_future (line 244) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::take (line 861) ... 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::next (line 210) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::and_then (line 230) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::scan (line 623) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::skip (line 884) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::select_next_some (line 1345) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::zip (line 1125) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::skip_while (line 657) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_concat (line 705) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::then (line 421) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::into_stream (line 316) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_collect (line 501) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::map_err (line 187) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::map_ok (line 162) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffer_unordered (line 775) ... FAILED [INFO] [stdout] test src/stream/stream/mod.rs - stream::stream::StreamExt::take_while (line 687) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_for_each (line 377) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_flatten (line 616) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::err_into (line 137) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffer_unordered (line 752) ... FAILED [INFO] [stdout] test src/task/spawn.rs - task::spawn::SpawnExt::spawn (line 36) ... FAILED [INFO] [stdout] test src/task/spawn.rs - task::spawn::LocalSpawnExt::spawn_local (line 111) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_filter (line 543) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_filter_map (line 582) ... 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/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_skip_while (line 413) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_next (line 345) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_for_each_concurrent (line 448) ... FAILED [INFO] [stdout] test src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_fold (line 669) ... 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/select_mod.rs - select (line 72) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::select; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select` [INFO] [stdout] --> src/async_await/select_mod.rs:83: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 type or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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 46) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/join_mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::try_join; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `try_join` [INFO] [stdout] --> src/async_await/join_mod.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 10 | 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[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/async_await/join_mod.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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/select_mod.rs - select_biased (line 222) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::select_biased; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select_biased` [INFO] [stdout] --> src/async_await/select_mod.rs:233: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 type or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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 131) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::select; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select` [INFO] [stdout] --> src/async_await/select_mod.rs:140: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 type or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error: unreachable statement [INFO] [stdout] --> src/async_await/select_mod.rs:147: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:129: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 247) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::select_biased; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `pin_mut` [INFO] [stdout] --> src/async_await/select_mod.rs:262: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:264: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 type or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:248:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fuse` found for opaque type `impl futures_core::Future` in the current scope [INFO] [stdout] --> src/async_await/select_mod.rs:259:34 [INFO] [stdout] | [INFO] [stdout] 15 | let fut_1 = async_identity_fn(1).fuse(); [INFO] [stdout] | ^^^^ method not found in `impl futures_core::Future` [INFO] [stdout] | [INFO] [stdout] = note: the method `fuse` exists but the following trait bounds were not satisfied: [INFO] [stdout] `impl futures_core::Future: std::iter::Iterator` [INFO] [stdout] which is required by `&mut impl futures_core::Future: std::iter::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 futures_core::Future` in the current scope [INFO] [stdout] --> src/async_await/select_mod.rs:260:34 [INFO] [stdout] | [INFO] [stdout] 16 | let fut_2 = async_identity_fn(2).fuse(); [INFO] [stdout] | ^^^^ method not found in `impl futures_core::Future` [INFO] [stdout] | [INFO] [stdout] = note: the method `fuse` exists but the following trait bounds were not satisfied: [INFO] [stdout] `impl futures_core::Future: std::iter::Iterator` [INFO] [stdout] which is required by `&mut impl futures_core::Future: std::iter::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 39) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::select; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select` [INFO] [stdout] --> src/async_await/select_mod.rs:46: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 type or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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 281) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::select_biased; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select_biased` [INFO] [stdout] --> src/async_await/select_mod.rs:290: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 type or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:282:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error: unreachable statement [INFO] [stdout] --> src/async_await/select_mod.rs:297: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:279: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 189) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::select_biased; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select_biased` [INFO] [stdout] --> src/async_await/select_mod.rs:196: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 type or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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 type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AbortHandle` [INFO] [stdout] --> src/future/abortable.rs:74:42 [INFO] [stdout] | [INFO] [stdout] 7 | let (abort_handle, abort_registration) = AbortHandle::new_pair(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `AbortHandle` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Abortable` [INFO] [stdout] --> src/future/abortable.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 8 | let future = Abortable::new(async { 2 }, abort_registration); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `Abortable` [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: possible candidate is found in another module, you can import it into scope [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 (line 54) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::select; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select` [INFO] [stdout] --> src/async_await/select_mod.rs:62: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 type or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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/join_mod.rs - join (line 19) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/join_mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::join; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `join` [INFO] [stdout] --> src/async_await/join_mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 10 | 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[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/async_await/join_mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/future/mod.rs - future::future::FutureExt::inspect (line 378) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:379:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `inspect` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:383:25 [INFO] [stdout] | [INFO] [stdout] 8 | let new_future = future.inspect(|&x| println!("about to resolve: {}", x)); [INFO] [stdout] | ^^^^^^^ method not found in `impl std::future::Future` [INFO] [stdout] | [INFO] [stdout] = note: the method `inspect` exists but the following trait bounds were not satisfied: [INFO] [stdout] `impl std::future::Future: std::iter::Iterator` [INFO] [stdout] which is required by `&mut impl std::future::Future: std::iter::Iterator` [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:382: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:384: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/async_await/join_mod.rs - try_join (line 60) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/join_mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::try_join; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `try_join` [INFO] [stdout] --> src/async_await/join_mod.rs:67: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 type or module `futures` [INFO] [stdout] --> src/async_await/join_mod.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/future/mod.rs - future::future::FutureExt::flatten (line 294) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:295:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `flatten` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:299:28 [INFO] [stdout] | [INFO] [stdout] 8 | let future = nested_future.flatten(); [INFO] [stdout] | ^^^^^^^ method not found in `impl std::future::Future` [INFO] [stdout] | [INFO] [stdout] = note: the method `flatten` exists but the following trait bounds were not satisfied: [INFO] [stdout] `impl std::future::Future: std::iter::Iterator` [INFO] [stdout] which is required by `&mut impl std::future::Future: std::iter::Iterator` [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:298: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:300: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/async_await/select_mod.rs - select (line 97) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::select; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `pin_mut` [INFO] [stdout] --> src/async_await/select_mod.rs:112: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:114: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 type or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fuse` found for opaque type `impl futures_core::Future` in the current scope [INFO] [stdout] --> src/async_await/select_mod.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 15 | let fut_1 = async_identity_fn(1).fuse(); [INFO] [stdout] | ^^^^ method not found in `impl futures_core::Future` [INFO] [stdout] | [INFO] [stdout] = note: the method `fuse` exists but the following trait bounds were not satisfied: [INFO] [stdout] `impl futures_core::Future: std::iter::Iterator` [INFO] [stdout] which is required by `&mut impl futures_core::Future: std::iter::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 futures_core::Future` in the current scope [INFO] [stdout] --> src/async_await/select_mod.rs:110:34 [INFO] [stdout] | [INFO] [stdout] 16 | let fut_2 = async_identity_fn(2).fuse(); [INFO] [stdout] | ^^^^ method not found in `impl futures_core::Future` [INFO] [stdout] | [INFO] [stdout] = note: the method `fuse` exists but the following trait bounds were not satisfied: [INFO] [stdout] `impl futures_core::Future: std::iter::Iterator` [INFO] [stdout] which is required by `&mut impl futures_core::Future: std::iter::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_biased (line 204) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::select_biased; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select_biased` [INFO] [stdout] --> src/async_await/select_mod.rs:212: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 type or module `futures` [INFO] [stdout] --> src/async_await/select_mod.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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/future/future/mod.rs - future::future::FutureExt::right_future (line 234) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `left_future` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:240:20 [INFO] [stdout] | [INFO] [stdout] 9 | async { true }.left_future() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `impl std::future::Future` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `right_future` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:242:21 [INFO] [stdout] | [INFO] [stdout] 11 | async { false }.right_future() [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `impl std::future::Future` [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:238: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:245: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::flatten_stream (line 324) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/future/mod.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:325:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `flatten_stream` found for opaque type `impl futures_core::Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:332:33 [INFO] [stdout] | [INFO] [stdout] 11 | let stream = future_of_a_stream.flatten_stream(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `impl futures_core::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:329: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:333: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::catch_unwind (line 413) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:415:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::{self, FutureExt, Ready}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/future/mod.rs:415:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::{self, FutureExt, Ready}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:414:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ready` in this scope [INFO] [stdout] --> src/future/future/mod.rs:420:34 [INFO] [stdout] | [INFO] [stdout] 10 | let future = future::lazy(|_| -> Ready { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::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/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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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/fuse.rs - future::future::fuse::Fuse::terminated (line 26) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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 type 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 type 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 type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `mpsc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Fuse` [INFO] [stdout] --> src/future/future/fuse.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 20 | let foo_printer = Fuse::terminated(); [INFO] [stdout] | ^^^^ use of undeclared type or module `Fuse` [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::into_stream (line 263) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_stream` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:269:21 [INFO] [stdout] | [INFO] [stdout] 9 | let stream = future.into_stream(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `impl std::future::Future` [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:268: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:270: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::map (line 133) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 8 | let new_future = future.map(|x| x + 3); [INFO] [stdout] | ^^^ method not found in `impl std::future::Future` [INFO] [stdout] | [INFO] [stdout] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stdout] `impl std::future::Future: std::iter::Iterator` [INFO] [stdout] which is required by `&mut impl std::future::Future: std::iter::Iterator` [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:137: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:139: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/future/mod.rs - future::future::FutureExt::shared (line 446) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:447:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `shared` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:451:22 [INFO] [stdout] | [INFO] [stdout] 8 | let shared1 = future.shared(); [INFO] [stdout] | ^^^^^^ method not found in `impl std::future::Future` [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:450: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:455: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:454: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:454: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:454: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:454: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:455: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:455: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:455: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:455: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/abortable.rs - future::abortable::Abortable::new (line 30) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AbortHandle` [INFO] [stdout] --> src/future/abortable.rs:34:42 [INFO] [stdout] | [INFO] [stdout] 7 | let (abort_handle, abort_registration) = AbortHandle::new_pair(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `AbortHandle` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Abortable` [INFO] [stdout] --> src/future/abortable.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 8 | let future = Abortable::new(async { 2 }, abort_registration); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `Abortable` [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: possible candidate is found in another module, you can import it into scope [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::left_future (line 204) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `left_future` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:210:20 [INFO] [stdout] | [INFO] [stdout] 9 | async { true }.left_future() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `impl std::future::Future` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `right_future` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 11 | async { false }.right_future() [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `impl std::future::Future` [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:208: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:215: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/future/mod.rs - future::future::FutureExt::shared (line 459) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:466:5 [INFO] [stdout] | [INFO] [stdout] 10 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:464:1 [INFO] [stdout] | [INFO] [stdout] 8 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> src/future/future/mod.rs:473: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 futures_core::Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:470:22 [INFO] [stdout] | [INFO] [stdout] 14 | let shared1 = future.shared(); [INFO] [stdout] | ^^^^^^ method not found in `impl futures_core::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:469: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:475: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:475: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:475: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:475: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:475: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/future/mod.rs - future::future::FutureExt::now_or_never (line 568) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:569:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:570:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{future::ready, future::pending}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `futures::future::ready`, `futures::future::pending` [INFO] [stdout] --> src/future/future/mod.rs:570: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:571:20 [INFO] [stdout] | [INFO] [stdout] 6 | let future_ready = ready("foobar"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::future::ready; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pending` in this scope [INFO] [stdout] --> src/future/future/mod.rs:572:22 [INFO] [stdout] | [INFO] [stdout] 7 | let future_pending = pending::<&'static str>(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::future::pending; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::stream::pending; [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/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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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::then (line 178) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `then` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/future/mod.rs:183: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 std::future::Future` [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/future/mod.rs:182: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:184: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::now_or_never (line 582) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/future/mod.rs:583:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::{prelude::*, future::ready}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures::future::ready` [INFO] [stdout] --> src/future/future/mod.rs:583: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:584:20 [INFO] [stdout] | [INFO] [stdout] 5 | let future_ready = ready("foobar"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::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/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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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/poll_fn.rs - future::poll_fn::poll_fn (line 22) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stdout] --> src/future/poll_fn.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 9 | Poll::Ready("Hello, World!".into()) [INFO] [stdout] | ^^^^ use of undeclared type or module `Poll` [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: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::core_reexport::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] and 4 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: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::core_reexport::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_task::Poll; [INFO] [stdout] | [INFO] [stdout] and 4 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: possible candidates are found in other modules, you can import them into scope [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] [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::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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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::and_then (line 365) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:366:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:368:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `and_then` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:370:21 [INFO] [stdout] | [INFO] [stdout] 8 | let future = future.and_then(|x| async move { Ok::(x + 3) }); [INFO] [stdout] | ^^^^^^^^ method not found in `impl std::future::Future` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_future/mod.rs - future::try_future::TryFutureExt::err_into (line 325) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:328:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `err_into` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:330:36 [INFO] [stdout] | [INFO] [stdout] 8 | let future_err_i32 = future_err_u8.err_into::(); [INFO] [stdout] | ^^^^^^^^ method not found in `impl std::future::Future` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/select.rs - future::select::select (line 30) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/select.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::{self, Either, Future, FutureExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/select.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::{self, Either, Future, FutureExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Either` [INFO] [stdout] --> src/future/select.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 14 | Either::Left((x, b)) => b.map(move |y| (x, y)).left_future(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Either` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Either` [INFO] [stdout] --> src/future/select.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 15 | Either::Right((y, a)) => a.map(move |x| (x, y)).right_future(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Either` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/future/select.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 9 | where A: Future + Unpin, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [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_core::core_reexport::future::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::future::Future; [INFO] [stdout] | [INFO] [stdout] and 4 other candidates [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/future/select.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 10 | B: Future + Unpin, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [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_core::core_reexport::future::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::future::Future; [INFO] [stdout] | [INFO] [stdout] and 4 other candidates [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope [INFO] [stdout] --> src/future/select.rs:35: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: possible candidates are found in other modules, you can import them into scope [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_core::core_reexport::future::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::future::Future; [INFO] [stdout] | [INFO] [stdout] and 4 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_future/mod.rs - future::try_future::TryFutureExt::into_future (line 587) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:588:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::{Future, TryFuture, TryFutureExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `TryFuture` in this scope [INFO] [stdout] --> src/future/try_future/mod.rs:592:30 [INFO] [stdout] | [INFO] [stdout] 8 | fn make_try_future() -> impl TryFuture { // ... } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::TryFuture; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::future::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:595:29 [INFO] [stdout] | [INFO] [stdout] 11 | fn take_future(future: impl Future>) { /* ... */ } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [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_core::core_reexport::future::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::future::Future; [INFO] [stdout] | [INFO] [stdout] and 4 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_future/mod.rs - future::try_future::TryFutureExt::inspect_err (line 476) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:478:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:477:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `inspect_err` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:481: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 std::future::Future` [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/try_future/mod.rs:480: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:482: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/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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/join_all.rs - future::join_all::join_all (line 69) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/join_all.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::join_all; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/join_all.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `join_all` in this scope [INFO] [stdout] --> src/future/join_all.rs:77: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: possible candidate is found in another module, you can import it into scope [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/maybe_done.rs - future::maybe_done::maybe_done (line 28) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/maybe_done.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/maybe_done.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `pin_mut` [INFO] [stdout] --> src/future/maybe_done.rs:34: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 type or module `futures` [INFO] [stdout] --> src/future/maybe_done.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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/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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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::inspect_ok (line 450) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:452:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:451:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `inspect_ok` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:455: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 std::future::Future` [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/future/try_future/mod.rs:454: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:456: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_future/mod.rs - future::try_future::TryFutureExt::and_then (line 378) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:381:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `and_then` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:383:21 [INFO] [stdout] | [INFO] [stdout] 8 | let future = future.and_then(|x| async move { Err::(x + 3) }); [INFO] [stdout] | ^^^^^^^^ method not found in `impl std::future::Future` [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 281) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_err` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:286:21 [INFO] [stdout] | [INFO] [stdout] 8 | let future = future.map_err(|x| x + 3); [INFO] [stdout] | ^^^^^^^ method not found in `impl std::future::Future` [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/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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/join.rs - future::join::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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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/try_future/mod.rs - future::try_future::TryFutureExt::map_ok_or_else (line 241) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:244:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_ok_or_else` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:246: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 std::future::Future` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_ok_or_else` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:250: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 std::future::Future` [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::map_err (line 294) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:297:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_err` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:299:21 [INFO] [stdout] | [INFO] [stdout] 8 | let future = future.map_err(|x| x + 3); [INFO] [stdout] | ^^^^^^^ method not found in `impl std::future::Future` [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 410) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:411:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:413:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `or_else` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 8 | let future = future.or_else(|x| async move { Err::(x + 3) }); [INFO] [stdout] | ^^^^^^^ method not found in `impl std::future::Future` [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_ok (line 206) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_ok` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 8 | let future = future.map_ok(|x| x + 3); [INFO] [stdout] | ^^^^^^ method not found in `impl std::future::Future` [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 423) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:426:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `or_else` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:428:21 [INFO] [stdout] | [INFO] [stdout] 8 | let future = future.or_else(|x| async move { Ok::(x + 3) }); [INFO] [stdout] | ^^^^^^^ method not found in `impl std::future::Future` [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_ok (line 193) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_ok` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 8 | let future = future.map_ok(|x| x + 3); [INFO] [stdout] | ^^^^^^ method not found in `impl std::future::Future` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_join.rs - future::try_join::try_join4 (line 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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_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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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_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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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 551) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:552:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:554:1 [INFO] [stdout] | [INFO] [stdout] 6 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_or_else` found for opaque type `impl std::future::Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:556:21 [INFO] [stdout] | [INFO] [stdout] 8 | let future = future.unwrap_or_else(|_| ()); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `impl std::future::Future` [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/lib.rs - future::option::OptionFuture (line 7) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::OptionFuture; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OptionFuture` in this scope [INFO] [stdout] --> src/lib.rs:11: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: possible candidate is found in another module, you can import it into scope [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/stream/repeat.rs - stream::repeat::repeat (line 18) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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/iter.rs - stream::iter::iter (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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/lock/mutex.rs - lock::mutex::Mutex::into_inner (line 86) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/lock/mutex.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::lock::Mutex; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Mutex` [INFO] [stdout] --> src/lock/mutex.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mutex = Mutex::new(0); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Mutex` [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/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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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::try_flatten_stream (line 517) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:519:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::TryFutureExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/future/try_future/mod.rs:518:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_flatten_stream` found for opaque type `impl futures_core::Future` in the current scope [INFO] [stdout] --> src/future/try_future/mod.rs:525:33 [INFO] [stdout] | [INFO] [stdout] 11 | let stream = future_of_a_stream.try_flatten_stream(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `impl futures_core::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:522: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:526: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/lock/mutex.rs - lock::mutex::MutexGuard::map (line 270) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/lock/mutex.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::lock::{Mutex, MutexGuard}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/lock/mutex.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Mutex` [INFO] [stdout] --> src/lock/mutex.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 7 | let data = Mutex::new(Some("value".to_string())); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Mutex` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MutexGuard` [INFO] [stdout] --> src/lock/mutex.rs:276:22 [INFO] [stdout] | [INFO] [stdout] 9 | let locked_str = MutexGuard::map(data.lock().await, |opt| opt.as_mut().unwrap()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `MutexGuard` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future/try_join_all.rs - future::try_join_all::try_join_all (line 69) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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: possible candidate is found in another module, you can import it into scope [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: possible candidate is found in another module, you can import it into scope [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/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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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::MappedMutexGuard::map (line 335) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/lock/mutex.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::lock::{MappedMutexGuard, Mutex, MutexGuard}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/lock/mutex.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Mutex` [INFO] [stdout] --> src/lock/mutex.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 7 | let data = Mutex::new(Some("value".to_string())); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Mutex` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MutexGuard` [INFO] [stdout] --> src/lock/mutex.rs:341:22 [INFO] [stdout] | [INFO] [stdout] 9 | let locked_str = MutexGuard::map(data.lock().await, |opt| opt.as_mut().unwrap()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `MutexGuard` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MappedMutexGuard` [INFO] [stdout] --> src/lock/mutex.rs:342:23 [INFO] [stdout] | [INFO] [stdout] 10 | let locked_char = MappedMutexGuard::map(locked_str, |s| s.get_mut(0..1).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `MappedMutexGuard` [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/lock/mutex.rs - lock::mutex::Mutex::get_mut (line 128) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/lock/mutex.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::lock::Mutex; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/lock/mutex.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Mutex` [INFO] [stdout] --> src/lock/mutex.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 7 | let mut mutex = Mutex::new(0); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Mutex` [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/future/try_select.rs - future::try_select::try_select (line 30) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Either` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Either` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Either` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `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: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::TryFuture; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::future::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: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::TryFuture; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::future::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: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::TryFuture; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::future::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: possible candidates are found in other modules, you can import them into scope [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_core::core_reexport::future::Future; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::future::Future; [INFO] [stdout] | [INFO] [stdout] and 4 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::catch_unwind (line 997) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:999:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:999:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:998:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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 1087) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1089:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::oneshot; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1090:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1090:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1088:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stdout] --> src/stream/stream/mod.rs:1092:28 [INFO] [stdout] | [INFO] [stdout] 8 | let (send_one, recv_one) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stdout] --> src/stream/stream/mod.rs:1093:28 [INFO] [stdout] | [INFO] [stdout] 9 | let (send_two, recv_two) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared type 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/poll_fn.rs - stream::poll_fn::poll_fn (line 28) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stdout] --> src/stream/poll_fn.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 10 | if counter == 0 { return Poll::Ready(None); } [INFO] [stdout] | ^^^^ use of undeclared type or module `Poll` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stdout] --> src/stream/poll_fn.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 12 | Poll::Ready(Some("Hello, World!".to_owned())) [INFO] [stdout] | ^^^^ use of undeclared type or module `Poll` [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: possible candidates are found in other modules, you can import them into scope [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] [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: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::core_reexport::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::task::Poll; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_task::Poll; [INFO] [stdout] | [INFO] [stdout] and 4 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/stream/stream/mod.rs - stream::stream::StreamExt::by_ref (line 953) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:955:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:955:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:954:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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:960: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:959: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:961: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:959: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:966: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:966: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:967: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:966: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::concat (line 484) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:486:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:487:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:485:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stdout] --> src/stream/stream/mod.rs:490:16 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx, rx) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared type 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/once.rs - stream::once::once (line 9) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::flat_map (line 595) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:597:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:597:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:596:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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:602: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:602: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:602: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:602: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:602: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:602: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:602: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:602: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:602: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:602: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:602: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:602: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:602: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:602: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:602: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:602: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:602: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:602: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:602: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:602: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::collect (line 447) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:448:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stdout] --> src/stream/stream/mod.rs:453:16 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx, rx) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared type 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::flatten (line 545) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:547:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:548:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:546:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stdout] --> src/stream/stream/mod.rs:551:18 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx1, rx1) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stdout] --> src/stream/stream/mod.rs:552:18 [INFO] [stdout] | [INFO] [stdout] 10 | let (tx2, rx2) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stdout] --> src/stream/stream/mod.rs:553:18 [INFO] [stdout] | [INFO] [stdout] 11 | let (tx3, rx3) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared type 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::enumerate (line 319) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:320:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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::filter (line 355) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:356:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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:363: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:363: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:363: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:363: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:363: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:363: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:363: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:363: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:363: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:363: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:363: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:363: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:363: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:363: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:363: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:363: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:363: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:363: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::filter_map (line 388) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:389:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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:397: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:397: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:397: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:397: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:397: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:397: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:397: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:397: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:397: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:397: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:397: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:397: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:397: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:397: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:397: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:397: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:397: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:397: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::chain (line 1152) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1154:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1154:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1153:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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 767) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:769:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:770:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:770:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:768:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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:772: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:779: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::fold (line 523) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:525:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:525:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:524:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/stream/mod.rs - stream::stream::StreamExt::map (line 277) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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:284: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:284: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:284: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:284: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:284: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:284: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:284: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:284: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:284: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:284: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:284: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:284: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:284: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:284: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::for_each_concurrent (line 818) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:820:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::oneshot; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:821:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:821:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:819:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stdout] --> src/stream/stream/mod.rs:823:18 [INFO] [stdout] | [INFO] [stdout] 8 | let (tx1, rx1) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stdout] --> src/stream/stream/mod.rs:824:18 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx2, rx2) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stdout] --> src/stream/stream/mod.rs:825:18 [INFO] [stdout] | [INFO] [stdout] 10 | let (tx3, rx3) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared type 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::fuse (line 917) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:918:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::executor::block_on_stream; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:919:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:920:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::task::Poll; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:919:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stdout] --> src/stream/stream/mod.rs:926:18 [INFO] [stdout] | [INFO] [stdout] 12 | 0..=2 => Poll::Ready(Some(x)), [INFO] [stdout] | ^^^^ use of undeclared type or module `Poll` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stdout] --> src/stream/stream/mod.rs:927:14 [INFO] [stdout] | [INFO] [stdout] 13 | 3 => Poll::Ready(None), [INFO] [stdout] | ^^^^ use of undeclared type or module `Poll` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on_stream` in this scope [INFO] [stdout] --> src/stream/stream/mod.rs:932: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::take_until (line 721) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:723:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:724:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:725:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::task::Poll; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:724:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:722:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stdout] --> src/stream/stream/mod.rs:733:9 [INFO] [stdout] | [INFO] [stdout] 15 | Poll::Pending [INFO] [stdout] | ^^^^ use of undeclared type or module `Poll` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stdout] --> src/stream/stream/mod.rs:735:9 [INFO] [stdout] | [INFO] [stdout] 17 | Poll::Ready(()) [INFO] [stdout] | ^^^^ use of undeclared type or module `Poll` [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/stream/stream/mod.rs:729: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:741: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:741: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:741: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:741: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:741: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:741: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:741: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:741: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:741: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:741: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:741: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:741: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:741: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:741: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:741: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:741: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:741: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:741: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:741: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/stream/mod.rs - stream::stream::StreamExt::into_future (line 244) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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:250: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:253: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/stream/mod.rs - stream::stream::StreamExt::take (line 861) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:863:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:863:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:862:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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:867: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:867: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:867: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:867: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:867: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:867: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:867: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:867: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:867: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:867: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:867: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:867: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:867: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:867: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/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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stdout] --> src/stream/stream/take_until.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 15 | Poll::Pending [INFO] [stdout] | ^^^^ use of undeclared type or module `Poll` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Poll` [INFO] [stdout] --> src/stream/stream/take_until.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 17 | Poll::Ready("reason") [INFO] [stdout] | ^^^^ use of undeclared type or module `Poll` [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::next (line 210) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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::and_then (line 230) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::TryStreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stdout] --> src/stream/try_stream/mod.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 8 | let (_tx, rx) = mpsc::channel::>(1); [INFO] [stdout] | ^^^^ use of undeclared type 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/stream/mod.rs - stream::stream::StreamExt::scan (line 623) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:625:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:626:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:626:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:624:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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:635: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:635: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:635: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:635: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:635: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:635: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:635: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:635: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:635: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:635: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:635: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:635: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:635: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:635: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/stream/mod.rs - stream::stream::StreamExt::skip (line 884) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:886:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:886:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:885:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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:890: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:890: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:890: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:890: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:890: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:890: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:890: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:890: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:890: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:890: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:890: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:890: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:890: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:890: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:890: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:890: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:890: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:890: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::select_next_some (line 1345) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1348:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{StreamExt, FuturesUnordered}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1347:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{future, select}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select` [INFO] [stdout] --> src/stream/stream/mod.rs:1354: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 type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1346:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `FuturesUnordered` [INFO] [stdout] --> src/stream/stream/mod.rs:1351:23 [INFO] [stdout] | [INFO] [stdout] 9 | let mut async_tasks = FuturesUnordered::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `FuturesUnordered` [INFO] [stdout] [INFO] [stdout] error: unreachable statement [INFO] [stdout] --> src/stream/stream/mod.rs:1371: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:1343: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/mod.rs - stream::stream::StreamExt::zip (line 1125) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1127:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:1127:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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 657) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:659:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:660:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:660:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:658:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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:666: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:666: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:666: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:666: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:666: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:666: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:666: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:666: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:666: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:666: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:666: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:666: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:666: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:666: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:666: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:666: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:666: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:666: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/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_concat (line 705) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:707:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:708:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::TryStreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:706:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stdout] --> src/stream/try_stream/mod.rs:711:16 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx, rx) = mpsc::unbounded::, ()>>(); [INFO] [stdout] | ^^^^ use of undeclared type 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::then (line 421) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:422:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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:428: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:428: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:428: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:428: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:428: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:428: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:428: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:428: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:428: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:428: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:428: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:428: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:428: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:428: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/try_stream/mod.rs - stream::try_stream::TryStreamExt::into_stream (line 316) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::stream::{Stream, TryStream, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:322:1 [INFO] [stdout] | [INFO] [stdout] 9 | futures::stream::empty() [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `TryStream` in this scope [INFO] [stdout] --> src/stream/try_stream/mod.rs:321:30 [INFO] [stdout] | [INFO] [stdout] 8 | fn make_try_stream() -> impl TryStream { // ... } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::TryStream; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::stream::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:324:29 [INFO] [stdout] | [INFO] [stdout] 11 | fn take_stream(stream: impl Stream>) { /* ... */ } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::Stream; [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::stream::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/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_collect (line 501) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:503:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::TryStreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:502:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stdout] --> src/stream/try_stream/mod.rs:507:16 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx, rx) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared type 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::map_err (line 187) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:188:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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_ok (line 162) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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 775) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:777:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:778:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:776:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stdout] --> src/stream/try_stream/mod.rs:780:33 [INFO] [stdout] | [INFO] [stdout] 8 | let (sink, stream_of_futures) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared type 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_while (line 687) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:689:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:690:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:690:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/stream/mod.rs:688:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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:696: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:696: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:696: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:696: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:696: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:696: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:696: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:696: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:696: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:696: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:696: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:696: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:696: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:696: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:696: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:696: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:696: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:696: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/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_for_each (line 377) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:378:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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_flatten (line 616) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::mpsc; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:619:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:617:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stdout] --> src/stream/try_stream/mod.rs:622:18 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx1, rx1) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stdout] --> src/stream/try_stream/mod.rs:623:18 [INFO] [stdout] | [INFO] [stdout] 10 | let (tx2, rx2) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared type or module `mpsc` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `mpsc` [INFO] [stdout] --> src/stream/try_stream/mod.rs:624:18 [INFO] [stdout] | [INFO] [stdout] 11 | let (tx3, rx3) = mpsc::unbounded(); [INFO] [stdout] | ^^^^ use of undeclared type 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::err_into (line 137) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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 752) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:754:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::oneshot; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:755:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:755:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:753:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stdout] --> src/stream/try_stream/mod.rs:757:28 [INFO] [stdout] | [INFO] [stdout] 8 | let (send_one, recv_one) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stdout] --> src/stream/try_stream/mod.rs:758:28 [INFO] [stdout] | [INFO] [stdout] 9 | let (send_two, recv_two) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared type 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/task/spawn.rs - task::spawn::SpawnExt::spawn (line 36) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `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/task/spawn.rs - task::spawn::LocalSpawnExt::spawn_local (line 111) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/task/spawn.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::executor::LocalPool; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/task/spawn.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::task::LocalSpawnExt; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `LocalPool` [INFO] [stdout] --> src/task/spawn.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 7 | let executor = LocalPool::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `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_filter (line 543) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:545:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:546:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:546:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:544:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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_filter_map (line 582) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:584:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:584:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:585:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::pin_mut; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `pin_mut` [INFO] [stdout] --> src/stream/try_stream/mod.rs:593: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 type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:583:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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/try_unfold.rs - stream::try_stream::try_unfold::try_unfold (line 33) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_skip_while (line 413) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:415:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:414:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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_next (line 345) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:346:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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 448) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::channel::oneshot; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:451:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:451:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::stream::{self, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:449:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stdout] --> src/stream/try_stream/mod.rs:453:18 [INFO] [stdout] | [INFO] [stdout] 8 | let (tx1, rx1) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stdout] --> src/stream/try_stream/mod.rs:454:18 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx2, rx2) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stdout] --> src/stream/try_stream/mod.rs:455:19 [INFO] [stdout] | [INFO] [stdout] 10 | let (_tx3, rx3) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stdout] --> src/stream/try_stream/mod.rs:461:29 [INFO] [stdout] | [INFO] [stdout] 16 | let res: Result<(), oneshot::Canceled> = rx.await; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `oneshot` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `oneshot` [INFO] [stdout] --> src/stream/try_stream/mod.rs:472:16 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(Err(oneshot::Canceled), fut.await); [INFO] [stdout] | ^^^^^^^ use of undeclared type 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_fold (line 669) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:671:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:671:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stdout] --> src/stream/try_stream/mod.rs:670:1 [INFO] [stdout] | [INFO] [stdout] 4 | futures::executor::block_on(async { [INFO] [stdout] | ^^^^^^^ use of undeclared type 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/unfold.rs - stream::unfold::unfold (line 29) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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 type or module `futures` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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 19) [INFO] [stdout] src/async_await/join_mod.rs - try_join (line 46) [INFO] [stdout] src/async_await/join_mod.rs - try_join (line 60) [INFO] [stdout] src/async_await/select_mod.rs - select (line 131) [INFO] [stdout] src/async_await/select_mod.rs - select (line 39) [INFO] [stdout] src/async_await/select_mod.rs - select (line 54) [INFO] [stdout] src/async_await/select_mod.rs - select (line 72) [INFO] [stdout] src/async_await/select_mod.rs - select (line 97) [INFO] [stdout] src/async_await/select_mod.rs - select_biased (line 189) [INFO] [stdout] src/async_await/select_mod.rs - select_biased (line 204) [INFO] [stdout] src/async_await/select_mod.rs - select_biased (line 222) [INFO] [stdout] src/async_await/select_mod.rs - select_biased (line 247) [INFO] [stdout] src/async_await/select_mod.rs - select_biased (line 281) [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 413) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::flatten (line 294) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::flatten_stream (line 324) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::inspect (line 378) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::into_stream (line 263) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::left_future (line 204) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::map (line 133) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::now_or_never (line 568) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::now_or_never (line 582) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::right_future (line 234) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::shared (line 446) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::shared (line 459) [INFO] [stdout] src/future/future/mod.rs - future::future::FutureExt::then (line 178) [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 69) [INFO] [stdout] src/future/lazy.rs - future::lazy::lazy (line 21) [INFO] [stdout] src/future/maybe_done.rs - future::maybe_done::maybe_done (line 28) [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 30) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::and_then (line 365) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::and_then (line 378) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::err_into (line 325) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::inspect_err (line 476) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::inspect_ok (line 450) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::into_future (line 587) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_err (line 281) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_err (line 294) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_ok (line 193) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_ok (line 206) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::map_ok_or_else (line 241) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::or_else (line 410) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::or_else (line 423) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::try_flatten_stream (line 517) [INFO] [stdout] src/future/try_future/mod.rs - future::try_future::TryFutureExt::unwrap_or_else (line 551) [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/lib.rs - future::option::OptionFuture (line 7) [INFO] [stdout] src/lock/mutex.rs - lock::mutex::MappedMutexGuard::map (line 335) [INFO] [stdout] src/lock/mutex.rs - lock::mutex::Mutex::get_mut (line 128) [INFO] [stdout] src/lock/mutex.rs - lock::mutex::Mutex::into_inner (line 86) [INFO] [stdout] src/lock/mutex.rs - lock::mutex::MutexGuard::map (line 270) [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 1087) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::by_ref (line 953) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::catch_unwind (line 997) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::chain (line 1152) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::collect (line 447) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::concat (line 484) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::enumerate (line 319) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::filter (line 355) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::filter_map (line 388) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::flat_map (line 595) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::flatten (line 545) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::fold (line 523) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::for_each (line 767) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::for_each_concurrent (line 818) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::fuse (line 917) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::into_future (line 244) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::map (line 277) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::next (line 210) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::scan (line 623) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::select_next_some (line 1345) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::skip (line 884) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::skip_while (line 657) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::take (line 861) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::take_until (line 721) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::take_while (line 687) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::then (line 421) [INFO] [stdout] src/stream/stream/mod.rs - stream::stream::StreamExt::zip (line 1125) [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 230) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::err_into (line 137) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::into_stream (line 316) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::map_err (line 187) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::map_ok (line 162) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffer_unordered (line 752) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_buffer_unordered (line 775) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_collect (line 501) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_concat (line 705) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_filter (line 543) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_filter_map (line 582) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_flatten (line 616) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_fold (line 669) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_for_each (line 377) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_for_each_concurrent (line 448) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_next (line 345) [INFO] [stdout] src/stream/try_stream/mod.rs - stream::try_stream::TryStreamExt::try_skip_while (line 413) [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 111) [INFO] [stdout] src/task/spawn.rs - task::spawn::SpawnExt::spawn (line 36) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 121 failed; 1 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "64e188f11b54cc6327568e4e26a5173cd71908b10bab0e723873536e552a70d6"` [INFO] running `"docker" "rm" "-f" "64e188f11b54cc6327568e4e26a5173cd71908b10bab0e723873536e552a70d6"` [INFO] [stdout] 64e188f11b54cc6327568e4e26a5173cd71908b10bab0e723873536e552a70d6