[INFO] fetching crate futures-preview 0.3.0-alpha.19... [INFO] checking futures-preview-0.3.0-alpha.19 against master#db870ea71b6dcc7a91b999420b88f41d3cdd13e1 for pr-75192 [INFO] extracting crate futures-preview 0.3.0-alpha.19 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate futures-preview 0.3.0-alpha.19 on toolchain db870ea71b6dcc7a91b999420b88f41d3cdd13e1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db870ea71b6dcc7a91b999420b88f41d3cdd13e1" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate futures-preview 0.3.0-alpha.19 [INFO] finished tweaking crates.io crate futures-preview 0.3.0-alpha.19 [INFO] tweaked toml for crates.io crate futures-preview 0.3.0-alpha.19 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db870ea71b6dcc7a91b999420b88f41d3cdd13e1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db870ea71b6dcc7a91b999420b88f41d3cdd13e1" "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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+db870ea71b6dcc7a91b999420b88f41d3cdd13e1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e3e3c14b54cba4f4ddb1cafd6d363f6708dceac2bad36432e25af9b5d8832dc [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" "4e3e3c14b54cba4f4ddb1cafd6d363f6708dceac2bad36432e25af9b5d8832dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e3e3c14b54cba4f4ddb1cafd6d363f6708dceac2bad36432e25af9b5d8832dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e3e3c14b54cba4f4ddb1cafd6d363f6708dceac2bad36432e25af9b5d8832dc", kill_on_drop: false }` [INFO] [stdout] 4e3e3c14b54cba4f4ddb1cafd6d363f6708dceac2bad36432e25af9b5d8832dc [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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+db870ea71b6dcc7a91b999420b88f41d3cdd13e1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2add4f7d272b16958a88e3ea618e9580c748dfcec2910c9ba708eb34368ea668 [INFO] running `Command { std: "docker" "start" "-a" "2add4f7d272b16958a88e3ea618e9580c748dfcec2910c9ba708eb34368ea668", kill_on_drop: false }` [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.19 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stdout] --> tests/oneshot.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::MapOk, [closure@tests/oneshot.rs:13:16: 13:36 tx2:_]>` in the current scope [INFO] [stdout] --> tests/oneshot.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | rx1.map_ok(move |x| tx2.send(x)).run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::MapOk, [closure@tests/oneshot.rs:13:16: 13:36 tx2:_]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stdout] --> tests/ready_queue.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [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:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | 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 `run_in_background` found for struct `futures::future::MapOk, [closure@tests/oneshot.rs:24:16: 24:45 tx2:_]>` in the current scope [INFO] [stdout] --> tests/oneshot.rs:24:47 [INFO] [stdout] | [INFO] [stdout] 24 | rx1.map_ok(move |x| tx2.send(x).unwrap()).run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::MapOk, [closure@tests/oneshot.rs:24:16: 24:45 tx2:_]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `futures-preview`. [INFO] [stdout] error[E0599]: no method named `interleave_pending` found for struct `futures::stream::IntoAsyncRead>, fn(&[u8]) -> std::result::Result<&[u8], std::io::Error> {std::result::Result::<&[u8], std::io::Error>::Ok}>>` in the current scope [INFO] [stdout] --> tests/io_read_line.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | .interleave_pending(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `futures::stream::IntoAsyncRead>, fn(&[u8]) -> std::result::Result<&[u8], std::io::Error> {std::result::Result::<&[u8], std::io::Error>::Ok}>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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::MapOk, [closure@tests/oneshot.rs:33:16: 33:45 tx2:_]>` in the current scope [INFO] [stdout] --> tests/oneshot.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 33 | rx1.map_ok(move |x| tx2.send(x).unwrap()).run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::MapOk, [closure@tests/oneshot.rs:33:16: 33:45 tx2:_]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stdout] --> tests/io_buf_writer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::Map, [closure@tests/oneshot.rs:44:13: 44:52 tx2:_]>` in the current scope [INFO] [stdout] --> tests/oneshot.rs:44:54 [INFO] [stdout] | [INFO] [stdout] 44 | rx1.map(move |result| tx2.send(result).unwrap()).run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Map, [closure@tests/oneshot.rs:44:13: 44:52 tx2:_]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stdout] --> tests/stream_into_async_read.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_test::{task::noop_context, stream::StreamTestExt}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run_in_background` found for struct `futures::future::Map, [closure@tests/oneshot.rs:55:13: 55:52 tx2:_]>` in the current scope [INFO] [stdout] --> tests/oneshot.rs:55:54 [INFO] [stdout] | [INFO] [stdout] 55 | rx1.map(move |result| tx2.send(result).unwrap()).run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Map, [closure@tests/oneshot.rs:55:13: 55:52 tx2:_]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stdout] --> tests/io_lines.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_test::io::AsyncReadTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stdout] --> tests/io_lines.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type 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:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 53 | 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:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 56 | 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:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 59 | 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:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 62 | 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:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 65 | 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:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 68 | 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:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 71 | 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:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 81 | 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:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 84 | 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:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | 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:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 90 | 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:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 93 | 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 `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_writer.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | 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_lines.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `futures::pending`, `futures::poll`, `futures::join`, `futures::try_join`, `futures::select` [INFO] [stdout] --> tests/async_await_macros.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Poll, pending, pin_mut, poll, join, try_join, select}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^ ^^^^^^^^ ^^^^^^ no `select` in the root [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `try_join` in the root [INFO] [stdout] | | | no `join` in the root [INFO] [stdout] | | no `poll` in the root [INFO] [stdout] | | help: a similar name exists in the module: `Poll` [INFO] [stdout] | no `pending` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `pending` [INFO] [stdout] --> tests/async_await_macros.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | let pending_once = async { pending!() }; [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 `poll` [INFO] [stdout] --> tests/async_await_macros.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(Poll::Pending, poll!(&mut pending_once)); [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 `poll` [INFO] [stdout] --> tests/async_await_macros.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(Poll::Ready(()), poll!(&mut pending_once)); [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 `join` [INFO] [stdout] --> tests/async_await_macros.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let res = join!(rx1, rx2); [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 `poll` [INFO] [stdout] --> tests/async_await_macros.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(Poll::Pending, poll!(&mut fut)); [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 `poll` [INFO] [stdout] --> tests/async_await_macros.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!(Poll::Pending, poll!(&mut fut)); [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 `poll` [INFO] [stdout] --> tests/async_await_macros.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(Poll::Ready(()), poll!(&mut fut)); [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 `select` [INFO] [stdout] --> tests/async_await_macros.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | select! { [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 `select` [INFO] [stdout] --> tests/async_await_macros.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/ready_queue.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | let cx = &mut noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `select` [INFO] [stdout] --> tests/async_await_macros.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | select! { [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 `select` [INFO] [stdout] --> tests/async_await_macros.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | select! { [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 `select` [INFO] [stdout] --> tests/async_await_macros.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | select! { [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 `select` [INFO] [stdout] --> tests/async_await_macros.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | select! { [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 `select` [INFO] [stdout] --> tests/async_await_macros.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | select! { [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 `join` [INFO] [stdout] --> tests/async_await_macros.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | join!(ready) [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 `join` [INFO] [stdout] --> tests/async_await_macros.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | join!(ready1, ready2) [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 `try_join` [INFO] [stdout] --> tests/async_await_macros.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | try_join!(ready) [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 `try_join` [INFO] [stdout] --> tests/async_await_macros.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | try_join!(ready1, ready2) [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 `join` [INFO] [stdout] --> tests/async_await_macros.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | join!(async {}, async {}) [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 `try_join` [INFO] [stdout] --> tests/async_await_macros.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | try_join!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stdout] --> tests/eager_drop.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pin_utils` [INFO] [stdout] --> tests/eager_drop.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pin_utils::unsafe_pinned; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `pin_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `unsafe_pinned` [INFO] [stdout] --> tests/eager_drop.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | unsafe_pinned!(future: F); [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 `interleave_pending` found for struct `futures::stream::Iter, std::vec::Vec, _>>, [closure@tests/stream_into_async_read.rs:49:48: 49:93]>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | let mut reader = stream.interleave_pending().into_async_read(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `futures::stream::Iter, std::vec::Vec, _>>, [closure@tests/stream_into_async_read.rs:49:48: 49:93]>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `interleave_pending` found for struct `futures::stream::IntoAsyncRead>, fn(&[u8]) -> std::result::Result<&[u8], std::io::Error> {std::result::Result::<&[u8], std::io::Error>::Ok}>>` in the current scope [INFO] [stdout] --> tests/io_lines.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | .interleave_pending(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `futures::stream::IntoAsyncRead>, fn(&[u8]) -> std::result::Result<&[u8], std::io::Error> {std::result::Result::<&[u8], std::io::Error>::Ok}>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `interleave_pending` found for struct `futures::stream::IntoAsyncRead>, fn(&[u8]) -> std::result::Result<&[u8], std::io::Error> {std::result::Result::<&[u8], std::io::Error>::Ok}>>` in the current scope [INFO] [stdout] --> tests/io_lines.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | .interleave_pending(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `futures::stream::IntoAsyncRead>, fn(&[u8]) -> std::result::Result<&[u8], std::io::Error> {std::result::Result::<&[u8], std::io::Error>::Ok}>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_read` found for struct `std::pin::Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `std::pin::Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 53 | 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 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[E0599]: no method named `run_in_background` found for struct `futures::future::Map>, [closure@tests/eager_drop.rs:17:17: 17:71 tx1:_]>, [closure@tests/eager_drop.rs:18:14: 21:10 rx1:_, tx2:_]>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | .run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Map>, [closure@tests/eager_drop.rs:17:17: 17:71 tx1:_]>, [closure@tests/eager_drop.rs:18:14: 21:10 rx1:_, tx2:_]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::sink::SinkExt` [INFO] [stdout] --> tests/async_await_macros.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::sink::SinkExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_read` found for struct `std::pin::Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `std::pin::Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 56 | 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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_read` found for struct `std::pin::Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `std::pin::Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 59 | 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 `run_in_background` found for struct `futures::future::Map>, [closure@tests/eager_drop.rs:35:18: 35:72 tx1:_]>, [closure@tests/eager_drop.rs:36:14: 39:10 rx1:_, tx2:_]>` 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 tx1:_]>, [closure@tests/eager_drop.rs:36:14: 39:10 rx1:_, tx2:_]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_read` found for struct `std::pin::Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `std::pin::Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 62 | 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 `future` found for struct `std::pin::Pin<&mut FutureData>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | self.future().poll(cx) [INFO] [stdout] | ^^^^^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_read` found for struct `std::pin::Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `std::pin::Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 65 | 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 `std::pin::Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `std::pin::Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 68 | 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 `std::pin::Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stdout] | ^^^^^^^^^ method not found in `std::pin::Pin<&mut _>` [INFO] [stdout] ... [INFO] [stdout] 71 | 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 `run_in_background` found for struct `futures::future::Then, [closure@tests/eager_drop.rs:68:57: 68:73]>, std::sync::mpsc::Sender<()>>, futures::future::Ready<()>, [closure@tests/eager_drop.rs:69:15: 73:10 rx1:_, tx2:_]>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | .run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::Then, [closure@tests/eager_drop.rs:68:57: 68:73]>, std::sync::mpsc::Sender<()>>, futures::future::Ready<()>, [closure@tests/eager_drop.rs:69:15: 73:10 rx1:_, tx2:_]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `interleave_pending` found for struct `futures::stream::Iter, std::vec::Vec, _>>, [closure@tests/stream_into_async_read.rs:76:48: 76:93]>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | let mut reader = stream.interleave_pending().into_async_read(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `futures::stream::Iter, std::vec::Vec, _>>, [closure@tests/stream_into_async_read.rs:76:48: 76:93]>>` [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:87:57: 87:73]>, std::sync::mpsc::Sender<()>>, futures::future::Ready>, [closure@tests/eager_drop.rs:88:19: 92:10 rx1:_, tx2:_]>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | .run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::AndThen>, [closure@tests/eager_drop.rs:87:57: 87:73]>, std::sync::mpsc::Sender<()>>, futures::future::Ready>, [closure@tests/eager_drop.rs:88:19: 92:10 rx1:_, tx2:_]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_fill_buf` found for struct `std::pin::Pin<&mut std::pin::Pin<&mut _>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `std::pin::Pin<&mut std::pin::Pin<&mut _>>` [INFO] [stdout] ... [INFO] [stdout] 81 | 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: 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 `run_in_background` found for struct `futures::future::OrElse>, [closure@tests/eager_drop.rs:106:57: 106:73]>, std::sync::mpsc::Sender<()>>, futures::future::Ready>, [closure@tests/eager_drop.rs:107:18: 111:10 rx1:_, tx2:_]>` in the current scope [INFO] [stdout] --> tests/eager_drop.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | .run_in_background(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `futures::future::OrElse>, [closure@tests/eager_drop.rs:106:57: 106:73]>, std::sync::mpsc::Sender<()>>, futures::future::Ready>, [closure@tests/eager_drop.rs:107:18: 111:10 rx1:_, tx2:_]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut` found for struct `std::pin::Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | reader.as_mut().consume(3); [INFO] [stdout] | ^^^^^^ method not found in `std::pin::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 `std::pin::Pin<&mut std::pin::Pin<&mut _>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `std::pin::Pin<&mut std::pin::Pin<&mut _>>` [INFO] [stdout] ... [INFO] [stdout] 84 | 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: aborting due to 9 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 `std::pin::Pin<&mut _>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | reader.as_mut().consume(2); [INFO] [stdout] | ^^^^^^ method not found in `std::pin::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 `std::pin::Pin<&mut std::pin::Pin<&mut _>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `std::pin::Pin<&mut std::pin::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 `as_mut` found for struct `std::pin::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(2); [INFO] [stdout] | ^^^^^^ method not found in `std::pin::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 `std::pin::Pin<&mut std::pin::Pin<&mut _>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `std::pin::Pin<&mut std::pin::Pin<&mut _>>` [INFO] [stdout] ... [INFO] [stdout] 90 | 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[E0599]: no method named `as_mut` found for struct `std::pin::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(3); [INFO] [stdout] | ^^^^^^ method not found in `std::pin::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 `std::pin::Pin<&mut std::pin::Pin<&mut _>>` in the current scope [INFO] [stdout] --> tests/stream_into_async_read.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `std::pin::Pin<&mut std::pin::Pin<&mut _>>` [INFO] [stdout] ... [INFO] [stdout] 93 | 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: `AsyncRead` [INFO] [stdout] --> tests/stream_into_async_read.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::io::{AsyncRead, AsyncBufRead}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] warning: unused import: `AsyncBufRead` [INFO] [stdout] --> tests/stream_into_async_read.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::io::{AsyncRead, AsyncBufRead}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryStreamExt` [INFO] [stdout] --> tests/stream_into_async_read.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::stream::{self, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors; 3 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2add4f7d272b16958a88e3ea618e9580c748dfcec2910c9ba708eb34368ea668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2add4f7d272b16958a88e3ea618e9580c748dfcec2910c9ba708eb34368ea668", kill_on_drop: false }` [INFO] [stdout] 2add4f7d272b16958a88e3ea618e9580c748dfcec2910c9ba708eb34368ea668