[INFO] fetching crate js_arc 0.1.0...
[INFO] testing js_arc-0.1.0 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate js_arc 0.1.0 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate js_arc 0.1.0
[INFO] finished tweaking crates.io crate js_arc 0.1.0
[INFO] tweaked toml for crates.io crate js_arc 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate js_arc 0.1.0 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 23 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9481996540c23e9f9f17c29bf08230875b1a9e6ddbe191bb34648ff44e194b7a
[INFO] running `Command { std: "docker" "start" "-a" "9481996540c23e9f9f17c29bf08230875b1a9e6ddbe191bb34648ff44e194b7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9481996540c23e9f9f17c29bf08230875b1a9e6ddbe191bb34648ff44e194b7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9481996540c23e9f9f17c29bf08230875b1a9e6ddbe191bb34648ff44e194b7a", kill_on_drop: false }`
[INFO] [stdout] 9481996540c23e9f9f17c29bf08230875b1a9e6ddbe191bb34648ff44e194b7a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5688aea181a00bd4c082ff70b0a2402e4bdf1ca4db7be057363aa7f012dbf629
[INFO] running `Command { std: "docker" "start" "-a" "5688aea181a00bd4c082ff70b0a2402e4bdf1ca4db7be057363aa7f012dbf629", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.106
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling bumpalo v3.19.1
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling wasm-bindgen v0.2.106
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling event-listener-strategy v0.5.4
[INFO] [stderr]    Compiling async-channel v2.5.0
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.106
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.106
[INFO] [stderr]    Compiling js-sys v0.3.83
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.56
[INFO] [stderr]    Compiling js_arc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.59s
[INFO] running `Command { std: "docker" "inspect" "5688aea181a00bd4c082ff70b0a2402e4bdf1ca4db7be057363aa7f012dbf629", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5688aea181a00bd4c082ff70b0a2402e4bdf1ca4db7be057363aa7f012dbf629", kill_on_drop: false }`
[INFO] [stdout] 5688aea181a00bd4c082ff70b0a2402e4bdf1ca4db7be057363aa7f012dbf629
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a713f94d11965f1fb5346600e4b21045f8e1d9d3ba3ad7e6c0881b210bad7191
[INFO] running `Command { std: "docker" "start" "-a" "a713f94d11965f1fb5346600e4b21045f8e1d9d3ba3ad7e6c0881b210bad7191", kill_on_drop: false }`
[INFO] [stderr]    Compiling js_arc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s
[INFO] running `Command { std: "docker" "inspect" "a713f94d11965f1fb5346600e4b21045f8e1d9d3ba3ad7e6c0881b210bad7191", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a713f94d11965f1fb5346600e4b21045f8e1d9d3ba3ad7e6c0881b210bad7191", kill_on_drop: false }`
[INFO] [stdout] a713f94d11965f1fb5346600e4b21045f8e1d9d3ba3ad7e6c0881b210bad7191
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c0ddf51208db4dee4f9914d84f61e3af4455985a76c726291bb0dee3473d256a
[INFO] running `Command { std: "docker" "start" "-a" "c0ddf51208db4dee4f9914d84f61e3af4455985a76c726291bb0dee3473d256a", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/js_arc-48aa0d99a0891e97)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests js_arc
[INFO] [stdout] 
[INFO] [stdout] running 18 tests
[INFO] [stdout] test src/lib.rs - (line 88) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 31) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 17) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 54) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 69) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 116) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 110) ... FAILED
[INFO] [stdout] test src/lib.rs - JsArc::with_many (line 908) ... FAILED
[INFO] [stdout] test src/lib.rs - JsArc::arc (line 735) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 7) ... FAILED
[INFO] [stdout] test src/lib.rs - JsArc::new (line 643) ... FAILED
[INFO] [stdout] test src/lib.rs - JsArc::new_async (line 668) ... FAILED
[INFO] [stdout] test src/lib.rs - JsArc::with_other (line 814) ... FAILED
[INFO] [stdout] test src/lib.rs - JsArc::with_other_async (line 861) ... FAILED
[INFO] [stdout] test src/lib.rs - JsArc::with_self (line 755) ... FAILED
[INFO] [stdout] test src/lib.rs - JsArc::with_many_async (line 960) ... FAILED
[INFO] [stdout] test src/lib.rs - JsArc::with_self_async (line 782) ... FAILED
[INFO] [stdout] test src/lib.rs - JsArc::with_self (line 743) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 88) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]   --> src/lib.rs:89:10
[INFO] [stdout]    |
[INFO] [stdout] 89 | let v0 = JsArc::new(|| 0.into()).await;
[INFO] [stdout]    |          ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 88 + use js_arc::JsArc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]   --> src/lib.rs:90:10
[INFO] [stdout]    |
[INFO] [stdout] 90 | let v1 = JsArc::new(|| 1.into()).await;
[INFO] [stdout]    |          ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 88 + use js_arc::JsArc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]   --> src/lib.rs:91:10
[INFO] [stdout]    |
[INFO] [stdout] 91 | let v2 = JsArc::new(|| 2.into()).await;
[INFO] [stdout]    |          ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 88 + use js_arc::JsArc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]   --> src/lib.rs:92:10
[INFO] [stdout]    |
[INFO] [stdout] 92 | let v3 = JsArc::new(|| 3.into()).await;
[INFO] [stdout]    |          ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 88 + use js_arc::JsArc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]   --> src/lib.rs:93:10
[INFO] [stdout]    |
[INFO] [stdout] 93 | let v4 = JsArc::new(|| 4.into()).await;
[INFO] [stdout]    |          ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 88 + use js_arc::JsArc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:89:34
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_88_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 89 | let v0 = JsArc::new(|| 0.into()).await;
[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:90:34
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_88_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 89 | let v0 = JsArc::new(|| 0.into()).await;
[INFO] [stdout] 90 | let v1 = JsArc::new(|| 1.into()).await;
[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:91:34
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_88_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 91 | let v2 = JsArc::new(|| 2.into()).await;
[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:92:34
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_88_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 92 | let v3 = JsArc::new(|| 3.into()).await;
[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:93:34
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_88_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 93 | let v4 = JsArc::new(|| 4.into()).await;
[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:106:6
[INFO] [stdout]     |
[INFO] [stdout]  88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_88_0() {
[INFO] [stdout]     |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 106 |     .await;
[INFO] [stdout]     |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 31) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   --> src/lib.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 |        web_sys::console::log_1(&three);
[INFO] [stdout]    |        ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]   --> src/lib.rs:32:11
[INFO] [stdout]    |
[INFO] [stdout] 32 | let one = JsArc::new(|| 1.into()).await;
[INFO] [stdout]    |           ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 31 + use js_arc::JsArc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]   --> src/lib.rs:33:11
[INFO] [stdout]    |
[INFO] [stdout] 33 | let two = JsArc::new(|| 2.into()).await;
[INFO] [stdout]    |           ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 31 + use js_arc::JsArc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JsValue` in this scope
[INFO] [stdout]   --> src/lib.rs:37:24
[INFO] [stdout]    |
[INFO] [stdout] 37 |        let add_result: JsValue = &one + &two;
[INFO] [stdout]    |                        ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 31 + use wasm_bindgen::JsValue;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:32:35
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_31_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 32 | let one = JsArc::new(|| 1.into()).await;
[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:33:35
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_31_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 32 | let one = JsArc::new(|| 1.into()).await;
[INFO] [stdout] 33 | let two = JsArc::new(|| 2.into()).await;
[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:41:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_31_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 41 |    .await;
[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:49:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_31_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 49 |    .await;
[INFO] [stdout]    |     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 17) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   --> src/lib.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     web_sys::console::log_1(&js_v);
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]   --> src/lib.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | let js_v = JsArc::new(|| 2.into()).await;
[INFO] [stdout]    |            ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 17 + use js_arc::JsArc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:18:36
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_17_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 18 | let js_v = JsArc::new(|| 2.into()).await;
[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:19:39
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_17_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 18 | let js_v = JsArc::new(|| 2.into()).await;
[INFO] [stdout] 19 | js_v.with_self(|one| one + &5.into()).await;
[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:26:2
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_17_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 26 | .await;
[INFO] [stdout]    |  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 54) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   --> src/lib.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     web_sys::console::log_1(&"Waiting 5 second then printing value".into());
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_std`
[INFO] [stdout]   --> src/lib.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     async_std::task::sleep(Duration::from_secs(5)).await;
[INFO] [stdout]    |     ^^^^^^^^^ use of unresolved module or unlinked crate `async_std`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `async_std`, use `cargo add async_std` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   --> src/lib.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     web_sys::console::log_1(&hello);
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]   --> src/lib.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | let js_v = JsArc::new(|| "Hello World!".into()).await;
[INFO] [stdout]    |            ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 54 + use js_arc::JsArc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]   --> src/lib.rs:59:28
[INFO] [stdout]    |
[INFO] [stdout] 59 |     async_std::task::sleep(Duration::from_secs(5)).await;
[INFO] [stdout]    |                            ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 54 + use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:55:49
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_54_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 55 | let js_v = JsArc::new(|| "Hello World!".into()).await;
[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:64:2
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_54_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 64 | .await;
[INFO] [stdout]    |  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 69) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   --> src/lib.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |         web_sys::console::log_1(&"Waiting 1 second then adding values".into());
[INFO] [stdout]    |         ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_std`
[INFO] [stdout]   --> src/lib.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |         async_std::task::sleep(Duration::from_secs(1)).await;
[INFO] [stdout]    |         ^^^^^^^^^ use of unresolved module or unlinked crate `async_std`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `async_std`, use `cargo add async_std` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   --> src/lib.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 81 |     web_sys::console::log_1(&five);
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `three` in this scope
[INFO] [stdout]   --> src/lib.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | let five = three
[INFO] [stdout]    |            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `two` in this scope
[INFO] [stdout]   --> src/lib.rs:71:24
[INFO] [stdout]    |
[INFO] [stdout] 71 |     .with_other_async(&two, |three, two| async {
[INFO] [stdout]    |                        ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]   --> src/lib.rs:73:32
[INFO] [stdout]    |
[INFO] [stdout] 73 |         async_std::task::sleep(Duration::from_secs(1)).await;
[INFO] [stdout]    |                                ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 69 + use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JsValue` in this scope
[INFO] [stdout]   --> src/lib.rs:74:25
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let add_result: JsValue = &three + &two;
[INFO] [stdout]    |                         ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 69 + use wasm_bindgen::JsValue;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:78:6
[INFO] [stdout]    |
[INFO] [stdout] 69 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_69_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 78 |     .await;
[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:85:2
[INFO] [stdout]    |
[INFO] [stdout] 69 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_69_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 85 | .await;
[INFO] [stdout]    |  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 116) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    --> src/lib.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |         web_sys::console::log_1(&seven);
[INFO] [stdout]     |         ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `one` in this scope
[INFO] [stdout]    --> src/lib.rs:117:15
[INFO] [stdout]     |
[INFO] [stdout] 117 | let three = (&one + &two).await;
[INFO] [stdout]     |               ^^^
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/option.rs:604:4
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named unit variant `None` defined here
[INFO] [stdout] help: a unit variant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 117 | let three = (&None + &two).await;
[INFO] [stdout]     |               +
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `two` in this scope
[INFO] [stdout]    --> src/lib.rs:117:22
[INFO] [stdout]     |
[INFO] [stdout] 117 | let three = (&one + &two).await;
[INFO] [stdout]     |                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `one` in this scope
[INFO] [stdout]    --> src/lib.rs:118:40
[INFO] [stdout]     |
[INFO] [stdout] 118 | let ten = (&(&three * &three).await + &one).await;
[INFO] [stdout]     |                                        ^^^
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/option.rs:604:4
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named unit variant `None` defined here
[INFO] [stdout] help: a unit variant with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 118 | let ten = (&(&three * &three).await + &None).await;
[INFO] [stdout]     |                                        +
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:117:27
[INFO] [stdout]     |
[INFO] [stdout] 116 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_116_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 117 | let three = (&one + &two).await;
[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:118:31
[INFO] [stdout]     |
[INFO] [stdout] 116 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_116_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 117 | let three = (&one + &two).await;
[INFO] [stdout] 118 | let ten = (&(&three * &three).await + &one).await;
[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:118:45
[INFO] [stdout]     |
[INFO] [stdout] 116 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_116_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 117 | let three = (&one + &two).await;
[INFO] [stdout] 118 | let ten = (&(&three * &three).await + &one).await;
[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:119:29
[INFO] [stdout]     |
[INFO] [stdout] 116 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_116_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 119 | let seven = (&ten - &three).await;
[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:127:6
[INFO] [stdout]     |
[INFO] [stdout] 116 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_116_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 127 |     .await;
[INFO] [stdout]     |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 110) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/lib.rs:112:19
[INFO] [stdout]     |
[INFO] [stdout] 112 | let value_in_arc: Arc<JsArc> = Arc::new(three);
[INFO] [stdout]     |                   ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 110 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JsArc` in this scope
[INFO] [stdout]    --> src/lib.rs:112:23
[INFO] [stdout]     |
[INFO] [stdout] 112 | let value_in_arc: Arc<JsArc> = Arc::new(three);
[INFO] [stdout]     |                       ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 110 + use js_arc::JsArc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]    --> src/lib.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 | let value_in_arc: Arc<JsArc> = Arc::new(three);
[INFO] [stdout]     |                                ^^^ use of undeclared type `Arc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 110 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `three` in this scope
[INFO] [stdout]    --> src/lib.rs:112:41
[INFO] [stdout]     |
[INFO] [stdout] 112 | let value_in_arc: Arc<JsArc> = Arc::new(three);
[INFO] [stdout]     |                                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/lib.rs:113:10
[INFO] [stdout]     |
[INFO] [stdout] 113 | let str: Arc<JsArc> = JsArc::new(|| "hello!".into()).await.arc();
[INFO] [stdout]     |          ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 110 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JsArc` in this scope
[INFO] [stdout]    --> src/lib.rs:113:14
[INFO] [stdout]     |
[INFO] [stdout] 113 | let str: Arc<JsArc> = JsArc::new(|| "hello!".into()).await.arc();
[INFO] [stdout]     |              ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 110 + use js_arc::JsArc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]    --> src/lib.rs:113:23
[INFO] [stdout]     |
[INFO] [stdout] 113 | let str: Arc<JsArc> = JsArc::new(|| "hello!".into()).await.arc();
[INFO] [stdout]     |                       ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 110 + use js_arc::JsArc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:113:54
[INFO] [stdout]     |
[INFO] [stdout] 110 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_110_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 113 | let str: Arc<JsArc> = JsArc::new(|| "hello!".into()).await.arc();
[INFO] [stdout]     |                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - JsArc::with_many (line 908) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]    --> src/lib.rs:909:10
[INFO] [stdout]     |
[INFO] [stdout] 909 | let v0 = JsArc::new(|| 0.into()).await;
[INFO] [stdout]     |          ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 908 + use js_arc::JsArc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]    --> src/lib.rs:910:10
[INFO] [stdout]     |
[INFO] [stdout] 910 | let v1 = JsArc::new(|| 1.into()).await;
[INFO] [stdout]     |          ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 908 + use js_arc::JsArc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]    --> src/lib.rs:911:10
[INFO] [stdout]     |
[INFO] [stdout] 911 | let v2 = JsArc::new(|| 2.into()).await;
[INFO] [stdout]     |          ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 908 + use js_arc::JsArc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]    --> src/lib.rs:912:10
[INFO] [stdout]     |
[INFO] [stdout] 912 | let v3 = JsArc::new(|| 3.into()).await;
[INFO] [stdout]     |          ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 908 + use js_arc::JsArc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]    --> src/lib.rs:913:10
[INFO] [stdout]     |
[INFO] [stdout] 913 | let v4 = JsArc::new(|| 4.into()).await;
[INFO] [stdout]     |          ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 908 + use js_arc::JsArc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:909:34
[INFO] [stdout]     |
[INFO] [stdout] 908 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_908_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 909 | let v0 = JsArc::new(|| 0.into()).await;
[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:910:34
[INFO] [stdout]     |
[INFO] [stdout] 908 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_908_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 909 | let v0 = JsArc::new(|| 0.into()).await;
[INFO] [stdout] 910 | let v1 = JsArc::new(|| 1.into()).await;
[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:911:34
[INFO] [stdout]     |
[INFO] [stdout] 908 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_908_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 911 | let v2 = JsArc::new(|| 2.into()).await;
[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:912:34
[INFO] [stdout]     |
[INFO] [stdout] 908 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_908_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 912 | let v3 = JsArc::new(|| 3.into()).await;
[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:913:34
[INFO] [stdout]     |
[INFO] [stdout] 908 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_908_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 913 | let v4 = JsArc::new(|| 4.into()).await;
[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:926:6
[INFO] [stdout]     |
[INFO] [stdout] 908 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_908_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 926 |     .await;
[INFO] [stdout]     |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - JsArc::arc (line 735) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]    --> src/lib.rs:736:1
[INFO] [stdout]     |
[INFO] [stdout] 736 | Arc::new(self)
[INFO] [stdout]     | ^^^ use of undeclared type `Arc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 735 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]    --> src/lib.rs:736:10
[INFO] [stdout]     |
[INFO] [stdout] 735 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_735_0() {
[INFO] [stdout]     |                                         ------------------------------ this function can't have a `self` parameter
[INFO] [stdout] 736 | Arc::new(self)
[INFO] [stdout]     |          ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0424, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 7) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     web_sys::console::log_1(&js_value);
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]  --> src/lib.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | let js_v = JsArc::new(|| "Hello World!".into()).await;
[INFO] [stdout]   |            ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 7 + use js_arc::JsArc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:8:49
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() {
[INFO] [stdout]   |                                      --------------------------------- this is not `async`
[INFO] [stdout] 8 | let js_v = JsArc::new(|| "Hello World!".into()).await;
[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:14:2
[INFO] [stdout]    |
[INFO] [stdout]  7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 14 | .await;
[INFO] [stdout]    |  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - JsArc::new (line 643) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]    --> src/lib.rs:644:16
[INFO] [stdout]     |
[INFO] [stdout] 644 | let js_value = JsArc::new(|| "Hello World!".into()).await;
[INFO] [stdout]     |                ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 643 + use js_arc::JsArc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:644:53
[INFO] [stdout]     |
[INFO] [stdout] 643 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_643_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 644 | let js_value = JsArc::new(|| "Hello World!".into()).await;
[INFO] [stdout]     |                                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - JsArc::new_async (line 668) stdout ----
[INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope
[INFO] [stdout]    --> src/lib.rs:669:3
[INFO] [stdout]     |
[INFO] [stdout] 669 | #[wasm_bindgen]
[INFO] [stdout]     |   ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 668 + use wasm_bindgen::prelude::wasm_bindgen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope
[INFO] [stdout]    --> src/lib.rs:671:7
[INFO] [stdout]     |
[INFO] [stdout] 671 |     #[wasm_bindgen]
[INFO] [stdout]     |       ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 668 + use wasm_bindgen::prelude::wasm_bindgen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope
[INFO] [stdout]    --> src/lib.rs:674:7
[INFO] [stdout]     |
[INFO] [stdout] 674 |     #[wasm_bindgen(method, js_name = "helloWorld")]
[INFO] [stdout]     |       ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 668 + use wasm_bindgen::prelude::wasm_bindgen;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    --> src/lib.rs:689:26
[INFO] [stdout]     |
[INFO] [stdout] 689 |     let module_address = web_sys::Url::create_object_url_with_blob(&blob).unwrap();
[INFO] [stdout]     |                          ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `BlobPropertyBag` in this scope
[INFO] [stdout]    --> src/lib.rs:685:23
[INFO] [stdout]     |
[INFO] [stdout] 685 |     let mut type_set: BlobPropertyBag = BlobPropertyBag::new();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Promise` in this scope
[INFO] [stdout]    --> src/lib.rs:691:25
[INFO] [stdout]     |
[INFO] [stdout] 691 |     let module_promise: Promise = js_sys::eval(&format!(r#"import ("{}")"#, module_address))
[INFO] [stdout]     |                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `js_sys`
[INFO] [stdout]    --> src/lib.rs:691:35
[INFO] [stdout]     |
[INFO] [stdout] 691 |     let module_promise: Promise = js_sys::eval(&format!(r#"import ("{}")"#, module_address))
[INFO] [stdout]     |                                   ^^^^^^ use of unresolved module or unlinked crate `js_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `js_sys`, use `cargo add js_sys` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this crate
[INFO] [stdout]     |
[INFO] [stdout] 668 + use wasm_bindgen_futures::js_sys;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsFuture`
[INFO] [stdout]    --> src/lib.rs:695:18
[INFO] [stdout]     |
[INFO] [stdout] 695 |     let module = JsFuture::from(module_promise).await.unwrap();
[INFO] [stdout]     |                  ^^^^^^^^ use of undeclared type `JsFuture`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 668 + use wasm_bindgen_futures::JsFuture;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]    --> src/lib.rs:703:14
[INFO] [stdout]     |
[INFO] [stdout] 703 | let module = JsArc::new_async(|| async { load_dynamic_hello_world().await.into() }).await;
[INFO] [stdout]     |              ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 668 + use js_arc::JsArc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: extern types are experimental
[INFO] [stdout]    --> src/lib.rs:672:5
[INFO] [stdout]     |
[INFO] [stdout] 672 |     pub type HelloWorldModule;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #43467 <https://github.com/rust-lang/rust/issues/43467> for more information
[INFO] [stdout]     = help: add `#![feature(extern_types)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2026-01-05; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:703:85
[INFO] [stdout]     |
[INFO] [stdout] 668 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_668_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 703 | let module = JsArc::new_async(|| async { load_dynamic_hello_world().await.into() }).await;
[INFO] [stdout]     |                                                                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `_doctest_main_src_lib_rs_668_0::HelloWorldModule` cannot be known at compilation time
[INFO] [stdout]    --> src/lib.rs:679:61
[INFO] [stdout]     |
[INFO] [stdout] 679 |   pub async fn load_dynamic_hello_world() -> HelloWorldModule {
[INFO] [stdout]     |  _____________________________________________________________^
[INFO] [stdout] 680 | |     let module_as_str = r#"export function helloWorld() { console.log("Hello World!"); }"#;
[INFO] [stdout] 681 | |
[INFO] [stdout] 682 | |     let from_data = Array::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 700 | |     as_hello_world
[INFO] [stdout] 701 | | }
[INFO] [stdout]     | |_^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `_doctest_main_src_lib_rs_668_0::HelloWorldModule`
[INFO] [stdout]     = note: the return type of a function must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Array`
[INFO] [stdout]    --> src/lib.rs:682:21
[INFO] [stdout]     |
[INFO] [stdout] 682 |     let from_data = Array::new();
[INFO] [stdout]     |                     ^^^^^ use of undeclared type `Array`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlobPropertyBag`
[INFO] [stdout]    --> src/lib.rs:685:41
[INFO] [stdout]     |
[INFO] [stdout] 685 |     let mut type_set: BlobPropertyBag = BlobPropertyBag::new();
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ use of undeclared type `BlobPropertyBag`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Blob`
[INFO] [stdout]    --> src/lib.rs:688:16
[INFO] [stdout]     |
[INFO] [stdout] 688 |     let blob = Blob::new_with_str_sequence_and_options(&from_data, &type_set).unwrap();
[INFO] [stdout]     |                ^^^^ use of undeclared type `Blob`
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:695:18
[INFO] [stdout]     |
[INFO] [stdout] 695 |     let module = JsFuture::from(module_promise).await.unwrap();
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `_doctest_main_src_lib_rs_668_0::HelloWorldModule` cannot be known at compilation time
[INFO] [stdout]    --> src/lib.rs:703:42
[INFO] [stdout]     |
[INFO] [stdout] 703 | let module = JsArc::new_async(|| async { load_dynamic_hello_world().await.into() }).await;
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `_doctest_main_src_lib_rs_668_0::HelloWorldModule`
[INFO] [stdout]     = note: all local variables must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `_doctest_main_src_lib_rs_668_0::HelloWorldModule` cannot be known at compilation time
[INFO] [stdout]    --> src/lib.rs:703:69
[INFO] [stdout]     |
[INFO] [stdout] 703 | let module = JsArc::new_async(|| async { load_dynamic_hello_world().await.into() }).await;
[INFO] [stdout]     |                                                                     ^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `_doctest_main_src_lib_rs_668_0::HelloWorldModule`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Poll`
[INFO] [stdout]    --> /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/task/poll.rs:14:0
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0425, E0433, E0658, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - JsArc::with_other (line 814) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    --> src/lib.rs:828:9
[INFO] [stdout]     |
[INFO] [stdout] 828 |         web_sys::console::log_1(&three);
[INFO] [stdout]     |         ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]    --> src/lib.rs:815:11
[INFO] [stdout]     |
[INFO] [stdout] 815 | let one = JsArc::new(|| 1.into()).await;
[INFO] [stdout]     |           ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 814 + use js_arc::JsArc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]    --> src/lib.rs:816:11
[INFO] [stdout]     |
[INFO] [stdout] 816 | let two = JsArc::new(|| 2.into()).await;
[INFO] [stdout]     |           ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 814 + use js_arc::JsArc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JsValue` in this scope
[INFO] [stdout]    --> src/lib.rs:820:25
[INFO] [stdout]     |
[INFO] [stdout] 820 |         let add_result: JsValue = &one + &two;
[INFO] [stdout]     |                         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 814 + use wasm_bindgen::JsValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:815:35
[INFO] [stdout]     |
[INFO] [stdout] 814 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_814_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 815 | let one = JsArc::new(|| 1.into()).await;
[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:816:35
[INFO] [stdout]     |
[INFO] [stdout] 814 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_814_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 815 | let one = JsArc::new(|| 1.into()).await;
[INFO] [stdout] 816 | let two = JsArc::new(|| 2.into()).await;
[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:824:6
[INFO] [stdout]     |
[INFO] [stdout] 814 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_814_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 824 |     .await;
[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:832:6
[INFO] [stdout]     |
[INFO] [stdout] 814 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_814_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 832 |     .await;
[INFO] [stdout]     |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - JsArc::with_other_async (line 861) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    --> src/lib.rs:864:9
[INFO] [stdout]     |
[INFO] [stdout] 864 |         web_sys::console::log_1(&"Waiting 1 second then adding values".into());
[INFO] [stdout]     |         ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_std`
[INFO] [stdout]    --> src/lib.rs:865:9
[INFO] [stdout]     |
[INFO] [stdout] 865 |         async_std::task::sleep(Duration::from_secs(1)).await;
[INFO] [stdout]     |         ^^^^^^^^^ use of unresolved module or unlinked crate `async_std`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `async_std`, use `cargo add async_std` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    --> src/lib.rs:873:5
[INFO] [stdout]     |
[INFO] [stdout] 873 |     web_sys::console::log_1(&five);
[INFO] [stdout]     |     ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `three` in this scope
[INFO] [stdout]    --> src/lib.rs:862:12
[INFO] [stdout]     |
[INFO] [stdout] 862 | let five = three
[INFO] [stdout]     |            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `two` in this scope
[INFO] [stdout]    --> src/lib.rs:863:24
[INFO] [stdout]     |
[INFO] [stdout] 863 |     .with_other_async(&two, |three, two| async {
[INFO] [stdout]     |                        ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]    --> src/lib.rs:865:32
[INFO] [stdout]     |
[INFO] [stdout] 865 |         async_std::task::sleep(Duration::from_secs(1)).await;
[INFO] [stdout]     |                                ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 861 + use std::time::Duration;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `JsValue` in this scope
[INFO] [stdout]    --> src/lib.rs:866:25
[INFO] [stdout]     |
[INFO] [stdout] 866 |         let add_result: JsValue = &three + &two;
[INFO] [stdout]     |                         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 861 + use wasm_bindgen::JsValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:870:6
[INFO] [stdout]     |
[INFO] [stdout] 861 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_861_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 870 |     .await;
[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:877:2
[INFO] [stdout]     |
[INFO] [stdout] 861 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_861_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 877 | .await;
[INFO] [stdout]     |  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - JsArc::with_self (line 755) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    --> src/lib.rs:759:4
[INFO] [stdout]     |
[INFO] [stdout] 759 |    web_sys::console::log_1(&js_v);
[INFO] [stdout]     |    ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]    --> src/lib.rs:756:12
[INFO] [stdout]     |
[INFO] [stdout] 756 | let js_v = JsArc::new(|| 2.into()).await;
[INFO] [stdout]     |            ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 755 + use js_arc::JsArc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:756:36
[INFO] [stdout]     |
[INFO] [stdout] 755 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_755_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 756 | let js_v = JsArc::new(|| 2.into()).await;
[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:757:39
[INFO] [stdout]     |
[INFO] [stdout] 755 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_755_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 756 | let js_v = JsArc::new(|| 2.into()).await;
[INFO] [stdout] 757 | js_v.with_self(|one| one + &5.into()).await;
[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:762:2
[INFO] [stdout]     |
[INFO] [stdout] 755 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_755_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 762 | .await;
[INFO] [stdout]     |  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - JsArc::with_many_async (line 960) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    --> src/lib.rs:975:13
[INFO] [stdout]     |
[INFO] [stdout] 975 |             web_sys::console::log_1(&"Waiting 1 second before continuing".into());
[INFO] [stdout]     |             ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_std`
[INFO] [stdout]    --> src/lib.rs:976:13
[INFO] [stdout]     |
[INFO] [stdout] 976 |             async_std::task::sleep(Duration::from_secs(1)).await;
[INFO] [stdout]     |             ^^^^^^^^^ use of unresolved module or unlinked crate `async_std`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `async_std`, use `cargo add async_std` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    --> src/lib.rs:985:13
[INFO] [stdout]     |
[INFO] [stdout] 985 |             web_sys::console::log_1(&result);
[INFO] [stdout]     |             ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]    --> src/lib.rs:961:10
[INFO] [stdout]     |
[INFO] [stdout] 961 | let v0 = JsArc::new(|| 0.into()).await;
[INFO] [stdout]     |          ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 960 + use js_arc::JsArc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]    --> src/lib.rs:962:14
[INFO] [stdout]     |
[INFO] [stdout] 962 |     let v1 = JsArc::new(|| 1.into()).await;
[INFO] [stdout]     |              ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 960 + use js_arc::JsArc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]    --> src/lib.rs:963:14
[INFO] [stdout]     |
[INFO] [stdout] 963 |     let v2 = JsArc::new(|| 2.into()).await;
[INFO] [stdout]     |              ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 960 + use js_arc::JsArc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]    --> src/lib.rs:964:14
[INFO] [stdout]     |
[INFO] [stdout] 964 |     let v3 = JsArc::new(|| 3.into()).await;
[INFO] [stdout]     |              ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 960 + use js_arc::JsArc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]    --> src/lib.rs:965:14
[INFO] [stdout]     |
[INFO] [stdout] 965 |     let v4 = JsArc::new(|| 4.into()).await;
[INFO] [stdout]     |              ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 960 + use js_arc::JsArc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]    --> src/lib.rs:976:36
[INFO] [stdout]     |
[INFO] [stdout] 976 |             async_std::task::sleep(Duration::from_secs(1)).await;
[INFO] [stdout]     |                                    ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 960 + use std::time::Duration;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:961:34
[INFO] [stdout]     |
[INFO] [stdout] 960 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_960_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 961 | let v0 = JsArc::new(|| 0.into()).await;
[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:962:38
[INFO] [stdout]     |
[INFO] [stdout] 960 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_960_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 961 | let v0 = JsArc::new(|| 0.into()).await;
[INFO] [stdout] 962 |     let v1 = JsArc::new(|| 1.into()).await;
[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:963:38
[INFO] [stdout]     |
[INFO] [stdout] 960 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_960_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 963 |     let v2 = JsArc::new(|| 2.into()).await;
[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:964:38
[INFO] [stdout]     |
[INFO] [stdout] 960 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_960_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 964 |     let v3 = JsArc::new(|| 3.into()).await;
[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:965:38
[INFO] [stdout]     |
[INFO] [stdout] 960 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_960_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 965 |     let v4 = JsArc::new(|| 4.into()).await;
[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:981:10
[INFO] [stdout]     |
[INFO] [stdout] 960 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_960_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 981 |         .await;
[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:989:10
[INFO] [stdout]     |
[INFO] [stdout] 960 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_960_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 989 |         .await;
[INFO] [stdout]     |          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - JsArc::with_self_async (line 782) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    --> src/lib.rs:785:9
[INFO] [stdout]     |
[INFO] [stdout] 785 |         web_sys::console::log_1(&"Waiting 5 second then printing value".into());
[INFO] [stdout]     |         ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_std`
[INFO] [stdout]    --> src/lib.rs:786:9
[INFO] [stdout]     |
[INFO] [stdout] 786 |         async_std::task::sleep(Duration::from_secs(5)).await;
[INFO] [stdout]     |         ^^^^^^^^^ use of unresolved module or unlinked crate `async_std`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `async_std`, use `cargo add async_std` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    --> src/lib.rs:787:9
[INFO] [stdout]     |
[INFO] [stdout] 787 |         web_sys::console::log_1(&hello);
[INFO] [stdout]     |         ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `js_value` in this scope
[INFO] [stdout]    --> src/lib.rs:783:1
[INFO] [stdout]     |
[INFO] [stdout] 783 | js_value
[INFO] [stdout]     | ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]    --> src/lib.rs:786:32
[INFO] [stdout]     |
[INFO] [stdout] 786 |         async_std::task::sleep(Duration::from_secs(5)).await;
[INFO] [stdout]     |                                ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 782 + use std::time::Duration;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:791:6
[INFO] [stdout]     |
[INFO] [stdout] 782 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_782_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 791 |     .await;
[INFO] [stdout]     |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - JsArc::with_self (line 743) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    --> src/lib.rs:747:4
[INFO] [stdout]     |
[INFO] [stdout] 747 |    web_sys::console::log_1(&js_value);
[INFO] [stdout]     |    ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsArc`
[INFO] [stdout]    --> src/lib.rs:744:12
[INFO] [stdout]     |
[INFO] [stdout] 744 | let js_v = JsArc::new(|| "Hello World!".into()).await;
[INFO] [stdout]     |            ^^^^^ use of undeclared type `JsArc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 743 + use js_arc::JsArc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:744:49
[INFO] [stdout]     |
[INFO] [stdout] 743 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_743_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 744 | let js_v = JsArc::new(|| "Hello World!".into()).await;
[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:750:2
[INFO] [stdout]     |
[INFO] [stdout] 743 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_743_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 750 | .await;
[INFO] [stdout]     |  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 110)
[INFO] [stdout]     src/lib.rs - (line 116)
[INFO] [stdout]     src/lib.rs - (line 17)
[INFO] [stdout]     src/lib.rs - (line 31)
[INFO] [stdout]     src/lib.rs - (line 54)
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout]     src/lib.rs - (line 69)
[INFO] [stdout]     src/lib.rs - (line 7)
[INFO] [stdout]     src/lib.rs - (line 88)
[INFO] [stdout]     src/lib.rs - JsArc::arc (line 735)
[INFO] [stdout]     src/lib.rs - JsArc::new (line 643)
[INFO] [stdout]     src/lib.rs - JsArc::new_async (line 668)
[INFO] [stdout]     src/lib.rs - JsArc::with_many (line 908)
[INFO] [stdout]     src/lib.rs - JsArc::with_many_async (line 960)
[INFO] [stdout]     src/lib.rs - JsArc::with_other (line 814)
[INFO] [stdout]     src/lib.rs - JsArc::with_other_async (line 861)
[INFO] [stdout]     src/lib.rs - JsArc::with_self (line 743)
[INFO] [stdout]     src/lib.rs - JsArc::with_self (line 755)
[INFO] [stdout]     src/lib.rs - JsArc::with_self_async (line 782)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 18 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.20s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c0ddf51208db4dee4f9914d84f61e3af4455985a76c726291bb0dee3473d256a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0ddf51208db4dee4f9914d84f61e3af4455985a76c726291bb0dee3473d256a", kill_on_drop: false }`
[INFO] [stdout] c0ddf51208db4dee4f9914d84f61e3af4455985a76c726291bb0dee3473d256a
