[INFO] fetching crate futures 0.3.12... [INFO] checking futures-0.3.12 against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] extracting crate futures 0.3.12 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate futures 0.3.12 on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate futures 0.3.12 [INFO] finished tweaking crates.io crate futures 0.3.12 [INFO] tweaked toml for crates.io crate futures 0.3.12 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert_matches v1.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c278b359302aad5aeccbdf1389f0f409f5113125d53f0d81e7f699206defa911 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c278b359302aad5aeccbdf1389f0f409f5113125d53f0d81e7f699206defa911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c278b359302aad5aeccbdf1389f0f409f5113125d53f0d81e7f699206defa911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c278b359302aad5aeccbdf1389f0f409f5113125d53f0d81e7f699206defa911", kill_on_drop: false }` [INFO] [stdout] c278b359302aad5aeccbdf1389f0f409f5113125d53f0d81e7f699206defa911 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2b10fd826dc7d41671b70d78cb472d29816fa54bd20f9cb941dff1060833cc0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a2b10fd826dc7d41671b70d78cb472d29816fa54bd20f9cb941dff1060833cc0", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.12 [INFO] [stderr] Checking futures-io v0.3.12 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking futures-executor v0.3.12 [INFO] [stderr] Checking futures v0.3.12 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `futures::executor::ThreadPool` [INFO] [stdout] --> tests/eventual.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::executor::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ThreadPool` in `executor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/mutex.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_test::task::panic_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/mutex.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use futures_test::task::{new_count_waker, panic_context}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/mutex.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/unfold.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures_test::future::FutureTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_test` [INFO] [stdout] --> tests/unfold.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_test::{ [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_pending` [INFO] [stdout] --> tests/unfold.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | assert_stream_pending!(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_next` [INFO] [stdout] --> tests/unfold.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | assert_stream_next!(stream, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_pending` [INFO] [stdout] --> tests/unfold.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | assert_stream_pending!(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_next` [INFO] [stdout] --> tests/unfold.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | assert_stream_next!(stream, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_pending` [INFO] [stdout] --> tests/unfold.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | assert_stream_pending!(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_next` [INFO] [stdout] --> tests/unfold.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | assert_stream_next!(stream, 4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_pending` [INFO] [stdout] --> tests/unfold.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | assert_stream_pending!(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_stream_done` [INFO] [stdout] --> tests/unfold.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | assert_stream_done!(stream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/stream.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_read.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use futures_test::task::panic_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_read.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | use futures_test::task::panic_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_read_to_string.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | use futures_test::io::AsyncReadTestExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_read_to_string.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stdout] --> tests/mutex.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | assert!(mutex.lock().poll_unpin(&mut panic_context()).is_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_count_waker` in this scope [INFO] [stdout] --> tests/mutex.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | let (waker, counter) = new_count_waker(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stdout] --> tests/mutex.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 22 | let lock = mutex.lock().poll_unpin(&mut panic_context()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stdout] --> tests/mutex.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | assert!(waiter.poll_unpin(&mut panic_context()).is_ready()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ThreadPool` in `executor` [INFO] [stdout] --> tests/mutex.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | let pool = futures::executor::ThreadPool::builder() [INFO] [stdout] | ^^^^^^^^^^ not found in `futures::executor` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::executor::thread_pool::ThreadPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::task::SpawnExt` [INFO] [stdout] --> tests/eventual.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::task::SpawnExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/sink.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use futures_test::task::panic_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/sink.rs:630:9 [INFO] [stdout] | [INFO] [stdout] 630 | use futures_test::task::panic_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/sink.rs:691:9 [INFO] [stdout] | [INFO] [stdout] 691 | use futures_test::task::panic_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/ready_queue.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `futures` [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 136 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 138 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 140 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[1, 2][..])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 183 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1, 2, 3, 4][..])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 185 | assert_eq!(run_fill_buf!(reader).ok().map(|s| s.len()), Some(5)); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 189 | assert_eq!(run_fill_buf!(reader).ok().map(|s| s.len()), Some(5)); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 351 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 353 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/io_buf_reader.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::noop_context; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] ... [INFO] [stdout] 355 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[1, 2][..])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_test` [INFO] [stdout] --> tests/fuse.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_test::task::panic_waker; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_read_to_string.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/stream.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stdout] --> tests/sink.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | match s.poll_next_unpin(&mut panic_context()) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stdout] --> tests/sink.rs:634:23 [INFO] [stdout] | [INFO] [stdout] 634 | let cx = &mut panic_context(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stdout] --> tests/sink.rs:704:23 [INFO] [stdout] | [INFO] [stdout] 704 | let cx = &mut panic_context(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stdout] --> tests/io_read.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let cx = &mut panic_context(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_context` in this scope [INFO] [stdout] --> tests/io_read.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | let cx = &mut panic_context(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/ready_queue.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | let cx = &mut noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 136 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 138 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 140 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[1, 2][..])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 183 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1, 2, 3, 4][..])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 185 | assert_eq!(run_fill_buf!(reader).ok().map(|s| s.len()), Some(5)); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 189 | assert_eq!(run_fill_buf!(reader).ok().map(|s| s.len()), Some(5)); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 351 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 353 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[0, 1][..])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `noop_context` in this scope [INFO] [stdout] --> tests/io_buf_reader.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cx = noop_context(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 355 | assert_eq!(run_fill_buf!(reader).ok(), Some(&[1, 2][..])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `interleave_pending` found for struct `IntoAsyncRead>, fn(&[u8]) -> Result<&[u8], std::io::Error> {Result::<&[u8], std::io::Error>::Ok}>>` in the current scope [INFO] [stdout] --> tests/io_read_to_string.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | .interleave_pending(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `IntoAsyncRead>, fn(&[u8]) -> Result<&[u8], std::io::Error> {Result::<&[u8], std::io::Error>::Ok}>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::io::AsyncReadExt` [INFO] [stdout] --> tests/io_read_to_string.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | use futures::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `panic_waker` in this scope [INFO] [stdout] --> tests/fuse.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let waker = panic_waker(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pending_once` found for struct `futures::future::Ready>` in the current scope [INFO] [stdout] --> tests/unfold.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | future::ready(Some((state * 2, state + 1))).pending_once() [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `futures::future::Ready>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pending_once` found for struct `futures::future::Ready>` in the current scope [INFO] [stdout] --> tests/unfold.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | future::ready(None).pending_once() [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `futures::future::Ready>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pending_once` found for struct `futures::future::Ready<()>` in the current scope [INFO] [stdout] --> tests/mutex.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | ready(()).pending_once().await; [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `futures::future::Ready<()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let mut lock = mutex.lock().await; [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let mut lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let mut lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let mut lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let mut lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let mut lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let mut lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | ready(()).pending_once().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | for _ in 0..num_tasks { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | rx.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | for _ in 0..num_tasks { [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | rx.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | for _ in 0..num_tasks { [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | rx.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | for _ in 0..num_tasks { [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | rx.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | let lock = mutex.lock().await; [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | let lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | let lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | let lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/mutex.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | let lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/mutex.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | let lock = mutex.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::task::SpawnExt` [INFO] [stdout] --> tests/mutex.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | use futures::task::SpawnExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a2b10fd826dc7d41671b70d78cb472d29816fa54bd20f9cb941dff1060833cc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2b10fd826dc7d41671b70d78cb472d29816fa54bd20f9cb941dff1060833cc0", kill_on_drop: false }` [INFO] [stdout] a2b10fd826dc7d41671b70d78cb472d29816fa54bd20f9cb941dff1060833cc0