[INFO] fetching crate webr-middleware 0.1.0-alpha.3...
[INFO] testing webr-middleware-0.1.0-alpha.3 against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate webr-middleware 0.1.0-alpha.3 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate webr-middleware 0.1.0-alpha.3
[INFO] finished tweaking crates.io crate webr-middleware 0.1.0-alpha.3
[INFO] tweaked toml for crates.io crate webr-middleware 0.1.0-alpha.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate webr-middleware 0.1.0-alpha.3 on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate crates.io crate webr-middleware 0.1.0-alpha.3 already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded webr-core v0.1.0-alpha.3
[INFO] [stderr]   Downloaded webr-web v0.1.0-alpha.3
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] bdf4cd4e391c563d0510547bdec3b4504d83d9c5249f6cecc79b526fd161e6e8
[INFO] running `"docker" "start" "bdf4cd4e391c563d0510547bdec3b4504d83d9c5249f6cecc79b526fd161e6e8"`
[INFO] running `"docker" "inspect" "bdf4cd4e391c563d0510547bdec3b4504d83d9c5249f6cecc79b526fd161e6e8"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bdf4cd4e391c563d0510547bdec3b4504d83d9c5249f6cecc79b526fd161e6e8" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "bdf4cd4e391c563d0510547bdec3b4504d83d9c5249f6cecc79b526fd161e6e8"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bdf4cd4e391c563d0510547bdec3b4504d83d9c5249f6cecc79b526fd161e6e8" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling axum-core v0.5.6
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling webr-core v0.1.0-alpha.3
[INFO] [stderr]    Compiling hyper v1.10.1
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling axum v0.8.9
[INFO] [stderr]    Compiling webr-web v0.1.0-alpha.3
[INFO] [stderr]    Compiling webr-middleware v0.1.0-alpha.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 46.37s
[INFO] running `"docker" "inspect" "bdf4cd4e391c563d0510547bdec3b4504d83d9c5249f6cecc79b526fd161e6e8"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bdf4cd4e391c563d0510547bdec3b4504d83d9c5249f6cecc79b526fd161e6e8" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling webr-middleware v0.1.0-alpha.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.70s
[INFO] running `"docker" "inspect" "bdf4cd4e391c563d0510547bdec3b4504d83d9c5249f6cecc79b526fd161e6e8"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bdf4cd4e391c563d0510547bdec3b4504d83d9c5249f6cecc79b526fd161e6e8" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--release"`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/webr-middleware/6d79203fa962f0f5/out/webr_middleware-6d79203fa962f0f5)
[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 webr_middleware
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test src/auth.rs - auth::CurrentUser (line 127) ... FAILED
[INFO] [stdout] test src/auth.rs - auth::AuthMiddleware (line 77) ... FAILED
[INFO] [stdout] test src/cached_body.rs - cached_body::CachedBodyMiddleware (line 19) ... FAILED
[INFO] [stdout] test src/auth.rs - auth::GuardMiddleware (line 198) ... FAILED
[INFO] [stdout] test src/auth.rs - auth::Guard (line 164) ... FAILED
[INFO] [stdout] test src/auth.rs - auth::Authenticator (line 37) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/auth.rs - auth::CurrentUser (line 127) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]    --> src/auth.rs:129:13
[INFO] [stdout]     |
[INFO] [stdout] 129 | async fn me(&self, CurrentUser(user): CurrentUser<MyUser>) -> webr::Json<MyUser> {
[INFO] [stdout]     |             ^^^^^ not semantically valid as function parameter
[INFO] [stdout]     |
[INFO] [stdout]     = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get` in this scope
[INFO] [stdout]    --> src/auth.rs:128:3
[INFO] [stdout]     |
[INFO] [stdout] 128 | #[get("/me")]
[INFO] [stdout]     |   ^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `CurrentUser` in this scope
[INFO] [stdout]    --> src/auth.rs:129:20
[INFO] [stdout]     |
[INFO] [stdout] 129 | async fn me(&self, CurrentUser(user): CurrentUser<MyUser>) -> webr::Json<MyUser> {
[INFO] [stdout]     |                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CurrentUser` in this scope
[INFO] [stdout]    --> src/auth.rs:129:39
[INFO] [stdout]     |
[INFO] [stdout] 129 | async fn me(&self, CurrentUser(user): CurrentUser<MyUser>) -> webr::Json<MyUser> {
[INFO] [stdout]     |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyUser` in this scope
[INFO] [stdout]    --> src/auth.rs:129:51
[INFO] [stdout]     |
[INFO] [stdout] 129 | async fn me(&self, CurrentUser(user): CurrentUser<MyUser>) -> webr::Json<MyUser> {
[INFO] [stdout]     |                                                   ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 129 | async fn me<MyUser>(&self, CurrentUser(user): CurrentUser<MyUser>) -> webr::Json<MyUser> {
[INFO] [stdout]     |            ++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyUser` in this scope
[INFO] [stdout]    --> src/auth.rs:129:74
[INFO] [stdout]     |
[INFO] [stdout] 129 | async fn me(&self, CurrentUser(user): CurrentUser<MyUser>) -> webr::Json<MyUser> {
[INFO] [stdout]     |                                                                          ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 129 | async fn me<MyUser>(&self, CurrentUser(user): CurrentUser<MyUser>) -> webr::Json<MyUser> {
[INFO] [stdout]     |            ++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `webr` in this scope
[INFO] [stdout]    --> src/auth.rs:130:5
[INFO] [stdout]     |
[INFO] [stdout] 130 |     webr::Json(user)
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `webr`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `webr`, use `cargo add webr` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `webr` in this scope
[INFO] [stdout]    --> src/auth.rs:129:63
[INFO] [stdout]     |
[INFO] [stdout] 129 | async fn me(&self, CurrentUser(user): CurrentUser<MyUser>) -> webr::Json<MyUser> {
[INFO] [stdout]     |                                                               ^^^^ use of unresolved module or unlinked crate `webr`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `webr`, use `cargo add webr` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0531.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/auth.rs - auth::AuthMiddleware (line 77) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `app` in this scope
[INFO] [stdout]   --> src/auth.rs:79:1
[INFO] [stdout]    |
[INFO] [stdout] 79 | app.middleware(AuthMiddleware::new(JwtAuth));
[INFO] [stdout]    | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JwtAuth` in this scope
[INFO] [stdout]   --> src/auth.rs:79:36
[INFO] [stdout]    |
[INFO] [stdout] 79 | app.middleware(AuthMiddleware::new(JwtAuth));
[INFO] [stdout]    |                                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `app` in this scope
[INFO] [stdout]   --> src/auth.rs:82:1
[INFO] [stdout]    |
[INFO] [stdout] 82 | app.middleware_except("/login", AuthMiddleware::new(JwtAuth));
[INFO] [stdout]    | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JwtAuth` in this scope
[INFO] [stdout]   --> src/auth.rs:82:53
[INFO] [stdout]    |
[INFO] [stdout] 82 | app.middleware_except("/login", AuthMiddleware::new(JwtAuth));
[INFO] [stdout]    |                                                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `app` in this scope
[INFO] [stdout]   --> src/auth.rs:85:1
[INFO] [stdout]    |
[INFO] [stdout] 85 | app.middleware(CachedBodyMiddleware);
[INFO] [stdout]    | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CachedBodyMiddleware` in this scope
[INFO] [stdout]   --> src/auth.rs:85:16
[INFO] [stdout]    |
[INFO] [stdout] 85 | app.middleware(CachedBodyMiddleware);
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `app` in this scope
[INFO] [stdout]   --> src/auth.rs:86:1
[INFO] [stdout]    |
[INFO] [stdout] 86 | app.middleware(AuthMiddleware::new(WebhookAuth));
[INFO] [stdout]    | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WebhookAuth` in this scope
[INFO] [stdout]   --> src/auth.rs:86:36
[INFO] [stdout]    |
[INFO] [stdout] 86 | app.middleware(AuthMiddleware::new(WebhookAuth));
[INFO] [stdout]    |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `AuthMiddleware` in this scope
[INFO] [stdout]   --> src/auth.rs:79:16
[INFO] [stdout]    |
[INFO] [stdout] 79 | app.middleware(AuthMiddleware::new(JwtAuth));
[INFO] [stdout]    |                ^^^^^^^^^^^^^^ use of undeclared type `AuthMiddleware`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `AuthMiddleware` in this scope
[INFO] [stdout]   --> src/auth.rs:82:33
[INFO] [stdout]    |
[INFO] [stdout] 82 | app.middleware_except("/login", AuthMiddleware::new(JwtAuth));
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^ use of undeclared type `AuthMiddleware`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `AuthMiddleware` in this scope
[INFO] [stdout]   --> src/auth.rs:86:16
[INFO] [stdout]    |
[INFO] [stdout] 86 | app.middleware(AuthMiddleware::new(WebhookAuth));
[INFO] [stdout]    |                ^^^^^^^^^^^^^^ use of undeclared type `AuthMiddleware`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/cached_body.rs - cached_body::CachedBodyMiddleware (line 19) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `app` in this scope
[INFO] [stdout]   --> src/cached_body.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | app.middleware(CachedBodyMiddleware);
[INFO] [stdout]    | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CachedBodyMiddleware` in this scope
[INFO] [stdout]   --> src/cached_body.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 | app.middleware(CachedBodyMiddleware);
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/auth.rs - auth::GuardMiddleware (line 198) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `app` in this scope
[INFO] [stdout]    --> src/auth.rs:199:1
[INFO] [stdout]     |
[INFO] [stdout] 199 | app.middleware_for("/admin/**", GuardMiddleware::new(AdminGuard));
[INFO] [stdout]     | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `AdminGuard` in this scope
[INFO] [stdout]    --> src/auth.rs:199:54
[INFO] [stdout]     |
[INFO] [stdout] 199 | app.middleware_for("/admin/**", GuardMiddleware::new(AdminGuard));
[INFO] [stdout]     |                                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `GuardMiddleware` in this scope
[INFO] [stdout]    --> src/auth.rs:199:33
[INFO] [stdout]     |
[INFO] [stdout] 199 | app.middleware_for("/admin/**", GuardMiddleware::new(AdminGuard));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ use of undeclared type `GuardMiddleware`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/auth.rs - auth::Guard (line 164) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Guard` in this scope
[INFO] [stdout]    --> src/auth.rs:168:6
[INFO] [stdout]     |
[INFO] [stdout] 168 | impl Guard for AdminGuard {
[INFO] [stdout]     |      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Request` in this scope
[INFO] [stdout]    --> src/auth.rs:169:33
[INFO] [stdout]     |
[INFO] [stdout] 169 |     async fn check(&self, req: &Request) -> Result<(), Error> {
[INFO] [stdout]     |                                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Error` in this scope
[INFO] [stdout]    --> src/auth.rs:169:56
[INFO] [stdout]     |
[INFO] [stdout] 169 |     async fn check(&self, req: &Request) -> Result<(), Error> {
[INFO] [stdout]     |                                                        ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 164 + use std::error::Error;
[INFO] [stdout]     |
[INFO] [stdout] 164 + use std::fmt::Error;
[INFO] [stdout]     |
[INFO] [stdout] 164 + use std::io::Error;
[INFO] [stdout]     |
[INFO] [stdout] 164 + use core::error::Error;
[INFO] [stdout]     |
[INFO] [stdout]     = and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyUser` in this scope
[INFO] [stdout]    --> src/auth.rs:170:43
[INFO] [stdout]     |
[INFO] [stdout] 170 |         let user = req.extensions().get::<MyUser>()
[INFO] [stdout]     |                                           ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 168 | impl<MyUser> Guard for AdminGuard {
[INFO] [stdout]     |     ++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Error` in this scope
[INFO] [stdout]    --> src/auth.rs:171:28
[INFO] [stdout]     |
[INFO] [stdout] 171 |             .ok_or_else(|| Error::Http {
[INFO] [stdout]     |                            ^^^^^ use of undeclared type `Error`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 164 + use std::error::Error;
[INFO] [stdout]     |
[INFO] [stdout] 164 + use std::fmt::Error;
[INFO] [stdout]     |
[INFO] [stdout] 164 + use std::io::Error;
[INFO] [stdout]     |
[INFO] [stdout] 164 + use core::error::Error;
[INFO] [stdout]     |
[INFO] [stdout]     = and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Error` in this scope
[INFO] [stdout]    --> src/auth.rs:178:17
[INFO] [stdout]     |
[INFO] [stdout] 178 |             Err(Error::Http {
[INFO] [stdout]     |                 ^^^^^ use of undeclared type `Error`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 164 + use std::error::Error;
[INFO] [stdout]     |
[INFO] [stdout] 164 + use std::fmt::Error;
[INFO] [stdout]     |
[INFO] [stdout] 164 + use std::io::Error;
[INFO] [stdout]     |
[INFO] [stdout] 164 + use core::error::Error;
[INFO] [stdout]     |
[INFO] [stdout]     = and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `StatusCode` in this scope
[INFO] [stdout]    --> src/auth.rs:172:25
[INFO] [stdout]     |
[INFO] [stdout] 172 |                 status: StatusCode::UNAUTHORIZED,
[INFO] [stdout]     |                         ^^^^^^^^^^ use of undeclared type `StatusCode`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `StatusCode` in this scope
[INFO] [stdout]    --> src/auth.rs:179:25
[INFO] [stdout]     |
[INFO] [stdout] 179 |                 status: StatusCode::FORBIDDEN,
[INFO] [stdout]     |                         ^^^^^^^^^^ use of undeclared type `StatusCode`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433.
[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::Authenticator (line 37) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Authenticator` in this scope
[INFO] [stdout]   --> src/auth.rs:41:6
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl Authenticator for JwtAuth {
[INFO] [stdout]    |      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyUser` in this scope
[INFO] [stdout]   --> src/auth.rs:42:21
[INFO] [stdout]    |
[INFO] [stdout] 42 |     type Identity = MyUser;
[INFO] [stdout]    |                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HeaderMap` in this scope
[INFO] [stdout]   --> src/auth.rs:46:19
[INFO] [stdout]    |
[INFO] [stdout] 46 |         headers: &HeaderMap,
[INFO] [stdout]    |                   ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Bytes` in this scope
[INFO] [stdout]   --> src/auth.rs:47:23
[INFO] [stdout]    |
[INFO] [stdout] 47 |         body: Option<&Bytes>,
[INFO] [stdout]    |                       ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 37 + use std::io::Bytes;
[INFO] [stdout]    |
[INFO] [stdout] 37 + use std::str::Bytes;
[INFO] [stdout]    |
[INFO] [stdout] 37 + use core::str::Bytes;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `MyUser` in this scope
[INFO] [stdout]   --> src/auth.rs:48:17
[INFO] [stdout]    |
[INFO] [stdout] 48 |     ) -> Result<MyUser, AuthError> {
[INFO] [stdout]    |                 ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl<MyUser> Authenticator for JwtAuth {
[INFO] [stdout]    |     ++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `AuthError` in this scope
[INFO] [stdout]   --> src/auth.rs:48:25
[INFO] [stdout]    |
[INFO] [stdout] 48 |     ) -> Result<MyUser, AuthError> {
[INFO] [stdout]    |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl<AuthError> Authenticator for JwtAuth {
[INFO] [stdout]    |     +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `AuthError` in this scope
[INFO] [stdout]   --> src/auth.rs:51:28
[INFO] [stdout]    |
[INFO] [stdout] 51 |             .ok_or_else(|| AuthError::new("Missing token"))?;
[INFO] [stdout]    |                            ^^^^^^^^^ use of undeclared type `AuthError`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `AuthError` in this scope
[INFO] [stdout]   --> src/auth.rs:52:39
[INFO] [stdout]    |
[INFO] [stdout] 52 |         decode_jwt(token).map_err(|e| AuthError::new(e.to_string()))
[INFO] [stdout]    |                                       ^^^^^^^^^ use of undeclared type `AuthError`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `decode_jwt` in this scope
[INFO] [stdout]   --> src/auth.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |         decode_jwt(token).map_err(|e| AuthError::new(e.to_string()))
[INFO] [stdout]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, 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::AuthMiddleware (line 77)
[INFO] [stdout]     src/auth.rs - auth::Authenticator (line 37)
[INFO] [stdout]     src/auth.rs - auth::CurrentUser (line 127)
[INFO] [stdout]     src/auth.rs - auth::Guard (line 164)
[INFO] [stdout]     src/auth.rs - auth::GuardMiddleware (line 198)
[INFO] [stdout]     src/cached_body.rs - cached_body::CachedBodyMiddleware (line 19)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `"docker" "inspect" "bdf4cd4e391c563d0510547bdec3b4504d83d9c5249f6cecc79b526fd161e6e8"`
[INFO] running `"docker" "rm" "-f" "bdf4cd4e391c563d0510547bdec3b4504d83d9c5249f6cecc79b526fd161e6e8"`
[INFO] [stdout] bdf4cd4e391c563d0510547bdec3b4504d83d9c5249f6cecc79b526fd161e6e8
