[INFO] fetching crate wasm-mt-pool 0.1.0... [INFO] testing wasm-mt-pool-0.1.0 against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] extracting crate wasm-mt-pool 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate wasm-mt-pool 0.1.0 on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "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" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f23c37c36bf256be01fedc5945a31ac7018a1313c6ae57916a8f2d2fe56a477 [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" "7f23c37c36bf256be01fedc5945a31ac7018a1313c6ae57916a8f2d2fe56a477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f23c37c36bf256be01fedc5945a31ac7018a1313c6ae57916a8f2d2fe56a477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f23c37c36bf256be01fedc5945a31ac7018a1313c6ae57916a8f2d2fe56a477", kill_on_drop: false }` [INFO] [stdout] 7f23c37c36bf256be01fedc5945a31ac7018a1313c6ae57916a8f2d2fe56a477 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67645e3a8d5aa7e95771aa882fd57116205ae43f551f5b883f72d5e0daf8554c [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" "67645e3a8d5aa7e95771aa882fd57116205ae43f551f5b883f72d5e0daf8554c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.68 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling build_id v0.2.1 [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.68 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling relative v0.2.2 [INFO] [stderr] Compiling metatype v0.2.0 [INFO] [stderr] Compiling twox-hash v1.6.0 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling procinfo v0.4.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling as-slice v0.1.4 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.68 [INFO] [stderr] Compiling palaver v0.2.8 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.68 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde_closure_derive v0.2.14 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.68 [INFO] [stderr] Compiling js-sys v0.3.45 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.18 [INFO] [stderr] Compiling web-sys v0.3.45 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling erased-serde v0.3.12 [INFO] [stderr] Compiling serde_closure v0.2.14 [INFO] [stderr] Compiling bincode v1.3.1 [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 44s [INFO] running `Command { std: "docker" "inspect" "67645e3a8d5aa7e95771aa882fd57116205ae43f551f5b883f72d5e0daf8554c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67645e3a8d5aa7e95771aa882fd57116205ae43f551f5b883f72d5e0daf8554c", kill_on_drop: false }` [INFO] [stdout] 67645e3a8d5aa7e95771aa882fd57116205ae43f551f5b883f72d5e0daf8554c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e2436efc0a31e687d19e7eb451c6af53bca0c6f4c7a1c302fe6994e9ef38006 [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" "4e2436efc0a31e687d19e7eb451c6af53bca0c6f4c7a1c302fe6994e9ef38006", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.18 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.18 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.92s [INFO] running `Command { std: "docker" "inspect" "4e2436efc0a31e687d19e7eb451c6af53bca0c6f4c7a1c302fe6994e9ef38006", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e2436efc0a31e687d19e7eb451c6af53bca0c6f4c7a1c302fe6994e9ef38006", kill_on_drop: false }` [INFO] [stdout] 4e2436efc0a31e687d19e7eb451c6af53bca0c6f4c7a1c302fe6994e9ef38006 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7fb6cfa946e88c3fe8f17183d5afdb78f4d8c57fdef6582f4b60cf6b5d39e117 [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" "7fb6cfa946e88c3fe8f17183d5afdb78f4d8c57fdef6582f4b60cf6b5d39e117", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [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 crate 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 crate 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 crate 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 crate 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 crate 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 crate 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 crate 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 crate 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 `JsValue` [INFO] [stdout] --> src/lib.rs:45: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: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 crate 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 crate 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 crate 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 crate 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 crate 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 crate 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 crate 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 `JsValue` [INFO] [stdout] --> src/lib.rs:54: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: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 crate 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 crate 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 crate 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 crate 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 crate 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 crate 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 crate 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 crate 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 crate 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 crate 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 crate 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 crate 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 crate 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 crate 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 crate 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 `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 `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 `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 `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 `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 `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" "7fb6cfa946e88c3fe8f17183d5afdb78f4d8c57fdef6582f4b60cf6b5d39e117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fb6cfa946e88c3fe8f17183d5afdb78f4d8c57fdef6582f4b60cf6b5d39e117", kill_on_drop: false }` [INFO] [stdout] 7fb6cfa946e88c3fe8f17183d5afdb78f4d8c57fdef6582f4b60cf6b5d39e117