[INFO] fetching crate worker-macros-rapid 0.9.0...
[INFO] testing worker-macros-rapid-0.9.0 against 1.95.0 for beta-1.96-2
[INFO] extracting crate worker-macros-rapid 0.9.0 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate worker-macros-rapid 0.9.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate worker-macros-rapid 0.9.0
[INFO] tweaked toml for crates.io crate worker-macros-rapid 0.9.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate worker-macros-rapid 0.9.0 on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate worker-macros-rapid 0.9.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded trybuild v1.0.116
[INFO] [stderr]   Downloaded target-triple v1.0.0
[INFO] [stderr]   Downloaded worker-sys-rapid v0.9.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e8b8055b0a1867b3c5b704ad1b984ed295b554a6b692bbd9cedec1bc5d8119e6
[INFO] running `Command { std: "docker" "start" "-a" "e8b8055b0a1867b3c5b704ad1b984ed295b554a6b692bbd9cedec1bc5d8119e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e8b8055b0a1867b3c5b704ad1b984ed295b554a6b692bbd9cedec1bc5d8119e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8b8055b0a1867b3c5b704ad1b984ed295b554a6b692bbd9cedec1bc5d8119e6", kill_on_drop: false }`
[INFO] [stdout] e8b8055b0a1867b3c5b704ad1b984ed295b554a6b692bbd9cedec1bc5d8119e6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bae7d56dab6e6b9f423ea376cd75f587736bff5645ed8b1471d00aa4803e85fe
[INFO] running `Command { std: "docker" "start" "-a" "bae7d56dab6e6b9f423ea376cd75f587736bff5645ed8b1471d00aa4803e85fe", kill_on_drop: false }`
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.114
[INFO] [stderr]    Compiling wasm-bindgen v0.2.114
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.114
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.114
[INFO] [stderr]    Compiling js-sys v0.3.91
[INFO] [stderr]    Compiling web-sys v0.3.91
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.64
[INFO] [stderr]    Compiling worker-sys-rapid v0.9.0
[INFO] [stderr]    Compiling worker-macros-rapid v0.9.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.27s
[INFO] running `Command { std: "docker" "inspect" "bae7d56dab6e6b9f423ea376cd75f587736bff5645ed8b1471d00aa4803e85fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bae7d56dab6e6b9f423ea376cd75f587736bff5645ed8b1471d00aa4803e85fe", kill_on_drop: false }`
[INFO] [stdout] bae7d56dab6e6b9f423ea376cd75f587736bff5645ed8b1471d00aa4803e85fe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6761bf3b5d5ce75834cf2f2718101ef116a21046cdf06f7b0dd692112befd411
[INFO] running `Command { std: "docker" "start" "-a" "6761bf3b5d5ce75834cf2f2718101ef116a21046cdf06f7b0dd692112befd411", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling bumpalo v3.20.2
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling target-triple v1.0.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling toml_datetime v1.0.0+spec-1.1.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling toml_parser v1.0.9+spec-1.1.0
[INFO] [stderr]    Compiling toml v1.0.3+spec-1.1.0
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.114
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.114
[INFO] [stderr]    Compiling trybuild v1.0.116
[INFO] [stderr]    Compiling wasm-bindgen v0.2.114
[INFO] [stderr]    Compiling js-sys v0.3.91
[INFO] [stderr]    Compiling web-sys v0.3.91
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.64
[INFO] [stderr]    Compiling worker-sys-rapid v0.9.0
[INFO] [stderr]    Compiling worker-macros-rapid v0.9.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 20.51s
[INFO] running `Command { std: "docker" "inspect" "6761bf3b5d5ce75834cf2f2718101ef116a21046cdf06f7b0dd692112befd411", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6761bf3b5d5ce75834cf2f2718101ef116a21046cdf06f7b0dd692112befd411", kill_on_drop: false }`
[INFO] [stdout] 6761bf3b5d5ce75834cf2f2718101ef116a21046cdf06f7b0dd692112befd411
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 896a8497f041e198750d8f9ffa285fa6f53fe5193b636f270043b8a1a56801eb
[INFO] running `Command { std: "docker" "start" "-a" "896a8497f041e198750d8f9ffa285fa6f53fe5193b636f270043b8a1a56801eb", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/worker_macros-fb6d499af2440a0a)
[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/event_signature.rs (/opt/rustwide/target/debug/deps/event_signature-8b6f00ff7210a177)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.114
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling bumpalo v3.20.2
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling wasm-bindgen v0.2.114
[INFO] [stderr]     Checking wasm-bindgen-macro-support v0.2.114
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.114
[INFO] [stderr]     Checking js-sys v0.3.91
[INFO] [stderr]     Checking web-sys v0.3.91
[INFO] [stderr]     Checking wasm-bindgen-futures v0.4.64
[INFO] [stderr]     Checking worker-sys-rapid v0.9.0
[INFO] [stderr]    Compiling worker-macros-rapid v0.9.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking worker-macros-rapid-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/worker-macros-rapid)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.88s
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] test tests/ui/event_invalid_email_arity.rs ... ok
[INFO] [stdout] test event_macro_rejects_invalid_signatures ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 33.86s
[INFO] [stderr] test tests/ui/event_invalid_fetch_not_async.rs ... ok
[INFO] [stdout] 
[INFO] [stderr] test tests/ui/event_invalid_respond_with_errors.rs ... ok
[INFO] [stderr] test tests/ui/event_invalid_start_signature.rs ... ok
[INFO] [stderr] test tests/ui/event_invalid_tail_return.rs ... ok
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]    Doc-tests worker_macros
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test src/lib.rs - send (line 136) ... FAILED
[INFO] [stdout] test src/lib.rs - durable_object (line 47) ... FAILED
[INFO] [stdout] test src/lib.rs - event (line 110) ... FAILED
[INFO] [stdout] test src/lib.rs - event (line 89) ... FAILED
[INFO] [stdout] test src/lib.rs - event (line 101) ... FAILED
[INFO] [stdout] test src/lib.rs - event (line 119) ... FAILED
[INFO] [stdout] test src/lib.rs - durable_object (line 12) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - send (line 136) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `worker` in this scope
[INFO] [stdout]    --> src/lib.rs:137:3
[INFO] [stdout]     |
[INFO] [stdout] 137 | #[worker::send]
[INFO] [stdout]     |   ^^^^^^ use of unresolved module or unlinked crate `worker`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `promise` in this scope
[INFO] [stdout]    --> src/lib.rs:140:30
[INFO] [stdout]     |
[INFO] [stdout] 140 |     let fut = JsFuture::from(promise);
[INFO] [stdout]     |                              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `JsFuture` in this scope
[INFO] [stdout]    --> src/lib.rs:140:15
[INFO] [stdout]     |
[INFO] [stdout] 140 |     let fut = JsFuture::from(promise);
[INFO] [stdout]     |               ^^^^^^^^ use of undeclared type `JsFuture`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - durable_object (line 47) stdout ----
[INFO] [stdout] error: cannot find attribute `durable_object` in this scope
[INFO] [stdout]   --> src/lib.rs:48:3
[INFO] [stdout]    |
[INFO] [stdout] 48 | #[durable_object(fetch)]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `User` in this scope
[INFO] [stdout]   --> src/lib.rs:50:16
[INFO] [stdout]    |
[INFO] [stdout] 50 |     users: Vec<User>,
[INFO] [stdout]    |                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct Chatroom<User> {
[INFO] [stdout]    |                    ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Message` in this scope
[INFO] [stdout]   --> src/lib.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 |     messages: Vec<Message>,
[INFO] [stdout]    |                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct Chatroom<Message> {
[INFO] [stdout]    |                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/lib.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |     state: State,
[INFO] [stdout]    |            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Env` in this scope
[INFO] [stdout]   --> src/lib.rs:53:10
[INFO] [stdout]    |
[INFO] [stdout] 53 |     env: Env, // access `Env` across requests, use inside `fetch`
[INFO] [stdout]    |          ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - event (line 110) stdout ----
[INFO] [stdout] error: cannot find attribute `event` in this scope
[INFO] [stdout]    --> src/lib.rs:111:3
[INFO] [stdout]     |
[INFO] [stdout] 111 | #[event(fetch, respond_with_errors)]
[INFO] [stdout]     |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `web_sys` in this scope
[INFO] [stdout]    --> src/lib.rs:113:6
[INFO] [stdout]     |
[INFO] [stdout] 113 |   Ok(web_sys::Response::new_with_opt_str(Some("Hello World (native type)".into())).unwrap())
[INFO] [stdout]     |      ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Env` in this scope
[INFO] [stdout]    --> src/lib.rs:112:43
[INFO] [stdout]     |
[INFO] [stdout] 112 | async fn main(req: web_sys::Request, env: Env, ctx: Context) -> Result<web_sys::Response> {
[INFO] [stdout]     |                                           ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]    --> src/lib.rs:112:53
[INFO] [stdout]     |
[INFO] [stdout] 112 | async fn main(req: web_sys::Request, env: Env, ctx: Context) -> Result<web_sys::Response> {
[INFO] [stdout]     |                                                     ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 111 + use std::task::Context;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:112:65
[INFO] [stdout]     |
[INFO] [stdout] 112 | async fn main(req: web_sys::Request, env: Env, ctx: Context) -> Result<web_sys::Response> {
[INFO] [stdout]     |                                                                 ^^^^^^ ----------------- supplied 1 generic argument
[INFO] [stdout]     |                                                                 |
[INFO] [stdout]     |                                                                 expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 112 | async fn main(req: web_sys::Request, env: Env, ctx: Context) -> Result<web_sys::Response, E> {
[INFO] [stdout]     |                                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/lib.rs:112:1
[INFO] [stdout]     |
[INFO] [stdout] 112 | async fn main(req: web_sys::Request, env: Env, ctx: Context) -> Result<web_sys::Response> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `web_sys` in this scope
[INFO] [stdout]    --> src/lib.rs:112:20
[INFO] [stdout]     |
[INFO] [stdout] 112 | async fn main(req: web_sys::Request, env: Env, ctx: Context) -> Result<web_sys::Response> {
[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]: cannot find module or crate `web_sys` in this scope
[INFO] [stdout]    --> src/lib.rs:112:72
[INFO] [stdout]     |
[INFO] [stdout] 112 | async fn main(req: web_sys::Request, env: Env, ctx: Context) -> Result<web_sys::Response> {
[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: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - event (line 89) stdout ----
[INFO] [stdout] error: expected one of `!`, `+`, `::`, `where`, or `{`, found `}`
[INFO] [stdout]   --> src/lib.rs:91:1
[INFO] [stdout]    |
[INFO] [stdout] 90 | async fn fetch(req: impl From<web_sys::Request>, env: Env, ctx: Context) -> Result<impl Into<web_sys::Response>, impl Into<Box<dyn Error>>>
[INFO] [stdout]    |          ----- while parsing this `fn`                                                                                                     - expected one of `!`, `+`, `::`, `where`, or `{`
[INFO] [stdout] 91 | } _doctest_main_src_lib_rs_89_0() }
[INFO] [stdout]    | ^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: free function without a body
[INFO] [stdout]   --> src/lib.rs:90:1
[INFO] [stdout]    |
[INFO] [stdout] 90 | async fn fetch(req: impl From<web_sys::Request>, env: Env, ctx: Context) -> Result<impl Into<web_sys::Response>, impl Into<Box<dyn Error>>>
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Env` in this scope
[INFO] [stdout]   --> src/lib.rs:90:55
[INFO] [stdout]    |
[INFO] [stdout] 90 | async fn fetch(req: impl From<web_sys::Request>, env: Env, ctx: Context) -> Result<impl Into<web_sys::Response>, impl Into<Box<dyn E...
[INFO] [stdout]    |                                                       ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]   --> src/lib.rs:90:65
[INFO] [stdout]    |
[INFO] [stdout] 90 | async fn fetch(req: impl From<web_sys::Request>, env: Env, ctx: Context) -> Result<impl Into<web_sys::Response>, impl Into<Box<dyn E...
[INFO] [stdout]    |                                                                 ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 89 + use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope
[INFO] [stdout]   --> src/lib.rs:90:132
[INFO] [stdout]    |
[INFO] [stdout] 90 | ...t<impl Into<web_sys::Response>, impl Into<Box<dyn Error>>>
[INFO] [stdout]    |                                                      ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 89 + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `web_sys` in this scope
[INFO] [stdout]   --> src/lib.rs:90:31
[INFO] [stdout]    |
[INFO] [stdout] 90 | async fn fetch(req: impl From<web_sys::Request>, env: Env, ctx: Context) -> Result<impl Into<web_sys::Response>, impl Into<Box<dyn E...
[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]: cannot find module or crate `web_sys` in this scope
[INFO] [stdout]   --> src/lib.rs:90:94
[INFO] [stdout]    |
[INFO] [stdout] 90 | ...ctx: Context) -> Result<impl Into<web_sys::Response>, impl Into<Box<dyn Error>>>
[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: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - event (line 101) stdout ----
[INFO] [stdout] error: cannot find attribute `event` in this scope
[INFO] [stdout]    --> src/lib.rs:102:3
[INFO] [stdout]     |
[INFO] [stdout] 102 | #[event(fetch, respond_with_errors)]
[INFO] [stdout]     |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `worker` in this scope
[INFO] [stdout]    --> src/lib.rs:104:3
[INFO] [stdout]     |
[INFO] [stdout] 104 |   worker::Response::ok("Hello World (worker type)")
[INFO] [stdout]     |   ^^^^^^ use of unresolved module or unlinked crate `worker`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `worker`, use `cargo add worker` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Env` in this scope
[INFO] [stdout]    --> src/lib.rs:103:42
[INFO] [stdout]     |
[INFO] [stdout] 103 | async fn main(req: worker::Request, env: Env, ctx: Context) -> Result<worker::Response> {
[INFO] [stdout]     |                                          ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]    --> src/lib.rs:103:52
[INFO] [stdout]     |
[INFO] [stdout] 103 | async fn main(req: worker::Request, env: Env, ctx: Context) -> Result<worker::Response> {
[INFO] [stdout]     |                                                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 102 + use std::task::Context;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:103:64
[INFO] [stdout]     |
[INFO] [stdout] 103 | async fn main(req: worker::Request, env: Env, ctx: Context) -> Result<worker::Response> {
[INFO] [stdout]     |                                                                ^^^^^^ ---------------- supplied 1 generic argument
[INFO] [stdout]     |                                                                |
[INFO] [stdout]     |                                                                expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 103 | async fn main(req: worker::Request, env: Env, ctx: Context) -> Result<worker::Response, E> {
[INFO] [stdout]     |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/lib.rs:103:1
[INFO] [stdout]     |
[INFO] [stdout] 103 | async fn main(req: worker::Request, env: Env, ctx: Context) -> Result<worker::Response> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `worker` in this scope
[INFO] [stdout]    --> src/lib.rs:103:20
[INFO] [stdout]     |
[INFO] [stdout] 103 | async fn main(req: worker::Request, env: Env, ctx: Context) -> Result<worker::Response> {
[INFO] [stdout]     |                    ^^^^^^ use of unresolved module or unlinked crate `worker`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `worker`, use `cargo add worker` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `worker` in this scope
[INFO] [stdout]    --> src/lib.rs:103:71
[INFO] [stdout]     |
[INFO] [stdout] 103 | async fn main(req: worker::Request, env: Env, ctx: Context) -> Result<worker::Response> {
[INFO] [stdout]     |                                                                       ^^^^^^ use of unresolved module or unlinked crate `worker`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `worker`, use `cargo add worker` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - event (line 119) stdout ----
[INFO] [stdout] error: cannot find attribute `event` in this scope
[INFO] [stdout]    --> src/lib.rs:120:3
[INFO] [stdout]     |
[INFO] [stdout] 120 | #[event(fetch)]
[INFO] [stdout]     |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `axum` in this scope
[INFO] [stdout]    --> src/lib.rs:121:83
[INFO] [stdout]     |
[INFO] [stdout] 121 | async fn fetch(req: HttpRequest, env: Env, ctx: Context) -> Result<http::Response<axum::body::Body>> {
[INFO] [stdout]     |                                                                                   ^^^^ use of unresolved module or unlinked crate `axum`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HttpRequest` in this scope
[INFO] [stdout]    --> src/lib.rs:121:21
[INFO] [stdout]     |
[INFO] [stdout] 121 | async fn fetch(req: HttpRequest, env: Env, ctx: Context) -> Result<http::Response<axum::body::Body>> {
[INFO] [stdout]     |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Env` in this scope
[INFO] [stdout]    --> src/lib.rs:121:39
[INFO] [stdout]     |
[INFO] [stdout] 121 | async fn fetch(req: HttpRequest, env: Env, ctx: Context) -> Result<http::Response<axum::body::Body>> {
[INFO] [stdout]     |                                       ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]    --> src/lib.rs:121:49
[INFO] [stdout]     |
[INFO] [stdout] 121 | async fn fetch(req: HttpRequest, env: Env, ctx: Context) -> Result<http::Response<axum::body::Body>> {
[INFO] [stdout]     |                                                 ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 119 + use std::task::Context;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:121:61
[INFO] [stdout]     |
[INFO] [stdout] 121 | async fn fetch(req: HttpRequest, env: Env, ctx: Context) -> Result<http::Response<axum::body::Body>> {
[INFO] [stdout]     |                                                             ^^^^^^ -------------------------------- supplied 1 generic argument
[INFO] [stdout]     |                                                             |
[INFO] [stdout]     |                                                             expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 121 | async fn fetch(req: HttpRequest, env: Env, ctx: Context) -> Result<http::Response<axum::body::Body>, E> {
[INFO] [stdout]     |                                                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `router` in this scope
[INFO] [stdout]    --> src/lib.rs:122:6
[INFO] [stdout]     |
[INFO] [stdout] 122 |   Ok(router().call(req).await?)
[INFO] [stdout]     |      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `http` in this scope
[INFO] [stdout]    --> src/lib.rs:121:68
[INFO] [stdout]     |
[INFO] [stdout] 121 | async fn fetch(req: HttpRequest, env: Env, ctx: Context) -> Result<http::Response<axum::body::Body>> {
[INFO] [stdout]     |                                                                    ^^^^ use of unresolved module or unlinked crate `http`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `http`, use `cargo add http` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - durable_object (line 12) stdout ----
[INFO] [stdout] error: cannot find attribute `durable_object` in this scope
[INFO] [stdout]   --> src/lib.rs:13:3
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[durable_object]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `User` in this scope
[INFO] [stdout]   --> src/lib.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |     users: Vec<User>,
[INFO] [stdout]    |                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Chatroom<User> {
[INFO] [stdout]    |                    ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Message` in this scope
[INFO] [stdout]   --> src/lib.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 |     messages: Vec<Message>,
[INFO] [stdout]    |                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Chatroom<Message> {
[INFO] [stdout]    |                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/lib.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |     state: State,
[INFO] [stdout]    |            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Env` in this scope
[INFO] [stdout]   --> src/lib.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |     env: Env, // access `Env` across requests, use inside `fetch`
[INFO] [stdout]    |          ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `DurableObject` in this scope
[INFO] [stdout]   --> src/lib.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl DurableObject for Chatroom {
[INFO] [stdout]    |      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/lib.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn new(state: State, env: Env) -> Self {
[INFO] [stdout]    |                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Env` in this scope
[INFO] [stdout]   --> src/lib.rs:22:31
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn new(state: State, env: Env) -> Self {
[INFO] [stdout]    |                               ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Request` in this scope
[INFO] [stdout]   --> src/lib.rs:31:33
[INFO] [stdout]    |
[INFO] [stdout] 31 |     async fn fetch(&self, _req: Request) -> Result<Response> {
[INFO] [stdout]    |                                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Response` in this scope
[INFO] [stdout]   --> src/lib.rs:31:52
[INFO] [stdout]    |
[INFO] [stdout] 31 |     async fn fetch(&self, _req: Request) -> Result<Response> {
[INFO] [stdout]    |                                                    ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<Response> DurableObject for Chatroom {
[INFO] [stdout]    |     ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Response` in this scope
[INFO] [stdout]   --> src/lib.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         Response::ok(&format!("{} active users.", self.users.len()))
[INFO] [stdout]    |         ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - durable_object (line 12)
[INFO] [stdout]     src/lib.rs - durable_object (line 47)
[INFO] [stdout]     src/lib.rs - event (line 101)
[INFO] [stdout]     src/lib.rs - event (line 110)
[INFO] [stdout]     src/lib.rs - event (line 119)
[INFO] [stdout]     src/lib.rs - event (line 89)
[INFO] [stdout]     src/lib.rs - send (line 136)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "896a8497f041e198750d8f9ffa285fa6f53fe5193b636f270043b8a1a56801eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "896a8497f041e198750d8f9ffa285fa6f53fe5193b636f270043b8a1a56801eb", kill_on_drop: false }`
[INFO] [stdout] 896a8497f041e198750d8f9ffa285fa6f53fe5193b636f270043b8a1a56801eb
