[INFO] crate tokio 0.2.13 is already in cache [INFO] checking tokio-0.2.13 against try#89c05fd3cc6404a13e1bd71450c6132a2755fa4b for pr-69741 [INFO] extracting crate tokio 0.2.13 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate tokio 0.2.13 on toolchain 89c05fd3cc6404a13e1bd71450c6132a2755fa4b [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate tokio 0.2.13 [INFO] finished tweaking crates.io crate tokio 0.2.13 [INFO] tweaked toml for crates.io crate tokio 0.2.13 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 41c2b524f04cba91378290b0ffdb0fc112b8515272f6b77d581e5cf9612f472c [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" "41c2b524f04cba91378290b0ffdb0fc112b8515272f6b77d581e5cf9612f472c"` [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Checking tokio v0.2.13 (/opt/rustwide/workdir) [INFO] [stderr] Compiling generator v0.6.20 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Checking serde v1.0.104 [INFO] [stderr] Checking tokio-test v0.2.0 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking loom v0.2.15 [INFO] [stderr] error: run main Tokio tests with `--features full` [INFO] [stderr] --> tests/_require_full.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | compile_error!("run main Tokio tests with `--features full`"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [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] [stderr] error[E0432]: unresolved import `tokio::net::TcpStream` [INFO] [stderr] --> tests/no_rt.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use tokio::net::TcpStream; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ no `TcpStream` in `net` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::task` [INFO] [stderr] --> src/tests/mock_schedule.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::task::{Header, Schedule, ScheduleSendOnly, Task}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | unresolved import [INFO] [stderr] | help: a similar path exists: `core::task` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::sync::AtomicWaker` [INFO] [stderr] --> src/sync/tests/atomic_waker.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::sync::AtomicWaker; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `AtomicWaker` in `sync` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::sync::semaphore_ll` [INFO] [stderr] --> src/sync/tests/semaphore_ll.rs:1:18 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::sync::semaphore_ll::{Permit, Semaphore}; [INFO] [stderr] | ^^^^^^^^^^^^ could not find `semaphore_ll` in `sync` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [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] [stderr] error[E0432]: unresolved imports `tokio::stream`, `tokio::stream` [INFO] [stderr] --> tests/stream_merge.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use tokio::stream::{self, Stream, StreamExt}; [INFO] [stderr] | ^^^^^^ ^^^^ no `stream` in the root [INFO] [stderr] | | [INFO] [stderr] | could not find `stream` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio::sync::mpsc` [INFO] [stderr] --> tests/stream_merge.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio::sync::mpsc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `mpsc` in `sync` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/stream_merge.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/stream_merge.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0603]: module `sync` is private [INFO] [stderr] --> tests/stream_merge.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio::sync::mpsc; [INFO] [stderr] | ^^^^ this module is private [INFO] [stderr] | [INFO] [stderr] note: the module `sync` is defined here [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:336:5 [INFO] [stderr] | [INFO] [stderr] 336 | mod sync; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/stream_merge.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | for i in 0..7 { [INFO] [stderr] | ^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/stream_merge.rs:13:29 [INFO] [stderr] | [INFO] [stderr] 13 | assert_eq!(Some(i), s.next().await); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/stream_merge.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | for i in 0..7 { [INFO] [stderr] | ^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/stream_merge.rs:13:29 [INFO] [stderr] | [INFO] [stderr] 13 | assert_eq!(Some(i), s.next().await); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/stream_merge.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | for i in 0..7 { [INFO] [stderr] | ^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/stream_merge.rs:13:29 [INFO] [stderr] | [INFO] [stderr] 13 | assert_eq!(Some(i), s.next().await); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/stream_merge.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | for i in 0..7 { [INFO] [stderr] | ^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/stream_merge.rs:13:29 [INFO] [stderr] | [INFO] [stderr] 13 | assert_eq!(Some(i), s.next().await); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/stream_merge.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | let rem = 7 - i; [INFO] [stderr] | ^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/stream_merge.rs:13:29 [INFO] [stderr] | [INFO] [stderr] 13 | assert_eq!(Some(i), s.next().await); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/stream_merge.rs:13:25 [INFO] [stderr] | [INFO] [stderr] 13 | assert_eq!(Some(i), s.next().await); [INFO] [stderr] | ^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/stream_merge.rs:13:29 [INFO] [stderr] | [INFO] [stderr] 13 | assert_eq!(Some(i), s.next().await); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/stream_merge.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | assert_eq!(Some(i), s.next().await); [INFO] [stderr] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/stream_merge.rs:13:29 [INFO] [stderr] | [INFO] [stderr] 13 | assert_eq!(Some(i), s.next().await); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/stream_merge.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | assert_eq!(Some(i), s.next().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/stream_merge.rs:13:29 [INFO] [stderr] | [INFO] [stderr] 13 | assert_eq!(Some(i), s.next().await); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio::sync::oneshot` [INFO] [stderr] --> tests/no_rt.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio::sync::oneshot; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `oneshot` in `sync` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio::time` [INFO] [stderr] --> tests/no_rt.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio::time::{timeout, Duration}; [INFO] [stderr] | ^^^^ could not find `time` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0603]: module `sync` is private [INFO] [stderr] --> tests/no_rt.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio::sync::oneshot; [INFO] [stderr] | ^^^^ this module is private [INFO] [stderr] | [INFO] [stderr] note: the module `sync` is defined here [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:336:5 [INFO] [stderr] | [INFO] [stderr] 336 | mod sync; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size_hint` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/stream_merge.rs:26:19 [INFO] [stderr] | [INFO] [stderr] 26 | assert_eq!(rx.size_hint(), (0, None)); [INFO] [stderr] | ^^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `rx` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll_next` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/stream_merge.rs:28:24 [INFO] [stderr] | [INFO] [stderr] 28 | assert_pending!(rx.poll_next()); [INFO] [stderr] | ^^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `rx` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `is_woken` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/stream_merge.rs:32:16 [INFO] [stderr] | [INFO] [stderr] 32 | assert!(rx.is_woken()); [INFO] [stderr] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `rx` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll_next` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/stream_merge.rs:33:42 [INFO] [stderr] | [INFO] [stderr] 33 | assert_eq!(Some(1), assert_ready!(rx.poll_next())); [INFO] [stderr] | ^^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `rx` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll_next` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/stream_merge.rs:35:24 [INFO] [stderr] | [INFO] [stderr] 35 | assert_pending!(rx.poll_next()); [INFO] [stderr] | ^^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `rx` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `is_woken` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/stream_merge.rs:38:16 [INFO] [stderr] | [INFO] [stderr] 38 | assert!(rx.is_woken()); [INFO] [stderr] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `rx` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll_next` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/stream_merge.rs:39:42 [INFO] [stderr] | [INFO] [stderr] 39 | assert_eq!(Some(2), assert_ready!(rx.poll_next())); [INFO] [stderr] | ^^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `rx` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll_next` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/stream_merge.rs:40:24 [INFO] [stderr] | [INFO] [stderr] 40 | assert_pending!(rx.poll_next()); [INFO] [stderr] | ^^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `rx` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `is_woken` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/stream_merge.rs:43:16 [INFO] [stderr] | [INFO] [stderr] 43 | assert!(rx.is_woken()); [INFO] [stderr] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `rx` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll_next` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/stream_merge.rs:44:24 [INFO] [stderr] | [INFO] [stderr] 44 | assert_pending!(rx.poll_next()); [INFO] [stderr] | ^^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `rx` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `is_woken` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/stream_merge.rs:47:16 [INFO] [stderr] | [INFO] [stderr] 47 | assert!(rx.is_woken()); [INFO] [stderr] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `rx` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll_next` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/stream_merge.rs:48:42 [INFO] [stderr] | [INFO] [stderr] 48 | assert_eq!(Some(3), assert_ready!(rx.poll_next())); [INFO] [stderr] | ^^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `rx` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll_next` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/stream_merge.rs:49:24 [INFO] [stderr] | [INFO] [stderr] 49 | assert_pending!(rx.poll_next()); [INFO] [stderr] | ^^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `rx` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `is_woken` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/stream_merge.rs:52:16 [INFO] [stderr] | [INFO] [stderr] 52 | assert!(rx.is_woken()); [INFO] [stderr] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `rx` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll_next` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/stream_merge.rs:53:39 [INFO] [stderr] | [INFO] [stderr] 53 | assert_eq!(None, assert_ready!(rx.poll_next())); [INFO] [stderr] | ^^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `rx` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error: aborting due to 28 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0599, E0603, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [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] [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] [stderr] error[E0432]: unresolved imports `tokio::stream`, `tokio::stream` [INFO] [stderr] --> tests/stream_once.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use tokio::stream::{self, Stream, StreamExt}; [INFO] [stderr] | ^^^^^^ ^^^^ no `stream` in the root [INFO] [stderr] | | [INFO] [stderr] | could not find `stream` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/stream_once.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/stream_once.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | assert_eq!(Some(1), one.next().await); [INFO] [stderr] | ^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/stream_once.rs:8:25 [INFO] [stderr] | [INFO] [stderr] 8 | assert_eq!(Some(1), one.next().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/stream_once.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 8 | assert_eq!(Some(1), one.next().await); [INFO] [stderr] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/stream_once.rs:8:25 [INFO] [stderr] | [INFO] [stderr] 8 | assert_eq!(Some(1), one.next().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/stream_once.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | assert_eq!(Some(1), one.next().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/stream_once.rs:8:25 [INFO] [stderr] | [INFO] [stderr] 8 | assert_eq!(Some(1), one.next().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [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] [stderr] error[E0432]: unresolved imports `tokio::stream`, `tokio::stream` [INFO] [stderr] --> tests/stream_stream_map.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use tokio::stream::{self, pending, Stream, StreamExt, StreamMap}; [INFO] [stderr] | ^^^^^^ ^^^^ no `stream` in the root [INFO] [stderr] | | [INFO] [stderr] | could not find `stream` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio::sync::mpsc` [INFO] [stderr] --> tests/stream_stream_map.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio::sync::mpsc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `mpsc` in `sync` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/stream_stream_map.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/stream_stream_map.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/stream_stream_map.rs:76:10 [INFO] [stderr] | [INFO] [stderr] 76 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/stream_stream_map.rs:132:10 [INFO] [stderr] | [INFO] [stderr] 132 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/stream_stream_map.rs:160:10 [INFO] [stderr] | [INFO] [stderr] 160 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0603]: module `sync` is private [INFO] [stderr] --> tests/stream_stream_map.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio::sync::mpsc; [INFO] [stderr] | ^^^^ this module is private [INFO] [stderr] | [INFO] [stderr] note: the module `sync` is defined here [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:336:5 [INFO] [stderr] | [INFO] [stderr] 336 | mod sync; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "41c2b524f04cba91378290b0ffdb0fc112b8515272f6b77d581e5cf9612f472c"` [INFO] running `"docker" "rm" "-f" "41c2b524f04cba91378290b0ffdb0fc112b8515272f6b77d581e5cf9612f472c"` [INFO] [stdout] 41c2b524f04cba91378290b0ffdb0fc112b8515272f6b77d581e5cf9612f472c