[INFO] fetching crate tokio 0.2.22... [INFO] checking tokio-0.2.22 against master#d62d3f7fa9a91d933213cc10e20e740608983f64 for pr-77015 [INFO] extracting crate tokio 0.2.22 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate tokio 0.2.22 on toolchain d62d3f7fa9a91d933213cc10e20e740608983f64 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded generator v0.6.22 [INFO] [stderr] Downloaded scoped-tls v1.0.0 [INFO] [stderr] Downloaded tokio-test v0.2.1 [INFO] [stderr] Downloaded ppv-lite86 v0.2.9 [INFO] [stderr] Downloaded bit-vec v0.6.2 [INFO] [stderr] Downloaded rusty-fork v0.2.2 [INFO] [stderr] Downloaded tracing-core v0.1.17 [INFO] [stderr] Downloaded cc v1.0.60 [INFO] [stderr] Downloaded loom v0.3.5 [INFO] [stderr] Downloaded futures-test v0.3.5 [INFO] [stderr] Downloaded pin-project-internal v0.4.25 [INFO] [stderr] Downloaded pin-project v0.4.25 [INFO] [stderr] Downloaded proptest v0.9.6 [INFO] [stderr] Downloaded tracing v0.1.21 [INFO] [stderr] Downloaded getrandom v0.1.15 [INFO] [stderr] Downloaded bit-set v0.5.2 [INFO] [stderr] Downloaded wait-timeout v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "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] 07bb2f7f6ac6344abe714f2844e740a7d1dbbcddffb150f20090ee02c77847e7 [INFO] running `Command { std: "docker" "start" "-a" "07bb2f7f6ac6344abe714f2844e740a7d1dbbcddffb150f20090ee02c77847e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07bb2f7f6ac6344abe714f2844e740a7d1dbbcddffb150f20090ee02c77847e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07bb2f7f6ac6344abe714f2844e740a7d1dbbcddffb150f20090ee02c77847e7", kill_on_drop: false }` [INFO] [stdout] 07bb2f7f6ac6344abe714f2844e740a7d1dbbcddffb150f20090ee02c77847e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acb9367c4f5af6d9750dfe2cbbc6ca9bb34441b58dfdf5161bc347710b30bf02 [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" "acb9367c4f5af6d9750dfe2cbbc6ca9bb34441b58dfdf5161bc347710b30bf02", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling pin-project-internal v0.4.25 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.12 [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] [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 futures-channel v0.3.5 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking tokio-test v0.2.1 [INFO] [stderr] Checking rusty-fork v0.2.2 [INFO] [stderr] Checking proptest v0.9.6 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Checking pin-project v0.4.25 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking futures-test v0.3.5 [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/net_lookup_host.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[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/net_lookup_host.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[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/net_lookup_host.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::net::TcpStream` [INFO] [stdout] --> tests/no_rt.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `TcpStream` in `net` [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[E0432]: unresolved import `tokio::sync::oneshot` [INFO] [stdout] --> tests/no_rt.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `oneshot` in `sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::time` [INFO] [stdout] --> tests/no_rt.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::time::{timeout, Duration}; [INFO] [stdout] | ^^^^ could not find `time` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `sync` is private [INFO] [stdout] --> tests/no_rt.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::oneshot; [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[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[E0425]: cannot find function `lookup_host` in module `net` [INFO] [stdout] --> tests/net_lookup_host.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | let actual = assert_ok!(net::lookup_host(addr).await).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lookup_host` in module `net` [INFO] [stdout] --> tests/net_lookup_host.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | let actual = assert_ok!(net::lookup_host("127.0.0.1:8000").await).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: async functions cannot be used for tests [INFO] [stdout] --> tests/macros_test.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | async fn test_macro_can_be_used_via_use() { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _`async` because of this [INFO] [stdout] | | [INFO] [stdout] 5 | | tokio::spawn(async { [INFO] [stdout] 6 | | assert_eq!(1 + 1, 2); [INFO] [stdout] 7 | | }) [INFO] [stdout] 8 | | .await [INFO] [stdout] 9 | | .unwrap(); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lookup_host` in module `net` [INFO] [stdout] --> tests/net_lookup_host.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | let mut hosts = net::lookup_host("localhost:3000").await?; [INFO] [stdout] | ^^^^^^^^^^^ not found in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::test` [INFO] [stdout] --> tests/macros_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::test; [INFO] [stdout] | ^^^^^^^^^^^ no `test` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0603. [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 `test` in `tokio` [INFO] [stdout] --> tests/macros_test.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [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: 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[E0432]: unresolved imports `tokio::stream`, `tokio::stream` [INFO] [stdout] --> tests/stream_pending.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_pending.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::stream`, `tokio::stream` [INFO] [stdout] --> tests/stream_chain.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_chain.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_chain.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/stream_chain.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[E0433]: failed to resolve: could not find `stream` in `tokio` [INFO] [stdout] --> tests/stream_chain.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | 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_chain.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 import `tokio::stream` [INFO] [stdout] --> tests/stream_iter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::stream; [INFO] [stdout] | ^^^^^^^^^^^^^ no `stream` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_iter.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: 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: 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[E0432]: unresolved import `tokio::stream` [INFO] [stdout] --> tests/stream_fuse.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::stream::{Stream, StreamExt}; [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_fuse.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> tests/macros_test.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | tokio::spawn(async { [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_test::task::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> tests/macros_test.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | tokio::spawn(async { [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_test::task::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_next` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_iter.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | if stream.poll_next().is_pending() { [INFO] [stdout] | ^^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `stream` 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_iter.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | assert!(stream.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `stream` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [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" "acb9367c4f5af6d9750dfe2cbbc6ca9bb34441b58dfdf5161bc347710b30bf02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acb9367c4f5af6d9750dfe2cbbc6ca9bb34441b58dfdf5161bc347710b30bf02", kill_on_drop: false }` [INFO] [stdout] acb9367c4f5af6d9750dfe2cbbc6ca9bb34441b58dfdf5161bc347710b30bf02