[INFO] fetching crate webr-middleware 0.1.0-alpha.3...
[INFO] testing webr-middleware-0.1.0-alpha.3 against 1.100.0-beta.1 for beta-1.100-2
[INFO] extracting crate webr-middleware 0.1.0-alpha.3 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate webr-middleware 0.1.0-alpha.3 on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate webr-middleware 0.1.0-alpha.3 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 30bc1c69acf8530f7c360c374e2ba4fc4de64b0e1ab2db99d1092263d75e8b88
[INFO] running `Command { std: "docker" "start" "30bc1c69acf8530f7c360c374e2ba4fc4de64b0e1ab2db99d1092263d75e8b88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "30bc1c69acf8530f7c360c374e2ba4fc4de64b0e1ab2db99d1092263d75e8b88", kill_on_drop: false }`
[INFO] running `Command { std: "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" "30bc1c69acf8530f7c360c374e2ba4fc4de64b0e1ab2db99d1092263d75e8b88" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "30bc1c69acf8530f7c360c374e2ba4fc4de64b0e1ab2db99d1092263d75e8b88", kill_on_drop: false }`
[INFO] running `Command { std: "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" "30bc1c69acf8530f7c360c374e2ba4fc4de64b0e1ab2db99d1092263d75e8b88" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling bytes v1.12.0
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling smallvec v1.15.2
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling log v0.4.33
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling mio v1.2.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling socket2 v0.6.4
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling http v1.4.2
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling memchr v2.8.2
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling matchit v0.8.4
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling inventory v0.3.24
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[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 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 `dev` profile [unoptimized + debuginfo] target(s) in 54.99s
[INFO] running `Command { std: "docker" "inspect" "30bc1c69acf8530f7c360c374e2ba4fc4de64b0e1ab2db99d1092263d75e8b88", kill_on_drop: false }`
[INFO] running `Command { std: "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" "30bc1c69acf8530f7c360c374e2ba4fc4de64b0e1ab2db99d1092263d75e8b88" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling webr-middleware v0.1.0-alpha.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s
[INFO] running `Command { std: "docker" "inspect" "30bc1c69acf8530f7c360c374e2ba4fc4de64b0e1ab2db99d1092263d75e8b88", kill_on_drop: false }`
[INFO] running `Command { std: "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" "30bc1c69acf8530f7c360c374e2ba4fc4de64b0e1ab2db99d1092263d75e8b88" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/webr-middleware/034f2577d271b3db/out/webr_middleware-034f2577d271b3db)
[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/cached_body.rs - cached_body::CachedBodyMiddleware (line 19) ... FAILED
[INFO] [stdout] test src/auth.rs - auth::CurrentUser (line 127) ... FAILED
[INFO] [stdout] test src/auth.rs - auth::GuardMiddleware (line 198) ... FAILED
[INFO] [stdout] test src/auth.rs - auth::Authenticator (line 37) ... FAILED
[INFO] [stdout] test src/auth.rs - auth::AuthMiddleware (line 77) ... FAILED
[INFO] [stdout] test src/auth.rs - auth::Guard (line 164) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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::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::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::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] ---- 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/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] 
[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.20s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "30bc1c69acf8530f7c360c374e2ba4fc4de64b0e1ab2db99d1092263d75e8b88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30bc1c69acf8530f7c360c374e2ba4fc4de64b0e1ab2db99d1092263d75e8b88", kill_on_drop: false }`
[INFO] [stdout] 30bc1c69acf8530f7c360c374e2ba4fc4de64b0e1ab2db99d1092263d75e8b88
