[INFO] fetching crate darpi-middleware 0.1.0-beta.1...
[INFO] testing darpi-middleware-0.1.0-beta.1 against 1.76.0 for beta-1.77-1
[INFO] extracting crate darpi-middleware 0.1.0-beta.1 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate darpi-middleware 0.1.0-beta.1 on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded shaku v0.5.0
[INFO] [stderr]   Downloaded darpi-route v0.1.0
[INFO] [stderr]   Downloaded darpi-code-gen v0.1.1-beta.1
[INFO] [stderr]   Downloaded beef v0.4.4
[INFO] [stderr]   Downloaded serde-xml-rs v0.4.1
[INFO] [stderr]   Downloaded darpi-web v0.1.0-beta.1
[INFO] [stderr]   Downloaded darpi-headers v0.1.0-beta.1
[INFO] [stderr]   Downloaded logos-derive v0.11.5
[INFO] [stderr]   Downloaded input_buffer v0.4.0
[INFO] [stderr]   Downloaded darpi v0.1.5
[INFO] [stderr]   Downloaded tungstenite v0.13.0
[INFO] [stderr]   Downloaded tokio v0.3.7
[INFO] [stderr]   Downloaded anymap v0.12.1
[INFO] [stderr]   Downloaded tokio-tungstenite v0.14.0
[INFO] [stderr]   Downloaded shaku_derive v0.5.0
[INFO] [stderr]   Downloaded logos v0.11.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8af6c9bd5c77b2c2a18357913dadd7790d00084f017d64098992966412fff1fc
[INFO] running `Command { std: "docker" "start" "-a" "8af6c9bd5c77b2c2a18357913dadd7790d00084f017d64098992966412fff1fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8af6c9bd5c77b2c2a18357913dadd7790d00084f017d64098992966412fff1fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8af6c9bd5c77b2c2a18357913dadd7790d00084f017d64098992966412fff1fc", kill_on_drop: false }`
[INFO] [stdout] 8af6c9bd5c77b2c2a18357913dadd7790d00084f017d64098992966412fff1fc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fd31b284f0aa456fb21c23bc1361a3ccbf8003b4aabfcc0c517ccebca1f6e9ba
[INFO] running `Command { std: "docker" "start" "-a" "fd31b284f0aa456fb21c23bc1361a3ccbf8003b4aabfcc0c517ccebca1f6e9ba", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling pkg-config v0.3.29
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling ryu v1.0.16
[INFO] [stderr]    Compiling thiserror v1.0.57
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling http v0.2.11
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling beef v0.4.4
[INFO] [stderr]    Compiling utf8-ranges v1.0.5
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling cc v1.0.85
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling input_buffer v0.4.0
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling sha-1 v0.9.8
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling chrono v0.4.34
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling sha1_smol v1.0.0
[INFO] [stderr]    Compiling indexmap v2.2.3
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling xml-rs v0.8.19
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling zstd-sys v2.0.9+zstd.1.5.5
[INFO] [stderr]    Compiling lzma-sys v0.1.20
[INFO] [stderr]    Compiling bzip2-sys v0.1.11+1.0.8
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling sha1 v0.6.1
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling tokio v0.3.7
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling anymap v0.12.1
[INFO] [stderr]    Compiling miniz_oxide v0.7.2
[INFO] [stderr]    Compiling rayon v1.8.1
[INFO] [stderr]    Compiling brotli-decompressor v2.5.1
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling regex-automata v0.4.5
[INFO] [stderr]    Compiling pin-project-lite v0.1.12
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling xz2 v0.1.7
[INFO] [stderr]    Compiling bzip2 v0.4.4
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling simple_asn1 v0.4.1
[INFO] [stderr]    Compiling brotli v3.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.57
[INFO] [stderr]    Compiling pin-project-internal v1.1.4
[INFO] [stderr]    Compiling logos-derive v0.11.5
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling shaku_derive v0.5.0
[INFO] [stderr]    Compiling regex v1.10.3
[INFO] [stderr]    Compiling tokio v1.36.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling pem v0.8.3
[INFO] [stderr]    Compiling pin-project v1.1.4
[INFO] [stderr]    Compiling tungstenite v0.13.0
[INFO] [stderr]    Compiling shaku v0.5.0
[INFO] [stderr]    Compiling logos v0.11.4
[INFO] [stderr]    Compiling darpi-route v0.1.0
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling tokio-tungstenite v0.14.0
[INFO] [stderr]    Compiling async-compression v0.3.15
[INFO] [stderr]    Compiling h2 v0.3.24
[INFO] [stderr]    Compiling serde_yaml v0.8.26
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde-xml-rs v0.4.1
[INFO] [stderr]    Compiling jsonwebtoken v7.2.0
[INFO] [stderr]    Compiling darpi-code-gen v0.1.1-beta.1
[INFO] [stderr]    Compiling hyper v0.14.28
[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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 34.72s
[INFO] running `Command { std: "docker" "inspect" "fd31b284f0aa456fb21c23bc1361a3ccbf8003b4aabfcc0c517ccebca1f6e9ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd31b284f0aa456fb21c23bc1361a3ccbf8003b4aabfcc0c517ccebca1f6e9ba", kill_on_drop: false }`
[INFO] [stdout] fd31b284f0aa456fb21c23bc1361a3ccbf8003b4aabfcc0c517ccebca1f6e9ba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f0c3d0bfa04d9edc196b7396289ed3f2c6c3cbb563b07fa595766958a0bee1b2
[INFO] running `Command { std: "docker" "start" "-a" "f0c3d0bfa04d9edc196b7396289ed3f2c6c3cbb563b07fa595766958a0bee1b2", 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling darpi-middleware v0.1.0-beta.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.08s
[INFO] running `Command { std: "docker" "inspect" "f0c3d0bfa04d9edc196b7396289ed3f2c6c3cbb563b07fa595766958a0bee1b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0c3d0bfa04d9edc196b7396289ed3f2c6c3cbb563b07fa595766958a0bee1b2", kill_on_drop: false }`
[INFO] [stdout] f0c3d0bfa04d9edc196b7396289ed3f2c6c3cbb563b07fa595766958a0bee1b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6c94063155b93d01cb3d7daaed55371612c1a26dc8b5d45ef6e8755ae685c613
[INFO] running `Command { std: "docker" "start" "-a" "6c94063155b93d01cb3d7daaed55371612c1a26dc8b5d45ef6e8755ae685c613", 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)]` 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 [unoptimized + debuginfo] target(s) in 0.18s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/darpi_middleware-4de732db9c9cc7fa)
[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/compression.rs - compression::compress::compress (line 21) ... FAILED
[INFO] [stdout] test src/compression.rs - compression::decompress::decompress (line 103) ... FAILED
[INFO] [stdout] test src/auth.rs - auth::authorize<role>::authorize (line 33) ... FAILED
[INFO] [stdout] test src/lib.rs - body_size_limit::body_size_limit (line 15) ... FAILED
[INFO] [stdout] test src/auth.rs - auth::UserRole (line 70) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/compression.rs - compression::compress::compress (line 21) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/compression.rs:22:3
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[tokio::test]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `app` in this scope
[INFO] [stdout]  --> src/compression.rs:25:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |      app!({
[INFO] [stdout]   |      ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 3 |  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/compression.rs - compression::decompress::decompress (line 103) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/compression.rs:104:3
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[tokio::test]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `app` in this scope
[INFO] [stdout]  --> src/compression.rs:107:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |      app!({
[INFO] [stdout]   |      ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 3 |  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/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] 3 | #[handler(Container, [authorize(Role::Admin)])]
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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/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] 4 | async fn say_hello(#[path] p: Name, #[body] payload: Json<Name>) -> impl Responder {
[INFO] [stdout]   |                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: malformed `path` attribute input
[INFO] [stdout]  --> src/lib.rs:17:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] error: cannot find attribute `handler` in this scope
[INFO] [stdout]  --> src/lib.rs:16:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[handler([body_size_limit(64)])]
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 4 | 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] 4 | 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] 4 | 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] 2 + 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] 4 | 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] 4 | 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] 4 | 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] 2 + use darpi::response::Responder;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[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] 20 | impl UserRole for Role {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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] 21 |     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] 2  + use darpi_middleware::auth::Claims;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt`
[INFO] [stdout]   --> src/auth.rs:95:6
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl fmt::Display for Role {
[INFO] [stdout]    |      ^^^ use of undeclared crate or module `fmt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::fmt;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use serde::__private::fmt;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt`
[INFO] [stdout]   --> src/auth.rs:96:27
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
[INFO] [stdout]    |                           ^^^ use of undeclared crate or module `fmt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::fmt;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use serde::__private::fmt;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt`
[INFO] [stdout]   --> src/auth.rs:96:50
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
[INFO] [stdout]    |                                                  ^^^ use of undeclared crate or module `fmt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::fmt;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use serde::__private::fmt;
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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] 
[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.11s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "6c94063155b93d01cb3d7daaed55371612c1a26dc8b5d45ef6e8755ae685c613", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c94063155b93d01cb3d7daaed55371612c1a26dc8b5d45ef6e8755ae685c613", kill_on_drop: false }`
[INFO] [stdout] 6c94063155b93d01cb3d7daaed55371612c1a26dc8b5d45ef6e8755ae685c613
[INFO] testing darpi-middleware-0.1.0-beta.1 against beta-2024-02-10 for beta-1.77-1
[INFO] extracting crate darpi-middleware 0.1.0-beta.1 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate darpi-middleware 0.1.0-beta.1 on toolchain beta-2024-02-10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9f61859cad8c12694b02e6244985b05532930e3213ea2b1d4124e6c3fe8ca032
[INFO] running `Command { std: "docker" "start" "-a" "9f61859cad8c12694b02e6244985b05532930e3213ea2b1d4124e6c3fe8ca032", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9f61859cad8c12694b02e6244985b05532930e3213ea2b1d4124e6c3fe8ca032", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f61859cad8c12694b02e6244985b05532930e3213ea2b1d4124e6c3fe8ca032", kill_on_drop: false }`
[INFO] [stdout] 9f61859cad8c12694b02e6244985b05532930e3213ea2b1d4124e6c3fe8ca032
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 40ea69416cd0ed61953623548ef0bb908097d44579223778a78c2f32dfe14795
[INFO] running `Command { std: "docker" "start" "-a" "40ea69416cd0ed61953623548ef0bb908097d44579223778a78c2f32dfe14795", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling pkg-config v0.3.29
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling ryu v1.0.16
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling thiserror v1.0.57
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling http v0.2.11
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling utf8-ranges v1.0.5
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling beef v0.4.4
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling cc v1.0.85
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling chrono v0.4.34
[INFO] [stderr]    Compiling input_buffer v0.4.0
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling sha-1 v0.9.8
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling indexmap v2.2.3
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling zstd-sys v2.0.9+zstd.1.5.5
[INFO] [stderr]    Compiling lzma-sys v0.1.20
[INFO] [stderr]    Compiling bzip2-sys v0.1.11+1.0.8
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling xml-rs v0.8.19
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling sha1_smol v1.0.0
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling sha1 v0.6.1
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling tokio v0.3.7
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling anymap v0.12.1
[INFO] [stderr]    Compiling miniz_oxide v0.7.2
[INFO] [stderr]    Compiling rayon v1.8.1
[INFO] [stderr]    Compiling brotli-decompressor v2.5.1
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling pin-project-lite v0.1.12
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling xz2 v0.1.7
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling regex-automata v0.4.5
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling brotli v3.4.0
[INFO] [stderr]    Compiling bzip2 v0.4.4
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling simple_asn1 v0.4.1
[INFO] [stderr]    Compiling logos-derive v0.11.5
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling shaku_derive v0.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.57
[INFO] [stderr]    Compiling pin-project-internal v1.1.4
[INFO] [stderr]    Compiling tokio v1.36.0
[INFO] [stderr]    Compiling regex v1.10.3
[INFO] [stderr]    Compiling shaku v0.5.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling pin-project v1.1.4
[INFO] [stderr]    Compiling pem v0.8.3
[INFO] [stderr]    Compiling tungstenite v0.13.0
[INFO] [stderr]    Compiling logos v0.11.4
[INFO] [stderr]    Compiling darpi-route v0.1.0
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling tokio-tungstenite v0.14.0
[INFO] [stderr]    Compiling async-compression v0.3.15
[INFO] [stderr]    Compiling h2 v0.3.24
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_yaml v0.8.26
[INFO] [stderr]    Compiling serde-xml-rs v0.4.1
[INFO] [stderr]    Compiling jsonwebtoken v7.2.0
[INFO] [stderr]    Compiling darpi-code-gen v0.1.1-beta.1
[INFO] [stderr]    Compiling hyper v0.14.28
[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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 25.15s
[INFO] running `Command { std: "docker" "inspect" "40ea69416cd0ed61953623548ef0bb908097d44579223778a78c2f32dfe14795", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40ea69416cd0ed61953623548ef0bb908097d44579223778a78c2f32dfe14795", kill_on_drop: false }`
[INFO] [stdout] 40ea69416cd0ed61953623548ef0bb908097d44579223778a78c2f32dfe14795
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0b3d3475edc4667210026452d8471349ac1fa4e818dc6c6b40b611d74ff1fe26
[INFO] running `Command { std: "docker" "start" "-a" "0b3d3475edc4667210026452d8471349ac1fa4e818dc6c6b40b611d74ff1fe26", 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.34s
[INFO] running `Command { std: "docker" "inspect" "0b3d3475edc4667210026452d8471349ac1fa4e818dc6c6b40b611d74ff1fe26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0b3d3475edc4667210026452d8471349ac1fa4e818dc6c6b40b611d74ff1fe26", kill_on_drop: false }`
[INFO] [stdout] 0b3d3475edc4667210026452d8471349ac1fa4e818dc6c6b40b611d74ff1fe26
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] da958a6c73234b5754cae5a8e53d399f4e05fbda535bebbdb1520a7f30b11ef4
[INFO] running `Command { std: "docker" "start" "-a" "da958a6c73234b5754cae5a8e53d399f4e05fbda535bebbdb1520a7f30b11ef4", 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)]` 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 [unoptimized + debuginfo] target(s) in 0.17s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/darpi_middleware-e4faadce17e0f35f)
[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] [stderr]    Doc-tests darpi-middleware
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/auth.rs - auth::authorize<role>::authorize (line 33) ... 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] test src/auth.rs - auth::UserRole (line 70) - compile ... FAILED
[INFO] [stdout] test src/compression.rs - compression::compress::compress (line 21) ... 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] 3 | #[handler(Container, [authorize(Role::Admin)])]
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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/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] 4 | async fn say_hello(#[path] p: Name, #[body] payload: Json<Name>) -> impl Responder {
[INFO] [stdout]   |                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: malformed `path` attribute input
[INFO] [stdout]  --> src/lib.rs:17:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] error: cannot find attribute `handler` in this scope
[INFO] [stdout]  --> src/lib.rs:16:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[handler([body_size_limit(64)])]
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 4 | 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] 4 | 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] 4 | 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] 2 + 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] 4 | 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] 4 | 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] 4 | 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] 2 + use darpi::response::Responder;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412.
[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 undeclared crate or module `tokio`
[INFO] [stdout]  --> src/compression.rs:104:3
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[tokio::test]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `app` in this scope
[INFO] [stdout]  --> src/compression.rs:107:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |      app!({
[INFO] [stdout]   |      ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 3 |  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/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] 20 | impl UserRole for Role {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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] 21 |     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] 2  + use darpi_middleware::auth::Claims;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt`
[INFO] [stdout]   --> src/auth.rs:95:6
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl fmt::Display for Role {
[INFO] [stdout]    |      ^^^ use of undeclared crate or module `fmt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::fmt;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt`
[INFO] [stdout]   --> src/auth.rs:96:27
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
[INFO] [stdout]    |                           ^^^ use of undeclared crate or module `fmt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::fmt;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt`
[INFO] [stdout]   --> src/auth.rs:96:50
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
[INFO] [stdout]    |                                                  ^^^ use of undeclared crate or module `fmt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::fmt;
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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 undeclared crate or module `tokio`
[INFO] [stdout]  --> src/compression.rs:22:3
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[tokio::test]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `app` in this scope
[INFO] [stdout]  --> src/compression.rs:25:6
[INFO] [stdout]   |
[INFO] [stdout] 5 |      app!({
[INFO] [stdout]   |      ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 3 |  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.19s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "da958a6c73234b5754cae5a8e53d399f4e05fbda535bebbdb1520a7f30b11ef4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da958a6c73234b5754cae5a8e53d399f4e05fbda535bebbdb1520a7f30b11ef4", kill_on_drop: false }`
[INFO] [stdout] da958a6c73234b5754cae5a8e53d399f4e05fbda535bebbdb1520a7f30b11ef4
