[INFO] fetching crate wasm-mt-pool 0.1.1... [INFO] testing wasm-mt-pool-0.1.1 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate wasm-mt-pool 0.1.1 into /workspace/builds/worker-87/source [INFO] validating manifest of crates.io crate wasm-mt-pool 0.1.1 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasm-mt-pool 0.1.1 [INFO] finished tweaking crates.io crate wasm-mt-pool 0.1.1 [INFO] tweaked toml for crates.io crate wasm-mt-pool 0.1.1 written to /workspace/builds/worker-87/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--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-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6800926ca04054790963db0f527a339ad8437a0efd5c87d55c966c3582c61d02 [INFO] running `Command { std: "docker" "start" "-a" "6800926ca04054790963db0f527a339ad8437a0efd5c87d55c966c3582c61d02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6800926ca04054790963db0f527a339ad8437a0efd5c87d55c966c3582c61d02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6800926ca04054790963db0f527a339ad8437a0efd5c87d55c966c3582c61d02", kill_on_drop: false }` [INFO] [stdout] 6800926ca04054790963db0f527a339ad8437a0efd5c87d55c966c3582c61d02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33e209db7ea57c4ea91b4a3497e4de3b9cc959effaaf5d995484301b62b1d15b [INFO] running `Command { std: "docker" "start" "-a" "33e209db7ea57c4ea91b4a3497e4de3b9cc959effaaf5d995484301b62b1d15b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bumpalo v3.8.0 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling build_id v0.2.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling relative v0.2.2 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling erased-serde v0.3.16 [INFO] [stderr] Compiling metatype v0.2.1 [INFO] [stderr] Compiling twox-hash v1.6.1 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling procinfo v0.4.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling palaver v0.2.8 [INFO] [stderr] Compiling serde_closure_derive v0.2.14 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Compiling js-sys v0.3.55 [INFO] [stderr] Compiling web-sys v0.3.55 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.28 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_closure v0.2.14 [INFO] [stderr] Compiling serde_traitobject v0.2.7 [INFO] [stderr] Compiling wasm-mt v0.1.2 [INFO] [stderr] Compiling wasm-mt-pool v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.10s [INFO] running `Command { std: "docker" "inspect" "33e209db7ea57c4ea91b4a3497e4de3b9cc959effaaf5d995484301b62b1d15b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33e209db7ea57c4ea91b4a3497e4de3b9cc959effaaf5d995484301b62b1d15b", kill_on_drop: false }` [INFO] [stdout] 33e209db7ea57c4ea91b4a3497e4de3b9cc959effaaf5d995484301b62b1d15b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7edd61d688f8430ab7928a6171429f1c17699ef9aae96cfc03a1ce42f04ef68 [INFO] running `Command { std: "docker" "start" "-a" "e7edd61d688f8430ab7928a6171429f1c17699ef9aae96cfc03a1ce42f04ef68", 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] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.28 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.28 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.47s [INFO] running `Command { std: "docker" "inspect" "e7edd61d688f8430ab7928a6171429f1c17699ef9aae96cfc03a1ce42f04ef68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7edd61d688f8430ab7928a6171429f1c17699ef9aae96cfc03a1ce42f04ef68", kill_on_drop: false }` [INFO] [stdout] e7edd61d688f8430ab7928a6171429f1c17699ef9aae96cfc03a1ce42f04ef68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b45ff17135053d7190e71fdf9c689ab4742e90d2384d8267c288252a2b6bb8a8 [INFO] running `Command { std: "docker" "start" "-a" "b45ff17135053d7190e71fdf9c689ab4742e90d2384d8267c288252a2b6bb8a8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Doc-tests wasm-mt-pool [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 28) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 28) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `serde_closure` in the list of imported crates [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 17 | / pool_exec!(pool, move || { [INFO] [stdout] 18 | | console_ln!("a) closure: done."); [INFO] [stdout] 19 | | Ok(JsValue::NULL) [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______^ could not find `serde_closure` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_closure` [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 17 | / pool_exec!(pool, move || { [INFO] [stdout] 18 | | console_ln!("a) closure: done."); [INFO] [stdout] 19 | | Ok(JsValue::NULL) [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______^ could not find `serde_closure` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `serde_closure` in the list of imported crates [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pool_exec!(pool, async move || { [INFO] [stdout] 26 | | sleep(1000).await; [INFO] [stdout] 27 | | console_ln!("b) async closure: done."); [INFO] [stdout] 28 | | Ok(JsValue::NULL) [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ could not find `serde_closure` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_closure` [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pool_exec!(pool, async move || { [INFO] [stdout] 26 | | sleep(1000).await; [INFO] [stdout] 27 | | console_ln!("b) async closure: done."); [INFO] [stdout] 28 | | Ok(JsValue::NULL) [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ could not find `serde_closure` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `serde_closure` in the list of imported crates [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pool_exec!(pool, move || { [INFO] [stdout] 39 | | console_ln!("c) closure: done."); [INFO] [stdout] 40 | | Ok(JsValue::from("C")) [INFO] [stdout] 41 | | }, cb); [INFO] [stdout] | |__________^ could not find `serde_closure` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_closure` [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pool_exec!(pool, move || { [INFO] [stdout] 39 | | console_ln!("c) closure: done."); [INFO] [stdout] 40 | | Ok(JsValue::from("C")) [INFO] [stdout] 41 | | }, cb); [INFO] [stdout] | |__________^ could not find `serde_closure` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `serde_closure` in the list of imported crates [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 46 | / pool_exec!(pool, async move || { [INFO] [stdout] 47 | | sleep(1000).await; [INFO] [stdout] 48 | | console_ln!("d) async closure: done."); [INFO] [stdout] 49 | | Ok(JsValue::from("D")) [INFO] [stdout] 50 | | }, cb); [INFO] [stdout] | |__________^ could not find `serde_closure` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `serde_closure`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self`, `self` [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 17 | / pool_exec!(pool, move || { [INFO] [stdout] 18 | | console_ln!("a) closure: done."); [INFO] [stdout] 19 | | Ok(JsValue::NULL) [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] ... [INFO] [stdout] 25 | / pool_exec!(pool, async move || { [INFO] [stdout] 26 | | sleep(1000).await; [INFO] [stdout] 27 | | console_ln!("b) async closure: done."); [INFO] [stdout] 28 | | Ok(JsValue::NULL) [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] ... [INFO] [stdout] 38 | / pool_exec!(pool, move || { [INFO] [stdout] 39 | | console_ln!("c) closure: done."); [INFO] [stdout] 40 | | Ok(JsValue::from("C")) [INFO] [stdout] 41 | | }, cb); [INFO] [stdout] | |__________^ [INFO] [stdout] ... [INFO] [stdout] 46 | / pool_exec!(pool, async move || { [INFO] [stdout] 47 | | sleep(1000).await; [INFO] [stdout] 48 | | console_ln!("d) async closure: done."); [INFO] [stdout] 49 | | Ok(JsValue::from("D")) [INFO] [stdout] 50 | | }, cb); [INFO] [stdout] | |__________^ could not find `serde_closure` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 17 | / pool_exec!(pool, move || { [INFO] [stdout] 18 | | console_ln!("a) closure: done."); [INFO] [stdout] 19 | | Ok(JsValue::NULL) [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 17 | / pool_exec!(pool, move || { [INFO] [stdout] 18 | | console_ln!("a) closure: done."); [INFO] [stdout] 19 | | Ok(JsValue::NULL) [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 17 | / pool_exec!(pool, move || { [INFO] [stdout] 18 | | console_ln!("a) closure: done."); [INFO] [stdout] 19 | | Ok(JsValue::NULL) [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pool_exec!(pool, async move || { [INFO] [stdout] 26 | | sleep(1000).await; [INFO] [stdout] 27 | | console_ln!("b) async closure: done."); [INFO] [stdout] 28 | | Ok(JsValue::NULL) [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pool_exec!(pool, async move || { [INFO] [stdout] 26 | | sleep(1000).await; [INFO] [stdout] 27 | | console_ln!("b) async closure: done."); [INFO] [stdout] 28 | | Ok(JsValue::NULL) [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pool_exec!(pool, async move || { [INFO] [stdout] 26 | | sleep(1000).await; [INFO] [stdout] 27 | | console_ln!("b) async closure: done."); [INFO] [stdout] 28 | | Ok(JsValue::NULL) [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pool_exec!(pool, move || { [INFO] [stdout] 39 | | console_ln!("c) closure: done."); [INFO] [stdout] 40 | | Ok(JsValue::from("C")) [INFO] [stdout] 41 | | }, cb); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pool_exec!(pool, move || { [INFO] [stdout] 39 | | console_ln!("c) closure: done."); [INFO] [stdout] 40 | | Ok(JsValue::from("C")) [INFO] [stdout] 41 | | }, cb); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pool_exec!(pool, move || { [INFO] [stdout] 39 | | console_ln!("c) closure: done."); [INFO] [stdout] 40 | | Ok(JsValue::from("C")) [INFO] [stdout] 41 | | }, cb); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 46 | / pool_exec!(pool, async move || { [INFO] [stdout] 47 | | sleep(1000).await; [INFO] [stdout] 48 | | console_ln!("d) async closure: done."); [INFO] [stdout] 49 | | Ok(JsValue::from("D")) [INFO] [stdout] 50 | | }, cb); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 46 | / pool_exec!(pool, async move || { [INFO] [stdout] 47 | | sleep(1000).await; [INFO] [stdout] 48 | | console_ln!("d) async closure: done."); [INFO] [stdout] 49 | | Ok(JsValue::from("D")) [INFO] [stdout] 50 | | }, cb); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 46 | / pool_exec!(pool, async move || { [INFO] [stdout] 47 | | sleep(1000).await; [INFO] [stdout] 48 | | console_ln!("d) async closure: done."); [INFO] [stdout] 49 | | Ok(JsValue::from("D")) [INFO] [stdout] 50 | | }, cb); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash` [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 17 | / pool_exec!(pool, move || { [INFO] [stdout] 18 | | console_ln!("a) closure: done."); [INFO] [stdout] 19 | | Ok(JsValue::NULL) [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______^ use of undeclared crate or module `hash` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cmp` [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 17 | / pool_exec!(pool, move || { [INFO] [stdout] 18 | | console_ln!("a) closure: done."); [INFO] [stdout] 19 | | Ok(JsValue::NULL) [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______^ use of undeclared crate or module `cmp` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 17 | / pool_exec!(pool, move || { [INFO] [stdout] 18 | | console_ln!("a) closure: done."); [INFO] [stdout] 19 | | Ok(JsValue::NULL) [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ops` [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 17 | / pool_exec!(pool, move || { [INFO] [stdout] 18 | | console_ln!("a) closure: done."); [INFO] [stdout] 19 | | Ok(JsValue::NULL) [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______^ use of undeclared crate or module `ops` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/lib.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(JsValue::NULL) [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash` [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pool_exec!(pool, async move || { [INFO] [stdout] 26 | | sleep(1000).await; [INFO] [stdout] 27 | | console_ln!("b) async closure: done."); [INFO] [stdout] 28 | | Ok(JsValue::NULL) [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ use of undeclared crate or module `hash` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cmp` [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pool_exec!(pool, async move || { [INFO] [stdout] 26 | | sleep(1000).await; [INFO] [stdout] 27 | | console_ln!("b) async closure: done."); [INFO] [stdout] 28 | | Ok(JsValue::NULL) [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ use of undeclared crate or module `cmp` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pool_exec!(pool, async move || { [INFO] [stdout] 26 | | sleep(1000).await; [INFO] [stdout] 27 | | console_ln!("b) async closure: done."); [INFO] [stdout] 28 | | Ok(JsValue::NULL) [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ops` [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pool_exec!(pool, async move || { [INFO] [stdout] 26 | | sleep(1000).await; [INFO] [stdout] 27 | | console_ln!("b) async closure: done."); [INFO] [stdout] 28 | | Ok(JsValue::NULL) [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ use of undeclared crate or module `ops` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/lib.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 28 | Ok(JsValue::NULL) [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash` [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pool_exec!(pool, move || { [INFO] [stdout] 39 | | console_ln!("c) closure: done."); [INFO] [stdout] 40 | | Ok(JsValue::from("C")) [INFO] [stdout] 41 | | }, cb); [INFO] [stdout] | |__________^ use of undeclared crate or module `hash` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cmp` [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pool_exec!(pool, move || { [INFO] [stdout] 39 | | console_ln!("c) closure: done."); [INFO] [stdout] 40 | | Ok(JsValue::from("C")) [INFO] [stdout] 41 | | }, cb); [INFO] [stdout] | |__________^ use of undeclared crate or module `cmp` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pool_exec!(pool, move || { [INFO] [stdout] 39 | | console_ln!("c) closure: done."); [INFO] [stdout] 40 | | Ok(JsValue::from("C")) [INFO] [stdout] 41 | | }, cb); [INFO] [stdout] | |__________^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ops` [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pool_exec!(pool, move || { [INFO] [stdout] 39 | | console_ln!("c) closure: done."); [INFO] [stdout] 40 | | Ok(JsValue::from("C")) [INFO] [stdout] 41 | | }, cb); [INFO] [stdout] | |__________^ use of undeclared crate or module `ops` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash` [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 46 | / pool_exec!(pool, async move || { [INFO] [stdout] 47 | | sleep(1000).await; [INFO] [stdout] 48 | | console_ln!("d) async closure: done."); [INFO] [stdout] 49 | | Ok(JsValue::from("D")) [INFO] [stdout] 50 | | }, cb); [INFO] [stdout] | |__________^ use of undeclared crate or module `hash` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cmp` [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 46 | / pool_exec!(pool, async move || { [INFO] [stdout] 47 | | sleep(1000).await; [INFO] [stdout] 48 | | console_ln!("d) async closure: done."); [INFO] [stdout] 49 | | Ok(JsValue::from("D")) [INFO] [stdout] 50 | | }, cb); [INFO] [stdout] | |__________^ use of undeclared crate or module `cmp` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 46 | / pool_exec!(pool, async move || { [INFO] [stdout] 47 | | sleep(1000).await; [INFO] [stdout] 48 | | console_ln!("d) async closure: done."); [INFO] [stdout] 49 | | Ok(JsValue::from("D")) [INFO] [stdout] 50 | | }, cb); [INFO] [stdout] | |__________^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ops` [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 46 | / pool_exec!(pool, async move || { [INFO] [stdout] 47 | | sleep(1000).await; [INFO] [stdout] 48 | | console_ln!("d) async closure: done."); [INFO] [stdout] 49 | | Ok(JsValue::from("D")) [INFO] [stdout] 50 | | }, cb); [INFO] [stdout] | |__________^ use of undeclared crate or module `ops` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhantomData` in this scope [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 17 | / pool_exec!(pool, move || { [INFO] [stdout] 18 | | console_ln!("a) closure: done."); [INFO] [stdout] 19 | | Ok(JsValue::NULL) [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::marker::PhantomData [INFO] [stdout] core::marker::PhantomData [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PhantomData` in this scope [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 17 | / pool_exec!(pool, move || { [INFO] [stdout] 18 | | console_ln!("a) closure: done."); [INFO] [stdout] 19 | | Ok(JsValue::NULL) [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::marker::PhantomData [INFO] [stdout] core::marker::PhantomData [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `size_of` in this scope [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 17 | / pool_exec!(pool, move || { [INFO] [stdout] 18 | | console_ln!("a) closure: done."); [INFO] [stdout] 19 | | Ok(JsValue::NULL) [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::intrinsics::size_of [INFO] [stdout] std::mem::size_of [INFO] [stdout] core::intrinsics::size_of [INFO] [stdout] core::mem::size_of [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `abort` in this scope [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 17 | / pool_exec!(pool, move || { [INFO] [stdout] 18 | | console_ln!("a) closure: done."); [INFO] [stdout] 19 | | Ok(JsValue::NULL) [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::intrinsics::abort [INFO] [stdout] std::process::abort [INFO] [stdout] core::intrinsics::abort [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaybeUninit` [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 17 | / pool_exec!(pool, move || { [INFO] [stdout] 18 | | console_ln!("a) closure: done."); [INFO] [stdout] 19 | | Ok(JsValue::NULL) [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::mem::MaybeUninit [INFO] [stdout] core::mem::MaybeUninit [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Hash` in this scope [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 17 | / pool_exec!(pool, move || { [INFO] [stdout] 18 | | console_ln!("a) closure: done."); [INFO] [stdout] 19 | | Ok(JsValue::NULL) [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::hash::Hash [INFO] [stdout] core::hash::Hash [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Debug` in this scope [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 17 | / pool_exec!(pool, move || { [INFO] [stdout] 18 | | console_ln!("a) closure: done."); [INFO] [stdout] 19 | | Ok(JsValue::NULL) [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::fmt::Debug [INFO] [stdout] core::fmt::Debug [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `type_name` in this scope [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 17 | / pool_exec!(pool, move || { [INFO] [stdout] 18 | | console_ln!("a) closure: done."); [INFO] [stdout] 19 | | Ok(JsValue::NULL) [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::any::type_name [INFO] [stdout] std::intrinsics::type_name [INFO] [stdout] core::any::type_name [INFO] [stdout] core::intrinsics::type_name [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `serde_closure` in the list of imported crates [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 17 | / pool_exec!(pool, move || { [INFO] [stdout] 18 | | console_ln!("a) closure: done."); [INFO] [stdout] 19 | | Ok(JsValue::NULL) [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______^ not found in `serde_closure::structs` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::ops::FnOnce; [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::FnOnce; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhantomData` in this scope [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pool_exec!(pool, async move || { [INFO] [stdout] 26 | | sleep(1000).await; [INFO] [stdout] 27 | | console_ln!("b) async closure: done."); [INFO] [stdout] 28 | | Ok(JsValue::NULL) [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::marker::PhantomData [INFO] [stdout] core::marker::PhantomData [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PhantomData` in this scope [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pool_exec!(pool, async move || { [INFO] [stdout] 26 | | sleep(1000).await; [INFO] [stdout] 27 | | console_ln!("b) async closure: done."); [INFO] [stdout] 28 | | Ok(JsValue::NULL) [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::marker::PhantomData [INFO] [stdout] core::marker::PhantomData [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `size_of` in this scope [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pool_exec!(pool, async move || { [INFO] [stdout] 26 | | sleep(1000).await; [INFO] [stdout] 27 | | console_ln!("b) async closure: done."); [INFO] [stdout] 28 | | Ok(JsValue::NULL) [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::intrinsics::size_of [INFO] [stdout] std::mem::size_of [INFO] [stdout] core::intrinsics::size_of [INFO] [stdout] core::mem::size_of [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `abort` in this scope [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pool_exec!(pool, async move || { [INFO] [stdout] 26 | | sleep(1000).await; [INFO] [stdout] 27 | | console_ln!("b) async closure: done."); [INFO] [stdout] 28 | | Ok(JsValue::NULL) [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::intrinsics::abort [INFO] [stdout] std::process::abort [INFO] [stdout] core::intrinsics::abort [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaybeUninit` [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pool_exec!(pool, async move || { [INFO] [stdout] 26 | | sleep(1000).await; [INFO] [stdout] 27 | | console_ln!("b) async closure: done."); [INFO] [stdout] 28 | | Ok(JsValue::NULL) [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::mem::MaybeUninit [INFO] [stdout] core::mem::MaybeUninit [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Hash` in this scope [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pool_exec!(pool, async move || { [INFO] [stdout] 26 | | sleep(1000).await; [INFO] [stdout] 27 | | console_ln!("b) async closure: done."); [INFO] [stdout] 28 | | Ok(JsValue::NULL) [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::hash::Hash [INFO] [stdout] core::hash::Hash [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Debug` in this scope [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pool_exec!(pool, async move || { [INFO] [stdout] 26 | | sleep(1000).await; [INFO] [stdout] 27 | | console_ln!("b) async closure: done."); [INFO] [stdout] 28 | | Ok(JsValue::NULL) [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::fmt::Debug [INFO] [stdout] core::fmt::Debug [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `type_name` in this scope [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pool_exec!(pool, async move || { [INFO] [stdout] 26 | | sleep(1000).await; [INFO] [stdout] 27 | | console_ln!("b) async closure: done."); [INFO] [stdout] 28 | | Ok(JsValue::NULL) [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::any::type_name [INFO] [stdout] std::intrinsics::type_name [INFO] [stdout] core::any::type_name [INFO] [stdout] core::intrinsics::type_name [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `serde_closure` in the list of imported crates [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 25 | / pool_exec!(pool, async move || { [INFO] [stdout] 26 | | sleep(1000).await; [INFO] [stdout] 27 | | console_ln!("b) async closure: done."); [INFO] [stdout] 28 | | Ok(JsValue::NULL) [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ not found in `serde_closure::structs` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::ops::FnOnce; [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::FnOnce; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhantomData` in this scope [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pool_exec!(pool, move || { [INFO] [stdout] 39 | | console_ln!("c) closure: done."); [INFO] [stdout] 40 | | Ok(JsValue::from("C")) [INFO] [stdout] 41 | | }, cb); [INFO] [stdout] | |__________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::marker::PhantomData [INFO] [stdout] core::marker::PhantomData [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PhantomData` in this scope [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pool_exec!(pool, move || { [INFO] [stdout] 39 | | console_ln!("c) closure: done."); [INFO] [stdout] 40 | | Ok(JsValue::from("C")) [INFO] [stdout] 41 | | }, cb); [INFO] [stdout] | |__________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::marker::PhantomData [INFO] [stdout] core::marker::PhantomData [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `size_of` in this scope [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pool_exec!(pool, move || { [INFO] [stdout] 39 | | console_ln!("c) closure: done."); [INFO] [stdout] 40 | | Ok(JsValue::from("C")) [INFO] [stdout] 41 | | }, cb); [INFO] [stdout] | |__________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::intrinsics::size_of [INFO] [stdout] std::mem::size_of [INFO] [stdout] core::intrinsics::size_of [INFO] [stdout] core::mem::size_of [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `abort` in this scope [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pool_exec!(pool, move || { [INFO] [stdout] 39 | | console_ln!("c) closure: done."); [INFO] [stdout] 40 | | Ok(JsValue::from("C")) [INFO] [stdout] 41 | | }, cb); [INFO] [stdout] | |__________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::intrinsics::abort [INFO] [stdout] std::process::abort [INFO] [stdout] core::intrinsics::abort [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaybeUninit` [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pool_exec!(pool, move || { [INFO] [stdout] 39 | | console_ln!("c) closure: done."); [INFO] [stdout] 40 | | Ok(JsValue::from("C")) [INFO] [stdout] 41 | | }, cb); [INFO] [stdout] | |__________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::mem::MaybeUninit [INFO] [stdout] core::mem::MaybeUninit [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Hash` in this scope [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pool_exec!(pool, move || { [INFO] [stdout] 39 | | console_ln!("c) closure: done."); [INFO] [stdout] 40 | | Ok(JsValue::from("C")) [INFO] [stdout] 41 | | }, cb); [INFO] [stdout] | |__________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::hash::Hash [INFO] [stdout] core::hash::Hash [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Debug` in this scope [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pool_exec!(pool, move || { [INFO] [stdout] 39 | | console_ln!("c) closure: done."); [INFO] [stdout] 40 | | Ok(JsValue::from("C")) [INFO] [stdout] 41 | | }, cb); [INFO] [stdout] | |__________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::fmt::Debug [INFO] [stdout] core::fmt::Debug [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `type_name` in this scope [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pool_exec!(pool, move || { [INFO] [stdout] 39 | | console_ln!("c) closure: done."); [INFO] [stdout] 40 | | Ok(JsValue::from("C")) [INFO] [stdout] 41 | | }, cb); [INFO] [stdout] | |__________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::any::type_name [INFO] [stdout] std::intrinsics::type_name [INFO] [stdout] core::any::type_name [INFO] [stdout] core::intrinsics::type_name [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/lib.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(JsValue::from("C")) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `serde_closure` in the list of imported crates [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pool_exec!(pool, move || { [INFO] [stdout] 39 | | console_ln!("c) closure: done."); [INFO] [stdout] 40 | | Ok(JsValue::from("C")) [INFO] [stdout] 41 | | }, cb); [INFO] [stdout] | |__________^ not found in `serde_closure::structs` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::ops::FnOnce; [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::FnOnce; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhantomData` in this scope [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 46 | / pool_exec!(pool, async move || { [INFO] [stdout] 47 | | sleep(1000).await; [INFO] [stdout] 48 | | console_ln!("d) async closure: done."); [INFO] [stdout] 49 | | Ok(JsValue::from("D")) [INFO] [stdout] 50 | | }, cb); [INFO] [stdout] | |__________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::marker::PhantomData [INFO] [stdout] core::marker::PhantomData [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PhantomData` in this scope [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 46 | / pool_exec!(pool, async move || { [INFO] [stdout] 47 | | sleep(1000).await; [INFO] [stdout] 48 | | console_ln!("d) async closure: done."); [INFO] [stdout] 49 | | Ok(JsValue::from("D")) [INFO] [stdout] 50 | | }, cb); [INFO] [stdout] | |__________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::marker::PhantomData [INFO] [stdout] core::marker::PhantomData [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `size_of` in this scope [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 46 | / pool_exec!(pool, async move || { [INFO] [stdout] 47 | | sleep(1000).await; [INFO] [stdout] 48 | | console_ln!("d) async closure: done."); [INFO] [stdout] 49 | | Ok(JsValue::from("D")) [INFO] [stdout] 50 | | }, cb); [INFO] [stdout] | |__________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::intrinsics::size_of [INFO] [stdout] std::mem::size_of [INFO] [stdout] core::intrinsics::size_of [INFO] [stdout] core::mem::size_of [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `abort` in this scope [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 46 | / pool_exec!(pool, async move || { [INFO] [stdout] 47 | | sleep(1000).await; [INFO] [stdout] 48 | | console_ln!("d) async closure: done."); [INFO] [stdout] 49 | | Ok(JsValue::from("D")) [INFO] [stdout] 50 | | }, cb); [INFO] [stdout] | |__________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::intrinsics::abort [INFO] [stdout] std::process::abort [INFO] [stdout] core::intrinsics::abort [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MaybeUninit` [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 46 | / pool_exec!(pool, async move || { [INFO] [stdout] 47 | | sleep(1000).await; [INFO] [stdout] 48 | | console_ln!("d) async closure: done."); [INFO] [stdout] 49 | | Ok(JsValue::from("D")) [INFO] [stdout] 50 | | }, cb); [INFO] [stdout] | |__________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::mem::MaybeUninit [INFO] [stdout] core::mem::MaybeUninit [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Hash` in this scope [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 46 | / pool_exec!(pool, async move || { [INFO] [stdout] 47 | | sleep(1000).await; [INFO] [stdout] 48 | | console_ln!("d) async closure: done."); [INFO] [stdout] 49 | | Ok(JsValue::from("D")) [INFO] [stdout] 50 | | }, cb); [INFO] [stdout] | |__________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::hash::Hash [INFO] [stdout] core::hash::Hash [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Debug` in this scope [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 46 | / pool_exec!(pool, async move || { [INFO] [stdout] 47 | | sleep(1000).await; [INFO] [stdout] 48 | | console_ln!("d) async closure: done."); [INFO] [stdout] 49 | | Ok(JsValue::from("D")) [INFO] [stdout] 50 | | }, cb); [INFO] [stdout] | |__________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::fmt::Debug [INFO] [stdout] core::fmt::Debug [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `type_name` in this scope [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 46 | / pool_exec!(pool, async move || { [INFO] [stdout] 47 | | sleep(1000).await; [INFO] [stdout] 48 | | console_ln!("d) async closure: done."); [INFO] [stdout] 49 | | Ok(JsValue::from("D")) [INFO] [stdout] 50 | | }, cb); [INFO] [stdout] | |__________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::any::type_name [INFO] [stdout] std::intrinsics::type_name [INFO] [stdout] core::any::type_name [INFO] [stdout] core::intrinsics::type_name [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/lib.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(JsValue::from("D")) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `serde_closure` in the list of imported crates [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 46 | / pool_exec!(pool, async move || { [INFO] [stdout] 47 | | sleep(1000).await; [INFO] [stdout] 48 | | console_ln!("d) async closure: done."); [INFO] [stdout] 49 | | Ok(JsValue::from("D")) [INFO] [stdout] 50 | | }, cb); [INFO] [stdout] | |__________^ not found in `serde_closure::structs` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `FnOnce` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::ops::FnOnce; [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::FnOnce; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_28_0() { [INFO] [stdout] | ----------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | let pool = ThreadPool::new(size, pkg_js).and_init().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_28_0() { [INFO] [stdout] | ----------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 53 | sleep(6_000).await; // Do sleep long enough to ensure all jobs are completed. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 78 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 28) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b45ff17135053d7190e71fdf9c689ab4742e90d2384d8267c288252a2b6bb8a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b45ff17135053d7190e71fdf9c689ab4742e90d2384d8267c288252a2b6bb8a8", kill_on_drop: false }` [INFO] [stdout] b45ff17135053d7190e71fdf9c689ab4742e90d2384d8267c288252a2b6bb8a8