[INFO] fetching crate worker-macros 0.9.0...
[INFO] testing worker-macros-0.9.0 against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate worker-macros 0.9.0 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate worker-macros 0.9.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate worker-macros 0.9.0
[INFO] tweaked toml for crates.io crate worker-macros 0.9.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate worker-macros 0.9.0 on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate crates.io crate worker-macros 0.9.0 already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded worker-sys v0.9.0
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] b8a8b5ecd9bfc488c1a9c190012d66864daaf38dfec469fdf8dc9c3d021d5a98
[INFO] running `"docker" "start" "b8a8b5ecd9bfc488c1a9c190012d66864daaf38dfec469fdf8dc9c3d021d5a98"`
[INFO] running `"docker" "inspect" "b8a8b5ecd9bfc488c1a9c190012d66864daaf38dfec469fdf8dc9c3d021d5a98"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b8a8b5ecd9bfc488c1a9c190012d66864daaf38dfec469fdf8dc9c3d021d5a98" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "b8a8b5ecd9bfc488c1a9c190012d66864daaf38dfec469fdf8dc9c3d021d5a98"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b8a8b5ecd9bfc488c1a9c190012d66864daaf38dfec469fdf8dc9c3d021d5a98" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling bumpalo v3.20.3
[INFO] [stderr]    Compiling futures-task v0.3.34
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling futures-core v0.3.34
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling wasm-bindgen v0.2.130
[INFO] [stderr]    Compiling strum_macros v0.28.0
[INFO] [stderr]    Compiling async-trait v0.1.92
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.130
[INFO] [stderr]    Compiling futures-util v0.3.34
[INFO] [stderr]    Compiling strum v0.28.0
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.130
[INFO] [stderr]    Compiling js-sys v0.3.107
[INFO] [stderr]    Compiling web-sys v0.3.107
[INFO] [stderr]    Compiling worker-sys v0.9.0
[INFO] [stderr]    Compiling worker-macros v0.9.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused dependency `async-trait`
[INFO] [stderr]  --> Cargo.toml:1:15
[INFO] [stderr]   |
[INFO] [stderr] 1 | [dependencies.async-trait]
[INFO] [stderr]   |               ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `async-trait`
[INFO] [stderr] warning: unused dependency `worker-sys`
[INFO] [stderr]   --> Cargo.toml:23:15
[INFO] [stderr]    |
[INFO] [stderr] 23 | [dependencies.worker-sys]
[INFO] [stderr]    |               ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `worker-sys`
[INFO] [stderr] warning: `worker-macros` (manifest) generated 2 warnings
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 30.06s
[INFO] running `"docker" "inspect" "b8a8b5ecd9bfc488c1a9c190012d66864daaf38dfec469fdf8dc9c3d021d5a98"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b8a8b5ecd9bfc488c1a9c190012d66864daaf38dfec469fdf8dc9c3d021d5a98" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling target-tuple v1.0.2
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling winnow v1.0.5
[INFO] [stderr]    Compiling serde_json v1.0.154
[INFO] [stderr]    Compiling toml_writer v1.2.0+spec-1.1.0
[INFO] [stderr]    Compiling futures-util v0.3.34
[INFO] [stderr]    Compiling itoa v1.0.19
[INFO] [stderr]    Compiling toml_datetime v1.1.3+spec-1.1.0
[INFO] [stderr]    Compiling serde_spanned v1.1.3
[INFO] [stderr]    Compiling wasm-bindgen v0.2.130
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling worker-macros v0.9.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling glob v0.3.4
[INFO] [stderr]    Compiling bumpalo v3.20.3
[INFO] [stderr]    Compiling strum v0.28.0
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling toml_parser v1.1.5+spec-1.1.0
[INFO] [stderr]    Compiling syn v3.0.10
[INFO] [stderr]    Compiling toml v1.2.1+spec-1.1.0
[INFO] [stderr]    Compiling js-sys v0.3.107
[INFO] [stderr]    Compiling trybuild v1.0.122
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.130
[INFO] [stderr]    Compiling web-sys v0.3.107
[INFO] [stderr]    Compiling worker-sys v0.9.0
[INFO] [stderr] warning: unused dependency `async-trait`
[INFO] [stderr]  --> Cargo.toml:1:15
[INFO] [stderr]   |
[INFO] [stderr] 1 | [dependencies.async-trait]
[INFO] [stderr]   |               ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `async-trait`
[INFO] [stderr] warning: unused dependency `worker-sys`
[INFO] [stderr]   --> Cargo.toml:23:15
[INFO] [stderr]    |
[INFO] [stderr] 23 | [dependencies.worker-sys]
[INFO] [stderr]    |               ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `worker-sys`
[INFO] [stderr] warning: `worker-macros` (manifest) generated 2 warnings
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1m 31s
[INFO] running `"docker" "inspect" "b8a8b5ecd9bfc488c1a9c190012d66864daaf38dfec469fdf8dc9c3d021d5a98"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b8a8b5ecd9bfc488c1a9c190012d66864daaf38dfec469fdf8dc9c3d021d5a98" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--release"`
[INFO] [stderr] warning: unused dependency `async-trait`
[INFO] [stderr]  --> Cargo.toml:1:15
[INFO] [stderr]   |
[INFO] [stderr] 1 | [dependencies.async-trait]
[INFO] [stderr]   |               ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `async-trait`
[INFO] [stderr] warning: unused dependency `worker-sys`
[INFO] [stderr]   --> Cargo.toml:23:15
[INFO] [stderr]    |
[INFO] [stderr] 23 | [dependencies.worker-sys]
[INFO] [stderr]    |               ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `worker-sys`
[INFO] [stderr] warning: `worker-macros` (manifest) generated 2 warnings
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/worker-macros/48dcec8e2f875ddd/out/worker_macros-48dcec8e2f875ddd)
[INFO] [stdout] 
[INFO] [stderr]      Running tests/event.rs (/opt/rustwide/target/release/build/worker-macros/3aa2e2d0f932a1d0/out/event-3aa2e2d0f932a1d0)
[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] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling unicode-ident v1.0.27
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.130
[INFO] [stderr]    Compiling rustversion v1.0.23
[INFO] [stderr]    Compiling bumpalo v3.20.3
[INFO] [stderr]    Compiling cfg-if v1.0.5
[INFO] [stderr]    Compiling futures-task v0.3.34
[INFO] [stderr]    Compiling futures-core v0.3.34
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling futures-util v0.3.34
[INFO] [stderr]     Checking syn v3.0.10
[INFO] [stderr]    Compiling wasm-bindgen v0.2.130
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]     Checking wasm-bindgen-macro-support v0.2.130
[INFO] [stderr]    Compiling strum_macros v0.28.0
[INFO] [stderr]    Compiling strum v0.28.0
[INFO] [stderr]    Compiling async-trait v0.1.92
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.130
[INFO] [stderr]     Checking js-sys v0.3.107
[INFO] [stderr]     Checking web-sys v0.3.107
[INFO] [stderr]     Checking worker-sys v0.9.0
[INFO] [stderr]    Compiling worker-macros v0.9.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking worker-macros-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/worker-macros)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.86s
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stdout] test event_invalid_signatures has been running for over 60 seconds
[INFO] [stdout] test event_invalid_signatures ... ok
[INFO] [stderr] test tests/ui/connect-not-async.rs ... ok
[INFO] [stdout] 
[INFO] [stderr] test tests/ui/connect-wrong-param-count.rs ... ok
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 62.55s
[INFO] [stderr] test tests/ui/fetch-not-async.rs ... ok
[INFO] [stdout] 
[INFO] [stderr] test tests/ui/fetch-wrong-param-count.rs ... ok
[INFO] [stderr] test tests/ui/scheduled-not-async.rs ... ok
[INFO] [stderr] test tests/ui/scheduled-wrong-param-count.rs ... ok
[INFO] [stderr] test tests/ui/start-is-async.rs ... ok
[INFO] [stderr] test tests/ui/start-wrong-param-count.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 - event (line 105) ... FAILED
[INFO] [stdout] test src/lib.rs - event (line 96) ... FAILED
[INFO] [stdout] test src/lib.rs - send (line 131) ... FAILED
[INFO] [stdout] test src/lib.rs - durable_object (line 48) ... FAILED
[INFO] [stdout] test src/lib.rs - event (line 84) ... FAILED
[INFO] [stdout] test src/lib.rs - event (line 114) ... FAILED
[INFO] [stdout] test src/lib.rs - durable_object (line 13) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - event (line 105) stdout ----
[INFO] [stdout] error: cannot find attribute `event` in this scope
[INFO] [stdout]    --> src/lib.rs:106:3
[INFO] [stdout]     |
[INFO] [stdout] 106 | #[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:108:6
[INFO] [stdout]     |
[INFO] [stdout] 108 |   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:107:43
[INFO] [stdout]     |
[INFO] [stdout] 107 | 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:107:53
[INFO] [stdout]     |
[INFO] [stdout] 107 | 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] 106 + 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:107:65
[INFO] [stdout]     |
[INFO] [stdout] 107 | 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] 107 | 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:107:1
[INFO] [stdout]     |
[INFO] [stdout] 107 | 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:107:20
[INFO] [stdout]     |
[INFO] [stdout] 107 | 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:107:72
[INFO] [stdout]     |
[INFO] [stdout] 107 | 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 96) stdout ----
[INFO] [stdout] error: cannot find attribute `event` in this scope
[INFO] [stdout]   --> src/lib.rs:97:3
[INFO] [stdout]    |
[INFO] [stdout] 97 | #[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:99:3
[INFO] [stdout]    |
[INFO] [stdout] 99 |   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:98:42
[INFO] [stdout]    |
[INFO] [stdout] 98 | 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:98:52
[INFO] [stdout]    |
[INFO] [stdout] 98 | 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] 97 + 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:98:64
[INFO] [stdout]    |
[INFO] [stdout] 98 | 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] 98 | 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:98:1
[INFO] [stdout]    |
[INFO] [stdout] 98 | 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:98:20
[INFO] [stdout]    |
[INFO] [stdout] 98 | 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:98:71
[INFO] [stdout]    |
[INFO] [stdout] 98 | 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 - send (line 131) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `worker` in this scope
[INFO] [stdout]    --> src/lib.rs:132:3
[INFO] [stdout]     |
[INFO] [stdout] 132 | #[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:135:30
[INFO] [stdout]     |
[INFO] [stdout] 135 |     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:135:15
[INFO] [stdout]     |
[INFO] [stdout] 135 |     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 48) stdout ----
[INFO] [stdout] error: cannot find attribute `durable_object` in this scope
[INFO] [stdout]   --> src/lib.rs:49:3
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[durable_object(fetch)]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `User` in this scope
[INFO] [stdout]   --> src/lib.rs:51:16
[INFO] [stdout]    |
[INFO] [stdout] 51 |     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] 50 | pub struct Chatroom<User> {
[INFO] [stdout]    |                    ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Message` in this scope
[INFO] [stdout]   --> src/lib.rs:52:19
[INFO] [stdout]    |
[INFO] [stdout] 52 |     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] 50 | pub struct Chatroom<Message> {
[INFO] [stdout]    |                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/lib.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |     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:54:10
[INFO] [stdout]    |
[INFO] [stdout] 54 |     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 84) stdout ----
[INFO] [stdout] error: expected one of `!`, `+`, `::`, `where`, or `{`, found `}`
[INFO] [stdout]   --> src/lib.rs:86:1
[INFO] [stdout]    |
[INFO] [stdout] 85 | 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] 86 | } _doctest_main_src_lib_rs_84_0() }
[INFO] [stdout]    | ^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: free function without a body
[INFO] [stdout]   --> src/lib.rs:85:1
[INFO] [stdout]    |
[INFO] [stdout] 85 | 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:85:55
[INFO] [stdout]    |
[INFO] [stdout] 85 | 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:85:65
[INFO] [stdout]    |
[INFO] [stdout] 85 | 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] 84 + use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope
[INFO] [stdout]   --> src/lib.rs:85:132
[INFO] [stdout]    |
[INFO] [stdout] 85 | ...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] 84 + 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:85:31
[INFO] [stdout]    |
[INFO] [stdout] 85 | 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:85:94
[INFO] [stdout]    |
[INFO] [stdout] 85 | ...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 114) stdout ----
[INFO] [stdout] error: cannot find attribute `event` in this scope
[INFO] [stdout]    --> src/lib.rs:115:3
[INFO] [stdout]     |
[INFO] [stdout] 115 | #[event(fetch)]
[INFO] [stdout]     |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `axum` in this scope
[INFO] [stdout]    --> src/lib.rs:116:83
[INFO] [stdout]     |
[INFO] [stdout] 116 | 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:116:21
[INFO] [stdout]     |
[INFO] [stdout] 116 | 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:116:39
[INFO] [stdout]     |
[INFO] [stdout] 116 | 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:116:49
[INFO] [stdout]     |
[INFO] [stdout] 116 | 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] 114 + 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:116:61
[INFO] [stdout]     |
[INFO] [stdout] 116 | 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] 116 | 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:117:6
[INFO] [stdout]     |
[INFO] [stdout] 117 |   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:116:68
[INFO] [stdout]     |
[INFO] [stdout] 116 | 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 13) stdout ----
[INFO] [stdout] error: cannot find attribute `durable_object` in this scope
[INFO] [stdout]   --> src/lib.rs:14:3
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[durable_object]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `User` in this scope
[INFO] [stdout]   --> src/lib.rs:16:16
[INFO] [stdout]    |
[INFO] [stdout] 16 |     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] 15 | pub struct Chatroom<User> {
[INFO] [stdout]    |                    ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Message` in this scope
[INFO] [stdout]   --> src/lib.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 17 |     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] 15 | pub struct Chatroom<Message> {
[INFO] [stdout]    |                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/lib.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 |     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:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 |     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:22:6
[INFO] [stdout]    |
[INFO] [stdout] 22 | 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:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |     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:23:31
[INFO] [stdout]    |
[INFO] [stdout] 23 |     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:32:33
[INFO] [stdout]    |
[INFO] [stdout] 32 |     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:32:52
[INFO] [stdout]    |
[INFO] [stdout] 32 |     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] 22 | 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:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         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 13)
[INFO] [stdout]     src/lib.rs - durable_object (line 48)
[INFO] [stdout]     src/lib.rs - event (line 105)
[INFO] [stdout]     src/lib.rs - event (line 114)
[INFO] [stdout]     src/lib.rs - event (line 84)
[INFO] [stdout]     src/lib.rs - event (line 96)
[INFO] [stdout]     src/lib.rs - send (line 131)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `"docker" "inspect" "b8a8b5ecd9bfc488c1a9c190012d66864daaf38dfec469fdf8dc9c3d021d5a98"`
[INFO] running `"docker" "rm" "-f" "b8a8b5ecd9bfc488c1a9c190012d66864daaf38dfec469fdf8dc9c3d021d5a98"`
[INFO] [stdout] b8a8b5ecd9bfc488c1a9c190012d66864daaf38dfec469fdf8dc9c3d021d5a98
