[INFO] fetching crate tokio 1.10.0... [INFO] checking tokio-1.10.0 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate tokio 1.10.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate tokio 1.10.0 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio 1.10.0 [INFO] finished tweaking crates.io crate tokio 1.10.0 [INFO] tweaked toml for crates.io crate tokio 1.10.0 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32c9ea19ec38a871bbe3d67482620b327554ddc33f92f020dadc4816cc6d77c7 [INFO] running `Command { std: "docker" "start" "-a" "32c9ea19ec38a871bbe3d67482620b327554ddc33f92f020dadc4816cc6d77c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32c9ea19ec38a871bbe3d67482620b327554ddc33f92f020dadc4816cc6d77c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32c9ea19ec38a871bbe3d67482620b327554ddc33f92f020dadc4816cc6d77c7", kill_on_drop: false }` [INFO] [stdout] 32c9ea19ec38a871bbe3d67482620b327554ddc33f92f020dadc4816cc6d77c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff78301731dfeaae74fcce9ab57b52bd23aa4deb4d592883d467e4c9cc4fb6fc [INFO] running `Command { std: "docker" "start" "-a" "ff78301731dfeaae74fcce9ab57b52bd23aa4deb4d592883d467e4c9cc4fb6fc", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking predicates-core v1.0.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking fragile v1.0.0 [INFO] [stderr] Checking downcast v0.10.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking predicates-tree v1.0.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling tokio v1.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking futures-channel v0.3.16 [INFO] [stderr] Checking nix v0.22.1 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking proptest v1.0.0 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling mockall_derive v0.10.2 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking tokio-test v0.4.2 [INFO] [stderr] Checking mockall v0.10.2 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [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(flavor = "multi_thread")] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [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 {}).await.unwrap(); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> tests/macros_test.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | async fn f(self) {} [INFO] [stdout] | -----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `async` because of this [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [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[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_test.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 `main` in `tokio` [INFO] [stdout] --> tests/macros_test.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_test.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 `main` in `tokio` [INFO] [stdout] --> tests/macros_test.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [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 {}).await.unwrap(); [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:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | tokio::spawn(async {}).await.unwrap(); [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[E0432]: unresolved import `tokio::sync::oneshot` [INFO] [stdout] --> tests/macros_try_join.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[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_try_join.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 `try_join` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let foo = tokio::try_join!(async { ok(1) },); [INFO] [stdout] | ^^^^^^^^ could not find `try_join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `try_join` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let foo = tokio::try_join!(async { ok(1) }); [INFO] [stdout] | ^^^^^^^^ could not find `try_join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_try_join.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 `try_join` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | let foo = tokio::try_join!(async { ok(1) }, async { ok(2) },); [INFO] [stdout] | ^^^^^^^^ could not find `try_join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `try_join` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let foo = tokio::try_join!(async { ok(1) }, async { ok(2) }); [INFO] [stdout] | ^^^^^^^^ could not find `try_join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `try_join` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 39 | task::spawn(async { tokio::try_join!(async { rx1.await }, async { rx2.await }) }); [INFO] [stdout] | ^^^^^^^^ could not find `try_join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `try_join` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | tokio::try_join!(async { rx1.await }, async { rx2.await }, async { [INFO] [stdout] | ^^^^^^^^ could not find `try_join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `try_join` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | tokio::try_join!(ready) [INFO] [stdout] | ^^^^^^^^ could not find `try_join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `try_join` in `tokio` [INFO] [stdout] --> tests/macros_try_join.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | tokio::try_join!(ready1, ready2) [INFO] [stdout] | ^^^^^^^^ could not find `try_join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `sync` is private [INFO] [stdout] --> tests/macros_try_join.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:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | mod sync; [INFO] [stdout] | ^^^^^^^^^ [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::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[E0433]: failed to resolve: could not find `TcpListener` in `net` [INFO] [stdout] --> tests/no_rt.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | let _ = tokio::net::TcpListener::from_std(std::net::TcpListener::bind("127.0.0.1:0").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ not found in `tokio::net` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::TcpListener; [INFO] [stdout] | [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:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | mod sync; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `f` has an incompatible type for trait [INFO] [stdout] --> tests/macros_test.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn f(self); [INFO] [stdout] | - type in trait [INFO] [stdout] ... [INFO] [stdout] 29 | async fn f(self) {} [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | checked the `Output` of this `async fn`, found opaque type [INFO] [stdout] | expected `()`, found opaque type [INFO] [stdout] | [INFO] [stdout] = note: while checking the return type of the `async fn` [INFO] [stdout] = note: expected fn pointer `fn(())` [INFO] [stdout] found fn pointer `fn(()) -> impl Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0425, E0432, E0433, E0706. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio` due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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::sleep(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] [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: aborting due to 16 previous errors [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] 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[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: aborting due to 5 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/macros_join.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[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_join.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 `join` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let foo = tokio::join!(async { 1 },); [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let foo = tokio::join!(async { 1 }); [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_join.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 `join` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | let foo = tokio::join!(async { 1 }, async { 2 },); [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let foo = tokio::join!(async { 1 }, async { 2 }); [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | tokio::join!(async { rx1.await.unwrap() }, async { rx2.await.unwrap() }) [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | tokio::join!(ready) [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stdout] --> tests/macros_join.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | tokio::join!(ready1, ready2) [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `sync` is private [INFO] [stdout] --> tests/macros_join.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:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | mod sync; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 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 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[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[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[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 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 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 imports `tokio::time`, `tokio::time` [INFO] [stdout] --> tests/macros_select.rs:373:16 [INFO] [stdout] | [INFO] [stdout] 373 | 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::task::yield_now` [INFO] [stdout] --> tests/macros_select.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | use tokio::task::yield_now; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `yield_now` in `task` [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:362:12 [INFO] [stdout] | [INFO] [stdout] 362 | 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:371:10 [INFO] [stdout] | [INFO] [stdout] 371 | #[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:375:12 [INFO] [stdout] | [INFO] [stdout] 375 | 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:385:10 [INFO] [stdout] | [INFO] [stdout] 385 | #[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:387:22 [INFO] [stdout] | [INFO] [stdout] 387 | let num = 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:456:10 [INFO] [stdout] | [INFO] [stdout] 456 | #[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:458:20 [INFO] [stdout] | [INFO] [stdout] 458 | let t = 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:477:10 [INFO] [stdout] | [INFO] [stdout] 477 | #[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:482:16 [INFO] [stdout] | [INFO] [stdout] 482 | 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:493:10 [INFO] [stdout] | [INFO] [stdout] 493 | #[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:502:20 [INFO] [stdout] | [INFO] [stdout] 502 | 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:517:10 [INFO] [stdout] | [INFO] [stdout] 517 | #[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:530:16 [INFO] [stdout] | [INFO] [stdout] 530 | 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:556:12 [INFO] [stdout] | [INFO] [stdout] 556 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` 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: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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[E0425]: cannot find function `yield_now` in module `task` [INFO] [stdout] --> tests/macros_select.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | task::yield_now().await; [INFO] [stdout] | ^^^^^^^^^ not found in `task` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::yield_now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `yield_now` in module `task` [INFO] [stdout] --> tests/macros_select.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | task::yield_now().await; [INFO] [stdout] | ^^^^^^^^^ not found in `task` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::yield_now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `yield_now` in module `task` [INFO] [stdout] --> tests/macros_select.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 133 | task::yield_now().await; [INFO] [stdout] | ^^^^^^^^^ not found in `task` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::yield_now; [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:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | mod sync; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> tests/macros_select.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 529 | / loop { [INFO] [stdout] 530 | | tokio::select! { [INFO] [stdout] 531 | | biased; [INFO] [stdout] 532 | | [INFO] [stdout] ... | [INFO] [stdout] 546 | | } [INFO] [stdout] 547 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 548 | [INFO] [stdout] 549 | assert_eq!(count, 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 62 previous errors; 1 warning emitted [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" "ff78301731dfeaae74fcce9ab57b52bd23aa4deb4d592883d467e4c9cc4fb6fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff78301731dfeaae74fcce9ab57b52bd23aa4deb4d592883d467e4c9cc4fb6fc", kill_on_drop: false }` [INFO] [stdout] ff78301731dfeaae74fcce9ab57b52bd23aa4deb4d592883d467e4c9cc4fb6fc