[INFO] fetching crate tokio 0.2.22... [INFO] checking tokio-0.2.22 against master#893fadd11a52aa26fc19c67ee1b79f03d6a1bed3 for pr-77153 [INFO] extracting crate tokio 0.2.22 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate tokio 0.2.22 on toolchain 893fadd11a52aa26fc19c67ee1b79f03d6a1bed3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio 0.2.22 [INFO] finished tweaking crates.io crate tokio 0.2.22 [INFO] tweaked toml for crates.io crate tokio 0.2.22 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7a5d78d40ae77fc7db841c524bab7da35575da93a538eedc18c60c65b2e89999 [INFO] running `Command { std: "docker" "start" "-a" "7a5d78d40ae77fc7db841c524bab7da35575da93a538eedc18c60c65b2e89999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a5d78d40ae77fc7db841c524bab7da35575da93a538eedc18c60c65b2e89999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a5d78d40ae77fc7db841c524bab7da35575da93a538eedc18c60c65b2e89999", kill_on_drop: false }` [INFO] [stdout] 7a5d78d40ae77fc7db841c524bab7da35575da93a538eedc18c60c65b2e89999 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+893fadd11a52aa26fc19c67ee1b79f03d6a1bed3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5d7236f1c4b7095c16a1dc9fee9756f911db413a43a8fe6e9f807d534d210e4 [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" "c5d7236f1c4b7095c16a1dc9fee9756f911db413a43a8fe6e9f807d534d210e4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking bit-vec v0.6.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking tokio v0.2.22 (/opt/rustwide/workdir) [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been renamed to `broken_intra_doc_links` [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `broken_intra_doc_links` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio-test v0.2.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking rusty-fork v0.2.2 [INFO] [stderr] Checking proptest v0.9.6 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures-test v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stdout] error[E0433]: failed to resolve: could not find `task_local` in `tokio` [INFO] [stdout] --> tests/task_local.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | tokio::task_local! { [INFO] [stdout] | ^^^^^^^^^^ could not find `task_local` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/task_local.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::test(threaded_scheduler)] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::io::AsyncReadExt` [INFO] [stdout] --> tests/read_to_string.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AsyncRead` [INFO] [stdout] | no `AsyncReadExt` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/read_to_string.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/read_to_string.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/read_to_string.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/read_to_string.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let data = vec![0xff, 0xff, 0xff]; [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/read_to_string.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | match AsyncReadExt::read_to_string(&mut data.as_slice(), &mut s).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/read_to_string.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | match AsyncReadExt::read_to_string(&mut data.as_slice(), &mut s).await { [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/read_to_string.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | match AsyncReadExt::read_to_string(&mut data.as_slice(), &mut s).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/read_to_string.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | match AsyncReadExt::read_to_string(&mut data.as_slice(), &mut s).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/read_to_string.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | match AsyncReadExt::read_to_string(&mut data.as_slice(), &mut s).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/read_to_string.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | match AsyncReadExt::read_to_string(&mut data.as_slice(), &mut s).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/read_to_string.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | match AsyncReadExt::read_to_string(&mut data.as_slice(), &mut s).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `time` in `tokio` [INFO] [stdout] --> tests/task_local.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | tokio::time::delay_for(std::time::Duration::from_millis(10)).await; [INFO] [stdout] | ^^^^ could not find `time` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> tests/task_local.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | let j1 = tokio::spawn(REQ_ID.scope(1, async move { [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_test::task::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio` [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] [stdout] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stdout] --> tests/task_local.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | let j1 = tokio::spawn(REQ_ID.scope(1, async move { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stdout] --> tests/task_local.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(REQ_ID.get(), 1); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stdout] --> tests/task_local.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(REQ_ID.get(), 1); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> tests/task_local.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let j2 = tokio::spawn(REQ_ID.scope(2, async move { [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_test::task::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stdout] --> tests/task_local.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | let j2 = tokio::spawn(REQ_ID.scope(2, async move { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stdout] --> tests/task_local.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | REQ_ID.with(|v| { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stdout] --> tests/task_local.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(REQ_ID.get(), 2); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stdout] --> tests/task_local.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(REQ_ID.get(), 2); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> tests/task_local.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | let j3 = tokio::spawn(FOO.scope(true, async move { [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_test::task::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FOO` in this scope [INFO] [stdout] --> tests/task_local.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | let j3 = tokio::spawn(FOO.scope(true, async move { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FOO` in this scope [INFO] [stdout] --> tests/task_local.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | assert!(FOO.get()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::stream`, `tokio::stream` [INFO] [stdout] --> tests/stream_merge.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::stream::{self, Stream, StreamExt}; [INFO] [stdout] | ^^^^^^ ^^^^ no `stream` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `stream` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::sync::mpsc` [INFO] [stdout] --> tests/stream_merge.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `mpsc` in `sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_merge.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_merge.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `stream` in `tokio` [INFO] [stdout] --> tests/stream_merge.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | impl tokio::stream::Stream for Monster { [INFO] [stdout] | ^^^^^^ could not find `stream` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `sync` is private [INFO] [stdout] --> tests/stream_merge.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `sync` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 384 | mod sync; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::stream`, `tokio::stream` [INFO] [stdout] --> tests/stream_empty.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::stream::{self, Stream, StreamExt}; [INFO] [stdout] | ^^^^^^ ^^^^ no `stream` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `stream` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_empty.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/stream_empty.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | for _ in 0..2 { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/stream_empty.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(None, stream.next().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/stream_empty.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | for _ in 0..2 { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/stream_empty.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(None, stream.next().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/stream_empty.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | for _ in 0..2 { [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/stream_empty.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(None, stream.next().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/stream_empty.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | for _ in 0..2 { [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/stream_empty.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(None, stream.next().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::stream`, `tokio::stream` [INFO] [stdout] --> tests/stream_collect.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^ ^^^^ no `stream` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `stream` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::sync::mpsc` [INFO] [stdout] --> tests/stream_collect.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `mpsc` in `sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `sync` is private [INFO] [stdout] --> tests/stream_collect.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `sync` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 384 | mod sync; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | let coll = assert_ready!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | let coll = assert_ready!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | let coll = assert_ready!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:132:34 [INFO] [stdout] | [INFO] [stdout] 132 | let coll = assert_ready!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:153:37 [INFO] [stdout] | [INFO] [stdout] 153 | let coll = assert_ready_ok!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:170:37 [INFO] [stdout] | [INFO] [stdout] 170 | let err = assert_ready_err!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 56 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c5d7236f1c4b7095c16a1dc9fee9756f911db413a43a8fe6e9f807d534d210e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5d7236f1c4b7095c16a1dc9fee9756f911db413a43a8fe6e9f807d534d210e4", kill_on_drop: false }` [INFO] [stdout] c5d7236f1c4b7095c16a1dc9fee9756f911db413a43a8fe6e9f807d534d210e4