[INFO] fetching crate tokio 1.0.1... [INFO] checking tokio-1.0.1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate tokio 1.0.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate tokio 1.0.1 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio 1.0.1 [INFO] finished tweaking crates.io crate tokio 1.0.1 [INFO] tweaked toml for crates.io crate tokio 1.0.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4f1a8395fb9baba9b3faf17b7737cc8476557183dda498fc533429c812efc5b [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" "b4f1a8395fb9baba9b3faf17b7737cc8476557183dda498fc533429c812efc5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4f1a8395fb9baba9b3faf17b7737cc8476557183dda498fc533429c812efc5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4f1a8395fb9baba9b3faf17b7737cc8476557183dda498fc533429c812efc5b", kill_on_drop: false }` [INFO] [stdout] b4f1a8395fb9baba9b3faf17b7737cc8476557183dda498fc533429c812efc5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fdc32da68c43adcf32f867ed05e44a4fcc61fd808952f69b4f6ee3f672f7a98 [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" "8fdc32da68c43adcf32f867ed05e44a4fcc61fd808952f69b4f6ee3f672f7a98", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking bytes v1.0.0 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking nix v0.19.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v0.10.1 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Checking async-stream v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.0 [INFO] [stderr] Checking tokio-test v0.4.0 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [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 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::time` [INFO] [stdout] --> tests/macros_select.rs:462:16 [INFO] [stdout] | [INFO] [stdout] 462 | use tokio::time::Duration; [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: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[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:365:12 [INFO] [stdout] | [INFO] [stdout] 365 | 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:374:10 [INFO] [stdout] | [INFO] [stdout] 374 | #[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:376:22 [INFO] [stdout] | [INFO] [stdout] 376 | 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:445:10 [INFO] [stdout] | [INFO] [stdout] 445 | #[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:447:20 [INFO] [stdout] | [INFO] [stdout] 447 | 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:469:10 [INFO] [stdout] | [INFO] [stdout] 469 | #[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:474:16 [INFO] [stdout] | [INFO] [stdout] 474 | tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [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 `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 `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[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[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[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[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[E0433]: failed to resolve: could not find `time` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:464:16 [INFO] [stdout] | [INFO] [stdout] 464 | tokio::time::sleep(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/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] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/macros_select.rs:464:50 [INFO] [stdout] | [INFO] [stdout] 464 | tokio::time::sleep(Duration::from_millis(10)).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/macros_select.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | tokio::time::sleep(Duration::from_millis(10)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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[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:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [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[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[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] [stderr] error: could not compile `tokio` [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 16 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[E0432]: unresolved imports `tokio::sync::Barrier`, `tokio::sync::RwLock` [INFO] [stdout] --> tests/sync_rwlock.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::sync::{Barrier, RwLock}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ no `RwLock` in `sync` [INFO] [stdout] | | [INFO] [stdout] | no `Barrier` in `sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/sync_rwlock.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | #[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/sync_rwlock.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | #[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/sync_rwlock.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | #[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/sync_rwlock.rs:169:10 [INFO] [stdout] | [INFO] [stdout] 169 | #[tokio::test(flavor = "multi_thread", worker_threads = 8)] [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/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[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> tests/sync_rwlock.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | 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] 3 | use crate::spawn; [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_test::task::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 56 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> tests/sync_rwlock.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | 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] 3 | use crate::spawn; [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_test::task::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0603, E0698. [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/sync_rwlock.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | 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] 3 | use crate::spawn; [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 3 | 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/sync_rwlock.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | 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] 3 | use crate::spawn; [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_test::task::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `sync` is private [INFO] [stdout] --> tests/sync_rwlock.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::sync::{Barrier, RwLock}; [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 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] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:173:27 [INFO] [stdout] | [INFO] [stdout] 173 | let rwclone1 = rwlock.clone(); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `rwlock` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:174:27 [INFO] [stdout] | [INFO] [stdout] 174 | let rwclone2 = rwlock.clone(); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `rwlock` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:175:27 [INFO] [stdout] | [INFO] [stdout] 175 | let rwclone3 = rwlock.clone(); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `rwlock` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:176:27 [INFO] [stdout] | [INFO] [stdout] 176 | let rwclone4 = rwlock.clone(); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `rwlock` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | let b1 = barrier.clone(); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `barrier` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:192:22 [INFO] [stdout] | [INFO] [stdout] 192 | let b2 = barrier.clone(); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `barrier` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | let b3 = barrier.clone(); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `barrier` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:220:22 [INFO] [stdout] | [INFO] [stdout] 220 | let b4 = barrier.clone(); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `barrier` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | barrier.wait().await; [INFO] [stdout] | ^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `barrier` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:235:20 [INFO] [stdout] | [INFO] [stdout] 235 | let g = rwlock.read().await; [INFO] [stdout] | ^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `rwlock` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:180:22 [INFO] [stdout] | [INFO] [stdout] 180 | stream::iter(0..1000) [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | / stream::iter(0..1000) [INFO] [stdout] 181 | | .for_each(move |_| { [INFO] [stdout] 182 | | let rwlock = rwclone1.clone(); [INFO] [stdout] 183 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 187 | | }) [INFO] [stdout] 188 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | stream::iter(0..1000) [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | / stream::iter(0..1000) [INFO] [stdout] 181 | | .for_each(move |_| { [INFO] [stdout] 182 | | let rwlock = rwclone1.clone(); [INFO] [stdout] 183 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 187 | | }) [INFO] [stdout] 188 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:180:22 [INFO] [stdout] | [INFO] [stdout] 180 | stream::iter(0..1000) [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | / stream::iter(0..1000) [INFO] [stdout] 181 | | .for_each(move |_| { [INFO] [stdout] 182 | | let rwlock = rwclone1.clone(); [INFO] [stdout] 183 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 187 | | }) [INFO] [stdout] 188 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | stream::iter(0..1000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | / stream::iter(0..1000) [INFO] [stdout] 181 | | .for_each(move |_| { [INFO] [stdout] 182 | | let rwlock = rwclone1.clone(); [INFO] [stdout] 183 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 187 | | }) [INFO] [stdout] 188 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:181:23 [INFO] [stdout] | [INFO] [stdout] 181 | .for_each(move |_| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 182 | | let rwlock = rwclone1.clone(); [INFO] [stdout] 183 | | async move { [INFO] [stdout] 184 | | let mut guard = rwlock.write().await; [INFO] [stdout] 185 | | *guard += 2; [INFO] [stdout] 186 | | } [INFO] [stdout] 187 | | }) [INFO] [stdout] | |_____________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | / stream::iter(0..1000) [INFO] [stdout] 181 | | .for_each(move |_| { [INFO] [stdout] 182 | | let rwlock = rwclone1.clone(); [INFO] [stdout] 183 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 187 | | }) [INFO] [stdout] 188 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | / stream::iter(0..1000) [INFO] [stdout] 181 | | .for_each(move |_| { [INFO] [stdout] 182 | | let rwlock = rwclone1.clone(); [INFO] [stdout] 183 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 186 | | } [INFO] [stdout] 187 | | }) [INFO] [stdout] | |______________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | / stream::iter(0..1000) [INFO] [stdout] 181 | | .for_each(move |_| { [INFO] [stdout] 182 | | let rwlock = rwclone1.clone(); [INFO] [stdout] 183 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 187 | | }) [INFO] [stdout] 188 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | / stream::iter(0..1000) [INFO] [stdout] 181 | | .for_each(move |_| { [INFO] [stdout] 182 | | let rwlock = rwclone1.clone(); [INFO] [stdout] 183 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 187 | | }) [INFO] [stdout] 188 | | .await; [INFO] [stdout] | |__________________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | / stream::iter(0..1000) [INFO] [stdout] 181 | | .for_each(move |_| { [INFO] [stdout] 182 | | let rwlock = rwclone1.clone(); [INFO] [stdout] 183 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 187 | | }) [INFO] [stdout] 188 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | stream::iter(0..1000) [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | / stream::iter(0..1000) [INFO] [stdout] 195 | | .for_each(move |_| { [INFO] [stdout] 196 | | let rwlock = rwclone2.clone(); [INFO] [stdout] 197 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 201 | | }) [INFO] [stdout] 202 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | stream::iter(0..1000) [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | / stream::iter(0..1000) [INFO] [stdout] 195 | | .for_each(move |_| { [INFO] [stdout] 196 | | let rwlock = rwclone2.clone(); [INFO] [stdout] 197 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 201 | | }) [INFO] [stdout] 202 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | stream::iter(0..1000) [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | / stream::iter(0..1000) [INFO] [stdout] 195 | | .for_each(move |_| { [INFO] [stdout] 196 | | let rwlock = rwclone2.clone(); [INFO] [stdout] 197 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 201 | | }) [INFO] [stdout] 202 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | stream::iter(0..1000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | / stream::iter(0..1000) [INFO] [stdout] 195 | | .for_each(move |_| { [INFO] [stdout] 196 | | let rwlock = rwclone2.clone(); [INFO] [stdout] 197 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 201 | | }) [INFO] [stdout] 202 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:195:23 [INFO] [stdout] | [INFO] [stdout] 195 | .for_each(move |_| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 196 | | let rwlock = rwclone2.clone(); [INFO] [stdout] 197 | | async move { [INFO] [stdout] 198 | | let mut guard = rwlock.write().await; [INFO] [stdout] 199 | | *guard += 3; [INFO] [stdout] 200 | | } [INFO] [stdout] 201 | | }) [INFO] [stdout] | |_____________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | / stream::iter(0..1000) [INFO] [stdout] 195 | | .for_each(move |_| { [INFO] [stdout] 196 | | let rwlock = rwclone2.clone(); [INFO] [stdout] 197 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 201 | | }) [INFO] [stdout] 202 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | / stream::iter(0..1000) [INFO] [stdout] 195 | | .for_each(move |_| { [INFO] [stdout] 196 | | let rwlock = rwclone2.clone(); [INFO] [stdout] 197 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] 201 | | }) [INFO] [stdout] | |______________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | / stream::iter(0..1000) [INFO] [stdout] 195 | | .for_each(move |_| { [INFO] [stdout] 196 | | let rwlock = rwclone2.clone(); [INFO] [stdout] 197 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 201 | | }) [INFO] [stdout] 202 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | / stream::iter(0..1000) [INFO] [stdout] 195 | | .for_each(move |_| { [INFO] [stdout] 196 | | let rwlock = rwclone2.clone(); [INFO] [stdout] 197 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 201 | | }) [INFO] [stdout] 202 | | .await; [INFO] [stdout] | |__________________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | / stream::iter(0..1000) [INFO] [stdout] 195 | | .for_each(move |_| { [INFO] [stdout] 196 | | let rwlock = rwclone2.clone(); [INFO] [stdout] 197 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 201 | | }) [INFO] [stdout] 202 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:208:22 [INFO] [stdout] | [INFO] [stdout] 208 | stream::iter(0..1000) [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | / stream::iter(0..1000) [INFO] [stdout] 209 | | .for_each(move |_| { [INFO] [stdout] 210 | | let rwlock = rwclone3.clone(); [INFO] [stdout] 211 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 215 | | }) [INFO] [stdout] 216 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | stream::iter(0..1000) [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | / stream::iter(0..1000) [INFO] [stdout] 209 | | .for_each(move |_| { [INFO] [stdout] 210 | | let rwlock = rwclone3.clone(); [INFO] [stdout] 211 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 215 | | }) [INFO] [stdout] 216 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:208:22 [INFO] [stdout] | [INFO] [stdout] 208 | stream::iter(0..1000) [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | / stream::iter(0..1000) [INFO] [stdout] 209 | | .for_each(move |_| { [INFO] [stdout] 210 | | let rwlock = rwclone3.clone(); [INFO] [stdout] 211 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 215 | | }) [INFO] [stdout] 216 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | stream::iter(0..1000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | / stream::iter(0..1000) [INFO] [stdout] 209 | | .for_each(move |_| { [INFO] [stdout] 210 | | let rwlock = rwclone3.clone(); [INFO] [stdout] 211 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 215 | | }) [INFO] [stdout] 216 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:209:23 [INFO] [stdout] | [INFO] [stdout] 209 | .for_each(move |_| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 210 | | let rwlock = rwclone3.clone(); [INFO] [stdout] 211 | | async move { [INFO] [stdout] 212 | | let mut guard = rwlock.write().await; [INFO] [stdout] 213 | | *guard += 5; [INFO] [stdout] 214 | | } [INFO] [stdout] 215 | | }) [INFO] [stdout] | |_____________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | / stream::iter(0..1000) [INFO] [stdout] 209 | | .for_each(move |_| { [INFO] [stdout] 210 | | let rwlock = rwclone3.clone(); [INFO] [stdout] 211 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 215 | | }) [INFO] [stdout] 216 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | / stream::iter(0..1000) [INFO] [stdout] 209 | | .for_each(move |_| { [INFO] [stdout] 210 | | let rwlock = rwclone3.clone(); [INFO] [stdout] 211 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 214 | | } [INFO] [stdout] 215 | | }) [INFO] [stdout] | |______________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | / stream::iter(0..1000) [INFO] [stdout] 209 | | .for_each(move |_| { [INFO] [stdout] 210 | | let rwlock = rwclone3.clone(); [INFO] [stdout] 211 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 215 | | }) [INFO] [stdout] 216 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | / stream::iter(0..1000) [INFO] [stdout] 209 | | .for_each(move |_| { [INFO] [stdout] 210 | | let rwlock = rwclone3.clone(); [INFO] [stdout] 211 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 215 | | }) [INFO] [stdout] 216 | | .await; [INFO] [stdout] | |__________________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | / stream::iter(0..1000) [INFO] [stdout] 209 | | .for_each(move |_| { [INFO] [stdout] 210 | | let rwlock = rwclone3.clone(); [INFO] [stdout] 211 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 215 | | }) [INFO] [stdout] 216 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:222:22 [INFO] [stdout] | [INFO] [stdout] 222 | stream::iter(0..1000) [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | / stream::iter(0..1000) [INFO] [stdout] 223 | | .for_each(move |_| { [INFO] [stdout] 224 | | let rwlock = rwclone4.clone(); [INFO] [stdout] 225 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 229 | | }) [INFO] [stdout] 230 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:222:25 [INFO] [stdout] | [INFO] [stdout] 222 | stream::iter(0..1000) [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | / stream::iter(0..1000) [INFO] [stdout] 223 | | .for_each(move |_| { [INFO] [stdout] 224 | | let rwlock = rwclone4.clone(); [INFO] [stdout] 225 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 229 | | }) [INFO] [stdout] 230 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:222:22 [INFO] [stdout] | [INFO] [stdout] 222 | stream::iter(0..1000) [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | / stream::iter(0..1000) [INFO] [stdout] 223 | | .for_each(move |_| { [INFO] [stdout] 224 | | let rwlock = rwclone4.clone(); [INFO] [stdout] 225 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 229 | | }) [INFO] [stdout] 230 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | stream::iter(0..1000) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | / stream::iter(0..1000) [INFO] [stdout] 223 | | .for_each(move |_| { [INFO] [stdout] 224 | | let rwlock = rwclone4.clone(); [INFO] [stdout] 225 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 229 | | }) [INFO] [stdout] 230 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:223:23 [INFO] [stdout] | [INFO] [stdout] 223 | .for_each(move |_| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 224 | | let rwlock = rwclone4.clone(); [INFO] [stdout] 225 | | async move { [INFO] [stdout] 226 | | let mut guard = rwlock.write().await; [INFO] [stdout] 227 | | *guard += 7; [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | }) [INFO] [stdout] | |_____________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | / stream::iter(0..1000) [INFO] [stdout] 223 | | .for_each(move |_| { [INFO] [stdout] 224 | | let rwlock = rwclone4.clone(); [INFO] [stdout] 225 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 229 | | }) [INFO] [stdout] 230 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | / stream::iter(0..1000) [INFO] [stdout] 223 | | .for_each(move |_| { [INFO] [stdout] 224 | | let rwlock = rwclone4.clone(); [INFO] [stdout] 225 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | }) [INFO] [stdout] | |______________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | / stream::iter(0..1000) [INFO] [stdout] 223 | | .for_each(move |_| { [INFO] [stdout] 224 | | let rwlock = rwclone4.clone(); [INFO] [stdout] 225 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 229 | | }) [INFO] [stdout] 230 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/sync_rwlock.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | / stream::iter(0..1000) [INFO] [stdout] 223 | | .for_each(move |_| { [INFO] [stdout] 224 | | let rwlock = rwclone4.clone(); [INFO] [stdout] 225 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 229 | | }) [INFO] [stdout] 230 | | .await; [INFO] [stdout] | |__________________^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/sync_rwlock.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | / stream::iter(0..1000) [INFO] [stdout] 223 | | .for_each(move |_| { [INFO] [stdout] 224 | | let rwlock = rwclone4.clone(); [INFO] [stdout] 225 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 229 | | }) [INFO] [stdout] 230 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | let _g1 = assert_ready!(t1.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t1` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | assert_ready!(t2.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t2` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | let _g1 = assert_ready!(t1.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t1` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | assert_pending!(t2.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t2` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | let _g1 = assert_ready!(t1.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t1` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | assert_pending!(t2.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t2` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | match t.poll() { [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | assert_pending!(t1.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t1` 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/sync_rwlock.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | assert!(t1.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t1` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | assert_ready!(t1.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t1` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | let _g1 = assert_ready!(t1.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t1` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | assert_pending!(t2.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t2` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 92 | let g1 = assert_ready!(t1.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t1` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | assert_pending!(t2.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t2` 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/sync_rwlock.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | assert!(t2.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t2` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | assert_ready!(t2.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t2` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | let _g1 = assert_ready!(t1.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t1` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | assert_ready!(t2.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t2` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | assert_pending!(t3.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t3` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | assert_pending!(t4.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t4` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | let _g1 = assert_ready!(t1.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t1` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | assert_pending!(t2.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t2` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | assert_pending!(t3.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t3` 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/sync_rwlock.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | assert!(t3.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t3` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stdout] --> tests/sync_rwlock.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | assert_ready!(t3.poll()); [INFO] [stdout] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `t3` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::FutureExt` [INFO] [stdout] --> tests/sync_rwlock.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::future::FutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 73 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599, E0603, E0698. [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" "8fdc32da68c43adcf32f867ed05e44a4fcc61fd808952f69b4f6ee3f672f7a98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fdc32da68c43adcf32f867ed05e44a4fcc61fd808952f69b4f6ee3f672f7a98", kill_on_drop: false }` [INFO] [stdout] 8fdc32da68c43adcf32f867ed05e44a4fcc61fd808952f69b4f6ee3f672f7a98