[INFO] fetching crate wasm-mt-pool 0.1.0... [INFO] testing wasm-mt-pool-0.1.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate wasm-mt-pool 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate wasm-mt-pool 0.1.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasm-mt-pool 0.1.0 [INFO] finished tweaking crates.io crate wasm-mt-pool 0.1.0 [INFO] tweaked toml for crates.io crate wasm-mt-pool 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b09b97a42d7cb0a26b503856b1e08137b835a9236b5bc419aa5f6b910aa7ccf3 [INFO] running `Command { std: "docker" "start" "-a" "b09b97a42d7cb0a26b503856b1e08137b835a9236b5bc419aa5f6b910aa7ccf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b09b97a42d7cb0a26b503856b1e08137b835a9236b5bc419aa5f6b910aa7ccf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b09b97a42d7cb0a26b503856b1e08137b835a9236b5bc419aa5f6b910aa7ccf3", kill_on_drop: false }` [INFO] [stdout] b09b97a42d7cb0a26b503856b1e08137b835a9236b5bc419aa5f6b910aa7ccf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64c789663c530bfdab279a750e7d8a6bebc07b15c402f37202111c371db08448 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "64c789663c530bfdab279a750e7d8a6bebc07b15c402f37202111c371db08448", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.65 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling heapless v0.5.5 [INFO] [stderr] Compiling wasm-bindgen v0.2.65 [INFO] [stderr] Compiling build_id v0.2.1 [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling relative v0.2.2 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling metatype v0.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling as-slice v0.1.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling procinfo v0.4.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling palaver v0.2.8 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.65 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.65 [INFO] [stderr] Compiling serde_closure_derive v0.2.14 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.65 [INFO] [stderr] Compiling js-sys v0.3.42 [INFO] [stderr] Compiling web-sys v0.3.42 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.15 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling erased-serde v0.3.12 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling serde_closure v0.2.14 [INFO] [stderr] Compiling serde_traitobject v0.2.7 [INFO] [stderr] Compiling wasm-mt v0.1.0 [INFO] [stderr] Compiling wasm-mt-pool v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "64c789663c530bfdab279a750e7d8a6bebc07b15c402f37202111c371db08448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64c789663c530bfdab279a750e7d8a6bebc07b15c402f37202111c371db08448", kill_on_drop: false }` [INFO] [stdout] 64c789663c530bfdab279a750e7d8a6bebc07b15c402f37202111c371db08448 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b440af0c5e79d80e3120061c0dfc7d1699d402d9805a7c298fb235f235ca82e6 [INFO] running `Command { std: "docker" "start" "-a" "b440af0c5e79d80e3120061c0dfc7d1699d402d9805a7c298fb235f235ca82e6", kill_on_drop: false }` [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.15 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.15 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.44s [INFO] running `Command { std: "docker" "inspect" "b440af0c5e79d80e3120061c0dfc7d1699d402d9805a7c298fb235f235ca82e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b440af0c5e79d80e3120061c0dfc7d1699d402d9805a7c298fb235f235ca82e6", kill_on_drop: false }` [INFO] [stdout] b440af0c5e79d80e3120061c0dfc7d1699d402d9805a7c298fb235f235ca82e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1474f248f46dc20e3f64920e07cde71edef66f4f96479e416e7ce2fb989530a5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1474f248f46dc20e3f64920e07cde71edef66f4f96479e416e7ce2fb989530a5", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Doc-tests wasm-mt-pool [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 21) ... FAILED [INFO] [stdout] test src/lib.rs - (line 29) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 21) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `serde` [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 3 | wasm-mt-pool = "0.1" [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] 4 | serde = { version = "1.0", features = ["derive"] } [INFO] [stdout] | ^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 29) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `serde_closure` in `{{root}}` [INFO] [stdout] --> src/lib.rs:43: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 `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_closure` [INFO] [stdout] --> src/lib.rs:43: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 `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `serde_closure` in `{{root}}` [INFO] [stdout] --> src/lib.rs:51: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 `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_closure` [INFO] [stdout] --> src/lib.rs:51: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 `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `serde_closure` in `{{root}}` [INFO] [stdout] --> src/lib.rs:64: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 `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_closure` [INFO] [stdout] --> src/lib.rs:64: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 `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `serde_closure` in `{{root}}` [INFO] [stdout] --> src/lib.rs:72: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 `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] 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:51: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 `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:43: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 a macro (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:43: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 a macro (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:43: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 a macro (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:51: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 a macro (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:51: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 a macro (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:51: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 a macro (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:64: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 a macro (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:64: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 a macro (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:64: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 a macro (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:72: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 a macro (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:72: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 a macro (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:72: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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `hash` [INFO] [stdout] --> src/lib.rs:43: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 type or module `hash` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `cmp` [INFO] [stdout] --> src/lib.rs:43: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 type or module `cmp` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `fmt` [INFO] [stdout] --> src/lib.rs:43: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 type or module `fmt` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ops` [INFO] [stdout] --> src/lib.rs:43: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 type or module `ops` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `JsValue` [INFO] [stdout] --> src/lib.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(JsValue::NULL) [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `JsValue` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `hash` [INFO] [stdout] --> src/lib.rs:51: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 type or module `hash` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `cmp` [INFO] [stdout] --> src/lib.rs:51: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 type or module `cmp` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `fmt` [INFO] [stdout] --> src/lib.rs:51: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 type or module `fmt` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ops` [INFO] [stdout] --> src/lib.rs:51: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 type or module `ops` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `JsValue` [INFO] [stdout] --> src/lib.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 28 | Ok(JsValue::NULL) [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `JsValue` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `hash` [INFO] [stdout] --> src/lib.rs:64: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 type or module `hash` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `cmp` [INFO] [stdout] --> src/lib.rs:64: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 type or module `cmp` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `fmt` [INFO] [stdout] --> src/lib.rs:64: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 type or module `fmt` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ops` [INFO] [stdout] --> src/lib.rs:64: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 type or module `ops` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `hash` [INFO] [stdout] --> src/lib.rs:72: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 type or module `hash` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `cmp` [INFO] [stdout] --> src/lib.rs:72: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 type or module `cmp` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `fmt` [INFO] [stdout] --> src/lib.rs:72: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 type or module `fmt` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ops` [INFO] [stdout] --> src/lib.rs:72: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 type or module `ops` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhantomData` in this scope [INFO] [stdout] --> src/lib.rs:43: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] core::marker::PhantomData [INFO] [stdout] std::marker::PhantomData [INFO] [stdout] = note: this error originates in a macro (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:43: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] core::marker::PhantomData [INFO] [stdout] std::marker::PhantomData [INFO] [stdout] = note: this error originates in a macro (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:43: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] core::intrinsics::size_of [INFO] [stdout] core::mem::size_of [INFO] [stdout] std::intrinsics::size_of [INFO] [stdout] std::mem::size_of [INFO] [stdout] = note: this error originates in a macro (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:43: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] core::intrinsics::abort [INFO] [stdout] std::intrinsics::abort [INFO] [stdout] std::process::abort [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MaybeUninit` [INFO] [stdout] --> src/lib.rs:43: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] core::mem::MaybeUninit [INFO] [stdout] std::mem::MaybeUninit [INFO] [stdout] = note: this error originates in a macro (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:43: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] core::hash::Hash [INFO] [stdout] std::hash::Hash [INFO] [stdout] = note: this error originates in a macro (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:43: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] core::fmt::Debug [INFO] [stdout] std::fmt::Debug [INFO] [stdout] = note: this error originates in a macro (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:43: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] core::any::type_name [INFO] [stdout] core::intrinsics::type_name [INFO] [stdout] std::any::type_name [INFO] [stdout] std::intrinsics::type_name [INFO] [stdout] = note: this error originates in a macro (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 `{{root}}` [INFO] [stdout] --> src/lib.rs:43: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 a macro (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:51: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] core::marker::PhantomData [INFO] [stdout] std::marker::PhantomData [INFO] [stdout] = note: this error originates in a macro (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:51: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] core::marker::PhantomData [INFO] [stdout] std::marker::PhantomData [INFO] [stdout] = note: this error originates in a macro (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:51: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] core::intrinsics::size_of [INFO] [stdout] core::mem::size_of [INFO] [stdout] std::intrinsics::size_of [INFO] [stdout] std::mem::size_of [INFO] [stdout] = note: this error originates in a macro (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:51: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] core::intrinsics::abort [INFO] [stdout] std::intrinsics::abort [INFO] [stdout] std::process::abort [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MaybeUninit` [INFO] [stdout] --> src/lib.rs:51: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] core::mem::MaybeUninit [INFO] [stdout] std::mem::MaybeUninit [INFO] [stdout] = note: this error originates in a macro (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:51: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] core::hash::Hash [INFO] [stdout] std::hash::Hash [INFO] [stdout] = note: this error originates in a macro (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:51: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] core::fmt::Debug [INFO] [stdout] std::fmt::Debug [INFO] [stdout] = note: this error originates in a macro (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:51: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] core::any::type_name [INFO] [stdout] core::intrinsics::type_name [INFO] [stdout] std::any::type_name [INFO] [stdout] std::intrinsics::type_name [INFO] [stdout] = note: this error originates in a macro (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 `{{root}}` [INFO] [stdout] --> src/lib.rs:51: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 a macro (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:64: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] core::marker::PhantomData [INFO] [stdout] std::marker::PhantomData [INFO] [stdout] = note: this error originates in a macro (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:64: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] core::marker::PhantomData [INFO] [stdout] std::marker::PhantomData [INFO] [stdout] = note: this error originates in a macro (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:64: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] core::intrinsics::size_of [INFO] [stdout] core::mem::size_of [INFO] [stdout] std::intrinsics::size_of [INFO] [stdout] std::mem::size_of [INFO] [stdout] = note: this error originates in a macro (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:64: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] core::intrinsics::abort [INFO] [stdout] std::intrinsics::abort [INFO] [stdout] std::process::abort [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MaybeUninit` [INFO] [stdout] --> src/lib.rs:64: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] core::mem::MaybeUninit [INFO] [stdout] std::mem::MaybeUninit [INFO] [stdout] = note: this error originates in a macro (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:64: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] core::hash::Hash [INFO] [stdout] std::hash::Hash [INFO] [stdout] = note: this error originates in a macro (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:64: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] core::fmt::Debug [INFO] [stdout] std::fmt::Debug [INFO] [stdout] = note: this error originates in a macro (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:64: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] core::any::type_name [INFO] [stdout] core::intrinsics::type_name [INFO] [stdout] std::any::type_name [INFO] [stdout] std::intrinsics::type_name [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `JsValue` [INFO] [stdout] --> src/lib.rs:66: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 `{{root}}` [INFO] [stdout] --> src/lib.rs:64: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 a macro (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:72: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] core::marker::PhantomData [INFO] [stdout] std::marker::PhantomData [INFO] [stdout] = note: this error originates in a macro (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:72: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] core::marker::PhantomData [INFO] [stdout] std::marker::PhantomData [INFO] [stdout] = note: this error originates in a macro (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:72: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] core::intrinsics::size_of [INFO] [stdout] core::mem::size_of [INFO] [stdout] std::intrinsics::size_of [INFO] [stdout] std::mem::size_of [INFO] [stdout] = note: this error originates in a macro (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:72: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] core::intrinsics::abort [INFO] [stdout] std::intrinsics::abort [INFO] [stdout] std::process::abort [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MaybeUninit` [INFO] [stdout] --> src/lib.rs:72: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] core::mem::MaybeUninit [INFO] [stdout] std::mem::MaybeUninit [INFO] [stdout] = note: this error originates in a macro (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:72: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] core::hash::Hash [INFO] [stdout] std::hash::Hash [INFO] [stdout] = note: this error originates in a macro (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:72: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] core::fmt::Debug [INFO] [stdout] std::fmt::Debug [INFO] [stdout] = note: this error originates in a macro (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:72: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] core::any::type_name [INFO] [stdout] core::intrinsics::type_name [INFO] [stdout] std::any::type_name [INFO] [stdout] std::intrinsics::type_name [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `JsValue` [INFO] [stdout] --> src/lib.rs:75: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 `{{root}}` [INFO] [stdout] --> src/lib.rs:72: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 a macro (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:37:12 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() { [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:79:1 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() { [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 21) [INFO] [stdout] src/lib.rs - (line 29) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "1474f248f46dc20e3f64920e07cde71edef66f4f96479e416e7ce2fb989530a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1474f248f46dc20e3f64920e07cde71edef66f4f96479e416e7ce2fb989530a5", kill_on_drop: false }` [INFO] [stdout] 1474f248f46dc20e3f64920e07cde71edef66f4f96479e416e7ce2fb989530a5