[INFO] crate futures 0.3.1 is already in cache [INFO] checking futures-0.3.1 against try#d27c6c6a469a28343396a8f3ac1c9d403aabda69 for pr-66037 [INFO] extracting crate futures 0.3.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate futures 0.3.1 on toolchain d27c6c6a469a28343396a8f3ac1c9d403aabda69 [INFO] running `"/workspace/cargo-home/bin/cargo" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate futures 0.3.1 [INFO] finished tweaking crates.io crate futures 0.3.1 [INFO] tweaked toml for crates.io crate futures 0.3.1 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] afdb8ca38adc19ba522192a0378bddcef6d20900f8e812c6d5b0f8a5542d3a76 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "afdb8ca38adc19ba522192a0378bddcef6d20900f8e812c6d5b0f8a5542d3a76"` [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking futures v0.3.1 (/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[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[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stderr] --> tests/mutex.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | 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/mutex.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use futures_test::task::{new_count_waker, panic_context}; [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/fuse.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use futures_test::task::panic_waker; [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_buf_writer.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use futures_test::task::noop_context; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ThreadPool` in `executor` [INFO] [stderr] --> tests/mutex.rs:40:35 [INFO] [stderr] | [INFO] [stderr] 40 | let pool = futures::executor::ThreadPool::builder() [INFO] [stderr] | ^^^^^^^^^^ could not find `ThreadPool` in `executor` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stderr] --> tests/mutex.rs:15:46 [INFO] [stderr] | [INFO] [stderr] 15 | assert!(mutex.lock().poll_unpin(&mut panic_context()).is_ready()); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `new_count_waker` in this scope [INFO] [stderr] --> tests/mutex.rs:22:28 [INFO] [stderr] | [INFO] [stderr] 22 | let (waker, counter) = new_count_waker(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stderr] --> tests/mutex.rs:23:45 [INFO] [stderr] | [INFO] [stderr] 23 | let lock = mutex.lock().poll_unpin(&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/mutex.rs:34:36 [INFO] [stderr] | [INFO] [stderr] 34 | assert!(waiter.poll_unpin(&mut panic_context()).is_ready()); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `panic_waker` in this scope [INFO] [stderr] --> tests/fuse.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | let waker = panic_waker(); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [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] 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] 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] 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] 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] 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] 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] 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] 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] error[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stderr] --> tests/futures_ordered.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | 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_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] error: aborting due to 2 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[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: could not compile `futures`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `pending_once` found for struct `futures_util::future::ready::Ready<()>` in the current scope [INFO] [stderr] --> tests/mutex.rs:54:23 [INFO] [stderr] | [INFO] [stderr] 54 | ready(()).pending_once().await; [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `futures_util::future::ready::Ready<()>` [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] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/io_buf_writer.rs:112:18 [INFO] [stderr] | [INFO] [stderr] 112 | let mut cx = noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/mutex.rs:53:28 [INFO] [stderr] | [INFO] [stderr] 53 | let mut lock = mutex.lock().await; [INFO] [stderr] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/mutex.rs:53:28 [INFO] [stderr] | [INFO] [stderr] 53 | let mut lock = mutex.lock().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/mutex.rs:53:28 [INFO] [stderr] | [INFO] [stderr] 53 | let mut lock = mutex.lock().await; [INFO] [stderr] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/mutex.rs:53:28 [INFO] [stderr] | [INFO] [stderr] 53 | let mut lock = mutex.lock().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/mutex.rs:53:28 [INFO] [stderr] | [INFO] [stderr] 53 | let mut lock = mutex.lock().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/mutex.rs:53:28 [INFO] [stderr] | [INFO] [stderr] 53 | let mut lock = mutex.lock().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/mutex.rs:53:17 [INFO] [stderr] | [INFO] [stderr] 53 | let mut lock = mutex.lock().await; [INFO] [stderr] | ^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/mutex.rs:54:13 [INFO] [stderr] | [INFO] [stderr] 54 | ready(()).pending_once().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/mutex.rs:63:18 [INFO] [stderr] | [INFO] [stderr] 63 | for _ in 0..num_tasks { [INFO] [stderr] | ^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/mutex.rs:64:22 [INFO] [stderr] | [INFO] [stderr] 64 | let () = rx.next().await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/mutex.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | for _ in 0..num_tasks { [INFO] [stderr] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/mutex.rs:64:22 [INFO] [stderr] | [INFO] [stderr] 64 | let () = rx.next().await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/mutex.rs:63:18 [INFO] [stderr] | [INFO] [stderr] 63 | for _ in 0..num_tasks { [INFO] [stderr] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/mutex.rs:64:22 [INFO] [stderr] | [INFO] [stderr] 64 | let () = rx.next().await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/mutex.rs:66:20 [INFO] [stderr] | [INFO] [stderr] 66 | let lock = mutex.lock().await; [INFO] [stderr] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/mutex.rs:66:20 [INFO] [stderr] | [INFO] [stderr] 66 | let lock = mutex.lock().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/mutex.rs:66:20 [INFO] [stderr] | [INFO] [stderr] 66 | let lock = mutex.lock().await; [INFO] [stderr] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/mutex.rs:66:20 [INFO] [stderr] | [INFO] [stderr] 66 | let lock = mutex.lock().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/mutex.rs:66:20 [INFO] [stderr] | [INFO] [stderr] 66 | let lock = mutex.lock().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/mutex.rs:66:20 [INFO] [stderr] | [INFO] [stderr] 66 | let lock = mutex.lock().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 18 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433, E0599, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `futures`. [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[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 `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[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[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: aborting due to 6 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: could not compile `futures`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/futures_ordered.rs:17:41 [INFO] [stderr] | [INFO] [stderr] 17 | assert!(stream.poll_next_unpin(&mut noop_context()).is_pending()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: could not compile `futures`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/futures_ordered.rs:40:18 [INFO] [stderr] | [INFO] [stderr] 40 | 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_ordered.rs:73:19 [INFO] [stderr] | [INFO] [stderr] 73 | let cx = &mut noop_context(); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [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: aborting due to 4 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] 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: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: could not compile `futures`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] warning: build failed, waiting for other jobs to finish... [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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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[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] [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] [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] [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] [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] [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] [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] [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[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] [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[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] [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[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] [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] [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] [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] 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: aborting due to 31 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] running `"docker" "inspect" "afdb8ca38adc19ba522192a0378bddcef6d20900f8e812c6d5b0f8a5542d3a76"` [INFO] running `"docker" "rm" "-f" "afdb8ca38adc19ba522192a0378bddcef6d20900f8e812c6d5b0f8a5542d3a76"` [INFO] [stdout] afdb8ca38adc19ba522192a0378bddcef6d20900f8e812c6d5b0f8a5542d3a76