[INFO] crate futures 0.3.4 is already in cache [INFO] checking futures-0.3.4 against master#6d69caba110c0c2fb90180df1cbc8be5033b91d4 for pr-69530 [INFO] extracting crate futures 0.3.4 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate futures 0.3.4 on toolchain 6d69caba110c0c2fb90180df1cbc8be5033b91d4 [INFO] running `"/workspace/cargo-home/bin/cargo" "+6d69caba110c0c2fb90180df1cbc8be5033b91d4" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate futures 0.3.4 [INFO] finished tweaking crates.io crate futures 0.3.4 [INFO] tweaked toml for crates.io crate futures 0.3.4 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+6d69caba110c0c2fb90180df1cbc8be5033b91d4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+6d69caba110c0c2fb90180df1cbc8be5033b91d4" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+6d69caba110c0c2fb90180df1cbc8be5033b91d4" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4dac14ecf8145891f3698a5b06a4e0ffb30e27b9ee53d6c3c8b1bc940847c207 [INFO] running `"docker" "start" "-a" "4dac14ecf8145891f3698a5b06a4e0ffb30e27b9ee53d6c3c8b1bc940847c207"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stderr] --> tests/io_read_until.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use futures_test::io::AsyncReadTestExt; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stderr] --> tests/io_read_until.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use futures_test::task::noop_context; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/io_read_until.rs:29:18 [INFO] [stderr] | [INFO] [stderr] 29 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `interleave_pending` found for reference `&'static [u8; 2]` in the current scope [INFO] [stderr] --> tests/io_read_until.rs:39:25 [INFO] [stderr] | [INFO] [stderr] 39 | let mut buf = b"12".interleave_pending(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ method not found in `&'static [u8; 2]` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `interleave_pending` found for struct `futures_util::stream::try_stream::into_async_read::IntoAsyncRead>, fn(&[u8]) -> std::result::Result<&[u8], std::io::Error> {std::result::Result::<&[u8], std::io::Error>::Ok}>>` in the current scope [INFO] [stderr] --> tests/io_read_until.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | .interleave_pending(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ method not found in `futures_util::stream::try_stream::into_async_read::IntoAsyncRead>, fn(&[u8]) -> std::result::Result<&[u8], std::io::Error> {std::result::Result::<&[u8], std::io::Error>::Ok}>>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [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] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stderr] --> tests/basic_combinators.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use futures_test::future::FutureTestExt; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stderr] --> tests/futures_unordered.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use futures_test::future::FutureTestExt; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stderr] --> tests/futures_unordered.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use futures_test::task::noop_context; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures_test` [INFO] [stderr] --> tests/futures_unordered.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use futures_test::{assert_stream_done, assert_stream_next}; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_stream_next` [INFO] [stderr] --> tests/futures_unordered.rs:243:5 [INFO] [stderr] | [INFO] [stderr] 243 | assert_stream_next!(stream, ()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_stream_next` [INFO] [stderr] --> tests/futures_unordered.rs:244:5 [INFO] [stderr] | [INFO] [stderr] 244 | assert_stream_next!(stream, ()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_stream_next` [INFO] [stderr] --> tests/futures_unordered.rs:245:5 [INFO] [stderr] | [INFO] [stderr] 245 | assert_stream_next!(stream, ()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stderr] --> tests/stream_into_async_read.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use futures_test::{task::noop_context, stream::StreamTestExt}; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_stream_done` [INFO] [stderr] --> tests/futures_unordered.rs:246:5 [INFO] [stderr] | [INFO] [stderr] 246 | assert_stream_done!(stream); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stderr] --> tests/unfold.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use futures_test::future::FutureTestExt; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/futures_unordered.rs:16:18 [INFO] [stderr] | [INFO] [stderr] 16 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `run_in_background` found for struct `futures_util::future::future::map::Map, futures_util::future::ready::Ready<{integer}>, [closure@tests/basic_combinators.rs:12:15: 16:10 tx1:_]>, [closure@tests/basic_combinators.rs:16:16: 20:10 tx2:_]>, [closure@tests/basic_combinators.rs:20:16: 22:10 tx3:_]>` in the current scope [INFO] [stderr] --> tests/basic_combinators.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | fut.run_in_background(); // Start it [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ method not found in `futures_util::future::future::map::Map, futures_util::future::ready::Ready<{integer}>, [closure@tests/basic_combinators.rs:12:15: 16:10 tx1:_]>, [closure@tests/basic_combinators.rs:16:16: 20:10 tx2:_]>, [closure@tests/basic_combinators.rs:20:16: 22:10 tx3:_]>` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/futures_unordered.rs:79:18 [INFO] [stderr] | [INFO] [stderr] 79 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/futures_unordered.rs:112:19 [INFO] [stderr] | [INFO] [stderr] 112 | let cx = &mut noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/stream_into_async_read.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 53 | assert_read!(reader, &mut buf, 3); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/stream_into_async_read.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 56 | assert_read!(reader, &mut buf, 2); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/stream_into_async_read.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 59 | assert_read!(reader, &mut buf, 3); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/stream_into_async_read.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 62 | assert_read!(reader, &mut buf, 2); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/stream_into_async_read.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 65 | assert_read!(reader, &mut buf, 3); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/stream_into_async_read.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 68 | assert_read!(reader, &mut buf, 2); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/stream_into_async_read.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 71 | assert_read!(reader, &mut buf, 0); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/stream_into_async_read.rs:29:22 [INFO] [stderr] | [INFO] [stderr] 29 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 81 | assert_fill_buf!(reader, &[1, 2, 3, 4, 5][..]); [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/stream_into_async_read.rs:29:22 [INFO] [stderr] | [INFO] [stderr] 29 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 84 | assert_fill_buf!(reader, &[4, 5][..]); [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/stream_into_async_read.rs:29:22 [INFO] [stderr] | [INFO] [stderr] 29 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 87 | assert_fill_buf!(reader, &[1, 2, 3, 4, 5][..]); [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/stream_into_async_read.rs:29:22 [INFO] [stderr] | [INFO] [stderr] 29 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 90 | assert_fill_buf!(reader, &[3, 4, 5][..]); [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/stream_into_async_read.rs:29:22 [INFO] [stderr] | [INFO] [stderr] 29 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 93 | assert_fill_buf!(reader, &[][..]); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/futures_unordered.rs:258:18 [INFO] [stderr] | [INFO] [stderr] 258 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `run_in_background` found for struct `futures_util::future::future::map::Map>, futures_util::future::ready::Ready>, [closure@tests/basic_combinators.rs:44:19: 48:10 tx1:_]>, futures_util::future::ready::Ready>, [closure@tests/basic_combinators.rs:49:18: 53:10 tx2:_]>, [closure@tests/basic_combinators.rs:54:17: 58:10 tx3:_]>, [closure@tests/basic_combinators.rs:59:18: 63:10 tx4:_]>, [closure@tests/basic_combinators.rs:64:14: 68:10 tx5:_]>, futures_util::future::ready::Ready>, [closure@tests/basic_combinators.rs:69:19: 73:10 tx6:_]>, futures_util::future::ready::Ready>, [closure@tests/basic_combinators.rs:74:18: 78:10 tx7:_]>, [closure@tests/basic_combinators.rs:79:17: 83:10 tx8:_]>, [closure@tests/basic_combinators.rs:84:18: 88:10 tx9:_]>, [closure@tests/basic_combinators.rs:89:14: 92:10 tx10:_]>` in the current scope [INFO] [stderr] --> tests/basic_combinators.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | fut.run_in_background(); // Start it [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ method not found in `futures_util::future::future::map::Map>, futures_util::future::ready::Ready>, [closure@tests/basic_combinators.rs:44:19: 48:10 tx1:_]>, futures_util::future::ready::Ready>, [closure@tests/basic_combinators.rs:49:18: 53:10 tx2:_]>, [closure@tests/basic_combinators.rs:54:17: 58:10 tx3:_]>, [closure@tests/basic_combinators.rs:59:18: 63:10 tx4:_]>, [closure@tests/basic_combinators.rs:64:14: 68:10 tx5:_]>, futures_util::future::ready::Ready>, [closure@tests/basic_combinators.rs:69:19: 73:10 tx6:_]>, futures_util::future::ready::Ready>, [closure@tests/basic_combinators.rs:74:18: 78:10 tx7:_]>, [closure@tests/basic_combinators.rs:79:17: 83:10 tx8:_]>, [closure@tests/basic_combinators.rs:84:18: 88:10 tx9:_]>, [closure@tests/basic_combinators.rs:89:14: 92:10 tx10:_]>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0433`. [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stderr] --> tests/io_buf_reader.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use futures_test::task::noop_context; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `interleave_pending` found for struct `futures_util::stream::iter::Iter, std::vec::Vec, _>>, [closure@tests/stream_into_async_read.rs:49:48: 49:93]>>` in the current scope [INFO] [stderr] --> tests/stream_into_async_read.rs:50:29 [INFO] [stderr] | [INFO] [stderr] 50 | let mut reader = stream.interleave_pending().into_async_read(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ method not found in `futures_util::stream::iter::Iter, std::vec::Vec, _>>, [closure@tests/stream_into_async_read.rs:49:48: 49:93]>>` [INFO] [stderr] [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] [stderr] error[E0599]: no method named `poll_read` found for struct `std::pin::Pin<&mut _>` in the current scope [INFO] [stderr] --> tests/stream_into_async_read.rs:11:42 [INFO] [stderr] | [INFO] [stderr] 11 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stderr] | ^^^^^^^^^ method not found in `std::pin::Pin<&mut _>` [INFO] [stderr] ... [INFO] [stderr] 53 | assert_read!(reader, &mut buf, 3); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll_read` found for struct `std::pin::Pin<&mut _>` in the current scope [INFO] [stderr] --> tests/stream_into_async_read.rs:11:42 [INFO] [stderr] | [INFO] [stderr] 11 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stderr] | ^^^^^^^^^ method not found in `std::pin::Pin<&mut _>` [INFO] [stderr] ... [INFO] [stderr] 56 | assert_read!(reader, &mut buf, 2); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll_read` found for struct `std::pin::Pin<&mut _>` in the current scope [INFO] [stderr] --> tests/stream_into_async_read.rs:11:42 [INFO] [stderr] | [INFO] [stderr] 11 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stderr] | ^^^^^^^^^ method not found in `std::pin::Pin<&mut _>` [INFO] [stderr] ... [INFO] [stderr] 59 | assert_read!(reader, &mut buf, 3); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll_read` found for struct `std::pin::Pin<&mut _>` in the current scope [INFO] [stderr] --> tests/stream_into_async_read.rs:11:42 [INFO] [stderr] | [INFO] [stderr] 11 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stderr] | ^^^^^^^^^ method not found in `std::pin::Pin<&mut _>` [INFO] [stderr] ... [INFO] [stderr] 62 | assert_read!(reader, &mut buf, 2); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll_read` found for struct `std::pin::Pin<&mut _>` in the current scope [INFO] [stderr] --> tests/stream_into_async_read.rs:11:42 [INFO] [stderr] | [INFO] [stderr] 11 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stderr] | ^^^^^^^^^ method not found in `std::pin::Pin<&mut _>` [INFO] [stderr] ... [INFO] [stderr] 65 | assert_read!(reader, &mut buf, 3); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `futures_test` [INFO] [stderr] --> tests/unfold.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use futures_test::{ [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_stream_pending` [INFO] [stderr] --> tests/unfold.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | assert_stream_pending!(stream); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_stream_next` [INFO] [stderr] --> tests/unfold.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | assert_stream_next!(stream, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_stream_pending` [INFO] [stderr] --> tests/unfold.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | assert_stream_pending!(stream); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_stream_next` [INFO] [stderr] --> tests/unfold.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | assert_stream_next!(stream, 2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll_read` found for struct `std::pin::Pin<&mut _>` in the current scope [INFO] [stderr] --> tests/stream_into_async_read.rs:11:42 [INFO] [stderr] | [INFO] [stderr] 11 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stderr] | ^^^^^^^^^ method not found in `std::pin::Pin<&mut _>` [INFO] [stderr] ... [INFO] [stderr] 68 | assert_read!(reader, &mut buf, 2); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll_read` found for struct `std::pin::Pin<&mut _>` in the current scope [INFO] [stderr] --> tests/stream_into_async_read.rs:11:42 [INFO] [stderr] | [INFO] [stderr] 11 | match Pin::new(&mut $reader).poll_read(&mut cx, $buf) { [INFO] [stderr] | ^^^^^^^^^ method not found in `std::pin::Pin<&mut _>` [INFO] [stderr] ... [INFO] [stderr] 71 | assert_read!(reader, &mut buf, 0); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stderr] --> tests/io_read.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use futures_test::task::panic_context; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_stream_pending` [INFO] [stderr] --> tests/unfold.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | assert_stream_pending!(stream); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_stream_next` [INFO] [stderr] --> tests/unfold.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | assert_stream_next!(stream, 4); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_stream_pending` [INFO] [stderr] --> tests/unfold.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | assert_stream_pending!(stream); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_stream_done` [INFO] [stderr] --> tests/unfold.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | assert_stream_done!(stream); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `assert_matches` [INFO] [stderr] --> tests/io_cursor.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use assert_matches::assert_matches; [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> tests/io_cursor.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | assert_matches!(Pin::new(&mut cursor).poll_write(cx, &[1, 2]), Poll::Ready(Ok(2))); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> tests/io_cursor.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | assert_matches!(Pin::new(&mut cursor).poll_write(cx, &[3, 4]), Poll::Ready(Ok(2))); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> tests/io_cursor.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | assert_matches!(Pin::new(&mut cursor).poll_write(cx, &[5, 6]), Poll::Ready(Ok(2))); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> tests/io_cursor.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | assert_matches!(Pin::new(&mut cursor).poll_write(cx, &[6, 7]), Poll::Ready(Ok(2))); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `interleave_pending` found for struct `futures_util::stream::iter::Iter, std::vec::Vec, _>>, [closure@tests/stream_into_async_read.rs:76:48: 76:93]>>` in the current scope [INFO] [stderr] --> tests/stream_into_async_read.rs:77:29 [INFO] [stderr] | [INFO] [stderr] 77 | let mut reader = stream.interleave_pending().into_async_read(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ method not found in `futures_util::stream::iter::Iter, std::vec::Vec, _>>, [closure@tests/stream_into_async_read.rs:76:48: 76:93]>>` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> tests/io_cursor.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | assert_matches!(Pin::new(&mut cursor).poll_write(cx, &[1, 2]), Poll::Ready(Ok(2))); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> tests/io_cursor.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | assert_matches!(Pin::new(&mut cursor).poll_write(cx, &[3, 4]), Poll::Ready(Ok(2))); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> tests/io_cursor.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | assert_matches!(Pin::new(&mut cursor).poll_write(cx, &[5, 6]), Poll::Ready(Ok(1))); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> tests/io_cursor.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | assert_matches!(Pin::new(&mut cursor).poll_write(cx, &[6, 7]), Poll::Ready(Ok(0))); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] warning: unused import: `AsyncWrite` [INFO] [stderr] --> tests/io_cursor.rs:3:19 [INFO] [stderr] | [INFO] [stderr] 3 | use futures::io::{AsyncWrite, Cursor}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stderr] --> tests/eager_drop.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use futures_test::future::FutureTestExt; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::task::Poll` [INFO] [stderr] --> tests/io_cursor.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::task::Poll; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll_fill_buf` found for struct `std::pin::Pin<&mut std::pin::Pin<&mut _>>` in the current scope [INFO] [stderr] --> tests/stream_into_async_read.rs:31:42 [INFO] [stderr] | [INFO] [stderr] 31 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stderr] | ^^^^^^^^^^^^^ method not found in `std::pin::Pin<&mut std::pin::Pin<&mut _>>` [INFO] [stderr] ... [INFO] [stderr] 81 | assert_fill_buf!(reader, &[1, 2, 3, 4, 5][..]); [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::pin::Pin` [INFO] [stderr] --> tests/io_cursor.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::pin::Pin; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_mut` found for struct `std::pin::Pin<&mut _>` in the current scope [INFO] [stderr] --> tests/stream_into_async_read.rs:82:12 [INFO] [stderr] | [INFO] [stderr] 82 | reader.as_mut().consume(3); [INFO] [stderr] | ^^^^^^ method not found in `std::pin::Pin<&mut _>` [INFO] [stderr] | [INFO] [stderr] = note: `reader` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stderr] --> tests/io_read.rs:35:19 [INFO] [stderr] | [INFO] [stderr] 35 | let cx = &mut panic_context(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stderr] --> tests/io_read.rs:52:19 [INFO] [stderr] | [INFO] [stderr] 52 | let cx = &mut panic_context(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll_fill_buf` found for struct `std::pin::Pin<&mut std::pin::Pin<&mut _>>` in the current scope [INFO] [stderr] --> tests/stream_into_async_read.rs:31:42 [INFO] [stderr] | [INFO] [stderr] 31 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stderr] | ^^^^^^^^^^^^^ method not found in `std::pin::Pin<&mut std::pin::Pin<&mut _>>` [INFO] [stderr] ... [INFO] [stderr] 84 | assert_fill_buf!(reader, &[4, 5][..]); [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `pending_once` found for struct `futures_util::future::ready::Ready>` in the current scope [INFO] [stderr] --> tests/unfold.rs:13:57 [INFO] [stderr] | [INFO] [stderr] 13 | future::ready(Some((state * 2, state + 1))).pending_once() [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `futures_util::future::ready::Ready>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error[E0599]: no method named `pending_once` found for struct `futures_util::future::ready::Ready>` in the current scope [INFO] [stderr] --> tests/unfold.rs:15:33 [INFO] [stderr] | [INFO] [stderr] 15 | future::ready(None).pending_once() [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `futures_util::future::ready::Ready>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_mut` found for struct `std::pin::Pin<&mut _>` in the current scope [INFO] [stderr] --> tests/stream_into_async_read.rs:85:12 [INFO] [stderr] | [INFO] [stderr] 85 | reader.as_mut().consume(2); [INFO] [stderr] | ^^^^^^ method not found in `std::pin::Pin<&mut _>` [INFO] [stderr] | [INFO] [stderr] = note: `reader` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error[E0599]: no method named `pending_once` found for struct `futures_util::future::ready::Ready<()>` in the current scope [INFO] [stderr] --> tests/futures_unordered.rs:241:33 [INFO] [stderr] | [INFO] [stderr] 241 | let fut = future::ready(()).pending_once().assert_unmoved(); [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `futures_util::future::ready::Ready<()>` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `pin_utils` [INFO] [stderr] --> tests/eager_drop.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use pin_utils::unsafe_pinned; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `pin_utils` [INFO] [stderr] [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] [stderr] error: cannot determine resolution for the macro `unsafe_pinned` [INFO] [stderr] --> tests/eager_drop.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | unsafe_pinned!(future: F); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [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] [stderr] error[E0599]: no method named `poll_fill_buf` found for struct `std::pin::Pin<&mut std::pin::Pin<&mut _>>` in the current scope [INFO] [stderr] --> tests/stream_into_async_read.rs:31:42 [INFO] [stderr] | [INFO] [stderr] 31 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stderr] | ^^^^^^^^^^^^^ method not found in `std::pin::Pin<&mut std::pin::Pin<&mut _>>` [INFO] [stderr] ... [INFO] [stderr] 87 | assert_fill_buf!(reader, &[1, 2, 3, 4, 5][..]); [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error[E0599]: no method named `as_mut` found for struct `std::pin::Pin<&mut _>` in the current scope [INFO] [stderr] --> tests/stream_into_async_read.rs:88:12 [INFO] [stderr] | [INFO] [stderr] 88 | reader.as_mut().consume(2); [INFO] [stderr] | ^^^^^^ method not found in `std::pin::Pin<&mut _>` [INFO] [stderr] | [INFO] [stderr] = note: `reader` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll_fill_buf` found for struct `std::pin::Pin<&mut std::pin::Pin<&mut _>>` in the current scope [INFO] [stderr] --> tests/stream_into_async_read.rs:31:42 [INFO] [stderr] | [INFO] [stderr] 31 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stderr] | ^^^^^^^^^^^^^ method not found in `std::pin::Pin<&mut std::pin::Pin<&mut _>>` [INFO] [stderr] ... [INFO] [stderr] 90 | assert_fill_buf!(reader, &[3, 4, 5][..]); [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [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] [stderr] error[E0599]: no method named `as_mut` found for struct `std::pin::Pin<&mut _>` in the current scope [INFO] [stderr] --> tests/stream_into_async_read.rs:91:12 [INFO] [stderr] | [INFO] [stderr] 91 | reader.as_mut().consume(3); [INFO] [stderr] | ^^^^^^ method not found in `std::pin::Pin<&mut _>` [INFO] [stderr] | [INFO] [stderr] = note: `reader` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll_fill_buf` found for struct `std::pin::Pin<&mut std::pin::Pin<&mut _>>` in the current scope [INFO] [stderr] --> tests/stream_into_async_read.rs:31:42 [INFO] [stderr] | [INFO] [stderr] 31 | match Pin::new(&mut $reader).poll_fill_buf(&mut cx) { [INFO] [stderr] | ^^^^^^^^^^^^^ method not found in `std::pin::Pin<&mut std::pin::Pin<&mut _>>` [INFO] [stderr] ... [INFO] [stderr] 93 | assert_fill_buf!(reader, &[][..]); [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `Pin::new(&mut $reader)` is a function, perhaps you wish to call it [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/io_buf_reader.rs:30:22 [INFO] [stderr] | [INFO] [stderr] 30 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 82 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/io_buf_reader.rs:30:22 [INFO] [stderr] | [INFO] [stderr] 30 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 84 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/io_buf_reader.rs:30:22 [INFO] [stderr] | [INFO] [stderr] 30 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 86 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[1, 2][..])); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/io_buf_reader.rs:30:22 [INFO] [stderr] | [INFO] [stderr] 30 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 125 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1, 2, 3, 4][..])); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `AsyncRead` [INFO] [stderr] --> tests/stream_into_async_read.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | use futures::io::{AsyncRead, AsyncBufRead}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/io_buf_reader.rs:30:22 [INFO] [stderr] | [INFO] [stderr] 30 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 127 | assert_eq!(run_fill_buf!(reader).ok().map(|s| s.len()), Some(5)); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/io_buf_reader.rs:30:22 [INFO] [stderr] | [INFO] [stderr] 30 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 131 | assert_eq!(run_fill_buf!(reader).ok().map(|s| s.len()), Some(5)); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/io_buf_reader.rs:198:18 [INFO] [stderr] | [INFO] [stderr] 198 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `AsyncBufRead` [INFO] [stderr] --> tests/stream_into_async_read.rs:2:30 [INFO] [stderr] | [INFO] [stderr] 2 | use futures::io::{AsyncRead, AsyncBufRead}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TryStreamExt` [INFO] [stderr] --> tests/stream_into_async_read.rs:3:29 [INFO] [stderr] | [INFO] [stderr] 3 | use futures::stream::{self, TryStreamExt}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/io_buf_reader.rs:30:22 [INFO] [stderr] | [INFO] [stderr] 30 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 314 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/io_buf_reader.rs:30:22 [INFO] [stderr] | [INFO] [stderr] 30 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 316 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/io_buf_reader.rs:30:22 [INFO] [stderr] | [INFO] [stderr] 30 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 318 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[1, 2][..])); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 31 previous errors [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [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] [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] [stderr] error[E0599]: no method named `run_in_background` found for struct `futures_util::future::future::map::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] [stderr] --> tests/eager_drop.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | .run_in_background(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ method not found in `futures_util::future::future::map::Map>, [closure@tests/eager_drop.rs:17:17: 17:71 tx1:_]>, [closure@tests/eager_drop.rs:18:14: 21:10 rx1:_, tx2:_]>` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stderr] --> tests/io_write.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use futures_test::task::panic_context; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `run_in_background` found for struct `futures_util::future::future::map::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] [stderr] --> tests/eager_drop.rs:40:10 [INFO] [stderr] | [INFO] [stderr] 40 | .run_in_background(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ method not found in `futures_util::future::future::map::Map>, [closure@tests/eager_drop.rs:35:18: 35:72 tx1:_]>, [closure@tests/eager_drop.rs:36:14: 39:10 rx1:_, tx2:_]>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `future` found for struct `std::pin::Pin<&mut FutureData>` in the current scope [INFO] [stderr] --> tests/eager_drop.rs:58:14 [INFO] [stderr] | [INFO] [stderr] 58 | self.future().poll(cx) [INFO] [stderr] | ^^^^^^-- help: remove the arguments [INFO] [stderr] | | [INFO] [stderr] | field, not a method [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `run_in_background` found for struct `futures_util::future::future::then::Then, [closure@tests/eager_drop.rs:68:57: 68:73]>, std::sync::mpsc::Sender<()>>, futures_util::future::ready::Ready<()>, [closure@tests/eager_drop.rs:69:15: 73:10 rx1:_, tx2:_]>` in the current scope [INFO] [stderr] --> tests/eager_drop.rs:74:10 [INFO] [stderr] | [INFO] [stderr] 74 | .run_in_background(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ method not found in `futures_util::future::future::then::Then, [closure@tests/eager_drop.rs:68:57: 68:73]>, std::sync::mpsc::Sender<()>>, futures_util::future::ready::Ready<()>, [closure@tests/eager_drop.rs:69:15: 73:10 rx1:_, tx2:_]>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `run_in_background` found for struct `futures_util::future::try_future::and_then::AndThen>, [closure@tests/eager_drop.rs:87:57: 87:73]>, std::sync::mpsc::Sender<()>>, futures_util::future::ready::Ready>, [closure@tests/eager_drop.rs:88:19: 92:10 rx1:_, tx2:_]>` in the current scope [INFO] [stderr] --> tests/eager_drop.rs:93:10 [INFO] [stderr] | [INFO] [stderr] 93 | .run_in_background(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ method not found in `futures_util::future::try_future::and_then::AndThen>, [closure@tests/eager_drop.rs:87:57: 87:73]>, std::sync::mpsc::Sender<()>>, futures_util::future::ready::Ready>, [closure@tests/eager_drop.rs:88:19: 92:10 rx1:_, tx2:_]>` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stderr] --> tests/io_write.rs:43:19 [INFO] [stderr] | [INFO] [stderr] 43 | let cx = &mut panic_context(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stderr] --> tests/io_write.rs:59:19 [INFO] [stderr] | [INFO] [stderr] 59 | let cx = &mut panic_context(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `run_in_background` found for struct `futures_util::future::try_future::or_else::OrElse>, [closure@tests/eager_drop.rs:106:57: 106:73]>, std::sync::mpsc::Sender<()>>, futures_util::future::ready::Ready>, [closure@tests/eager_drop.rs:107:18: 111:10 rx1:_, tx2:_]>` in the current scope [INFO] [stderr] --> tests/eager_drop.rs:112:10 [INFO] [stderr] | [INFO] [stderr] 112 | .run_in_background(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ method not found in `futures_util::future::try_future::or_else::OrElse>, [closure@tests/eager_drop.rs:106:57: 106:73]>, std::sync::mpsc::Sender<()>>, futures_util::future::ready::Ready>, [closure@tests/eager_drop.rs:107:18: 111:10 rx1:_, tx2:_]>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [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] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [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] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [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] [stderr] error: build failed [INFO] running `"docker" "inspect" "4dac14ecf8145891f3698a5b06a4e0ffb30e27b9ee53d6c3c8b1bc940847c207"` [INFO] running `"docker" "rm" "-f" "4dac14ecf8145891f3698a5b06a4e0ffb30e27b9ee53d6c3c8b1bc940847c207"` [INFO] [stdout] 4dac14ecf8145891f3698a5b06a4e0ffb30e27b9ee53d6c3c8b1bc940847c207