[INFO] fetching crate tokio 0.2.20... [INFO] checking tokio-0.2.20 against try#96b3c169cd2d8959926fa240f10342f1659f8ae3 for pr-71896 [INFO] extracting crate tokio 0.2.20 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate tokio 0.2.20 on toolchain 96b3c169cd2d8959926fa240f10342f1659f8ae3 [INFO] running `"/workspace/cargo-home/bin/cargo" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate tokio 0.2.20 [INFO] finished tweaking crates.io crate tokio 0.2.20 [INFO] tweaked toml for crates.io crate tokio 0.2.20 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+96b3c169cd2d8959926fa240f10342f1659f8ae3" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 488157feddc4c612bc4b2e800372cb9926608a792bc4c9771a30dacdf9f1de4d [INFO] running `"docker" "start" "-a" "488157feddc4c612bc4b2e800372cb9926608a792bc4c9771a30dacdf9f1de4d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Checking pin-project-lite v0.1.5 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking tokio v0.2.20 [INFO] [stderr] Checking tokio v0.2.20 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling generator v0.6.20 [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 futures-macro v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking serde v1.0.106 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking loom v0.3.4 [INFO] [stderr] error[E0432]: unresolved imports `tokio::sync::Barrier`, `tokio::sync::RwLock` [INFO] [stderr] --> tests/sync_rwlock.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | use tokio::sync::{Barrier, RwLock}; [INFO] [stderr] | ^^^^^^^ ^^^^^^ no `RwLock` in `sync` [INFO] [stderr] | | [INFO] [stderr] | no `Barrier` in `sync` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/sync_rwlock.rs:138:10 [INFO] [stderr] | [INFO] [stderr] 138 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/sync_rwlock.rs:147:10 [INFO] [stderr] | [INFO] [stderr] 147 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/sync_rwlock.rs:156:10 [INFO] [stderr] | [INFO] [stderr] 156 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/sync_rwlock.rs:169:10 [INFO] [stderr] | [INFO] [stderr] 169 | #[tokio::test(threaded_scheduler)] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio::sync::oneshot` [INFO] [stderr] --> tests/macros_join.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use tokio::sync::oneshot; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `oneshot` in `sync` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | let foo = tokio::join!(async { 1 },); [INFO] [stderr] | ^^^^ could not find `join` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:13:22 [INFO] [stderr] | [INFO] [stderr] 13 | let foo = tokio::join!(async { 1 }); [INFO] [stderr] | ^^^^ could not find `join` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:20:22 [INFO] [stderr] | [INFO] [stderr] 20 | let foo = tokio::join!(async { 1 }, async { 2 },); [INFO] [stderr] | ^^^^ could not find `join` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:27:22 [INFO] [stderr] | [INFO] [stderr] 27 | let foo = tokio::join!(async { 1 }, async { 2 }); [INFO] [stderr] | ^^^^ could not find `join` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:38:16 [INFO] [stderr] | [INFO] [stderr] 38 | tokio::join!(async { rx1.await.unwrap() }, async { rx2.await.unwrap() }) [INFO] [stderr] | ^^^^ could not find `join` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:61:16 [INFO] [stderr] | [INFO] [stderr] 61 | tokio::join!(ready) [INFO] [stderr] | ^^^^ could not find `join` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stderr] --> tests/macros_join.rs:68:16 [INFO] [stderr] | [INFO] [stderr] 68 | tokio::join!(ready1, ready2) [INFO] [stderr] | ^^^^ could not find `join` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0603]: module `sync` is private [INFO] [stderr] --> tests/macros_join.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use tokio::sync::oneshot; [INFO] [stderr] | ^^^^ private module [INFO] [stderr] | [INFO] [stderr] note: the module `sync` is defined here [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:383:5 [INFO] [stderr] | [INFO] [stderr] 383 | mod sync; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [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] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/net_lookup_host.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/macros_pin.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/net_lookup_host.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/net_lookup_host.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stderr] --> tests/sync_rwlock.rs:179:12 [INFO] [stderr] | [INFO] [stderr] 179 | tokio::spawn(async move { [INFO] [stderr] | ^^^^^ not found in `tokio` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use loom::thread::spawn; [INFO] [stderr] | [INFO] [stderr] 3 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] 3 | use tokio_test::task::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stderr] --> tests/sync_rwlock.rs:193:12 [INFO] [stderr] | [INFO] [stderr] 193 | tokio::spawn(async move { [INFO] [stderr] | ^^^^^ not found in `tokio` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use loom::thread::spawn; [INFO] [stderr] | [INFO] [stderr] 3 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] 3 | use tokio_test::task::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stderr] --> tests/sync_rwlock.rs:207:12 [INFO] [stderr] | [INFO] [stderr] 207 | tokio::spawn(async move { [INFO] [stderr] | ^^^^^ not found in `tokio` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use loom::thread::spawn; [INFO] [stderr] | [INFO] [stderr] 3 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] 3 | use tokio_test::task::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stderr] --> tests/sync_rwlock.rs:221:12 [INFO] [stderr] | [INFO] [stderr] 221 | tokio::spawn(async move { [INFO] [stderr] | ^^^^^ not found in `tokio` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 3 | use loom::thread::spawn; [INFO] [stderr] | [INFO] [stderr] 3 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] 3 | use tokio_test::task::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0603]: module `sync` is private [INFO] [stderr] --> tests/sync_rwlock.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | use tokio::sync::{Barrier, RwLock}; [INFO] [stderr] | ^^^^ private module [INFO] [stderr] | [INFO] [stderr] note: the module `sync` is defined here [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:383:5 [INFO] [stderr] | [INFO] [stderr] 383 | mod sync; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [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] [stderr] error[E0432]: unresolved imports `tokio::stream`, `tokio::stream` [INFO] [stderr] --> tests/stream_empty.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use tokio::stream::{self, Stream, StreamExt}; [INFO] [stderr] | ^^^^^^ ^^^^ no `stream` in the root [INFO] [stderr] | | [INFO] [stderr] | could not find `stream` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/stream_empty.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio::net::TcpStream` [INFO] [stderr] --> tests/no_rt.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use tokio::net::TcpStream; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ no `TcpStream` in `net` [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/stream_empty.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | for _ in 0..2 { [INFO] [stderr] | ^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/stream_empty.rs:9:26 [INFO] [stderr] | [INFO] [stderr] 9 | assert_eq!(None, stream.next().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/stream_empty.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | for _ in 0..2 { [INFO] [stderr] | ^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/stream_empty.rs:9:26 [INFO] [stderr] | [INFO] [stderr] 9 | assert_eq!(None, stream.next().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stderr] --> tests/stream_empty.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | for _ in 0..2 { [INFO] [stderr] | ^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async fn` body because of this `await` [INFO] [stderr] --> tests/stream_empty.rs:9:26 [INFO] [stderr] | [INFO] [stderr] 9 | assert_eq!(None, stream.next().await); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [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] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:173:27 [INFO] [stderr] | [INFO] [stderr] 173 | let rwclone1 = rwlock.clone(); [INFO] [stderr] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `rwlock` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:174:27 [INFO] [stderr] | [INFO] [stderr] 174 | let rwclone2 = rwlock.clone(); [INFO] [stderr] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `rwlock` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:175:27 [INFO] [stderr] | [INFO] [stderr] 175 | let rwclone3 = rwlock.clone(); [INFO] [stderr] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `rwlock` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:176:27 [INFO] [stderr] | [INFO] [stderr] 176 | let rwclone4 = rwlock.clone(); [INFO] [stderr] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `rwlock` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:178:22 [INFO] [stderr] | [INFO] [stderr] 178 | let b1 = barrier.clone(); [INFO] [stderr] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `barrier` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:192:22 [INFO] [stderr] | [INFO] [stderr] 192 | let b2 = barrier.clone(); [INFO] [stderr] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `barrier` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:206:22 [INFO] [stderr] | [INFO] [stderr] 206 | let b3 = barrier.clone(); [INFO] [stderr] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `barrier` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:220:22 [INFO] [stderr] | [INFO] [stderr] 220 | let b4 = barrier.clone(); [INFO] [stderr] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `barrier` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `wait` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:234:13 [INFO] [stderr] | [INFO] [stderr] 234 | barrier.wait().await; [INFO] [stderr] | ^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `barrier` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:235:20 [INFO] [stderr] | [INFO] [stderr] 235 | let g = rwlock.read().await; [INFO] [stderr] | ^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `rwlock` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:180:22 [INFO] [stderr] | [INFO] [stderr] 180 | stream::iter(0..1000) [INFO] [stderr] | ^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:180:9 [INFO] [stderr] | [INFO] [stderr] 180 | / stream::iter(0..1000) [INFO] [stderr] 181 | | .for_each(move |_| { [INFO] [stderr] 182 | | let rwlock = rwclone1.clone(); [INFO] [stderr] 183 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 187 | | }) [INFO] [stderr] 188 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:180:25 [INFO] [stderr] | [INFO] [stderr] 180 | stream::iter(0..1000) [INFO] [stderr] | ^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:180:9 [INFO] [stderr] | [INFO] [stderr] 180 | / stream::iter(0..1000) [INFO] [stderr] 181 | | .for_each(move |_| { [INFO] [stderr] 182 | | let rwlock = rwclone1.clone(); [INFO] [stderr] 183 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 187 | | }) [INFO] [stderr] 188 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:180:22 [INFO] [stderr] | [INFO] [stderr] 180 | stream::iter(0..1000) [INFO] [stderr] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:180:9 [INFO] [stderr] | [INFO] [stderr] 180 | / stream::iter(0..1000) [INFO] [stderr] 181 | | .for_each(move |_| { [INFO] [stderr] 182 | | let rwlock = rwclone1.clone(); [INFO] [stderr] 183 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 187 | | }) [INFO] [stderr] 188 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:180:9 [INFO] [stderr] | [INFO] [stderr] 180 | stream::iter(0..1000) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:180:9 [INFO] [stderr] | [INFO] [stderr] 180 | / stream::iter(0..1000) [INFO] [stderr] 181 | | .for_each(move |_| { [INFO] [stderr] 182 | | let rwlock = rwclone1.clone(); [INFO] [stderr] 183 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 187 | | }) [INFO] [stderr] 188 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:181:23 [INFO] [stderr] | [INFO] [stderr] 181 | .for_each(move |_| { [INFO] [stderr] | _______________________^ [INFO] [stderr] 182 | | let rwlock = rwclone1.clone(); [INFO] [stderr] 183 | | async move { [INFO] [stderr] 184 | | let mut guard = rwlock.write().await; [INFO] [stderr] 185 | | *guard += 2; [INFO] [stderr] 186 | | } [INFO] [stderr] 187 | | }) [INFO] [stderr] | |_____________^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:180:9 [INFO] [stderr] | [INFO] [stderr] 180 | / stream::iter(0..1000) [INFO] [stderr] 181 | | .for_each(move |_| { [INFO] [stderr] 182 | | let rwlock = rwclone1.clone(); [INFO] [stderr] 183 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 187 | | }) [INFO] [stderr] 188 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:180:9 [INFO] [stderr] | [INFO] [stderr] 180 | / stream::iter(0..1000) [INFO] [stderr] 181 | | .for_each(move |_| { [INFO] [stderr] 182 | | let rwlock = rwclone1.clone(); [INFO] [stderr] 183 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 186 | | } [INFO] [stderr] 187 | | }) [INFO] [stderr] | |______________^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:180:9 [INFO] [stderr] | [INFO] [stderr] 180 | / stream::iter(0..1000) [INFO] [stderr] 181 | | .for_each(move |_| { [INFO] [stderr] 182 | | let rwlock = rwclone1.clone(); [INFO] [stderr] 183 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 187 | | }) [INFO] [stderr] 188 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:180:9 [INFO] [stderr] | [INFO] [stderr] 180 | / stream::iter(0..1000) [INFO] [stderr] 181 | | .for_each(move |_| { [INFO] [stderr] 182 | | let rwlock = rwclone1.clone(); [INFO] [stderr] 183 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 187 | | }) [INFO] [stderr] 188 | | .await; [INFO] [stderr] | |__________________^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:180:9 [INFO] [stderr] | [INFO] [stderr] 180 | / stream::iter(0..1000) [INFO] [stderr] 181 | | .for_each(move |_| { [INFO] [stderr] 182 | | let rwlock = rwclone1.clone(); [INFO] [stderr] 183 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 187 | | }) [INFO] [stderr] 188 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:194:22 [INFO] [stderr] | [INFO] [stderr] 194 | stream::iter(0..1000) [INFO] [stderr] | ^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:194:9 [INFO] [stderr] | [INFO] [stderr] 194 | / stream::iter(0..1000) [INFO] [stderr] 195 | | .for_each(move |_| { [INFO] [stderr] 196 | | let rwlock = rwclone2.clone(); [INFO] [stderr] 197 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 201 | | }) [INFO] [stderr] 202 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:194:25 [INFO] [stderr] | [INFO] [stderr] 194 | stream::iter(0..1000) [INFO] [stderr] | ^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:194:9 [INFO] [stderr] | [INFO] [stderr] 194 | / stream::iter(0..1000) [INFO] [stderr] 195 | | .for_each(move |_| { [INFO] [stderr] 196 | | let rwlock = rwclone2.clone(); [INFO] [stderr] 197 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 201 | | }) [INFO] [stderr] 202 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:194:22 [INFO] [stderr] | [INFO] [stderr] 194 | stream::iter(0..1000) [INFO] [stderr] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:194:9 [INFO] [stderr] | [INFO] [stderr] 194 | / stream::iter(0..1000) [INFO] [stderr] 195 | | .for_each(move |_| { [INFO] [stderr] 196 | | let rwlock = rwclone2.clone(); [INFO] [stderr] 197 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 201 | | }) [INFO] [stderr] 202 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:194:9 [INFO] [stderr] | [INFO] [stderr] 194 | stream::iter(0..1000) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:194:9 [INFO] [stderr] | [INFO] [stderr] 194 | / stream::iter(0..1000) [INFO] [stderr] 195 | | .for_each(move |_| { [INFO] [stderr] 196 | | let rwlock = rwclone2.clone(); [INFO] [stderr] 197 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 201 | | }) [INFO] [stderr] 202 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:195:23 [INFO] [stderr] | [INFO] [stderr] 195 | .for_each(move |_| { [INFO] [stderr] | _______________________^ [INFO] [stderr] 196 | | let rwlock = rwclone2.clone(); [INFO] [stderr] 197 | | async move { [INFO] [stderr] 198 | | let mut guard = rwlock.write().await; [INFO] [stderr] 199 | | *guard += 3; [INFO] [stderr] 200 | | } [INFO] [stderr] 201 | | }) [INFO] [stderr] | |_____________^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:194:9 [INFO] [stderr] | [INFO] [stderr] 194 | / stream::iter(0..1000) [INFO] [stderr] 195 | | .for_each(move |_| { [INFO] [stderr] 196 | | let rwlock = rwclone2.clone(); [INFO] [stderr] 197 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 201 | | }) [INFO] [stderr] 202 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:194:9 [INFO] [stderr] | [INFO] [stderr] 194 | / stream::iter(0..1000) [INFO] [stderr] 195 | | .for_each(move |_| { [INFO] [stderr] 196 | | let rwlock = rwclone2.clone(); [INFO] [stderr] 197 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 200 | | } [INFO] [stderr] 201 | | }) [INFO] [stderr] | |______________^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:194:9 [INFO] [stderr] | [INFO] [stderr] 194 | / stream::iter(0..1000) [INFO] [stderr] 195 | | .for_each(move |_| { [INFO] [stderr] 196 | | let rwlock = rwclone2.clone(); [INFO] [stderr] 197 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 201 | | }) [INFO] [stderr] 202 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:194:9 [INFO] [stderr] | [INFO] [stderr] 194 | / stream::iter(0..1000) [INFO] [stderr] 195 | | .for_each(move |_| { [INFO] [stderr] 196 | | let rwlock = rwclone2.clone(); [INFO] [stderr] 197 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 201 | | }) [INFO] [stderr] 202 | | .await; [INFO] [stderr] | |__________________^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:194:9 [INFO] [stderr] | [INFO] [stderr] 194 | / stream::iter(0..1000) [INFO] [stderr] 195 | | .for_each(move |_| { [INFO] [stderr] 196 | | let rwlock = rwclone2.clone(); [INFO] [stderr] 197 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 201 | | }) [INFO] [stderr] 202 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:208:22 [INFO] [stderr] | [INFO] [stderr] 208 | stream::iter(0..1000) [INFO] [stderr] | ^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:208:9 [INFO] [stderr] | [INFO] [stderr] 208 | / stream::iter(0..1000) [INFO] [stderr] 209 | | .for_each(move |_| { [INFO] [stderr] 210 | | let rwlock = rwclone3.clone(); [INFO] [stderr] 211 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 215 | | }) [INFO] [stderr] 216 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:208:25 [INFO] [stderr] | [INFO] [stderr] 208 | stream::iter(0..1000) [INFO] [stderr] | ^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:208:9 [INFO] [stderr] | [INFO] [stderr] 208 | / stream::iter(0..1000) [INFO] [stderr] 209 | | .for_each(move |_| { [INFO] [stderr] 210 | | let rwlock = rwclone3.clone(); [INFO] [stderr] 211 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 215 | | }) [INFO] [stderr] 216 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:208:22 [INFO] [stderr] | [INFO] [stderr] 208 | stream::iter(0..1000) [INFO] [stderr] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:208:9 [INFO] [stderr] | [INFO] [stderr] 208 | / stream::iter(0..1000) [INFO] [stderr] 209 | | .for_each(move |_| { [INFO] [stderr] 210 | | let rwlock = rwclone3.clone(); [INFO] [stderr] 211 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 215 | | }) [INFO] [stderr] 216 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:208:9 [INFO] [stderr] | [INFO] [stderr] 208 | stream::iter(0..1000) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:208:9 [INFO] [stderr] | [INFO] [stderr] 208 | / stream::iter(0..1000) [INFO] [stderr] 209 | | .for_each(move |_| { [INFO] [stderr] 210 | | let rwlock = rwclone3.clone(); [INFO] [stderr] 211 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 215 | | }) [INFO] [stderr] 216 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:209:23 [INFO] [stderr] | [INFO] [stderr] 209 | .for_each(move |_| { [INFO] [stderr] | _______________________^ [INFO] [stderr] 210 | | let rwlock = rwclone3.clone(); [INFO] [stderr] 211 | | async move { [INFO] [stderr] 212 | | let mut guard = rwlock.write().await; [INFO] [stderr] 213 | | *guard += 5; [INFO] [stderr] 214 | | } [INFO] [stderr] 215 | | }) [INFO] [stderr] | |_____________^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:208:9 [INFO] [stderr] | [INFO] [stderr] 208 | / stream::iter(0..1000) [INFO] [stderr] 209 | | .for_each(move |_| { [INFO] [stderr] 210 | | let rwlock = rwclone3.clone(); [INFO] [stderr] 211 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 215 | | }) [INFO] [stderr] 216 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:208:9 [INFO] [stderr] | [INFO] [stderr] 208 | / stream::iter(0..1000) [INFO] [stderr] 209 | | .for_each(move |_| { [INFO] [stderr] 210 | | let rwlock = rwclone3.clone(); [INFO] [stderr] 211 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 214 | | } [INFO] [stderr] 215 | | }) [INFO] [stderr] | |______________^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:208:9 [INFO] [stderr] | [INFO] [stderr] 208 | / stream::iter(0..1000) [INFO] [stderr] 209 | | .for_each(move |_| { [INFO] [stderr] 210 | | let rwlock = rwclone3.clone(); [INFO] [stderr] 211 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 215 | | }) [INFO] [stderr] 216 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:208:9 [INFO] [stderr] | [INFO] [stderr] 208 | / stream::iter(0..1000) [INFO] [stderr] 209 | | .for_each(move |_| { [INFO] [stderr] 210 | | let rwlock = rwclone3.clone(); [INFO] [stderr] 211 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 215 | | }) [INFO] [stderr] 216 | | .await; [INFO] [stderr] | |__________________^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:208:9 [INFO] [stderr] | [INFO] [stderr] 208 | / stream::iter(0..1000) [INFO] [stderr] 209 | | .for_each(move |_| { [INFO] [stderr] 210 | | let rwlock = rwclone3.clone(); [INFO] [stderr] 211 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 215 | | }) [INFO] [stderr] 216 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:222:22 [INFO] [stderr] | [INFO] [stderr] 222 | stream::iter(0..1000) [INFO] [stderr] | ^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:222:9 [INFO] [stderr] | [INFO] [stderr] 222 | / stream::iter(0..1000) [INFO] [stderr] 223 | | .for_each(move |_| { [INFO] [stderr] 224 | | let rwlock = rwclone4.clone(); [INFO] [stderr] 225 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 229 | | }) [INFO] [stderr] 230 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:222:25 [INFO] [stderr] | [INFO] [stderr] 222 | stream::iter(0..1000) [INFO] [stderr] | ^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:222:9 [INFO] [stderr] | [INFO] [stderr] 222 | / stream::iter(0..1000) [INFO] [stderr] 223 | | .for_each(move |_| { [INFO] [stderr] 224 | | let rwlock = rwclone4.clone(); [INFO] [stderr] 225 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 229 | | }) [INFO] [stderr] 230 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:222:22 [INFO] [stderr] | [INFO] [stderr] 222 | stream::iter(0..1000) [INFO] [stderr] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:222:9 [INFO] [stderr] | [INFO] [stderr] 222 | / stream::iter(0..1000) [INFO] [stderr] 223 | | .for_each(move |_| { [INFO] [stderr] 224 | | let rwlock = rwclone4.clone(); [INFO] [stderr] 225 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 229 | | }) [INFO] [stderr] 230 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:222:9 [INFO] [stderr] | [INFO] [stderr] 222 | stream::iter(0..1000) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:222:9 [INFO] [stderr] | [INFO] [stderr] 222 | / stream::iter(0..1000) [INFO] [stderr] 223 | | .for_each(move |_| { [INFO] [stderr] 224 | | let rwlock = rwclone4.clone(); [INFO] [stderr] 225 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 229 | | }) [INFO] [stderr] 230 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:223:23 [INFO] [stderr] | [INFO] [stderr] 223 | .for_each(move |_| { [INFO] [stderr] | _______________________^ [INFO] [stderr] 224 | | let rwlock = rwclone4.clone(); [INFO] [stderr] 225 | | async move { [INFO] [stderr] 226 | | let mut guard = rwlock.write().await; [INFO] [stderr] 227 | | *guard += 7; [INFO] [stderr] 228 | | } [INFO] [stderr] 229 | | }) [INFO] [stderr] | |_____________^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:222:9 [INFO] [stderr] | [INFO] [stderr] 222 | / stream::iter(0..1000) [INFO] [stderr] 223 | | .for_each(move |_| { [INFO] [stderr] 224 | | let rwlock = rwclone4.clone(); [INFO] [stderr] 225 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 229 | | }) [INFO] [stderr] 230 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:222:9 [INFO] [stderr] | [INFO] [stderr] 222 | / stream::iter(0..1000) [INFO] [stderr] 223 | | .for_each(move |_| { [INFO] [stderr] 224 | | let rwlock = rwclone4.clone(); [INFO] [stderr] 225 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 228 | | } [INFO] [stderr] 229 | | }) [INFO] [stderr] | |______________^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:222:9 [INFO] [stderr] | [INFO] [stderr] 222 | / stream::iter(0..1000) [INFO] [stderr] 223 | | .for_each(move |_| { [INFO] [stderr] 224 | | let rwlock = rwclone4.clone(); [INFO] [stderr] 225 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 229 | | }) [INFO] [stderr] 230 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> tests/sync_rwlock.rs:222:9 [INFO] [stderr] | [INFO] [stderr] 222 | / stream::iter(0..1000) [INFO] [stderr] 223 | | .for_each(move |_| { [INFO] [stderr] 224 | | let rwlock = rwclone4.clone(); [INFO] [stderr] 225 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 229 | | }) [INFO] [stderr] 230 | | .await; [INFO] [stderr] | |__________________^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> tests/sync_rwlock.rs:222:9 [INFO] [stderr] | [INFO] [stderr] 222 | / stream::iter(0..1000) [INFO] [stderr] 223 | | .for_each(move |_| { [INFO] [stderr] 224 | | let rwlock = rwclone4.clone(); [INFO] [stderr] 225 | | async move { [INFO] [stderr] ... | [INFO] [stderr] 229 | | }) [INFO] [stderr] 230 | | .await; [INFO] [stderr] | |__________________^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `tokio::stream`, `tokio::stream` [INFO] [stderr] --> tests/stream_chain.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use tokio::stream::{self, Stream, StreamExt}; [INFO] [stderr] | ^^^^^^ ^^^^ no `stream` in the root [INFO] [stderr] | | [INFO] [stderr] | could not find `stream` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio::sync::mpsc` [INFO] [stderr] --> tests/stream_chain.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio::sync::mpsc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `mpsc` in `sync` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/stream_chain.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/stream_chain.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `stream` in `tokio` [INFO] [stderr] --> tests/stream_chain.rs:77:17 [INFO] [stderr] | [INFO] [stderr] 77 | impl tokio::stream::Stream for Monster { [INFO] [stderr] | ^^^^^^ could not find `stream` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0603]: module `sync` is private [INFO] [stderr] --> tests/stream_chain.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio::sync::mpsc; [INFO] [stderr] | ^^^^ private module [INFO] [stderr] | [INFO] [stderr] note: the module `sync` is defined here [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:383:5 [INFO] [stderr] | [INFO] [stderr] 383 | mod sync; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:26:32 [INFO] [stderr] | [INFO] [stderr] 26 | let _g1 = assert_ready!(t1.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t1` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:28:22 [INFO] [stderr] | [INFO] [stderr] 28 | assert_ready!(t2.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t2` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:37:32 [INFO] [stderr] | [INFO] [stderr] 37 | let _g1 = assert_ready!(t1.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t1` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:39:24 [INFO] [stderr] | [INFO] [stderr] 39 | assert_pending!(t2.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t2` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:48:32 [INFO] [stderr] | [INFO] [stderr] 48 | let _g1 = assert_ready!(t1.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t1` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:50:24 [INFO] [stderr] | [INFO] [stderr] 50 | assert_pending!(t2.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t2` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:61:17 [INFO] [stderr] | [INFO] [stderr] 61 | match t.poll() { [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:68:24 [INFO] [stderr] | [INFO] [stderr] 68 | assert_pending!(t1.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t1` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `is_woken` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:71:16 [INFO] [stderr] | [INFO] [stderr] 71 | assert!(t1.is_woken()); [INFO] [stderr] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t1` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:72:22 [INFO] [stderr] | [INFO] [stderr] 72 | assert_ready!(t1.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t1` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:81:32 [INFO] [stderr] | [INFO] [stderr] 81 | let _g1 = assert_ready!(t1.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t1` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:83:24 [INFO] [stderr] | [INFO] [stderr] 83 | assert_pending!(t2.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t2` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:92:31 [INFO] [stderr] | [INFO] [stderr] 92 | let g1 = assert_ready!(t1.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t1` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:94:24 [INFO] [stderr] | [INFO] [stderr] 94 | assert_pending!(t2.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t2` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `is_woken` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:96:16 [INFO] [stderr] | [INFO] [stderr] 96 | assert!(t2.is_woken()); [INFO] [stderr] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t2` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:97:22 [INFO] [stderr] | [INFO] [stderr] 97 | assert_ready!(t2.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t2` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:106:32 [INFO] [stderr] | [INFO] [stderr] 106 | let _g1 = assert_ready!(t1.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t1` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:109:22 [INFO] [stderr] | [INFO] [stderr] 109 | assert_ready!(t2.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t2` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:112:24 [INFO] [stderr] | [INFO] [stderr] 112 | assert_pending!(t3.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t3` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:115:24 [INFO] [stderr] | [INFO] [stderr] 115 | assert_pending!(t4.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t4` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:124:32 [INFO] [stderr] | [INFO] [stderr] 124 | let _g1 = assert_ready!(t1.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t1` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:127:24 [INFO] [stderr] | [INFO] [stderr] 127 | assert_pending!(t2.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t2` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:130:24 [INFO] [stderr] | [INFO] [stderr] 130 | assert_pending!(t3.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t3` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `is_woken` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:133:16 [INFO] [stderr] | [INFO] [stderr] 133 | assert!(t3.is_woken()); [INFO] [stderr] | ^^^^^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t3` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll` found for struct `tokio_test::task::Spawn<_>` in the current scope [INFO] [stderr] --> tests/sync_rwlock.rs:134:22 [INFO] [stderr] | [INFO] [stderr] 134 | assert_ready!(t3.poll()); [INFO] [stderr] | ^^^^ method not found in `tokio_test::task::Spawn<_>` [INFO] [stderr] | [INFO] [stderr] = note: `t3` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::future::FutureExt` [INFO] [stderr] --> tests/sync_rwlock.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use futures::future::FutureExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: aborting due to 73 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433, E0599, E0603, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [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] [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] [stderr] error[E0432]: unresolved imports `tokio::stream`, `tokio::stream` [INFO] [stderr] --> tests/stream_stream_map.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use tokio::stream::{self, pending, Stream, StreamExt, StreamMap}; [INFO] [stderr] | ^^^^^^ ^^^^ no `stream` in the root [INFO] [stderr] | | [INFO] [stderr] | could not find `stream` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio::sync::mpsc` [INFO] [stderr] --> tests/stream_stream_map.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio::sync::mpsc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `mpsc` in `sync` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/stream_stream_map.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/stream_stream_map.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/stream_stream_map.rs:76:10 [INFO] [stderr] | [INFO] [stderr] 76 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/stream_stream_map.rs:132:10 [INFO] [stderr] | [INFO] [stderr] 132 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stderr] --> tests/stream_stream_map.rs:160:10 [INFO] [stderr] | [INFO] [stderr] 160 | #[tokio::test] [INFO] [stderr] | ^^^^ could not find `test` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0603]: module `sync` is private [INFO] [stderr] --> tests/stream_stream_map.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio::sync::mpsc; [INFO] [stderr] | ^^^^ private module [INFO] [stderr] | [INFO] [stderr] note: the module `sync` is defined here [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:383:5 [INFO] [stderr] | [INFO] [stderr] 383 | mod sync; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [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] [stderr] error[E0432]: unresolved import `tokio::sync::oneshot` [INFO] [stderr] --> tests/no_rt.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio::sync::oneshot; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `oneshot` in `sync` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio::time` [INFO] [stderr] --> tests/no_rt.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio::time::{timeout, Duration}; [INFO] [stderr] | ^^^^ could not find `time` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0603]: module `sync` is private [INFO] [stderr] --> tests/no_rt.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio::sync::oneshot; [INFO] [stderr] | ^^^^ private module [INFO] [stderr] | [INFO] [stderr] note: the module `sync` is defined here [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:383:5 [INFO] [stderr] | [INFO] [stderr] 383 | mod sync; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [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] [stderr] error[E0425]: cannot find function `lookup_host` in module `net` [INFO] [stderr] --> tests/net_lookup_host.rs:11:34 [INFO] [stderr] | [INFO] [stderr] 11 | let actual = assert_ok!(net::lookup_host(addr).await).collect::>(); [INFO] [stderr] | ^^^^^^^^^^^ not found in `net` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `lookup_host` in module `net` [INFO] [stderr] --> tests/net_lookup_host.rs:19:34 [INFO] [stderr] | [INFO] [stderr] 19 | let actual = assert_ok!(net::lookup_host("127.0.0.1:8000").await).collect::>(); [INFO] [stderr] | ^^^^^^^^^^^ not found in `net` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `lookup_host` in module `net` [INFO] [stderr] --> tests/net_lookup_host.rs:25:26 [INFO] [stderr] | [INFO] [stderr] 25 | let mut hosts = net::lookup_host("localhost:3000").await?; [INFO] [stderr] | ^^^^^^^^^^^ not found in `net` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `tokio`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "488157feddc4c612bc4b2e800372cb9926608a792bc4c9771a30dacdf9f1de4d"` [INFO] running `"docker" "rm" "-f" "488157feddc4c612bc4b2e800372cb9926608a792bc4c9771a30dacdf9f1de4d"` [INFO] [stdout] 488157feddc4c612bc4b2e800372cb9926608a792bc4c9771a30dacdf9f1de4d