[INFO] fetching crate js_arc 0.1.0...
[INFO] testing js_arc-0.1.0 against 1.90.0 for beta-1.91-3
[INFO] extracting crate js_arc 0.1.0 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate js_arc 0.1.0 on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 25 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8e250e0bbcacb3b657e2e0f474289df1be0f5b588eaa39f053860e8a3e8f796b
[INFO] running `Command { std: "docker" "start" "-a" "8e250e0bbcacb3b657e2e0f474289df1be0f5b588eaa39f053860e8a3e8f796b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8e250e0bbcacb3b657e2e0f474289df1be0f5b588eaa39f053860e8a3e8f796b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e250e0bbcacb3b657e2e0f474289df1be0f5b588eaa39f053860e8a3e8f796b", kill_on_drop: false }`
[INFO] [stdout] 8e250e0bbcacb3b657e2e0f474289df1be0f5b588eaa39f053860e8a3e8f796b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 57522d38e287a6a43d14cfe007d5bf6a5ba892b989f9ee5d5c28f274b2f149f1
[INFO] running `Command { std: "docker" "start" "-a" "57522d38e287a6a43d14cfe007d5bf6a5ba892b989f9ee5d5c28f274b2f149f1", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.104
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling bumpalo v3.19.0
[INFO] [stderr]    Compiling wasm-bindgen v0.2.104
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling event-listener-strategy v0.5.4
[INFO] [stderr]    Compiling async-channel v2.5.0
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.104
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.104
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.104
[INFO] [stderr]    Compiling js-sys v0.3.81
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.54
[INFO] [stderr]    Compiling js_arc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.92s
[INFO] running `Command { std: "docker" "inspect" "57522d38e287a6a43d14cfe007d5bf6a5ba892b989f9ee5d5c28f274b2f149f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57522d38e287a6a43d14cfe007d5bf6a5ba892b989f9ee5d5c28f274b2f149f1", kill_on_drop: false }`
[INFO] [stdout] 57522d38e287a6a43d14cfe007d5bf6a5ba892b989f9ee5d5c28f274b2f149f1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0a9cac3dae8fecfae928d3a21d875989f78c4db70af7319f35e268d642cedc00
[INFO] running `Command { std: "docker" "start" "-a" "0a9cac3dae8fecfae928d3a21d875989f78c4db70af7319f35e268d642cedc00", 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.91s
[INFO] running `Command { std: "docker" "inspect" "0a9cac3dae8fecfae928d3a21d875989f78c4db70af7319f35e268d642cedc00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a9cac3dae8fecfae928d3a21d875989f78c4db70af7319f35e268d642cedc00", kill_on_drop: false }`
[INFO] [stdout] 0a9cac3dae8fecfae928d3a21d875989f78c4db70af7319f35e268d642cedc00
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5486a9118e342fae5c2ced719d9e1a3737729f24d12852ba116fb966942a02ee
[INFO] running `Command { std: "docker" "start" "-a" "5486a9118e342fae5c2ced719d9e1a3737729f24d12852ba116fb966942a02ee", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/js_arc-f32b70afab40bdd0)
[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 54) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 69) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 110) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 17) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 31) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 7) ... FAILED
[INFO] [stdout] test src/lib.rs - JsArc::arc (line 735) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 88) ... FAILED
[INFO] [stdout] test src/lib.rs - JsArc::with_many (line 908) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 116) ... FAILED
[INFO] [stdout] test src/lib.rs - JsArc::new_async (line 668) ... FAILED
[INFO] [stdout] test src/lib.rs - JsArc::with_self (line 755) ... FAILED
[INFO] [stdout] test src/lib.rs - JsArc::new (line 643) ... FAILED
[INFO] [stdout] test src/lib.rs - JsArc::with_other (line 814) ... FAILED
[INFO] [stdout] test src/lib.rs - JsArc::with_self (line 743) ... FAILED
[INFO] [stdout] test src/lib.rs - JsArc::with_self_async (line 782) ... FAILED
[INFO] [stdout] test src/lib.rs - JsArc::with_other_async (line 861) ... FAILED
[INFO] [stdout] test src/lib.rs - JsArc::with_many_async (line 960) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 6 |     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] 7 |     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] 8 |     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] 3 | 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] 2 + 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] 7 |     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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_54_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 3 | 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]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_54_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 | .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] 5 |         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] 6 |         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] 14 |     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] 3 | 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] 4 |     .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] 6 |         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] 2 + use std::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope
[INFO] [stdout]  --> src/lib.rs:74:25
[INFO] [stdout]   |
[INFO] [stdout] 7 |         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] 2 + 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]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_69_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 |     .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]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_69_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 18 | .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: E0412, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 110) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/lib.rs:112:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 2 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsArc` in this scope
[INFO] [stdout]  --> src/lib.rs:112:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 2 + 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] 4 | 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] 2 + 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] 4 | let value_in_arc: Arc<JsArc> = Arc::new(three);
[INFO] [stdout]   |                                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/lib.rs:113:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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] 2 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsArc` in this scope
[INFO] [stdout]  --> src/lib.rs:113:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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] 2 + 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] 5 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_110_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | 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: E0412, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[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] 8 |     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] 3 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_17_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_17_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 3 | let js_v = JsArc::new(|| 2.into()).await;
[INFO] [stdout] 4 | 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]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_17_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | .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 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] 16 |        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] 3 | 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] 2 + 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] 4 | 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] 2 + use js_arc::JsArc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope
[INFO] [stdout]  --> src/lib.rs:37:24
[INFO] [stdout]   |
[INFO] [stdout] 8 |        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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_31_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_31_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 3 | let one = JsArc::new(|| 1.into()).await;
[INFO] [stdout] 4 | 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]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_31_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 |    .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]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_31_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 20 |    .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: E0412, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[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] 6 |     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] 3 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() {
[INFO] [stdout]   |                                      --------------------------------- this is not `async`
[INFO] [stdout] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() {
[INFO] [stdout]   |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | .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::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] 3 | Arc::new(self)
[INFO] [stdout]   | ^^^ use of undeclared type `Arc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 2 | 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] 3 | 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 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] 3 | 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] 2 + 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] 4 | 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] 2 + 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] 5 | 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] 2 + 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] 6 | 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] 2 + 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] 7 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_88_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_88_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 3 | let v0 = JsArc::new(|| 0.into()).await;
[INFO] [stdout] 4 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_88_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_88_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_88_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | 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]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_88_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 20 |     .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::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] 3 | 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] 2 + 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] 4 | 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] 2 + 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] 5 | 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] 2 + 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] 6 | 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] 2 + 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] 7 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_908_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_908_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 3 | let v0 = JsArc::new(|| 0.into()).await;
[INFO] [stdout] 4 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_908_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_908_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_908_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | 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]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_908_0() {
[INFO] [stdout]    |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 20 |     .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 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] 9 |         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] 3 | let three = (&one + &two).await;
[INFO] [stdout]   |               ^^^ help: a unit variant with a similar name exists: `None`
[INFO] [stdout]  --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/option.rs:597:5
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named unit variant `None` defined here
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `two` in this scope
[INFO] [stdout]  --> src/lib.rs:117:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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] 4 | let ten = (&(&three * &three).await + &one).await;
[INFO] [stdout]   |                                        ^^^ help: a unit variant with a similar name exists: `None`
[INFO] [stdout]  --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/option.rs:597:5
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named unit variant `None` defined here
[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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_116_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_116_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 3 | let three = (&one + &two).await;
[INFO] [stdout] 4 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_116_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 3 | let three = (&one + &two).await;
[INFO] [stdout] 4 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_116_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 | 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]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_116_0() {
[INFO] [stdout]    |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 13 |     .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::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] 3 | #[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] 2 + 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] 5 |     #[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] 2 + 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] 8 |     #[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] 2 + 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] 23 |     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[E0412]: cannot find type `BlobPropertyBag` in this scope
[INFO] [stdout]   --> src/lib.rs:685:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut type_set: BlobPropertyBag = BlobPropertyBag::new();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Promise` in this scope
[INFO] [stdout]   --> src/lib.rs:691:25
[INFO] [stdout]    |
[INFO] [stdout] 25 |     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] 25 |     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]  2 + 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] 29 |     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]  2 + 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] 37 | 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]  2 + 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] 6 |     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] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:703:85
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_668_0() {
[INFO] [stdout]    |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 37 | 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] 13 |   pub async fn load_dynamic_hello_world() -> HelloWorldModule {
[INFO] [stdout]    |  _____________________________________________________________^
[INFO] [stdout] 14 | |     let module_as_str = r#"export function helloWorld() { console.log("Hello World!"); }"#;
[INFO] [stdout] 15 | |
[INFO] [stdout] 16 | |     let from_data = Array::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 34 | |     as_hello_world
[INFO] [stdout] 35 | | }
[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] 16 |     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] 19 |     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] 22 |     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[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] 37 | 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] 37 | 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 a bound in `std::task::Poll::Ready`
[INFO] [stdout]   --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/task/poll.rs:18:5
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 17 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, 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_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] 6 |    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] 3 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_755_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_755_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 3 | let js_v = JsArc::new(|| 2.into()).await;
[INFO] [stdout] 4 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_755_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | .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::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] 3 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_643_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 3 | 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::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] 16 |         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] 3 | 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] 2 + 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] 4 | 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] 2 + use js_arc::JsArc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope
[INFO] [stdout]  --> src/lib.rs:820:25
[INFO] [stdout]   |
[INFO] [stdout] 8 |         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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_814_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_814_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 3 | let one = JsArc::new(|| 1.into()).await;
[INFO] [stdout] 4 | 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]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_814_0() {
[INFO] [stdout]    |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 |     .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]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_814_0() {
[INFO] [stdout]    |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 20 |     .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: E0412, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[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] 6 |    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] 3 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_743_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_743_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | .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::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] 5 |         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] 6 |         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] 7 |         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] 3 | 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] 6 |         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] 2 + 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]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_782_0() {
[INFO] [stdout]    |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 |     .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_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] 5 |         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] 6 |         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] 14 |     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] 3 | 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] 4 |     .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] 6 |         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] 2 + use std::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope
[INFO] [stdout]  --> src/lib.rs:866:25
[INFO] [stdout]   |
[INFO] [stdout] 7 |         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] 2 + 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]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_861_0() {
[INFO] [stdout]    |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 |     .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]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_861_0() {
[INFO] [stdout]    |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 18 | .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: E0412, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[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] 17 |             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] 18 |             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] 27 |             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] 3 | 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] 2 + 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] 4 |     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] 2 + 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] 5 |     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] 2 + 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] 6 |     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] 2 + 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] 7 |     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] 2 + 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] 18 |             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]  2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_960_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_960_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 3 | let v0 = JsArc::new(|| 0.into()).await;
[INFO] [stdout] 4 |     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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_960_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 |     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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_960_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 |     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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_960_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 |     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]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_960_0() {
[INFO] [stdout]    |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 23 |         .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]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_960_0() {
[INFO] [stdout]    |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 31 |         .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] 
[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] [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.10s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "5486a9118e342fae5c2ced719d9e1a3737729f24d12852ba116fb966942a02ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5486a9118e342fae5c2ced719d9e1a3737729f24d12852ba116fb966942a02ee", kill_on_drop: false }`
[INFO] [stdout] 5486a9118e342fae5c2ced719d9e1a3737729f24d12852ba116fb966942a02ee
