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