[INFO] cloning repository https://github.com/repr0bated/worker-router
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/repr0bated/worker-router" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frepr0bated%2Fworker-router", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frepr0bated%2Fworker-router'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c2b6a9a9ba252534fe848596515a0bcbfd45f061
[INFO] testing repr0bated/worker-router against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frepr0bated%2Fworker-router" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/repr0bated/worker-router
[INFO] finished tweaking git repo https://github.com/repr0bated/worker-router
[INFO] tweaked toml for git repo https://github.com/repr0bated/worker-router written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/repr0bated/worker-router on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/repr0bated/worker-router already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fd17b570a6f6c1981b347f3ffdcffedc6832aa70a6c87d73ea65cf1d619e30a7
[INFO] running `Command { std: "docker" "start" "-a" "fd17b570a6f6c1981b347f3ffdcffedc6832aa70a6c87d73ea65cf1d619e30a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fd17b570a6f6c1981b347f3ffdcffedc6832aa70a6c87d73ea65cf1d619e30a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd17b570a6f6c1981b347f3ffdcffedc6832aa70a6c87d73ea65cf1d619e30a7", kill_on_drop: false }`
[INFO] [stdout] fd17b570a6f6c1981b347f3ffdcffedc6832aa70a6c87d73ea65cf1d619e30a7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] a05554199ff10912fdbcdbb8ae49a59f32898231c488891145526e44a82e1769
[INFO] running `Command { std: "docker" "start" "-a" "a05554199ff10912fdbcdbb8ae49a59f32898231c488891145526e44a82e1769", kill_on_drop: false }`
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.99
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling wasm-bindgen v0.2.99
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling unic-char-range v0.9.0
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling unic-common v0.9.0
[INFO] [stderr]    Compiling http v1.2.0
[INFO] [stderr]    Compiling unic-char-property v0.9.0
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling unic-ucd-version v0.9.0
[INFO] [stderr]    Compiling chrono v0.4.39
[INFO] [stderr]    Compiling unic-ucd-ident v0.9.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling tokio v1.42.0
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.99
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling pin-project-internal v1.1.7
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.99
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling pin-project v1.1.7
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.99
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling js-sys v0.3.76
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.49
[INFO] [stderr]    Compiling web-sys v0.3.76
[INFO] [stderr]    Compiling serde-wasm-bindgen v0.5.0
[INFO] [stderr]    Compiling serde-wasm-bindgen v0.6.5
[INFO] [stderr]    Compiling worker-kv v0.7.0
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling urlpattern v0.3.0
[INFO] [stderr]    Compiling worker-sys v0.4.2
[INFO] [stderr]    Compiling worker-macros v0.4.2
[INFO] [stderr]    Compiling wasm-streams v0.4.2
[INFO] [stderr]    Compiling worker v0.4.2
[INFO] [stderr]    Compiling worker-router v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.86s
[INFO] running `Command { std: "docker" "inspect" "a05554199ff10912fdbcdbb8ae49a59f32898231c488891145526e44a82e1769", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a05554199ff10912fdbcdbb8ae49a59f32898231c488891145526e44a82e1769", kill_on_drop: false }`
[INFO] [stdout] a05554199ff10912fdbcdbb8ae49a59f32898231c488891145526e44a82e1769
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 594f27a09e94aada58e811499599d3c86b010d98d798b64ffa3e7ebf9ea07935
[INFO] running `Command { std: "docker" "start" "-a" "594f27a09e94aada58e811499599d3c86b010d98d798b64ffa3e7ebf9ea07935", kill_on_drop: false }`
[INFO] [stderr]    Compiling worker-router v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s
[INFO] running `Command { std: "docker" "inspect" "594f27a09e94aada58e811499599d3c86b010d98d798b64ffa3e7ebf9ea07935", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "594f27a09e94aada58e811499599d3c86b010d98d798b64ffa3e7ebf9ea07935", kill_on_drop: false }`
[INFO] [stdout] 594f27a09e94aada58e811499599d3c86b010d98d798b64ffa3e7ebf9ea07935
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 08cde7feb1326bd3b6e128c7def2cdb0bdcbe257f8d9e8020a570095fc74482e
[INFO] running `Command { std: "docker" "start" "-a" "08cde7feb1326bd3b6e128c7def2cdb0bdcbe257f8d9e8020a570095fc74482e", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/worker-router/4382bc7971c0f17d/deps/worker_router-4382bc7971c0f17d)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests worker_router
[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 11 tests
[INFO] [stdout] test src/lib.rs - Router<State>::options (line 117) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 4) ... FAILED
[INFO] [stdout] test src/lib.rs - Router<State>::delete (line 116) ... FAILED
[INFO] [stdout] test src/lib.rs - Router<State>::connect (line 118) ... FAILED
[INFO] [stdout] test src/lib.rs - Router<State>::put (line 114) ... FAILED
[INFO] [stdout] test src/lib.rs - Router<State>::get (line 112) ... FAILED
[INFO] [stdout] test src/lib.rs - Router<State>::head (line 111) ... FAILED
[INFO] [stdout] test src/lib.rs - Router<State>::patch (line 115) ... FAILED
[INFO] [stdout] test src/lib.rs - Router<State>::trace (line 119) ... FAILED
[INFO] [stdout] test src/lib.rs - Router<State>::post (line 113) ... FAILED
[INFO] [stdout] test src/lib.rs - path (line 32) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - Router<State>::options (line 117) stdout ----
[INFO] [stdout] error: free function without a body
[INFO] [stdout]    --> src/lib.rs:118:1
[INFO] [stdout]     |
[INFO] [stdout] 118 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]     |                                                                                        |
[INFO] [stdout]     |                                                                                        help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/lib.rs:118:49
[INFO] [stdout]     |
[INFO] [stdout] 118 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     |                                                 ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 117 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]    --> src/lib.rs:118:53
[INFO] [stdout]     |
[INFO] [stdout] 118 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     |                                                     ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 117 + use worker::State;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:118:64
[INFO] [stdout]     |
[INFO] [stdout] 118 | async fn handler(_req: worker::Request, _state: Arc<State>) -> 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] 118 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response, E>;
[INFO] [stdout]     |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 4) stdout ----
[INFO] [stdout] error: cannot find attribute `event` in this scope
[INFO] [stdout]   --> src/lib.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[event(fetch)]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout]  4 + use worker::event;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Request` in this scope
[INFO] [stdout]  --> src/lib.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn get_hello(_req: Request, _state: Arc<ServerState>) -> Result<Response> {
[INFO] [stdout]   |                          ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 4 + use std::error::Request;
[INFO] [stdout]   |
[INFO] [stdout] 4 + use worker::Request;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/lib.rs:7:43
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn get_hello(_req: Request, _state: Arc<ServerState>) -> Result<Response> {
[INFO] [stdout]   |                                           ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/lib.rs:7:71
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn get_hello(_req: Request, _state: Arc<ServerState>) -> Result<Response> {
[INFO] [stdout]   |                                                                       ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 + use worker::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResponseBuilder`
[INFO] [stdout]  --> src/lib.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 |   ResponseBuilder::new().ok("hello")
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^ use of undeclared type `ResponseBuilder`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 + use worker::ResponseBuilder;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Request` in this scope
[INFO] [stdout]   --> src/lib.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 12 | async fn fetch(req: Request, _env: Env, _ctx: Context) -> Result<Response> {
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::error::Request;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use worker::Request;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Env` in this scope
[INFO] [stdout]   --> src/lib.rs:12:36
[INFO] [stdout]    |
[INFO] [stdout] 12 | async fn fetch(req: Request, _env: Env, _ctx: Context) -> Result<Response> {
[INFO] [stdout]    |                                    ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use worker::Env;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]   --> src/lib.rs:12:47
[INFO] [stdout]    |
[INFO] [stdout] 12 | async fn fetch(req: Request, _env: Env, _ctx: Context) -> Result<Response> {
[INFO] [stdout]    |                                               ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use worker::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Response` in this scope
[INFO] [stdout]   --> src/lib.rs:12:66
[INFO] [stdout]    |
[INFO] [stdout] 12 | async fn fetch(req: Request, _env: Env, _ctx: Context) -> Result<Response> {
[INFO] [stdout]    |                                                                  ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use worker::Response;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/lib.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 |   let state = Arc::new(ServerState {});
[INFO] [stdout]    |               ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `router`
[INFO] [stdout]   --> src/lib.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout] 14 |   let router = router::Router::new_with_state(state).get(router::path("/hello")?, get_hello);
[INFO] [stdout]    |                ^^^^^^ use of unresolved module or unlinked crate `router`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `router`, use `cargo add router` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use worker::Router;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use worker_router::Router;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Router`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 14 -   let router = router::Router::new_with_state(state).get(router::path("/hello")?, get_hello);
[INFO] [stdout] 14 +   let router = Router::new_with_state(state).get(router::path("/hello")?, get_hello);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]  --> src/lib.rs:7:64
[INFO] [stdout]   |
[INFO] [stdout] 7 | async fn get_hello(_req: Request, _state: Arc<ServerState>) -> Result<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] 7 | async fn get_hello(_req: Request, _state: Arc<ServerState>) -> Result<Response, E> {
[INFO] [stdout]   |                                                                               +++
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/lib.rs:12:59
[INFO] [stdout]    |
[INFO] [stdout] 12 | async fn fetch(req: Request, _env: Env, _ctx: Context) -> Result<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] 12 | async fn fetch(req: Request, _env: Env, _ctx: Context) -> Result<Response, E> {
[INFO] [stdout]    |                                                                          +++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `router`
[INFO] [stdout]   --> src/lib.rs:14:58
[INFO] [stdout]    |
[INFO] [stdout] 14 |   let router = router::Router::new_with_state(state).get(router::path("/hello")?, get_hello);
[INFO] [stdout]    |                                                          ^^^^^^ use of unresolved module or unlinked crate `router`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `router`, use `cargo add router` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 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 - Router<State>::delete (line 116) stdout ----
[INFO] [stdout] error: free function without a body
[INFO] [stdout]    --> src/lib.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]     |                                                                                        |
[INFO] [stdout]     |                                                                                        help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/lib.rs:117:49
[INFO] [stdout]     |
[INFO] [stdout] 117 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     |                                                 ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 116 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]    --> src/lib.rs:117:53
[INFO] [stdout]     |
[INFO] [stdout] 117 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     |                                                     ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 116 + use worker::State;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:117:64
[INFO] [stdout]     |
[INFO] [stdout] 117 | async fn handler(_req: worker::Request, _state: Arc<State>) -> 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] 117 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response, E>;
[INFO] [stdout]     |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Router<State>::connect (line 118) stdout ----
[INFO] [stdout] error: free function without a body
[INFO] [stdout]    --> src/lib.rs:119:1
[INFO] [stdout]     |
[INFO] [stdout] 119 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]     |                                                                                        |
[INFO] [stdout]     |                                                                                        help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/lib.rs:119:49
[INFO] [stdout]     |
[INFO] [stdout] 119 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     |                                                 ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 118 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]    --> src/lib.rs:119:53
[INFO] [stdout]     |
[INFO] [stdout] 119 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     |                                                     ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 118 + use worker::State;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:119:64
[INFO] [stdout]     |
[INFO] [stdout] 119 | async fn handler(_req: worker::Request, _state: Arc<State>) -> 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] 119 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response, E>;
[INFO] [stdout]     |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Router<State>::put (line 114) stdout ----
[INFO] [stdout] error: free function without a body
[INFO] [stdout]    --> src/lib.rs:115:1
[INFO] [stdout]     |
[INFO] [stdout] 115 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]     |                                                                                        |
[INFO] [stdout]     |                                                                                        help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/lib.rs:115:49
[INFO] [stdout]     |
[INFO] [stdout] 115 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     |                                                 ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 114 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]    --> src/lib.rs:115:53
[INFO] [stdout]     |
[INFO] [stdout] 115 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     |                                                     ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 114 + use worker::State;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:115:64
[INFO] [stdout]     |
[INFO] [stdout] 115 | async fn handler(_req: worker::Request, _state: Arc<State>) -> 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] 115 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response, E>;
[INFO] [stdout]     |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Router<State>::get (line 112) stdout ----
[INFO] [stdout] error: free function without a body
[INFO] [stdout]    --> src/lib.rs:113:1
[INFO] [stdout]     |
[INFO] [stdout] 113 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]     |                                                                                        |
[INFO] [stdout]     |                                                                                        help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/lib.rs:113:49
[INFO] [stdout]     |
[INFO] [stdout] 113 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     |                                                 ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 112 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]    --> src/lib.rs:113:53
[INFO] [stdout]     |
[INFO] [stdout] 113 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     |                                                     ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 112 + use worker::State;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:113:64
[INFO] [stdout]     |
[INFO] [stdout] 113 | async fn handler(_req: worker::Request, _state: Arc<State>) -> 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] 113 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response, E>;
[INFO] [stdout]     |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Router<State>::head (line 111) stdout ----
[INFO] [stdout] error: free function without a body
[INFO] [stdout]    --> src/lib.rs:112:1
[INFO] [stdout]     |
[INFO] [stdout] 112 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]     |                                                                                        |
[INFO] [stdout]     |                                                                                        help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/lib.rs:112:49
[INFO] [stdout]     |
[INFO] [stdout] 112 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     |                                                 ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 111 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]    --> src/lib.rs:112:53
[INFO] [stdout]     |
[INFO] [stdout] 112 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     |                                                     ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 111 + use worker::State;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:112:64
[INFO] [stdout]     |
[INFO] [stdout] 112 | async fn handler(_req: worker::Request, _state: Arc<State>) -> 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] 112 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response, E>;
[INFO] [stdout]     |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Router<State>::patch (line 115) stdout ----
[INFO] [stdout] error: free function without a body
[INFO] [stdout]    --> src/lib.rs:116:1
[INFO] [stdout]     |
[INFO] [stdout] 116 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]     |                                                                                        |
[INFO] [stdout]     |                                                                                        help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/lib.rs:116:49
[INFO] [stdout]     |
[INFO] [stdout] 116 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     |                                                 ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 115 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]    --> src/lib.rs:116:53
[INFO] [stdout]     |
[INFO] [stdout] 116 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     |                                                     ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 115 + use worker::State;
[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:64
[INFO] [stdout]     |
[INFO] [stdout] 116 | async fn handler(_req: worker::Request, _state: Arc<State>) -> 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] 116 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response, E>;
[INFO] [stdout]     |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Router<State>::trace (line 119) stdout ----
[INFO] [stdout] error: free function without a body
[INFO] [stdout]    --> src/lib.rs:120:1
[INFO] [stdout]     |
[INFO] [stdout] 120 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]     |                                                                                        |
[INFO] [stdout]     |                                                                                        help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/lib.rs:120:49
[INFO] [stdout]     |
[INFO] [stdout] 120 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     |                                                 ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 119 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]    --> src/lib.rs:120:53
[INFO] [stdout]     |
[INFO] [stdout] 120 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     |                                                     ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 119 + use worker::State;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:120:64
[INFO] [stdout]     |
[INFO] [stdout] 120 | async fn handler(_req: worker::Request, _state: Arc<State>) -> 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] 120 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response, E>;
[INFO] [stdout]     |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Router<State>::post (line 113) stdout ----
[INFO] [stdout] error: free function without a body
[INFO] [stdout]    --> src/lib.rs:114:1
[INFO] [stdout]     |
[INFO] [stdout] 114 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]     |                                                                                        |
[INFO] [stdout]     |                                                                                        help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/lib.rs:114:49
[INFO] [stdout]     |
[INFO] [stdout] 114 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     |                                                 ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 113 + use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]    --> src/lib.rs:114:53
[INFO] [stdout]     |
[INFO] [stdout] 114 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response>;
[INFO] [stdout]     |                                                     ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 113 + use worker::State;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:114:64
[INFO] [stdout]     |
[INFO] [stdout] 114 | async fn handler(_req: worker::Request, _state: Arc<State>) -> 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] 114 | async fn handler(_req: worker::Request, _state: Arc<State>) -> Result<worker::Response, E>;
[INFO] [stdout]     |                                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - path (line 32) stdout ----
[INFO] [stdout] error[E0423]: expected function, found built-in attribute `path`
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | path("/hello")?;
[INFO] [stdout]    | ^^^^ not a function
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function instead
[INFO] [stdout]    |
[INFO] [stdout] 32 + use worker_router::path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found built-in attribute `path`
[INFO] [stdout]   --> src/lib.rs:34:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | path("/users/:id")?;
[INFO] [stdout]    | ^^^^ not a function
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function instead
[INFO] [stdout]    |
[INFO] [stdout] 32 + use worker_router::path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 4)
[INFO] [stdout]     src/lib.rs - Router<State>::connect (line 118)
[INFO] [stdout]     src/lib.rs - Router<State>::delete (line 116)
[INFO] [stdout]     src/lib.rs - Router<State>::get (line 112)
[INFO] [stdout]     src/lib.rs - Router<State>::head (line 111)
[INFO] [stdout]     src/lib.rs - Router<State>::options (line 117)
[INFO] [stdout]     src/lib.rs - Router<State>::patch (line 115)
[INFO] [stdout]     src/lib.rs - Router<State>::post (line 113)
[INFO] [stdout]     src/lib.rs - Router<State>::put (line 114)
[INFO] [stdout]     src/lib.rs - Router<State>::trace (line 119)
[INFO] [stdout]     src/lib.rs - path (line 32)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.74s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "08cde7feb1326bd3b6e128c7def2cdb0bdcbe257f8d9e8020a570095fc74482e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "08cde7feb1326bd3b6e128c7def2cdb0bdcbe257f8d9e8020a570095fc74482e", kill_on_drop: false }`
[INFO] [stdout] 08cde7feb1326bd3b6e128c7def2cdb0bdcbe257f8d9e8020a570095fc74482e
