[INFO] fetching crate futures 0.3.8... [INFO] checking futures-0.3.8 against try#6f12b8fe67b4eed2e838dab803ed9493b9d62c0f for pr-79073 [INFO] extracting crate futures 0.3.8 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate futures 0.3.8 on toolchain 6f12b8fe67b4eed2e838dab803ed9493b9d62c0f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate futures 0.3.8 [INFO] finished tweaking crates.io crate futures 0.3.8 [INFO] tweaked toml for crates.io crate futures 0.3.8 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 767b18918cb6138e4141770aa4d30553b15b816125bb8fb9cfa9b0e9e58326d3 [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" "767b18918cb6138e4141770aa4d30553b15b816125bb8fb9cfa9b0e9e58326d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "767b18918cb6138e4141770aa4d30553b15b816125bb8fb9cfa9b0e9e58326d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "767b18918cb6138e4141770aa4d30553b15b816125bb8fb9cfa9b0e9e58326d3", kill_on_drop: false }` [INFO] [stdout] 767b18918cb6138e4141770aa4d30553b15b816125bb8fb9cfa9b0e9e58326d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c0b4a763ac9ec6902e221bfcd7fc945d0b87d5bcee240cbd906003273263e38 [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" "6c0b4a763ac9ec6902e221bfcd7fc945d0b87d5bcee240cbd906003273263e38", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.50 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/compat.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::timer::Delay; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/compat.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures::compat` [INFO] [stdout] --> tests/compat.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::compat::Future01CompatExt; [INFO] [stdout] | ^^^^^^ could not find `compat` in `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Delay` [INFO] [stdout] --> tests/compat.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | Delay::new(Instant::now()).compat().await [INFO] [stdout] | ^^^^^ use of undeclared type `Delay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Runtime` [INFO] [stdout] --> tests/compat.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | let mut runtime = Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/ready_queue.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | use futures_test::task::noop_context; [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/ready_queue.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | let cx = &mut 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_buf_reader.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | 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:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 136 | 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[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 138 | 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[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 140 | 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[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 183 | 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[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 185 | 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[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 189 | 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[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 351 | 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[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 353 | 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[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 355 | 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[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/sink.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use futures_test::task::panic_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/stream_into_async_read.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use futures_test::{task::noop_context, stream::StreamTestExt}; [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_into_async_read.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | use futures_test::{task::noop_context, stream::StreamTestExt}; [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/sink.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | use futures_test::task::panic_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/sink.rs:618:9 [INFO] [stdout] | [INFO] [stdout] 618 | use futures_test::task::panic_context; [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_into_async_read.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 33 | assert_read!(reader, &mut buf, 3); [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/stream_into_async_read.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 36 | assert_read!(reader, &mut buf, 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/stream_into_async_read.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 39 | assert_read!(reader, &mut buf, 3); [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/stream_into_async_read.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 42 | assert_read!(reader, &mut buf, 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/stream_into_async_read.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 45 | assert_read!(reader, &mut buf, 3); [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/stream_into_async_read.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 48 | assert_read!(reader, &mut buf, 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/stream_into_async_read.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 51 | assert_read!(reader, &mut buf, 0); [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/stream_into_async_read.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 87 | assert_fill_buf!(reader, &[1, 2, 3, 4, 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/stream_into_async_read.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 90 | assert_fill_buf!(reader, &[4, 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/stream_into_async_read.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | assert_fill_buf!(reader, &[1, 2, 3, 4, 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/stream_into_async_read.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 96 | assert_fill_buf!(reader, &[3, 4, 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/stream_into_async_read.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 99 | assert_fill_buf!(reader, &[][..]); [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 `panic_context` in this scope [INFO] [stdout] --> tests/sink.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | match s.poll_next_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/sink.rs:599:23 [INFO] [stdout] | [INFO] [stdout] 599 | let cx = &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/sink.rs:631:23 [INFO] [stdout] | [INFO] [stdout] 631 | let cx = &mut panic_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/stream_select_next_some.rs:7:9 [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | 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:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 136 | 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:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 138 | 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:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 140 | 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:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 183 | 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:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 185 | 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:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 189 | 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:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 351 | 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:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 353 | 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:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 355 | 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[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/unfold.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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/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[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/stream_select_next_some.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | 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:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_test` [INFO] [stdout] --> tests/unfold.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_test::{ [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/unfold.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | 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: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_next` [INFO] [stdout] --> tests/unfold.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | 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] 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: cannot determine resolution for the macro `assert_stream_pending` [INFO] [stdout] --> tests/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/unfold.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | 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/unfold.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | 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/unfold.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | 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/unfold.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | 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/unfold.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | assert_stream_done!(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [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 `panic_waker` in this scope [INFO] [stdout] --> tests/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 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/eager_drop.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | 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/eager_drop.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | 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/eager_drop.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | 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 `new_count_waker` in this scope [INFO] [stdout] --> tests/stream_select_next_some.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | let (waker, counter) = new_count_waker(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [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] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/eager_drop.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | 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/eager_drop.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pin_project` [INFO] [stdout] --> tests/eager_drop.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | use pin_project::pin_project; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `pin_project` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `pin_project` [INFO] [stdout] --> tests/eager_drop.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[pin_project] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pin` in this scope [INFO] [stdout] --> tests/eager_drop.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | #[pin] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `compat` found for struct `Pin + std::marker::Send>>` in the current scope [INFO] [stdout] --> tests/compat.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | runtime.block_on(f.boxed().compat()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `Pin + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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: aborting due to 6 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/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[E0599]: no method named `interleave_pending` found for struct `futures::stream::Iter, Vec, _>>, [closure@tests/stream_into_async_read.rs:29:48: 29:93]>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let mut reader = stream.interleave_pending().into_async_read(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `futures::stream::Iter, Vec, _>>, [closure@tests/stream_into_async_read.rs:29:48: 29:93]>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_read` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 33 | assert_read!(reader, &mut buf, 3); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [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 20 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 `poll_read` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 36 | assert_read!(reader, &mut buf, 2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [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 `poll_read` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 39 | assert_read!(reader, &mut buf, 3); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [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 `poll_read` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 42 | assert_read!(reader, &mut buf, 2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [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 `poll_read` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 45 | assert_read!(reader, &mut buf, 3); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [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 `poll_read` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 48 | assert_read!(reader, &mut buf, 2); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [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 `poll_read` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 51 | assert_read!(reader, &mut buf, 0); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [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>` in the current scope [INFO] [stdout] --> tests/unfold.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | 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 `interleave_pending` found for struct `futures::stream::Iter, Vec, _>>, [closure@tests/stream_into_async_read.rs:82:48: 82:93]>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | let mut reader = stream.interleave_pending().into_async_read(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `futures::stream::Iter, Vec, _>>, [closure@tests/stream_into_async_read.rs:82:48: 82:93]>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_fill_buf` found for struct `Pin<&mut Pin<&mut _>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Pin<&mut Pin<&mut _>>` [INFO] [stdout] ... [INFO] [stdout] 87 | assert_fill_buf!(reader, &[1, 2, 3, 4, 5][..]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [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>` in the current scope [INFO] [stdout] --> tests/unfold.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | future::ready(None).pending_once() [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `futures::future::Ready>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | reader.as_mut().consume(3); [INFO] [stdout] | ^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `reader` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_fill_buf` found for struct `Pin<&mut Pin<&mut _>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Pin<&mut Pin<&mut _>>` [INFO] [stdout] ... [INFO] [stdout] 90 | assert_fill_buf!(reader, &[4, 5][..]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [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 `as_mut` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | reader.as_mut().consume(2); [INFO] [stdout] | ^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `reader` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_fill_buf` found for struct `Pin<&mut Pin<&mut _>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Pin<&mut Pin<&mut _>>` [INFO] [stdout] ... [INFO] [stdout] 93 | assert_fill_buf!(reader, &[1, 2, 3, 4, 5][..]); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [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 `as_mut` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | reader.as_mut().consume(2); [INFO] [stdout] | ^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `reader` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_fill_buf` found for struct `Pin<&mut Pin<&mut _>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Pin<&mut Pin<&mut _>>` [INFO] [stdout] ... [INFO] [stdout] 96 | assert_fill_buf!(reader, &[3, 4, 5][..]); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [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 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[E0599]: no method named `as_mut` found for struct `Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | reader.as_mut().consume(3); [INFO] [stdout] | ^^^^^^ method not found in `Pin<&mut _>` [INFO] [stdout] | [INFO] [stdout] = note: `reader` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_fill_buf` found for struct `Pin<&mut Pin<&mut _>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Pin<&mut Pin<&mut _>>` [INFO] [stdout] ... [INFO] [stdout] 99 | assert_fill_buf!(reader, &[][..]); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [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] warning: unused import: `futures::io::AsyncRead` [INFO] [stdout] --> tests/stream_into_async_read.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::io::AsyncRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryStreamExt` [INFO] [stdout] --> tests/stream_into_async_read.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::io::AsyncBufRead` [INFO] [stdout] --> tests/stream_into_async_read.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | use futures::io::AsyncBufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryStreamExt` [INFO] [stdout] --> tests/stream_into_async_read.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors; 4 warnings emitted [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[E0599]: no method named `run_in_background` found for struct `futures::future::Map, futures::future::Ready<{integer}>, [closure@tests/basic_combinators.rs:12:15: 16:10]>, [closure@tests/basic_combinators.rs:16:16: 20:10]>, [closure@tests/basic_combinators.rs:20:16: 22:10]>` in the current scope [INFO] [stdout] --> tests/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/basic_combinators.rs:12:15: 16:10]>, [closure@tests/basic_combinators.rs:16:16: 20:10]>, [closure@tests/basic_combinators.rs:20:16: 22:10]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::Map>, [closure@tests/eager_drop.rs:13:17: 13:71]>, [closure@tests/eager_drop.rs:14:14: 17:10]>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | .run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Map>, [closure@tests/eager_drop.rs:13:17: 13:71]>, [closure@tests/eager_drop.rs:14:14: 17:10]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::Map>, [closure@tests/eager_drop.rs:35:18: 35:72]>, [closure@tests/eager_drop.rs:36:14: 39:10]>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | .run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Map>, [closure@tests/eager_drop.rs:35:18: 35:72]>, [closure@tests/eager_drop.rs:36:14: 39:10]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `project` found for struct `Pin<&mut FutureData>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | self.project().future.poll(cx) [INFO] [stdout] | ^^^^^^^ method not found in `Pin<&mut FutureData>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::Then, [closure@tests/eager_drop.rs:77:61: 77:77]>, std::sync::mpsc::Sender<()>>, futures::future::Ready<()>, [closure@tests/eager_drop.rs:78:19: 82:14]>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | .run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Then, [closure@tests/eager_drop.rs:77:61: 77:77]>, std::sync::mpsc::Sender<()>>, futures::future::Ready<()>, [closure@tests/eager_drop.rs:78:19: 82:14]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::AndThen>, [closure@tests/eager_drop.rs:101:61: 101:77]>, std::sync::mpsc::Sender<()>>, futures::future::Ready>, [closure@tests/eager_drop.rs:102:23: 106:14]>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | .run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::AndThen>, [closure@tests/eager_drop.rs:101:61: 101:77]>, std::sync::mpsc::Sender<()>>, futures::future::Ready>, [closure@tests/eager_drop.rs:102:23: 106:14]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::OrElse>, [closure@tests/eager_drop.rs:125:61: 125:77]>, std::sync::mpsc::Sender<()>>, futures::future::Ready>, [closure@tests/eager_drop.rs:126:22: 130:14]>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | .run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::OrElse>, [closure@tests/eager_drop.rs:125:61: 125:77]>, std::sync::mpsc::Sender<()>>, futures::future::Ready>, [closure@tests/eager_drop.rs:126:22: 130:14]>` [INFO] [stdout] [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: aborting due to 14 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: 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[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:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | 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:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | 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:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / select! { [INFO] [stdout] 47 | | num = fut => { [INFO] [stdout] 48 | | total += num; [INFO] [stdout] 49 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 54 | | complete => break, [INFO] [stdout] 55 | | } [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 | 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:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / select! { [INFO] [stdout] 47 | | num = fut => { [INFO] [stdout] 48 | | total += num; [INFO] [stdout] 49 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 54 | | complete => break, [INFO] [stdout] 55 | | } [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:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / select! { [INFO] [stdout] 47 | | num = fut => { [INFO] [stdout] 48 | | total += num; [INFO] [stdout] 49 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 54 | | complete => break, [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____________^ cannot 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:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / select! { [INFO] [stdout] 47 | | num = fut => { [INFO] [stdout] 48 | | total += num; [INFO] [stdout] 49 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 54 | | complete => break, [INFO] [stdout] 55 | | } [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:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / select! { [INFO] [stdout] 47 | | num = fut => { [INFO] [stdout] 48 | | total += num; [INFO] [stdout] 49 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 54 | | complete => break, [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____________^ cannot 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:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / select! { [INFO] [stdout] 47 | | num = fut => { [INFO] [stdout] 48 | | total += num; [INFO] [stdout] 49 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 54 | | complete => break, [INFO] [stdout] 55 | | } [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:75:40 [INFO] [stdout] | [INFO] [stdout] 75 | 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[E0599]: no method named `run_in_background` found for struct `futures::future::Map>, futures::future::Ready>, [closure@tests/basic_combinators.rs:44:19: 48:10]>, futures::future::Ready>, [closure@tests/basic_combinators.rs:49:18: 53:10]>, [closure@tests/basic_combinators.rs:54:17: 58:10]>, [closure@tests/basic_combinators.rs:59:18: 63:10]>, [closure@tests/basic_combinators.rs:64:14: 68:10]>, futures::future::Ready>, [closure@tests/basic_combinators.rs:69:19: 73:10]>, futures::future::Ready>, [closure@tests/basic_combinators.rs:74:18: 78:10]>, [closure@tests/basic_combinators.rs:79:17: 83:10]>, [closure@tests/basic_combinators.rs:84:18: 88:10]>, [closure@tests/basic_combinators.rs:89:14: 92:10]>` in the current scope [INFO] [stdout] --> tests/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/basic_combinators.rs:44:19: 48:10]>, futures::future::Ready>, [closure@tests/basic_combinators.rs:49:18: 53:10]>, [closure@tests/basic_combinators.rs:54:17: 58:10]>, [closure@tests/basic_combinators.rs:59:18: 63:10]>, [closure@tests/basic_combinators.rs:64:14: 68:10]>, futures::future::Ready>, [closure@tests/basic_combinators.rs:69:19: 73:10]>, futures::future::Ready>, [closure@tests/basic_combinators.rs:74:18: 78:10]>, [closure@tests/basic_combinators.rs:79:17: 83:10]>, [closure@tests/basic_combinators.rs:84:18: 88:10]>, [closure@tests/basic_combinators.rs:89:14: 92:10]>` [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:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | 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:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | / select! { [INFO] [stdout] 80 | | num = fut => { [INFO] [stdout] 81 | | total += num; [INFO] [stdout] 82 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 87 | | complete => break, [INFO] [stdout] 88 | | } [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:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | 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:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | / select! { [INFO] [stdout] 80 | | num = fut => { [INFO] [stdout] 81 | | total += num; [INFO] [stdout] 82 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 87 | | complete => break, [INFO] [stdout] 88 | | } [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 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] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/stream_select_next_some.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | / select! { [INFO] [stdout] 80 | | num = fut => { [INFO] [stdout] 81 | | total += num; [INFO] [stdout] 82 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 87 | | complete => break, [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____________^ cannot 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:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | / select! { [INFO] [stdout] 80 | | num = fut => { [INFO] [stdout] 81 | | total += num; [INFO] [stdout] 82 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 87 | | complete => break, [INFO] [stdout] 88 | | } [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:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | / select! { [INFO] [stdout] 80 | | num = fut => { [INFO] [stdout] 81 | | total += num; [INFO] [stdout] 82 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 87 | | complete => break, [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____________^ cannot 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:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | / select! { [INFO] [stdout] 80 | | num = fut => { [INFO] [stdout] 81 | | total += num; [INFO] [stdout] 82 | | async_tasks.push(async { 5 }); [INFO] [stdout] ... | [INFO] [stdout] 87 | | complete => break, [INFO] [stdout] 88 | | } [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 14 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" "6c0b4a763ac9ec6902e221bfcd7fc945d0b87d5bcee240cbd906003273263e38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c0b4a763ac9ec6902e221bfcd7fc945d0b87d5bcee240cbd906003273263e38", kill_on_drop: false }` [INFO] [stdout] 6c0b4a763ac9ec6902e221bfcd7fc945d0b87d5bcee240cbd906003273263e38