[INFO] fetching crate wasm-mt-pool 0.1.1... [INFO] testing wasm-mt-pool-0.1.1 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate wasm-mt-pool 0.1.1 into /workspace/builds/worker-102/source [INFO] validating manifest of crates.io crate wasm-mt-pool 0.1.1 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-102/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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" "+722e1797249a965b6335aebd65d777f917e498f1" "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-102/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 539bf7274b1be5341ff16928a8f14a12ca9cbf06e1ab584f2a95dc609755aaa2 [INFO] running `Command { std: "docker" "start" "-a" "539bf7274b1be5341ff16928a8f14a12ca9cbf06e1ab584f2a95dc609755aaa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "539bf7274b1be5341ff16928a8f14a12ca9cbf06e1ab584f2a95dc609755aaa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "539bf7274b1be5341ff16928a8f14a12ca9cbf06e1ab584f2a95dc609755aaa2", kill_on_drop: false }` [INFO] [stdout] 539bf7274b1be5341ff16928a8f14a12ca9cbf06e1ab584f2a95dc609755aaa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 575fd89ea10ad966fb33bf9de4e1c9b60ee8499049e138f117ddd0b7c057a4a6 [INFO] running `Command { std: "docker" "start" "-a" "575fd89ea10ad966fb33bf9de4e1c9b60ee8499049e138f117ddd0b7c057a4a6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling bumpalo v3.8.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling build_id v0.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling erased-serde v0.3.16 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling relative v0.2.2 [INFO] [stderr] Compiling metatype v0.2.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling twox-hash v1.6.1 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling procinfo v0.4.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling palaver v0.2.8 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling serde_derive v1.0.130 [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 serde_closure v0.2.14 [INFO] [stderr] Compiling bincode v1.3.3 [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 33.00s [INFO] running `Command { std: "docker" "inspect" "575fd89ea10ad966fb33bf9de4e1c9b60ee8499049e138f117ddd0b7c057a4a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "575fd89ea10ad966fb33bf9de4e1c9b60ee8499049e138f117ddd0b7c057a4a6", kill_on_drop: false }` [INFO] [stdout] 575fd89ea10ad966fb33bf9de4e1c9b60ee8499049e138f117ddd0b7c057a4a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9a2455e48a72094d85fae7f867e18cbf56e17a32077fffd54ec815b19c40d0e [INFO] running `Command { std: "docker" "start" "-a" "b9a2455e48a72094d85fae7f867e18cbf56e17a32077fffd54ec815b19c40d0e", kill_on_drop: false }` [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.25s [INFO] running `Command { std: "docker" "inspect" "b9a2455e48a72094d85fae7f867e18cbf56e17a32077fffd54ec815b19c40d0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9a2455e48a72094d85fae7f867e18cbf56e17a32077fffd54ec815b19c40d0e", kill_on_drop: false }` [INFO] [stdout] b9a2455e48a72094d85fae7f867e18cbf56e17a32077fffd54ec815b19c40d0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 768d9346ff53cfd88ab705fa128c95e606acdd85328ad2178c8c729c3dfceadf [INFO] running `Command { std: "docker" "start" "-a" "768d9346ff53cfd88ab705fa128c95e606acdd85328ad2178c8c729c3dfceadf", 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] Finished test [unoptimized + debuginfo] target(s) in 0.78s [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] [stderr] error: test failed, to rerun pass '--doc' [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] [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.21s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "768d9346ff53cfd88ab705fa128c95e606acdd85328ad2178c8c729c3dfceadf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "768d9346ff53cfd88ab705fa128c95e606acdd85328ad2178c8c729c3dfceadf", kill_on_drop: false }` [INFO] [stdout] 768d9346ff53cfd88ab705fa128c95e606acdd85328ad2178c8c729c3dfceadf