[INFO] fetching crate tokio 0.2.22... [INFO] checking tokio-0.2.22 against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] extracting crate tokio 0.2.22 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate tokio 0.2.22 on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-test v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49df799156ffcb23c62d57d92b7c476d42a3b1ea6d214f8544cbd5a733dda306 [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" "49df799156ffcb23c62d57d92b7c476d42a3b1ea6d214f8544cbd5a733dda306", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49df799156ffcb23c62d57d92b7c476d42a3b1ea6d214f8544cbd5a733dda306", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49df799156ffcb23c62d57d92b7c476d42a3b1ea6d214f8544cbd5a733dda306", kill_on_drop: false }` [INFO] [stdout] 49df799156ffcb23c62d57d92b7c476d42a3b1ea6d214f8544cbd5a733dda306 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efaca925a11539448cc2d57a806aec7c5347fd923b24dde5cecbfcf0e5e096b9 [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" "efaca925a11539448cc2d57a806aec7c5347fd923b24dde5cecbfcf0e5e096b9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking bit-vec v0.6.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking tokio v0.2.22 (/opt/rustwide/workdir) [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 v0.7.3 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking rusty-fork v0.2.2 [INFO] [stderr] Checking proptest v0.9.6 [INFO] [stderr] Checking tokio-test v0.2.1 [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 v0.3.5 [INFO] [stderr] Checking futures-test 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[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_pin.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 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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [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] [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[E0599]: no method named `poll_next` found for struct `tokio_test::task::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 `tokio_test::task::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 `tokio_test::task::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 `tokio_test::task::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[E0432]: unresolved imports `tokio::sync::mpsc`, `tokio::sync::oneshot` [INFO] [stdout] --> tests/macros_select.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::{mpsc, oneshot}; [INFO] [stdout] | ^^^^ ^^^^^^^ no `oneshot` in `sync` [INFO] [stdout] | | [INFO] [stdout] | no `mpsc` in `sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::task` [INFO] [stdout] --> tests/macros_select.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ no `task` in the root [INFO] [stdout] [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[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[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] [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[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: 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[E0432]: unresolved imports `tokio::time`, `tokio::time` [INFO] [stdout] --> tests/macros_select.rs:360:16 [INFO] [stdout] | [INFO] [stdout] 360 | use tokio::time::{self, Duration}; [INFO] [stdout] | ^^^^ ^^^^ no `time` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `time` 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[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | let foo = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let foo = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | let foo = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | let foo = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | let foo = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | let foo = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | let res = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | let res = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | let v = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:159:10 [INFO] [stdout] | [INFO] [stdout] 159 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:185:10 [INFO] [stdout] | [INFO] [stdout] 185 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:187:22 [INFO] [stdout] | [INFO] [stdout] 187 | let res = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:206:16 [INFO] [stdout] | [INFO] [stdout] 206 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:230:16 [INFO] [stdout] | [INFO] [stdout] 230 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:254:10 [INFO] [stdout] | [INFO] [stdout] 254 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 271 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:286:16 [INFO] [stdout] | [INFO] [stdout] 286 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:301:10 [INFO] [stdout] | [INFO] [stdout] 301 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:309:16 [INFO] [stdout] | [INFO] [stdout] 309 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:323:10 [INFO] [stdout] | [INFO] [stdout] 323 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:335:20 [INFO] [stdout] | [INFO] [stdout] 335 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:358:10 [INFO] [stdout] | [INFO] [stdout] 358 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:372:10 [INFO] [stdout] | [INFO] [stdout] 372 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:374:22 [INFO] [stdout] | [INFO] [stdout] 374 | let num = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> tests/macros_select.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_test::task::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `sync` is private [INFO] [stdout] --> tests/macros_select.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::{mpsc, 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[E0432]: unresolved imports `tokio::stream`, `tokio::stream` [INFO] [stdout] --> tests/stream_stream_map.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::stream::{self, pending, Stream, StreamExt, StreamMap}; [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_stream_map.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_stream_map.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[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_stream_map.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[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_stream_map.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | #[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_stream_map.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | #[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_stream_map.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | #[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_stream_map.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: aborting due to 8 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[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: 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: aborting due to 47 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0603. [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" "efaca925a11539448cc2d57a806aec7c5347fd923b24dde5cecbfcf0e5e096b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efaca925a11539448cc2d57a806aec7c5347fd923b24dde5cecbfcf0e5e096b9", kill_on_drop: false }` [INFO] [stdout] efaca925a11539448cc2d57a806aec7c5347fd923b24dde5cecbfcf0e5e096b9