[INFO] fetching crate worker-macros 0.5.0...
[INFO] testing worker-macros-0.5.0 against 1.83.0 for beta-1.84.0-4-retry
[INFO] extracting crate worker-macros 0.5.0 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate worker-macros 0.5.0 on toolchain 1.83.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate worker-macros 0.5.0
[INFO] finished tweaking crates.io crate worker-macros 0.5.0
[INFO] tweaked toml for crates.io crate worker-macros 0.5.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 18 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded worker-sys v0.5.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 61376e42769fae07d9e318f75d490fdfae0c5bb094e6fa45ef67e2add56c5c25
[INFO] running `Command { std: "docker" "start" "-a" "61376e42769fae07d9e318f75d490fdfae0c5bb094e6fa45ef67e2add56c5c25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "61376e42769fae07d9e318f75d490fdfae0c5bb094e6fa45ef67e2add56c5c25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "61376e42769fae07d9e318f75d490fdfae0c5bb094e6fa45ef67e2add56c5c25", kill_on_drop: false }`
[INFO] [stdout] 61376e42769fae07d9e318f75d490fdfae0c5bb094e6fa45ef67e2add56c5c25
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 89107940aeefded6e19180bb199e81545f508945915a6b36705d4b9ceff7bd77
[INFO] running `Command { std: "docker" "start" "-a" "89107940aeefded6e19180bb199e81545f508945915a6b36705d4b9ceff7bd77", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.99
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling wasm-bindgen v0.2.99
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.99
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.99
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.99
[INFO] [stderr]    Compiling js-sys v0.3.76
[INFO] [stderr]    Compiling web-sys v0.3.76
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.49
[INFO] [stderr]    Compiling worker-sys v0.5.0
[INFO] [stderr]    Compiling worker-macros v0.5.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.70s
[INFO] running `Command { std: "docker" "inspect" "89107940aeefded6e19180bb199e81545f508945915a6b36705d4b9ceff7bd77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89107940aeefded6e19180bb199e81545f508945915a6b36705d4b9ceff7bd77", kill_on_drop: false }`
[INFO] [stdout] 89107940aeefded6e19180bb199e81545f508945915a6b36705d4b9ceff7bd77
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 905dd2260c8a745ff71d210c1dc7aedfd82126eaeaa881441c7acf3ed8bd5f21
[INFO] running `Command { std: "docker" "start" "-a" "905dd2260c8a745ff71d210c1dc7aedfd82126eaeaa881441c7acf3ed8bd5f21", kill_on_drop: false }`
[INFO] [stderr]    Compiling worker-macros v0.5.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.41s
[INFO] running `Command { std: "docker" "inspect" "905dd2260c8a745ff71d210c1dc7aedfd82126eaeaa881441c7acf3ed8bd5f21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "905dd2260c8a745ff71d210c1dc7aedfd82126eaeaa881441c7acf3ed8bd5f21", kill_on_drop: false }`
[INFO] [stdout] 905dd2260c8a745ff71d210c1dc7aedfd82126eaeaa881441c7acf3ed8bd5f21
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5df395f70dfb383341d92da0e83e90381bd5f015deeba4ff6c102220df97ec71
[INFO] running `Command { std: "docker" "start" "-a" "5df395f70dfb383341d92da0e83e90381bd5f015deeba4ff6c102220df97ec71", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/worker_macros-a2a00771b7d08204)
[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 worker_macros
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - send (line 78) ... FAILED
[INFO] [stdout] test src/lib.rs - event (line 43) ... FAILED
[INFO] [stdout] test src/lib.rs - event (line 31) ... FAILED
[INFO] [stdout] test src/lib.rs - event (line 61) ... FAILED
[INFO] [stdout] test src/lib.rs - event (line 52) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - send (line 78) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `worker`
[INFO] [stdout]  --> src/lib.rs:79:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[worker::send]
[INFO] [stdout]   |   ^^^^^^ use of undeclared crate or module `worker`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsFuture`
[INFO] [stdout]  --> src/lib.rs:82:15
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let fut = JsFuture::from(promise);
[INFO] [stdout]   |               ^^^^^^^^ use of undeclared type `JsFuture`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use wasm_bindgen_futures::JsFuture;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `promise` in this scope
[INFO] [stdout]  --> src/lib.rs:82:30
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let fut = JsFuture::from(promise);
[INFO] [stdout]   |                              ^^^^^^^ not found in this scope
[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 - event (line 43) stdout ----
[INFO] [stdout] error: cannot find attribute `event` in this scope
[INFO] [stdout]  --> src/lib.rs:44:3
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[event(fetch, respond_with_errors)]
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use worker_macros::event;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `worker`
[INFO] [stdout]  --> src/lib.rs:46:3
[INFO] [stdout]   |
[INFO] [stdout] 4 |   worker::Response::ok("Hello World (worker type)")
[INFO] [stdout]   |   ^^^^^^ use of undeclared crate or module `worker`
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Env` in this scope
[INFO] [stdout]  --> src/lib.rs:45:42
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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[E0412]: cannot find type `Context` in this scope
[INFO] [stdout]  --> src/lib.rs:45:52
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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 one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::task::Context;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use worker_sys::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:45:64
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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] 3 | 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:45:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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]: failed to resolve: use of undeclared crate or module `worker`
[INFO] [stdout]  --> src/lib.rs:45:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn main(req: worker::Request, env: Env, ctx: Context) -> Result<worker::Response> {
[INFO] [stdout]   |                    ^^^^^^ use of undeclared crate or module `worker`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `worker`
[INFO] [stdout]  --> src/lib.rs:45:71
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn main(req: worker::Request, env: Env, ctx: Context) -> Result<worker::Response> {
[INFO] [stdout]   |                                                                       ^^^^^^ use of undeclared crate or module `worker`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, 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 31) stdout ----
[INFO] [stdout] error: expected one of `!`, `+`, `::`, `where`, or `{`, found `}`
[INFO] [stdout]  --> src/lib.rs:33:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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] 4 | } _doctest_main_src_lib_rs_31_0() }
[INFO] [stdout]   | ^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: free function without a body
[INFO] [stdout]  --> src/lib.rs:32:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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[E0433]: failed to resolve: use of undeclared crate or module `web_sys`
[INFO] [stdout]  --> src/lib.rs:32:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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]   |                               ^^^^^^^ use of undeclared crate or module `web_sys`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this crate
[INFO] [stdout]   |
[INFO] [stdout] 2 + use worker_sys::web_sys;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Env` in this scope
[INFO] [stdout]  --> src/lib.rs:32:55
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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]   |                                                       ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Context` in this scope
[INFO] [stdout]  --> src/lib.rs:32:65
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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]   |                                                                 ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::task::Context;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use worker_sys::Context;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web_sys`
[INFO] [stdout]  --> src/lib.rs:32:94
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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]   |                                                                                              ^^^^^^^ use of undeclared crate or module `web_sys`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this crate
[INFO] [stdout]   |
[INFO] [stdout] 2 + use worker_sys::web_sys;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope
[INFO] [stdout]  --> src/lib.rs:32:132
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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]   |                                                                                                                                    ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::error::Error;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, 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 61) stdout ----
[INFO] [stdout] error: cannot find attribute `event` in this scope
[INFO] [stdout]  --> src/lib.rs:62:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[event(fetch)]
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use worker_macros::event;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `axum`
[INFO] [stdout]  --> src/lib.rs:63:83
[INFO] [stdout]   |
[INFO] [stdout] 4 | async fn fetch(req: HttpRequest, env: Env, ctx: Context) -> Result<http::Response<axum::body::Body>> {
[INFO] [stdout]   |                                                                                   ^^^^ use of undeclared crate or module `axum`
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HttpRequest` in this scope
[INFO] [stdout]  --> src/lib.rs:63:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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[E0412]: cannot find type `Env` in this scope
[INFO] [stdout]  --> src/lib.rs:63:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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[E0412]: cannot find type `Context` in this scope
[INFO] [stdout]  --> src/lib.rs:63:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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 one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::task::Context;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use worker_sys::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:63:61
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 | 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:64:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |   Ok(router().call(req).await?)
[INFO] [stdout]   |      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http`
[INFO] [stdout]  --> src/lib.rs:63:68
[INFO] [stdout]   |
[INFO] [stdout] 4 | async fn fetch(req: HttpRequest, env: Env, ctx: Context) -> Result<http::Response<axum::body::Body>> {
[INFO] [stdout]   |                                                                    ^^^^ use of undeclared crate or module `http`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, 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 - event (line 52) stdout ----
[INFO] [stdout] error: cannot find attribute `event` in this scope
[INFO] [stdout]  --> src/lib.rs:53:3
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[event(fetch, respond_with_errors)]
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use worker_macros::event;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web_sys`
[INFO] [stdout]  --> src/lib.rs:55:6
[INFO] [stdout]   |
[INFO] [stdout] 4 |   Ok(web_sys::Response::new_with_opt_str(Some("Hello World (native type)".into())).unwrap())
[INFO] [stdout]   |      ^^^^^^^ use of undeclared crate or module `web_sys`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web_sys`
[INFO] [stdout]  --> src/lib.rs:54:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn main(req: web_sys::Request, env: Env, ctx: Context) -> Result<web_sys::Response> {
[INFO] [stdout]   |                    ^^^^^^^ use of undeclared crate or module `web_sys`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this crate
[INFO] [stdout]   |
[INFO] [stdout] 2 + use worker_sys::web_sys;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Env` in this scope
[INFO] [stdout]  --> src/lib.rs:54:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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[E0412]: cannot find type `Context` in this scope
[INFO] [stdout]  --> src/lib.rs:54:53
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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 one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::task::Context;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use worker_sys::Context;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web_sys`
[INFO] [stdout]  --> src/lib.rs:54:72
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn main(req: web_sys::Request, env: Env, ctx: Context) -> Result<web_sys::Response> {
[INFO] [stdout]   |                                                                        ^^^^^^^ use of undeclared crate or module `web_sys`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this crate
[INFO] [stdout]   |
[INFO] [stdout] 2 + use worker_sys::web_sys;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]  --> src/lib.rs:54:65
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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] 3 | 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:54:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn main(req: web_sys::Request, env: Env, ctx: Context) -> Result<web_sys::Response> {
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - event (line 31)
[INFO] [stdout]     src/lib.rs - event (line 43)
[INFO] [stdout]     src/lib.rs - event (line 52)
[INFO] [stdout]     src/lib.rs - event (line 61)
[INFO] [stdout]     src/lib.rs - send (line 78)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5df395f70dfb383341d92da0e83e90381bd5f015deeba4ff6c102220df97ec71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5df395f70dfb383341d92da0e83e90381bd5f015deeba4ff6c102220df97ec71", kill_on_drop: false }`
[INFO] [stdout] 5df395f70dfb383341d92da0e83e90381bd5f015deeba4ff6c102220df97ec71
