[INFO] fetching crate tokio 0.2.23... [INFO] checking tokio-0.2.23 against master#c919f490bbcd2b29b74016101f7ec71aaa24bdbb for pr-79073 [INFO] extracting crate tokio 0.2.23 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate tokio 0.2.23 on toolchain c919f490bbcd2b29b74016101f7ec71aaa24bdbb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio 0.2.23 [INFO] finished tweaking crates.io crate tokio 0.2.23 [INFO] tweaked toml for crates.io crate tokio 0.2.23 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b8bec4c8d56ccca6f09dfdc1418378005624512b0db57ca1d57014b5ef959bd5 [INFO] running `Command { std: "docker" "start" "-a" "b8bec4c8d56ccca6f09dfdc1418378005624512b0db57ca1d57014b5ef959bd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8bec4c8d56ccca6f09dfdc1418378005624512b0db57ca1d57014b5ef959bd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8bec4c8d56ccca6f09dfdc1418378005624512b0db57ca1d57014b5ef959bd5", kill_on_drop: false }` [INFO] [stdout] b8bec4c8d56ccca6f09dfdc1418378005624512b0db57ca1d57014b5ef959bd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 532359c6051ac52c2d95ebff163b28904ac43e5a84be2987dc15053edad712cf [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" "532359c6051ac52c2d95ebff163b28904ac43e5a84be2987dc15053edad712cf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.50 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking tokio v0.2.23 [INFO] [stderr] Checking tokio v0.2.23 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio-test v0.2.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking rusty-fork v0.2.2 [INFO] [stderr] Checking proptest v0.9.6 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [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-test v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stdout] error[E0433]: failed to resolve: could not find `task_local` in `tokio` [INFO] [stdout] --> tests/task_local.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | tokio::task_local! { [INFO] [stdout] | ^^^^^^^^^^ could not find `task_local` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/task_local.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::test(threaded_scheduler)] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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(threaded_scheduler)] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `time` in `tokio` [INFO] [stdout] --> tests/task_local.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | tokio::time::delay_for(std::time::Duration::from_millis(10)).await; [INFO] [stdout] | ^^^^ could not find `time` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::stream`, `tokio::stream` [INFO] [stdout] --> tests/stream_once.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::stream::{self, Stream, StreamExt}; [INFO] [stdout] | ^^^^^^ ^^^^ no `stream` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `stream` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_once.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> tests/task_local.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | let j1 = tokio::spawn(REQ_ID.scope(1, async move { [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_test::task::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stdout] --> tests/task_local.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | let j1 = tokio::spawn(REQ_ID.scope(1, async move { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stdout] --> tests/task_local.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(REQ_ID.get(), 1); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stdout] --> tests/task_local.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(REQ_ID.get(), 1); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> tests/task_local.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let j2 = tokio::spawn(REQ_ID.scope(2, async move { [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_test::task::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stdout] --> tests/task_local.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | let j2 = tokio::spawn(REQ_ID.scope(2, async move { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stdout] --> tests/task_local.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | REQ_ID.with(|v| { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stdout] --> tests/task_local.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(REQ_ID.get(), 2); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REQ_ID` in this scope [INFO] [stdout] --> tests/task_local.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(REQ_ID.get(), 2); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> tests/task_local.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | let j3 = tokio::spawn(FOO.scope(true, async move { [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_test::task::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FOO` in this scope [INFO] [stdout] --> tests/task_local.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | let j3 = tokio::spawn(FOO.scope(true, async move { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FOO` in this scope [INFO] [stdout] --> tests/task_local.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | assert!(FOO.get()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[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] 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:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | mod sync; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [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] [stderr] error: could not compile `tokio` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/macros_pin.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::sync::mpsc`, `tokio::sync::oneshot` [INFO] [stdout] --> tests/macros_select.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | 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::stream`, `tokio::stream` [INFO] [stdout] --> tests/stream_collect.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^ ^^^^ no `stream` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `stream` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::task` [INFO] [stdout] --> tests/macros_select.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ no `task` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::time` [INFO] [stdout] --> tests/macros_select.rs:461:16 [INFO] [stdout] | [INFO] [stdout] 461 | 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:361:16 [INFO] [stdout] | [INFO] [stdout] 361 | 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:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[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:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | 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:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::sync::mpsc` [INFO] [stdout] --> tests/stream_collect.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `mpsc` in `sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.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 `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::stream`, `tokio::stream` [INFO] [stdout] --> tests/stream_pending.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::stream::{self, Stream, StreamExt}; [INFO] [stdout] | ^^^^^^ ^^^^ no `stream` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `stream` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_pending.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/stream_collect.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `sync` is private [INFO] [stdout] --> tests/stream_collect.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `sync` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | 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/stream_once.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Some(1), one.next().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/stream_once.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Some(1), one.next().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/stream_once.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Some(1), one.next().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/stream_once.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Some(1), one.next().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `select` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | 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:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[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:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | 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:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[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:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | 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:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[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:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | 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:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | #[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:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | 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:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[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:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | 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:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[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:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | 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:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | #[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:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | 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:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | #[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:143:16 [INFO] [stdout] | [INFO] [stdout] 143 | 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:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | #[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:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | 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:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | #[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:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | 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:199:10 [INFO] [stdout] | [INFO] [stdout] 199 | #[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:207:16 [INFO] [stdout] | [INFO] [stdout] 207 | 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:218:16 [INFO] [stdout] | [INFO] [stdout] 218 | 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:231:16 [INFO] [stdout] | [INFO] [stdout] 231 | 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:241:10 [INFO] [stdout] | [INFO] [stdout] 241 | #[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:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | 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:255:10 [INFO] [stdout] | [INFO] [stdout] 255 | #[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:259:12 [INFO] [stdout] | [INFO] [stdout] 259 | 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:272:10 [INFO] [stdout] | [INFO] [stdout] 272 | #[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:287:16 [INFO] [stdout] | [INFO] [stdout] 287 | 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:302:10 [INFO] [stdout] | [INFO] [stdout] 302 | #[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:310:16 [INFO] [stdout] | [INFO] [stdout] 310 | 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:324:10 [INFO] [stdout] | [INFO] [stdout] 324 | #[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:336:20 [INFO] [stdout] | [INFO] [stdout] 336 | 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:359:10 [INFO] [stdout] | [INFO] [stdout] 359 | #[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:373:10 [INFO] [stdout] | [INFO] [stdout] 373 | #[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:22 [INFO] [stdout] | [INFO] [stdout] 375 | 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:444:10 [INFO] [stdout] | [INFO] [stdout] 444 | #[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:446:20 [INFO] [stdout] | [INFO] [stdout] 446 | let t = tokio::select! { [INFO] [stdout] | ^^^^^^ could not find `select` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/stream_once.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Some(1), one.next().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/stream_once.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Some(1), one.next().await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `time` in `tokio` [INFO] [stdout] --> tests/macros_select.rs:463:16 [INFO] [stdout] | [INFO] [stdout] 463 | tokio::time::delay_for(Duration::from_millis(10)).await; [INFO] [stdout] | ^^^^ could not find `time` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> tests/macros_select.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | 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 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/macros_select.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | 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:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | mod sync; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/macros_select.rs:463:54 [INFO] [stdout] | [INFO] [stdout] 463 | tokio::time::delay_for(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:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | tokio::time::delay_for(Duration::from_millis(10)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: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] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | let coll = assert_ready!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | let coll = assert_ready!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | let coll = assert_ready!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 52 previous errors [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[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:132:34 [INFO] [stdout] | [INFO] [stdout] 132 | let coll = assert_ready!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:153:37 [INFO] [stdout] | [INFO] [stdout] 153 | let coll = assert_ready_ok!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | assert_pending!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_woken` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | assert!(fut.is_woken()); [INFO] [stdout] | ^^^^^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Spawn<_>` in the current scope [INFO] [stdout] --> tests/stream_collect.rs:170:37 [INFO] [stdout] | [INFO] [stdout] 170 | let err = assert_ready_err!(fut.poll()); [INFO] [stdout] | ^^^^ method not found in `Spawn<_>` [INFO] [stdout] | [INFO] [stdout] = note: `fut` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 56 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "532359c6051ac52c2d95ebff163b28904ac43e5a84be2987dc15053edad712cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "532359c6051ac52c2d95ebff163b28904ac43e5a84be2987dc15053edad712cf", kill_on_drop: false }` [INFO] [stdout] 532359c6051ac52c2d95ebff163b28904ac43e5a84be2987dc15053edad712cf