[INFO] crate futures 0.3.4 is already in cache [INFO] checking futures-0.3.4 against master#339f574809bf8e4166b8de3cdbe7df181d37af3d for pr-71896 [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 339f574809bf8e4166b8de3cdbe7df181d37af3d [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "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" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 535a11c963918a305d82d168c9975c368fa5a16cb0c890fa988ef7bdedb2afe8 [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" "535a11c963918a305d82d168c9975c368fa5a16cb0c890fa988ef7bdedb2afe8"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.4 [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[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: 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] 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[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stderr] --> tests/ready_queue.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use futures_test::task::noop_context; [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `futures_test` [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] 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] 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[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[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: 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[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/ready_queue.rs:83:27 [INFO] [stderr] | [INFO] [stderr] 83 | 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/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[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 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[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: 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 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/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 `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 `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[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[E0433]: failed to resolve: use of undeclared type or module `futures_test` [INFO] [stderr] --> tests/io_read_line.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_line.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: 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: 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 9 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [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[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[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[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[E0432]: unresolved import `futures::executor::ThreadPool` [INFO] [stderr] --> tests/eventual.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use futures::executor::ThreadPool; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ThreadPool` in `executor` [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: 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: 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: 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[E0425]: cannot find function `noop_context` in this scope [INFO] [stderr] --> tests/io_read_line.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[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[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/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[E0432]: unresolved import `pin_utils` [INFO] [stderr] --> tests/split.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: cannot determine resolution for the macro `unsafe_pinned` [INFO] [stderr] --> tests/split.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe_pinned!(stream: T); [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 `unsafe_pinned` [INFO] [stderr] --> tests/split.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | unsafe_pinned!(sink: U); [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/sink.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use futures_test::task::panic_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[E0599]: no method named `interleave_pending` found for reference `&'static [u8; 2]` in the current scope [INFO] [stderr] --> tests/io_read_line.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[E0425]: cannot find function `panic_context` in this scope [INFO] [stderr] --> tests/sink.rs:24:34 [INFO] [stderr] | [INFO] [stderr] 24 | match s.poll_next_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/sink.rs:478:23 [INFO] [stderr] | [INFO] [stderr] 478 | 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/sink.rs:504:23 [INFO] [stderr] | [INFO] [stderr] 504 | let cx = &mut panic_context(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [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[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_line.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: 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 `stream` found for struct `std::pin::Pin<&mut Join>` in the current scope [INFO] [stderr] --> tests/split.rs:25:14 [INFO] [stderr] | [INFO] [stderr] 25 | self.stream().poll_next(cx) [INFO] [stderr] | ^^^^^^-- help: remove the arguments [INFO] [stderr] | | [INFO] [stderr] | field, not a method [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sink` found for struct `std::pin::Pin<&mut Join>` in the current scope [INFO] [stderr] --> tests/split.rs:36:14 [INFO] [stderr] | [INFO] [stderr] 36 | self.sink().poll_ready(cx) [INFO] [stderr] | ^^^^-- help: remove the arguments [INFO] [stderr] | | [INFO] [stderr] | field, not a method [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sink` found for struct `std::pin::Pin<&mut Join>` in the current scope [INFO] [stderr] --> tests/split.rs:43:14 [INFO] [stderr] | [INFO] [stderr] 43 | self.sink().start_send(item) [INFO] [stderr] | ^^^^-- help: remove the arguments [INFO] [stderr] | | [INFO] [stderr] | field, not a method [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sink` found for struct `std::pin::Pin<&mut Join>` in the current scope [INFO] [stderr] --> tests/split.rs:50:14 [INFO] [stderr] | [INFO] [stderr] 50 | self.sink().poll_flush(cx) [INFO] [stderr] | ^^^^-- help: remove the arguments [INFO] [stderr] | | [INFO] [stderr] | field, not a method [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sink` found for struct `std::pin::Pin<&mut Join>` in the current scope [INFO] [stderr] --> tests/split.rs:57:14 [INFO] [stderr] | [INFO] [stderr] 57 | self.sink().poll_close(cx) [INFO] [stderr] | ^^^^-- help: remove the arguments [INFO] [stderr] | | [INFO] [stderr] | field, not a method [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] warning: unused import: `futures::task::SpawnExt` [INFO] [stderr] --> tests/eventual.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::task::SpawnExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [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: 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 `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[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:13 [INFO] [stderr] | [INFO] [stderr] 64 | 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:13 [INFO] [stderr] | [INFO] [stderr] 64 | 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:13 [INFO] [stderr] | [INFO] [stderr] 64 | 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] warning: unused import: `SpawnExt` [INFO] [stderr] --> tests/mutex.rs:6:30 [INFO] [stderr] | [INFO] [stderr] 6 | use futures::task::{Context, SpawnExt}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 18 previous errors; 1 warning emitted [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] [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 `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: 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: 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 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] [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" "535a11c963918a305d82d168c9975c368fa5a16cb0c890fa988ef7bdedb2afe8"` [INFO] running `"docker" "rm" "-f" "535a11c963918a305d82d168c9975c368fa5a16cb0c890fa988ef7bdedb2afe8"` [INFO] [stdout] 535a11c963918a305d82d168c9975c368fa5a16cb0c890fa988ef7bdedb2afe8