[INFO] fetching crate darpi-middleware 0.1.0-beta.1...
[INFO] testing darpi-middleware-0.1.0-beta.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate darpi-middleware 0.1.0-beta.1 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate darpi-middleware 0.1.0-beta.1
[INFO] finished tweaking crates.io crate darpi-middleware 0.1.0-beta.1
[INFO] tweaked toml for crates.io crate darpi-middleware 0.1.0-beta.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate darpi-middleware 0.1.0-beta.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 233 packages to latest compatible versions
[INFO] [stderr]       Adding async-compression v0.3.15 (available: v0.4.33)
[INFO] [stderr]       Adding darpi-web v0.1.0-beta.1 (available: v0.1.0)
[INFO] [stderr]       Adding derive_more v0.99.20 (available: v2.0.1)
[INFO] [stderr]       Adding jsonwebtoken v7.2.0 (available: v10.2.0)
[INFO] [stderr]       Adding shaku v0.5.0 (available: v0.6.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7d2c9b6bb95594eeb27c304f58c048de5e94db7881bcfbed1dc128bda7011215
[INFO] running `Command { std: "docker" "start" "-a" "7d2c9b6bb95594eeb27c304f58c048de5e94db7881bcfbed1dc128bda7011215", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7d2c9b6bb95594eeb27c304f58c048de5e94db7881bcfbed1dc128bda7011215", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d2c9b6bb95594eeb27c304f58c048de5e94db7881bcfbed1dc128bda7011215", kill_on_drop: false }`
[INFO] [stdout] 7d2c9b6bb95594eeb27c304f58c048de5e94db7881bcfbed1dc128bda7011215
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a5026958bbf38dd114a742b7ecd634c336a0a36c8ab9d7f7112d3158735dd6d6
[INFO] running `Command { std: "docker" "start" "-a" "a5026958bbf38dd114a742b7ecd634c336a0a36c8ab9d7f7112d3158735dd6d6", kill_on_drop: false }`
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling cc v1.2.45
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling beef v0.4.4
[INFO] [stderr]    Compiling sha-1 v0.9.8
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling input_buffer v0.4.0
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling sha1_smol v1.0.1
[INFO] [stderr]    Compiling xml-rs v0.8.28
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling sha1 v0.6.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_yaml v0.8.26
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling shaku_derive v0.5.0
[INFO] [stderr]    Compiling tokio v0.3.7
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling anymap v0.12.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling serde-xml-rs v0.4.1
[INFO] [stderr]    Compiling brotli-decompressor v2.5.1
[INFO] [stderr]    Compiling tungstenite v0.13.0
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling pin-project-lite v0.1.12
[INFO] [stderr]    Compiling flate2 v1.1.5
[INFO] [stderr]    Compiling shaku v0.5.0
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling lzma-sys v0.1.20
[INFO] [stderr]    Compiling bzip2-sys v0.1.13+1.0.8
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling simple_asn1 v0.4.1
[INFO] [stderr]    Compiling logos-derive v0.11.5
[INFO] [stderr]    Compiling xz2 v0.1.7
[INFO] [stderr]    Compiling brotli v3.5.0
[INFO] [stderr]    Compiling bzip2 v0.4.4
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling tokio-tungstenite v0.14.0
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling pem v0.8.3
[INFO] [stderr]    Compiling logos v0.11.4
[INFO] [stderr]    Compiling darpi-route v0.1.0
[INFO] [stderr]    Compiling darpi-code-gen v0.1.1-beta.1
[INFO] [stderr]    Compiling zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]    Compiling async-compression v0.3.15
[INFO] [stderr]    Compiling jsonwebtoken v7.2.0
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling darpi-web v0.1.0-beta.1
[INFO] [stderr]    Compiling darpi v0.1.5
[INFO] [stderr]    Compiling darpi-headers v0.1.0-beta.1
[INFO] [stderr]    Compiling darpi-middleware v0.1.0-beta.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `RequestParts`
[INFO] [stdout]  --> src/compression.rs:7:58
[INFO] [stdout]   |
[INFO] [stdout] 7 |     middleware, response::ResponderError, Body, Request, RequestParts, Response, StatusCode,
[INFO] [stdout]   |                                                          ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.03s
[INFO] running `Command { std: "docker" "inspect" "a5026958bbf38dd114a742b7ecd634c336a0a36c8ab9d7f7112d3158735dd6d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5026958bbf38dd114a742b7ecd634c336a0a36c8ab9d7f7112d3158735dd6d6", kill_on_drop: false }`
[INFO] [stdout] a5026958bbf38dd114a742b7ecd634c336a0a36c8ab9d7f7112d3158735dd6d6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8779c1e2da74915c92756923984325d90e0c4df3642b9633478eb9e28af8b23e
[INFO] running `Command { std: "docker" "start" "-a" "8779c1e2da74915c92756923984325d90e0c4df3642b9633478eb9e28af8b23e", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `RequestParts`
[INFO] [stdout]  --> src/compression.rs:7:58
[INFO] [stdout]   |
[INFO] [stdout] 7 |     middleware, response::ResponderError, Body, Request, RequestParts, Response, StatusCode,
[INFO] [stdout]   |                                                          ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling darpi-middleware v0.1.0-beta.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `RequestParts`
[INFO] [stdout]  --> src/compression.rs:7:58
[INFO] [stdout]   |
[INFO] [stdout] 7 |     middleware, response::ResponderError, Body, Request, RequestParts, Response, StatusCode,
[INFO] [stdout]   |                                                          ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.59s
[INFO] running `Command { std: "docker" "inspect" "8779c1e2da74915c92756923984325d90e0c4df3642b9633478eb9e28af8b23e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8779c1e2da74915c92756923984325d90e0c4df3642b9633478eb9e28af8b23e", kill_on_drop: false }`
[INFO] [stdout] 8779c1e2da74915c92756923984325d90e0c4df3642b9633478eb9e28af8b23e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a72f244b47101c9977feb4bc559a0dfe9c122eb0c5fed209c1afe030941a6e28
[INFO] running `Command { std: "docker" "start" "-a" "a72f244b47101c9977feb4bc559a0dfe9c122eb0c5fed209c1afe030941a6e28", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `RequestParts`
[INFO] [stderr]  --> src/compression.rs:7:58
[INFO] [stderr]   |
[INFO] [stderr] 7 |     middleware, response::ResponderError, Body, Request, RequestParts, Response, StatusCode,
[INFO] [stderr]   |                                                          ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `darpi-middleware` (lib) generated 1 warning (run `cargo fix --lib -p darpi-middleware` to apply 1 suggestion)
[INFO] [stderr] warning: `darpi-middleware` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/darpi_middleware-afb6d898455e22dc)
[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 darpi_middleware
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/auth.rs - auth::authorize<role>::authorize (line 33) ... FAILED
[INFO] [stdout] test src/auth.rs - auth::UserRole (line 70) - compile ... FAILED
[INFO] [stdout] test src/compression.rs - compression::compress::compress (line 21) ... FAILED
[INFO] [stdout] test src/lib.rs - body_size_limit::body_size_limit (line 15) ... FAILED
[INFO] [stdout] test src/compression.rs - compression::decompress::decompress (line 103) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/auth.rs - auth::authorize<role>::authorize (line 33) stdout ----
[INFO] [stdout] error: cannot find attribute `handler` in this scope
[INFO] [stdout]   --> src/auth.rs:34:3
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[handler(Container, [authorize(Role::Admin)])]
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 33 + use darpi::handler;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/auth.rs - auth::UserRole (line 70) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `UserRole` in this scope
[INFO] [stdout]   --> src/auth.rs:88:6
[INFO] [stdout]    |
[INFO] [stdout] 88 | impl UserRole for Role {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 70 + use darpi_middleware::auth::UserRole;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Claims` in this scope
[INFO] [stdout]   --> src/auth.rs:89:38
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn is_authorized(&self, claims: &Claims) -> bool {
[INFO] [stdout]    |                                      ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 70 + use darpi_middleware::auth::Claims;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fmt`
[INFO] [stdout]   --> src/auth.rs:95:6
[INFO] [stdout]    |
[INFO] [stdout] 95 | impl fmt::Display for Role {
[INFO] [stdout]    |      ^^^ use of unresolved module or unlinked crate `fmt`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `fmt`, use `cargo add fmt` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 70 + use std::fmt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fmt`
[INFO] [stdout]   --> src/auth.rs:96:27
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
[INFO] [stdout]    |                           ^^^ use of unresolved module or unlinked crate `fmt`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `fmt`, use `cargo add fmt` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 70 + use std::fmt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fmt`
[INFO] [stdout]   --> src/auth.rs:96:50
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
[INFO] [stdout]    |                                                  ^^^ use of unresolved module or unlinked crate `fmt`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `fmt`, use `cargo add fmt` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 70 + use std::fmt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 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/compression.rs - compression::compress::compress (line 21) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> src/compression.rs:22:3
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[tokio::test]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `app` in this scope
[INFO] [stdout]   --> src/compression.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 25 |      app!({
[INFO] [stdout]    |      ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 22 + use darpi::app;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/compression.rs:23:2
[INFO] [stdout]    |
[INFO] [stdout] 23 |  async fn main() -> Result<(), darpi::Error> {
[INFO] [stdout]    |  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - body_size_limit::body_size_limit (line 15) stdout ----
[INFO] [stdout] error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
[INFO] [stdout]   --> src/lib.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 | async fn say_hello(#[path] p: Name, #[body] payload: Json<Name>) -> impl Responder {
[INFO] [stdout]    |                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `handler` in this scope
[INFO] [stdout]   --> src/lib.rs:16:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[handler([body_size_limit(64)])]
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 15 + use darpi::handler;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `body` in this scope
[INFO] [stdout]   --> src/lib.rs:17:39
[INFO] [stdout]    |
[INFO] [stdout] 17 | async fn say_hello(#[path] p: Name, #[body] payload: Json<Name>) -> impl Responder {
[INFO] [stdout]    |                                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Name` in this scope
[INFO] [stdout]   --> src/lib.rs:17:31
[INFO] [stdout]    |
[INFO] [stdout] 17 | async fn say_hello(#[path] p: Name, #[body] payload: Json<Name>) -> impl Responder {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Json` in this scope
[INFO] [stdout]   --> src/lib.rs:17:54
[INFO] [stdout]    |
[INFO] [stdout] 17 | async fn say_hello(#[path] p: Name, #[body] payload: Json<Name>) -> impl Responder {
[INFO] [stdout]    |                                                      ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 15 + use darpi::Json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Name` in this scope
[INFO] [stdout]   --> src/lib.rs:17:59
[INFO] [stdout]    |
[INFO] [stdout] 17 | async fn say_hello(#[path] p: Name, #[body] payload: Json<Name>) -> impl Responder {
[INFO] [stdout]    |                                                           ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 17 | async fn say_hello<Name>(#[path] p: Name, #[body] payload: Json<Name>) -> impl Responder {
[INFO] [stdout]    |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Responder` in this scope
[INFO] [stdout]   --> src/lib.rs:17:74
[INFO] [stdout]    |
[INFO] [stdout] 17 | async fn say_hello(#[path] p: Name, #[body] payload: Json<Name>) -> impl Responder {
[INFO] [stdout]    |                                                                          ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 15 + use darpi::response::Responder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0539]: malformed `path` attribute input
[INFO] [stdout]   --> src/lib.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 | async fn say_hello(#[path] p: Name, #[body] payload: Json<Name>) -> impl Responder {
[INFO] [stdout]    |                    ^^^^^^^ help: must be of the form: `#[path = "file"]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, visit <https://doc.rust-lang.org/reference/items/modules.html#the-path-attribute>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0539.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/compression.rs - compression::decompress::decompress (line 103) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> src/compression.rs:104:3
[INFO] [stdout]     |
[INFO] [stdout] 104 | #[tokio::test]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `app` in this scope
[INFO] [stdout]    --> src/compression.rs:107:6
[INFO] [stdout]     |
[INFO] [stdout] 107 |      app!({
[INFO] [stdout]     |      ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 104 + use darpi::app;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/compression.rs:105:2
[INFO] [stdout]     |
[INFO] [stdout] 105 |  async fn main() -> Result<(), darpi::Error> {
[INFO] [stdout]     |  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/auth.rs - auth::UserRole (line 70)
[INFO] [stdout]     src/auth.rs - auth::authorize<role>::authorize (line 33)
[INFO] [stdout]     src/compression.rs - compression::compress::compress (line 21)
[INFO] [stdout]     src/compression.rs - compression::decompress::decompress (line 103)
[INFO] [stdout]     src/lib.rs - body_size_limit::body_size_limit (line 15)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "a72f244b47101c9977feb4bc559a0dfe9c122eb0c5fed209c1afe030941a6e28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a72f244b47101c9977feb4bc559a0dfe9c122eb0c5fed209c1afe030941a6e28", kill_on_drop: false }`
[INFO] [stdout] a72f244b47101c9977feb4bc559a0dfe9c122eb0c5fed209c1afe030941a6e28
