[INFO] fetching crate web-rpc 0.0.3...
[INFO] testing web-rpc-0.0.3 against beta-2025-09-21 for beta-1.91-3
[INFO] extracting crate web-rpc 0.0.3 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate web-rpc 0.0.3
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate web-rpc 0.0.3
[INFO] tweaked toml for crates.io crate web-rpc 0.0.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate web-rpc 0.0.3 on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 45 packages to latest compatible versions
[INFO] [stderr]       Adding bincode v1.3.3 (available: v2.0.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1cbc4d70f5f49b0d3d0b4c80201329a220b0416cab0dea797108233fe89427f0
[INFO] running `Command { std: "docker" "start" "-a" "1cbc4d70f5f49b0d3d0b4c80201329a220b0416cab0dea797108233fe89427f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1cbc4d70f5f49b0d3d0b4c80201329a220b0416cab0dea797108233fe89427f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1cbc4d70f5f49b0d3d0b4c80201329a220b0416cab0dea797108233fe89427f0", kill_on_drop: false }`
[INFO] [stdout] 1cbc4d70f5f49b0d3d0b4c80201329a220b0416cab0dea797108233fe89427f0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1516fc451c4411d8112c859af8d03dbe6e4facd8eaf06f35b0c1640cd50b0c0f
[INFO] running `Command { std: "docker" "start" "-a" "1516fc451c4411d8112c859af8d03dbe6e4facd8eaf06f35b0c1640cd50b0c0f", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.104
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling bumpalo v3.19.0
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling wasm-bindgen v0.2.104
[INFO] [stderr]    Compiling web-rpc-macro v0.0.3
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.104
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.104
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.104
[INFO] [stderr]    Compiling js-sys v0.3.81
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling web-sys v0.3.81
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.54
[INFO] [stderr]    Compiling gloo-timers v0.3.0
[INFO] [stderr]    Compiling gloo-events v0.2.0
[INFO] [stderr]    Compiling web-rpc v0.0.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.45s
[INFO] running `Command { std: "docker" "inspect" "1516fc451c4411d8112c859af8d03dbe6e4facd8eaf06f35b0c1640cd50b0c0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1516fc451c4411d8112c859af8d03dbe6e4facd8eaf06f35b0c1640cd50b0c0f", kill_on_drop: false }`
[INFO] [stdout] 1516fc451c4411d8112c859af8d03dbe6e4facd8eaf06f35b0c1640cd50b0c0f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7a1b2a9cd9526547a9c82cb829bacd15c506dd434cd1f0cc72142fb1b7c791b7
[INFO] running `Command { std: "docker" "start" "-a" "7a1b2a9cd9526547a9c82cb829bacd15c506dd434cd1f0cc72142fb1b7c791b7", kill_on_drop: false }`
[INFO] [stderr]    Compiling web-sys v0.3.81
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.3.54
[INFO] [stderr]    Compiling console_error_panic_hook v0.1.7
[INFO] [stderr]    Compiling wasm-bindgen-test v0.3.54
[INFO] [stderr]    Compiling gloo-events v0.2.0
[INFO] [stderr]    Compiling web-rpc v0.0.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.03s
[INFO] running `Command { std: "docker" "inspect" "7a1b2a9cd9526547a9c82cb829bacd15c506dd434cd1f0cc72142fb1b7c791b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7a1b2a9cd9526547a9c82cb829bacd15c506dd434cd1f0cc72142fb1b7c791b7", kill_on_drop: false }`
[INFO] [stdout] 7a1b2a9cd9526547a9c82cb829bacd15c506dd434cd1f0cc72142fb1b7c791b7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3a82677e4e1f94431c9069f8362511f39df4bc540ab7fe2bf8483ccb9ea3fae1
[INFO] running `Command { std: "docker" "start" "-a" "3a82677e4e1f94431c9069f8362511f39df4bc540ab7fe2bf8483ccb9ea3fae1", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/web_rpc-ec395ebfd17c55a8)
[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]      Running tests/abort.rs (/opt/rustwide/target/debug/deps/abort-320add21dee5723d)
[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]      Running tests/bidirectional.rs (/opt/rustwide/target/debug/deps/bidirectional-557a763056b4857a)
[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]      Running tests/inception.rs (/opt/rustwide/target/debug/deps/inception-ee7c90565ab42471)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running tests/multiple.rs (/opt/rustwide/target/debug/deps/multiple-2837ff08a33f1cdb)
[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] [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]      Running tests/post.rs (/opt/rustwide/target/debug/deps/post-daa6b3b542ab0e04)
[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]      Running tests/unidirectional.rs (/opt/rustwide/target/debug/deps/unidirectional-d3357b43aabf3104)
[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 web_rpc
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test src/lib.rs - Builder<C,()>::with_service (line 243) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 35) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 18) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 58) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 143) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 128) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 10) ... ok
[INFO] [stdout] test src/lib.rs - (line 112) ... ok
[INFO] [stdout] test src/lib.rs - (line 79) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - Builder<C,()>::with_service (line 243) stdout ----
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]  --> src/lib.rs:246:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | let server = Builder::new(some_interface)
[INFO] [stdout]   | ^^^
[INFO] [stdout]   | |
[INFO] [stdout]   | `let` cannot be used for global variables
[INFO] [stdout]   | help: consider using `static` or `const` instead of `let`
[INFO] [stdout]   |
[INFO] [stdout]   = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 35) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `CalculatorServiceImpl` in this scope
[INFO] [stdout]   --> src/lib.rs:46:43
[INFO] [stdout]    |
[INFO] [stdout] 14 |     .with_service::<CalculatorService<_>>(CalculatorServiceImpl)
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CalculatorService` in this scope
[INFO] [stdout]   --> src/lib.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |     .with_service::<CalculatorService<_>>(CalculatorServiceImpl)
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:43:3
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_35_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[E0599]: no method named `port1` found for enum `Result<T, E>` in the current scope
[INFO] [stdout]  --> src/lib.rs:41:37
[INFO] [stdout]   |
[INFO] [stdout] 9 |     web_rpc::Interface::new(channel.port1()),
[INFO] [stdout]   |                                     ^^^^^ method not found in `Result<MessageChannel, JsValue>`
[INFO] [stdout]   |
[INFO] [stdout] note: the method `port1` exists on the type `MessageChannel`
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.81/src/features/gen_MessageChannel.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[wasm_bindgen]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout]   = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `MessageChannel` value, panicking if the value is a `Result::Err`
[INFO] [stdout]   |
[INFO] [stdout] 9 |     web_rpc::Interface::new(channel.expect("REASON").port1()),
[INFO] [stdout]   |                                    +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `port2` found for enum `Result<T, E>` in the current scope
[INFO] [stdout]   --> src/lib.rs:42:37
[INFO] [stdout]    |
[INFO] [stdout] 10 |     web_rpc::Interface::new(channel.port2()),
[INFO] [stdout]    |                                     ^^^^^ method not found in `Result<MessageChannel, JsValue>`
[INFO] [stdout]    |
[INFO] [stdout] note: the method `port2` exists on the type `MessageChannel`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.81/src/features/gen_MessageChannel.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout]  5 | #[wasm_bindgen]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `MessageChannel` value, panicking if the value is a `Result::Err`
[INFO] [stdout]    |
[INFO] [stdout] 10 |     web_rpc::Interface::new(channel.expect("REASON").port2()),
[INFO] [stdout]    |                                    +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0599, 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 18) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Calculator` in this scope
[INFO] [stdout]  --> src/lib.rs:21:6
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Calculator for CalculatorServiceImpl {
[INFO] [stdout]   |      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 58) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client_interface` in this scope
[INFO] [stdout]  --> src/lib.rs:61:36
[INFO] [stdout]   |
[INFO] [stdout] 6 | let client = web_rpc::Builder::new(client_interface)
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CalculatorClient` in this scope
[INFO] [stdout]  --> src/lib.rs:62:20
[INFO] [stdout]   |
[INFO] [stdout] 7 |     .with_client::<CalculatorClient>()
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_58_0<CalculatorClient>() {
[INFO] [stdout]   |                                                                      ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:65:30
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_58_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | assert_eq!(client.add(41, 1).await, 42);
[INFO] [stdout]    |                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, 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 143) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `CalculatorServiceImpl` in this scope
[INFO] [stdout]   --> src/lib.rs:153:43
[INFO] [stdout]    |
[INFO] [stdout] 13 |     .with_service::<CalculatorService<_>>(CalculatorServiceImpl)
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CalculatorService` in this scope
[INFO] [stdout]   --> src/lib.rs:153:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     .with_service::<CalculatorService<_>>(CalculatorServiceImpl)
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CalculatorClient` in this scope
[INFO] [stdout]   --> src/lib.rs:154:20
[INFO] [stdout]    |
[INFO] [stdout] 14 |     .with_client::<CalculatorClient>()
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_143_0<CalculatorClient>() {
[INFO] [stdout]    |                                                                       ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CalculatorServiceImpl` in this scope
[INFO] [stdout]   --> src/lib.rs:158:43
[INFO] [stdout]    |
[INFO] [stdout] 18 |     .with_service::<CalculatorService<_>>(CalculatorServiceImpl)
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CalculatorService` in this scope
[INFO] [stdout]   --> src/lib.rs:158:21
[INFO] [stdout]    |
[INFO] [stdout] 18 |     .with_service::<CalculatorService<_>>(CalculatorServiceImpl)
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CalculatorClient` in this scope
[INFO] [stdout]   --> src/lib.rs:159:20
[INFO] [stdout]    |
[INFO] [stdout] 19 |     .with_client::<CalculatorClient>()
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_143_0<CalculatorClient>() {
[INFO] [stdout]    |                                                                       ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:150:3
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_143_0() {
[INFO] [stdout]    |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | ).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: E0412, E0425, 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 128) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `OffscreenCanvas` in crate `js_sys`
[INFO] [stdout]  --> src/lib.rs:134:25
[INFO] [stdout]   |
[INFO] [stdout] 9 |         canvas: js_sys::OffscreenCanvas,
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^ not found in `js_sys`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 79) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Duration` in this scope
[INFO] [stdout]  --> src/lib.rs:83:30
[INFO] [stdout]   |
[INFO] [stdout] 7 |     async fn sleep(interval: Duration);
[INFO] [stdout]   |                              ^^^^^^^^ not found in this scope
[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 `Duration` in this scope
[INFO] [stdout]   --> src/lib.rs:88:37
[INFO] [stdout]    |
[INFO] [stdout] 12 |     async fn sleep(&self, interval: Duration) -> bool {
[INFO] [stdout]    |                                     ^^^^^^^^ not found in this scope
[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: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 128)
[INFO] [stdout]     src/lib.rs - (line 143)
[INFO] [stdout]     src/lib.rs - (line 18)
[INFO] [stdout]     src/lib.rs - (line 35)
[INFO] [stdout]     src/lib.rs - (line 58)
[INFO] [stdout]     src/lib.rs - (line 79)
[INFO] [stdout]     src/lib.rs - Builder<C,()>::with_service (line 243)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.77s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3a82677e4e1f94431c9069f8362511f39df4bc540ab7fe2bf8483ccb9ea3fae1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a82677e4e1f94431c9069f8362511f39df4bc540ab7fe2bf8483ccb9ea3fae1", kill_on_drop: false }`
[INFO] [stdout] 3a82677e4e1f94431c9069f8362511f39df4bc540ab7fe2bf8483ccb9ea3fae1
