[INFO] fetching crate futures 0.3.14... [INFO] checking futures-0.3.14 against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] extracting crate futures 0.3.14 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate futures 0.3.14 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate futures 0.3.14 [INFO] finished tweaking crates.io crate futures 0.3.14 [INFO] tweaked toml for crates.io crate futures 0.3.14 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f46287f424f01b3966093c6e6cbdb1d2d271082e8ba3050ff87541301afda9c6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f46287f424f01b3966093c6e6cbdb1d2d271082e8ba3050ff87541301afda9c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f46287f424f01b3966093c6e6cbdb1d2d271082e8ba3050ff87541301afda9c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f46287f424f01b3966093c6e6cbdb1d2d271082e8ba3050ff87541301afda9c6", kill_on_drop: false }` [INFO] [stdout] f46287f424f01b3966093c6e6cbdb1d2d271082e8ba3050ff87541301afda9c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7bef03132e603b59964bad9dddc7c8d17a1dc51f45446374092bee0f3e78405 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f7bef03132e603b59964bad9dddc7c8d17a1dc51f45446374092bee0f3e78405", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking futures-channel v0.3.15 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Checking futures-util v0.3.15 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.14 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_read_until.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_test::io::AsyncReadTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_read_until.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/future_basic_combinators.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/lock_mutex.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/lock_mutex.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures_test::task::{new_count_waker, panic_context}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures::executor::ThreadPool` [INFO] [stdout] --> tests/lock_mutex.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::executor::{block_on, ThreadPool}; [INFO] [stdout] | ^^^^^^^^^^ no `ThreadPool` in `executor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_read_until.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_read_line.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_test::io::AsyncReadTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_read_line.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_writer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/future_fuse.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::panic_waker; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_read_line.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_writer.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stdout] --> tests/lock_mutex.rs:15:46 [INFO] [stdout] | [INFO] [stdout] 15 | assert!(mutex.lock().poll_unpin(&mut panic_context()).is_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_count_waker` in this scope [INFO] [stdout] --> tests/lock_mutex.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | let (waker, counter) = new_count_waker(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stdout] --> tests/lock_mutex.rs:23:45 [INFO] [stdout] | [INFO] [stdout] 23 | let lock = mutex.lock().poll_unpin(&mut panic_context()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stdout] --> tests/lock_mutex.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | assert!(waiter.poll_unpin(&mut panic_context()).is_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `interleave_pending` found for reference `&'static [u8; 2]` in the current scope [INFO] [stdout] --> tests/io_read_until.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | let mut buf = b"12".interleave_pending(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `&'static [u8; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `interleave_pending` found for struct `IntoAsyncRead>, fn(&[u8]) -> Result<&[u8], std::io::Error> {Result::<&[u8], std::io::Error>::Ok}>>` in the current scope [INFO] [stdout] --> tests/io_read_until.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | .interleave_pending(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `IntoAsyncRead>, fn(&[u8]) -> Result<&[u8], std::io::Error> {Result::<&[u8], std::io::Error>::Ok}>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_waker` in this scope [INFO] [stdout] --> tests/future_fuse.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let waker = panic_waker(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `futures` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 128 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [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] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 133 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [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] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 135 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[1, 2][..])); [INFO] [stdout] | --------------------- in this macro invocation [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] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 174 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1, 2, 3, 4][..])); [INFO] [stdout] | --------------------- in this macro invocation [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] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 179 | assert_eq!(run_fill_buf!(reader).ok().map(|s| s.len()), Some(5)); [INFO] [stdout] | --------------------- in this macro invocation [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] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 186 | assert_eq!(run_fill_buf!(reader).ok().map(|s| s.len()), Some(5)); [INFO] [stdout] | --------------------- in this macro invocation [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] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 342 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [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] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 347 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [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] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 349 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[1, 2][..])); [INFO] [stdout] | --------------------- in this macro invocation [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] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/stream.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::Map, futures::future::Ready<{integer}>, [closure@tests/future_basic_combinators.rs:12:15: 16:10]>, [closure@tests/future_basic_combinators.rs:16:16: 20:10]>, [closure@tests/future_basic_combinators.rs:20:16: 22:10]>` in the current scope [INFO] [stdout] --> tests/future_basic_combinators.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | fut.run_in_background(); // Start it [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Map, futures::future::Ready<{integer}>, [closure@tests/future_basic_combinators.rs:12:15: 16:10]>, [closure@tests/future_basic_combinators.rs:16:16: 20:10]>, [closure@tests/future_basic_combinators.rs:20:16: 22:10]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/stream_select_next_some.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/stream_select_next_some.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures_test::task::new_count_waker; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/stream_futures_ordered.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures::executor::ThreadPool` [INFO] [stdout] --> tests/eventual.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::executor::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ThreadPool` in `executor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/stream_unfold.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/stream.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `interleave_pending` found for reference `&'static [u8; 2]` in the current scope [INFO] [stdout] --> tests/io_read_line.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | let mut buf = b"12".interleave_pending(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `&'static [u8; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `interleave_pending` found for struct `IntoAsyncRead>, fn(&[u8]) -> Result<&[u8], std::io::Error> {Result::<&[u8], std::io::Error>::Ok}>>` in the current scope [INFO] [stdout] --> tests/io_read_line.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | .interleave_pending(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `IntoAsyncRead>, fn(&[u8]) -> Result<&[u8], std::io::Error> {Result::<&[u8], std::io::Error>::Ok}>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_test` [INFO] [stdout] --> tests/stream_unfold.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures_test::{assert_stream_done, assert_stream_next, assert_stream_pending}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_pending` [INFO] [stdout] --> tests/stream_unfold.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | assert_stream_pending!(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_next` [INFO] [stdout] --> tests/stream_unfold.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | assert_stream_next!(stream, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_pending` [INFO] [stdout] --> tests/stream_unfold.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | assert_stream_pending!(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_next` [INFO] [stdout] --> tests/stream_unfold.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | assert_stream_next!(stream, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_pending` [INFO] [stdout] --> tests/stream_unfold.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | assert_stream_pending!(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_next` [INFO] [stdout] --> tests/stream_unfold.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | assert_stream_next!(stream, 4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_pending` [INFO] [stdout] --> tests/stream_unfold.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | assert_stream_pending!(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_done` [INFO] [stdout] --> tests/stream_unfold.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | assert_stream_done!(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::Map>, futures::future::Ready>, [closure@tests/future_basic_combinators.rs:44:19: 48:10]>, futures::future::Ready>, [closure@tests/future_basic_combinators.rs:49:18: 53:10]>, [closure@tests/future_basic_combinators.rs:54:17: 58:10]>, [closure@tests/future_basic_combinators.rs:59:18: 63:10]>, [closure@tests/future_basic_combinators.rs:64:14: 68:10]>, futures::future::Ready>, [closure@tests/future_basic_combinators.rs:69:19: 73:10]>, futures::future::Ready>, [closure@tests/future_basic_combinators.rs:74:18: 78:10]>, [closure@tests/future_basic_combinators.rs:79:17: 83:10]>, [closure@tests/future_basic_combinators.rs:84:18: 88:10]>, [closure@tests/future_basic_combinators.rs:89:14: 92:10]>` in the current scope [INFO] [stdout] --> tests/future_basic_combinators.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | fut.run_in_background(); // Start it [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Map>, futures::future::Ready>, [closure@tests/future_basic_combinators.rs:44:19: 48:10]>, futures::future::Ready>, [closure@tests/future_basic_combinators.rs:49:18: 53:10]>, [closure@tests/future_basic_combinators.rs:54:17: 58:10]>, [closure@tests/future_basic_combinators.rs:59:18: 63:10]>, [closure@tests/future_basic_combinators.rs:64:14: 68:10]>, futures::future::Ready>, [closure@tests/future_basic_combinators.rs:69:19: 73:10]>, futures::future::Ready>, [closure@tests/future_basic_combinators.rs:74:18: 78:10]>, [closure@tests/future_basic_combinators.rs:79:17: 83:10]>, [closure@tests/future_basic_combinators.rs:84:18: 88:10]>, [closure@tests/future_basic_combinators.rs:89:14: 92:10]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_count_waker` in this scope [INFO] [stdout] --> tests/stream_select_next_some.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | let (waker, counter) = new_count_waker(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::task::SpawnExt` [INFO] [stdout] --> tests/eventual.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::SpawnExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/stream_futures_ordered.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | assert!(stream.poll_next_unpin(&mut noop_context()).is_pending()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/stream_futures_ordered.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/stream_futures_ordered.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let cx = &mut noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pending_once` found for struct `futures::future::Ready<()>` in the current scope [INFO] [stdout] --> tests/lock_mutex.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | ready(()).pending_once().await; [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `futures::future::Ready<()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pending_once` found for struct `futures::future::Ready>` in the current scope [INFO] [stdout] --> tests/stream_unfold.rs:10:57 [INFO] [stdout] | [INFO] [stdout] 10 | future::ready(Some((state * 2, state + 1))).pending_once() [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `futures::future::Ready>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pending_once` found for struct `futures::future::Ready>` in the current scope [INFO] [stdout] --> tests/stream_unfold.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | future::ready(None).pending_once() [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `futures::future::Ready>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/lock_mutex.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | let mut lock = mutex.lock().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] --> tests/lock_mutex.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | let mut lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/lock_mutex.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | let mut lock = mutex.lock().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] --> tests/lock_mutex.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | let mut lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/lock_mutex.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | let mut lock = mutex.lock().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] --> tests/lock_mutex.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | let mut lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/lock_mutex.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | let mut lock = mutex.lock().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] --> tests/lock_mutex.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | ready(()).pending_once().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/lock_mutex.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | for _ in 0..num_tasks { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/lock_mutex.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | rx.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/lock_mutex.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | for _ in 0..num_tasks { [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/lock_mutex.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | rx.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/lock_mutex.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | for _ in 0..num_tasks { [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/lock_mutex.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | rx.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/lock_mutex.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | for _ in 0..num_tasks { [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/lock_mutex.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | rx.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/lock_mutex.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | let lock = mutex.lock().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] --> tests/lock_mutex.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | let lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/lock_mutex.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | let lock = mutex.lock().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] --> tests/lock_mutex.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | let lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/lock_mutex.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | let lock = mutex.lock().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] --> tests/lock_mutex.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | let lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpawnExt` [INFO] [stdout] --> tests/lock_mutex.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::task::{Context, SpawnExt}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pending_once` found for struct `futures::future::Ready<{integer}>` in the current scope [INFO] [stdout] --> tests/stream_select_next_some.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | let mut fut = future::ready(1).pending_once(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `futures::future::Ready<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/stream_select_next_some.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut async_tasks = FuturesUnordered::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/stream_select_next_some.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | / select! { [INFO] [stdout] 45 | | num = fut => { [INFO] [stdout] 46 | | total += num; [INFO] [stdout] 47 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 52 | | complete => break, [INFO] [stdout] 53 | | } [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] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/stream_select_next_some.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut total = 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] --> tests/stream_select_next_some.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | / select! { [INFO] [stdout] 45 | | num = fut => { [INFO] [stdout] 46 | | total += num; [INFO] [stdout] 47 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 52 | | complete => break, [INFO] [stdout] 53 | | } [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] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/stream_select_next_some.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | / select! { [INFO] [stdout] 45 | | num = fut => { [INFO] [stdout] 46 | | total += num; [INFO] [stdout] 47 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 52 | | complete => break, [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/stream_select_next_some.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | / select! { [INFO] [stdout] 45 | | num = fut => { [INFO] [stdout] 46 | | total += num; [INFO] [stdout] 47 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 52 | | complete => break, [INFO] [stdout] 53 | | } [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] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/stream_select_next_some.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | / select! { [INFO] [stdout] 45 | | num = fut => { [INFO] [stdout] 46 | | total += num; [INFO] [stdout] 47 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 52 | | complete => break, [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/stream_select_next_some.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | / select! { [INFO] [stdout] 45 | | num = fut => { [INFO] [stdout] 46 | | total += num; [INFO] [stdout] 47 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 52 | | complete => break, [INFO] [stdout] 53 | | } [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] [INFO] [stdout] error[E0599]: no method named `pending_once` found for struct `futures::future::Ready<{integer}>` in the current scope [INFO] [stdout] --> tests/stream_select_next_some.rs:69:40 [INFO] [stdout] | [INFO] [stdout] 69 | let mut fut = future::ready(1).pending_once(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `futures::future::Ready<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/stream_select_next_some.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut async_tasks = FuturesUnordered::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/stream_select_next_some.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | / select! { [INFO] [stdout] 74 | | num = fut => { [INFO] [stdout] 75 | | total += num; [INFO] [stdout] 76 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 81 | | complete => break, [INFO] [stdout] 82 | | } [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] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/stream_select_next_some.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut total = 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] --> tests/stream_select_next_some.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | / select! { [INFO] [stdout] 74 | | num = fut => { [INFO] [stdout] 75 | | total += num; [INFO] [stdout] 76 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 81 | | complete => break, [INFO] [stdout] 82 | | } [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] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/stream_select_next_some.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | / select! { [INFO] [stdout] 74 | | num = fut => { [INFO] [stdout] 75 | | total += num; [INFO] [stdout] 76 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 81 | | complete => break, [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/stream_select_next_some.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | / select! { [INFO] [stdout] 74 | | num = fut => { [INFO] [stdout] 75 | | total += num; [INFO] [stdout] 76 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 81 | | complete => break, [INFO] [stdout] 82 | | } [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] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/stream_select_next_some.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | / select! { [INFO] [stdout] 74 | | num = fut => { [INFO] [stdout] 75 | | total += num; [INFO] [stdout] 76 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 81 | | complete => break, [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/stream_select_next_some.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | / select! { [INFO] [stdout] 74 | | num = fut => { [INFO] [stdout] 75 | | total += num; [INFO] [stdout] 76 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 81 | | complete => break, [INFO] [stdout] 82 | | } [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] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f7bef03132e603b59964bad9dddc7c8d17a1dc51f45446374092bee0f3e78405", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7bef03132e603b59964bad9dddc7c8d17a1dc51f45446374092bee0f3e78405", kill_on_drop: false }` [INFO] [stdout] f7bef03132e603b59964bad9dddc7c8d17a1dc51f45446374092bee0f3e78405