[INFO] fetching crate worker-macros 0.4.2...
[INFO] testing worker-macros-0.4.2 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate worker-macros 0.4.2 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate worker-macros 0.4.2 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate worker-macros 0.4.2
[INFO] finished tweaking crates.io crate worker-macros 0.4.2
[INFO] tweaked toml for crates.io crate worker-macros 0.4.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[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" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6f2fa327b7cf2c2e6f0eab9ddb392a878849db1987dccec4abef53936ada852f
[INFO] running `Command { std: "docker" "start" "-a" "6f2fa327b7cf2c2e6f0eab9ddb392a878849db1987dccec4abef53936ada852f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f2fa327b7cf2c2e6f0eab9ddb392a878849db1987dccec4abef53936ada852f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f2fa327b7cf2c2e6f0eab9ddb392a878849db1987dccec4abef53936ada852f", kill_on_drop: false }`
[INFO] [stdout] 6f2fa327b7cf2c2e6f0eab9ddb392a878849db1987dccec4abef53936ada852f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7f44af15def3f5413990201d908037139864b214af192e99a63d1d6fcf5c94cd
[INFO] running `Command { std: "docker" "start" "-a" "7f44af15def3f5413990201d908037139864b214af192e99a63d1d6fcf5c94cd", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.95
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling wasm-bindgen v0.2.95
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.95
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.95
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.95
[INFO] [stderr]    Compiling js-sys v0.3.72
[INFO] [stderr]    Compiling web-sys v0.3.72
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.45
[INFO] [stderr]    Compiling worker-sys v0.4.2
[INFO] [stderr]    Compiling worker-macros v0.4.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.10s
[INFO] running `Command { std: "docker" "inspect" "7f44af15def3f5413990201d908037139864b214af192e99a63d1d6fcf5c94cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7f44af15def3f5413990201d908037139864b214af192e99a63d1d6fcf5c94cd", kill_on_drop: false }`
[INFO] [stdout] 7f44af15def3f5413990201d908037139864b214af192e99a63d1d6fcf5c94cd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 38accb7dfe510b5ee357fc52ea12a9bebfbadf9498dffa6ba75f8b4ee6296cf7
[INFO] running `Command { std: "docker" "start" "-a" "38accb7dfe510b5ee357fc52ea12a9bebfbadf9498dffa6ba75f8b4ee6296cf7", kill_on_drop: false }`
[INFO] [stderr]    Compiling worker-macros v0.4.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s
[INFO] running `Command { std: "docker" "inspect" "38accb7dfe510b5ee357fc52ea12a9bebfbadf9498dffa6ba75f8b4ee6296cf7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38accb7dfe510b5ee357fc52ea12a9bebfbadf9498dffa6ba75f8b4ee6296cf7", kill_on_drop: false }`
[INFO] [stdout] 38accb7dfe510b5ee357fc52ea12a9bebfbadf9498dffa6ba75f8b4ee6296cf7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 21ad880165cbbfede85d1db0d3b7a1e3d453792af8c5d5db36a0b8df409cf578
[INFO] running `Command { std: "docker" "start" "-a" "21ad880165cbbfede85d1db0d3b7a1e3d453792af8c5d5db36a0b8df409cf578", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/worker_macros-eb4fa0f4d91705d6)
[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 31) ... FAILED
[INFO] [stdout] test src/lib.rs - event (line 43) ... FAILED
[INFO] [stdout] test src/lib.rs - event (line 52) ... FAILED
[INFO] [stdout] test src/lib.rs - event (line 61) ... 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 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 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 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] [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] ---- 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] 
[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.07s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "21ad880165cbbfede85d1db0d3b7a1e3d453792af8c5d5db36a0b8df409cf578", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21ad880165cbbfede85d1db0d3b7a1e3d453792af8c5d5db36a0b8df409cf578", kill_on_drop: false }`
[INFO] [stdout] 21ad880165cbbfede85d1db0d3b7a1e3d453792af8c5d5db36a0b8df409cf578
