[INFO] fetching crate async-scoped 0.9.0... [INFO] testing async-scoped-0.9.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate async-scoped 0.9.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate async-scoped 0.9.0 [INFO] finished tweaking crates.io crate async-scoped 0.9.0 [INFO] tweaked toml for crates.io crate async-scoped 0.9.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate async-scoped 0.9.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 87 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05a78c301108263216995c6df184ce67c7d81af649f9ed63acdb7f82d4ff5adf [INFO] running `Command { std: "docker" "start" "-a" "05a78c301108263216995c6df184ce67c7d81af649f9ed63acdb7f82d4ff5adf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05a78c301108263216995c6df184ce67c7d81af649f9ed63acdb7f82d4ff5adf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05a78c301108263216995c6df184ce67c7d81af649f9ed63acdb7f82d4ff5adf", kill_on_drop: false }` [INFO] [stdout] 05a78c301108263216995c6df184ce67c7d81af649f9ed63acdb7f82d4ff5adf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52ddfbf5f936a6afdc91c453a941665f5117972dc4de3fb1285d005d9b129fcf [INFO] running `Command { std: "docker" "start" "-a" "52ddfbf5f936a6afdc91c453a941665f5117972dc4de3fb1285d005d9b129fcf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling async-scoped v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `cfg_async_std` [INFO] [stdout] --> src/utils.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! cfg_async_std { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `cfg_tokio` [INFO] [stdout] --> src/utils.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | macro_rules! cfg_tokio { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `cfg_any_spawner` [INFO] [stdout] --> src/utils.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | macro_rules! cfg_any_spawner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.12s [INFO] running `Command { std: "docker" "inspect" "52ddfbf5f936a6afdc91c453a941665f5117972dc4de3fb1285d005d9b129fcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52ddfbf5f936a6afdc91c453a941665f5117972dc4de3fb1285d005d9b129fcf", kill_on_drop: false }` [INFO] [stdout] 52ddfbf5f936a6afdc91c453a941665f5117972dc4de3fb1285d005d9b129fcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0aace323432a28cea757cc050555f6dfcc9feeb58f490d28f25fd8bb0b907eb7 [INFO] running `Command { std: "docker" "start" "-a" "0aace323432a28cea757cc050555f6dfcc9feeb58f490d28f25fd8bb0b907eb7", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling erased-serde v0.4.9 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stdout] warning: unused macro definition: `cfg_async_std` [INFO] [stdout] --> src/utils.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! cfg_async_std { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `cfg_tokio` [INFO] [stdout] --> src/utils.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | macro_rules! cfg_tokio { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `cfg_any_spawner` [INFO] [stdout] --> src/utils.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | macro_rules! cfg_any_spawner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling serde_fmt v1.0.3 [INFO] [stderr] Compiling value-bag-serde1 v1.11.1 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling femme v2.2.1 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling async-scoped v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | let (stream, _) = unsafe { Scope::scope(|s| { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | let ((), vals) = unsafe { Scope::scope_and_collect(|s| { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | let mut s = Scope::create(Default::default()); [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | let (_, vals) = unsafe { Scope::scope_and_collect(|s| { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | let ((), vals) = Scope::scope_and_block(|s| { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:142:26 [INFO] [stdout] | [INFO] [stdout] 142 | let ((), vals) = Scope::scope_and_block(|s| { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:167:27 [INFO] [stdout] | [INFO] [stdout] 167 | let ((), items) = Scope::scope_and_block(|scope| { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:189:27 [INFO] [stdout] | [INFO] [stdout] 189 | let ((), items) = Scope::scope_and_block(|scope| { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:218:26 [INFO] [stdout] | [INFO] [stdout] 218 | unsafe { Scope::scope_and_collect(|scope| { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:257:30 [INFO] [stdout] | [INFO] [stdout] 257 | let mut s = unsafe { Scope::create(Default::default()) }; [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | Scope::scope_and_block(|scope| { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/tests.rs:332:22 [INFO] [stdout] | [INFO] [stdout] 332 | let (_, r) = Scope::scope_and_block(|scope| { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Scope; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `cfg_tokio` [INFO] [stdout] --> src/utils.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | macro_rules! cfg_tokio { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `cfg_any_spawner` [INFO] [stdout] --> src/utils.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | macro_rules! cfg_any_spawner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:31:50 [INFO] [stdout] | [INFO] [stdout] 31 | let (stream, _) = unsafe { Scope::scope(|s| { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 36 | s.spawn(proc()); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 31 | let (stream, _) = unsafe { Scope::scope(|s: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | let count = stream.collect::>().await.len(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | let count = stream.collect::>().await.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:62:61 [INFO] [stdout] | [INFO] [stdout] 62 | let ((), vals) = unsafe { Scope::scope_and_collect(|s| { [INFO] [stdout] | ^ [INFO] [stdout] 63 | s.spawn(static_fut); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 62 | let ((), vals) = unsafe { Scope::scope_and_collect(|s: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `((), _)` [INFO] [stdout] --> src/tests.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let ((), vals) = unsafe { Scope::scope_and_collect(|s| { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | assert_eq!(vals.len(), 11); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 62 | let ((), vals): (_, _) = unsafe { Scope::scope_and_collect(|s| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let count = stream.collect::>().await.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:111:60 [INFO] [stdout] | [INFO] [stdout] 111 | let (_, vals) = unsafe { Scope::scope_and_collect(|s| { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 116 | s.spawn(proc()); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 111 | let (_, vals) = unsafe { Scope::scope_and_collect(|s: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/tests.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let (_, vals) = unsafe { Scope::scope_and_collect(|s| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | assert_eq!(vals.len(), 10); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 111 | let (_, vals): (_, _) = unsafe { Scope::scope_and_collect(|s| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:126:50 [INFO] [stdout] | [INFO] [stdout] 126 | let ((), vals) = Scope::scope_and_block(|s| { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 131 | s.spawn(proc()); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 126 | let ((), vals) = Scope::scope_and_block(|s: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(vals.len(), 10); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:142:50 [INFO] [stdout] | [INFO] [stdout] 142 | let ((), vals) = Scope::scope_and_block(|s| { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 147 | s.spawn_blocking(proc); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 142 | let ((), vals) = Scope::scope_and_block(|s: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(vals.len(), 10); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:167:51 [INFO] [stdout] | [INFO] [stdout] 167 | let ((), items) = Scope::scope_and_block(|scope| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] 168 | scope.spawn_cancellable(proc(), || false); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 167 | let ((), items) = Scope::scope_and_block(|scope: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:170:20 [INFO] [stdout] | [INFO] [stdout] 170 | assert_eq!(items.len(), 1); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `future_value` in this scope [INFO] [stdout] --> src/tests.rs:172:24 [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!(future_value(i), true); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:189:51 [INFO] [stdout] | [INFO] [stdout] 189 | let ((), items) = Scope::scope_and_block(|scope| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] 190 | scope.spawn_cancellable(proc(), || false); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 189 | let ((), items) = Scope::scope_and_block(|scope: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 193 | assert_eq!(items.len(), 1); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `future_value` in this scope [INFO] [stdout] --> src/tests.rs:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | assert_eq!(future_value(i), false); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:218:52 [INFO] [stdout] | [INFO] [stdout] 218 | unsafe { Scope::scope_and_collect(|scope| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] 219 | scope.spawn_cancellable(async { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 218 | unsafe { Scope::scope_and_collect(|scope: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:312:41 [INFO] [stdout] | [INFO] [stdout] 312 | Scope::scope_and_block(|scope| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] 313 | if n > 0 { [INFO] [stdout] 314 | scope.spawn(async { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 312 | Scope::scope_and_block(|scope: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:332:46 [INFO] [stdout] | [INFO] [stdout] 332 | let (_, r) = Scope::scope_and_block(|scope| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] 333 | for i in 0..N { [INFO] [stdout] 334 | scope.spawn(async move { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 332 | let (_, r) = Scope::scope_and_block(|scope: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:343:17 [INFO] [stdout] | [INFO] [stdout] 343 | let r = r.into_iter().map(|v| { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-scoped` (lib test) due to 34 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0aace323432a28cea757cc050555f6dfcc9feeb58f490d28f25fd8bb0b907eb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aace323432a28cea757cc050555f6dfcc9feeb58f490d28f25fd8bb0b907eb7", kill_on_drop: false }` [INFO] [stdout] 0aace323432a28cea757cc050555f6dfcc9feeb58f490d28f25fd8bb0b907eb7