[INFO] fetching crate axum_session_auth 0.14.0...
[INFO] testing axum_session_auth-0.14.0 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate axum_session_auth 0.14.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate axum_session_auth 0.14.0 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate axum_session_auth 0.14.0
[INFO] finished tweaking crates.io crate axum_session_auth 0.14.0
[INFO] tweaked toml for crates.io crate axum_session_auth 0.14.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 170 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding base64 v0.21.7 (latest: v0.22.1)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding getrandom v0.1.16 (latest: v0.2.15)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding matchit v0.7.3 (latest: v0.8.2)
[INFO] [stderr]       Adding nonempty v0.7.0 (latest: v0.10.0)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding rand v0.7.3 (latest: v0.8.5)
[INFO] [stderr]       Adding rand_chacha v0.2.2 (latest: v0.3.1)
[INFO] [stderr]       Adding rand_core v0.5.1 (latest: v0.6.4)
[INFO] [stderr]       Adding rand_hc v0.2.0 (latest: v0.3.2)
[INFO] [stderr]       Adding sync_wrapper v0.1.2 (latest: v1.0.1)
[INFO] [stderr]       Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding windows-core v0.52.0 (latest: v0.56.0)
[INFO] [stderr]       Adding windows-sys v0.48.0 (latest: v0.52.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cuckoofilter v0.5.0
[INFO] [stderr]   Downloaded xorfilter-rs v0.5.1
[INFO] [stderr]   Downloaded fastmurmur3 v0.2.0
[INFO] [stderr]   Downloaded fastbloom-rs v0.5.9
[INFO] [stderr]   Downloaded nonempty v0.7.0
[INFO] [stderr]   Downloaded universal-hash v0.5.1
[INFO] [stderr]   Downloaded forwarded-header-value v0.1.1
[INFO] [stderr]   Downloaded polyval v0.6.2
[INFO] [stderr]   Downloaded sync_wrapper v1.0.1
[INFO] [stderr]   Downloaded axum-core v0.4.3
[INFO] [stderr]   Downloaded ctr v0.9.2
[INFO] [stderr]   Downloaded axum v0.7.5
[INFO] [stderr]   Downloaded aead v0.5.2
[INFO] [stderr]   Downloaded aes-gcm v0.10.3
[INFO] [stderr]   Downloaded ghash v0.5.1
[INFO] [stderr]   Downloaded xxhash-rust v0.8.10
[INFO] [stderr]   Downloaded axum_session v0.14.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 292ee233cb799140408eb7b09ca5310af88a0d2b9d1a17c155dbcab6b4eb105a
[INFO] running `Command { std: "docker" "start" "-a" "292ee233cb799140408eb7b09ca5310af88a0d2b9d1a17c155dbcab6b4eb105a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "292ee233cb799140408eb7b09ca5310af88a0d2b9d1a17c155dbcab6b4eb105a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "292ee233cb799140408eb7b09ca5310af88a0d2b9d1a17c155dbcab6b4eb105a", kill_on_drop: false }`
[INFO] [stdout] 292ee233cb799140408eb7b09ca5310af88a0d2b9d1a17c155dbcab6b4eb105a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b3ba9353e0f1fda68a6b55ff2bddbdf37dbaffb8d8f63bdfe58d3e55590e333c
[INFO] running `Command { std: "docker" "start" "-a" "b3ba9353e0f1fda68a6b55ff2bddbdf37dbaffb8d8f63bdfe58d3e55590e333c", kill_on_drop: false }`
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling axum-core v0.4.3
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling polyval v0.6.2
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling ghash v0.5.1
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling axum v0.7.5
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling nonempty v0.7.0
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling forwarded-header-value v0.1.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling async-recursion v1.1.1
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling serde_path_to_error v0.1.16
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling uuid v1.8.0
[INFO] [stderr]    Compiling hyper v1.3.1
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling hyper-util v0.1.4
[INFO] [stderr]    Compiling axum_session v0.14.0
[INFO] [stderr]    Compiling axum_session_auth v0.14.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.78s
[INFO] running `Command { std: "docker" "inspect" "b3ba9353e0f1fda68a6b55ff2bddbdf37dbaffb8d8f63bdfe58d3e55590e333c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b3ba9353e0f1fda68a6b55ff2bddbdf37dbaffb8d8f63bdfe58d3e55590e333c", kill_on_drop: false }`
[INFO] [stdout] b3ba9353e0f1fda68a6b55ff2bddbdf37dbaffb8d8f63bdfe58d3e55590e333c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7ba5461ac114b7ff47a27c59520eae8725c83b90b9fdc59b09e17c259e898e41
[INFO] running `Command { std: "docker" "start" "-a" "7ba5461ac114b7ff47a27c59520eae8725c83b90b9fdc59b09e17c259e898e41", kill_on_drop: false }`
[INFO] [stderr]    Compiling axum_session_auth v0.14.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.32s
[INFO] running `Command { std: "docker" "inspect" "7ba5461ac114b7ff47a27c59520eae8725c83b90b9fdc59b09e17c259e898e41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ba5461ac114b7ff47a27c59520eae8725c83b90b9fdc59b09e17c259e898e41", kill_on_drop: false }`
[INFO] [stdout] 7ba5461ac114b7ff47a27c59520eae8725c83b90b9fdc59b09e17c259e898e41
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 96f12c299582b9be7cd71f7fdfab4e2b31f02dd87413abb04b682fa5556ff565
[INFO] running `Command { std: "docker" "start" "-a" "96f12c299582b9be7cd71f7fdfab4e2b31f02dd87413abb04b682fa5556ff565", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/axum_session_auth-f71b6bef56fee44e)
[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 axum_session_auth
[INFO] [stdout] 
[INFO] [stdout] running 19 tests
[INFO] [stdout] test src/auth.rs - auth::Auth (line 117) - compile ... FAILED
[INFO] [stdout] test src/auth.rs - auth::Auth<User,Type,Pool>::build (line 153) - compile ... FAILED
[INFO] [stdout] test src/auth.rs - auth::Auth<User,Type,Pool>::validate (line 206) - compile ... FAILED
[INFO] [stdout] test src/auth.rs - auth::Auth<User,Type,Pool>::requires (line 183) - compile ... FAILED
[INFO] [stdout] test src/config.rs - config::AuthConfig<Type>::with_max_age (line 91) ... FAILED
[INFO] [stdout] test src/layer.rs - layer::AuthSessionLayer<User,Type,Sess,Pool>::new (line 37) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::cache_clear_user (line 147) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::cache_clear_all (line 158) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_active (line 96) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_anonymous (line 110) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::login_user (line 135) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_authenticated (line 82) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 55) ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::logout_user (line 169) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::remember_user (line 124) - compile ... FAILED
[INFO] [stdout] test src/config.rs - config::AuthConfig (line 9) ... ok
[INFO] [stdout] test src/config.rs - config::AuthConfig<Type>::set_cache (line 58) ... ok
[INFO] [stdout] test src/config.rs - config::AuthConfig<Type>::with_session_id (line 107) ... ok
[INFO] [stdout] test src/config.rs - config::AuthConfig<Type>::with_anonymous_user_id (line 74) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/auth.rs - auth::Auth (line 117) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Auth`
[INFO] [stdout]  --> src/auth.rs:118:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |     ^^^^ use of undeclared type `Auth`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Auth;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `User` in this scope
[INFO] [stdout]  --> src/auth.rs:118:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |            ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_117_0<User>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pool` in this scope
[INFO] [stdout]  --> src/auth.rs:118:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, bool>::build([Method::POST], true)
[INFO] [stdout]   |                       ~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_117_0<Pool>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method`
[INFO] [stdout]  --> src/auth.rs:118:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |                                     ^^^^^^ use of undeclared type `Method`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use http::Method;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:119:15
[INFO] [stdout]   |
[INFO] [stdout] 4 |     .requires(Rights::all([
[INFO] [stdout]   |               ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |         Rights::permission("admin:view"),
[INFO] [stdout]   |         ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:121:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         Rights::permission("form:editreports"),
[INFO] [stdout]   |         ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `current_user` in this scope
[INFO] [stdout]  --> src/auth.rs:123:16
[INFO] [stdout]   |
[INFO] [stdout] 8 |     .validate(&current_user, &state.method, None)
[INFO] [stdout]   |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `state` in this scope
[INFO] [stdout]  --> src/auth.rs:123:31
[INFO] [stdout]   |
[INFO] [stdout] 8 |     .validate(&current_user, &state.method, None)
[INFO] [stdout]   |                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `state` in this scope
[INFO] [stdout]   --> src/auth.rs:126:24
[INFO] [stdout]    |
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/auth.rs:124:6
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_117_0() {
[INFO] [stdout]   |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 |     .await
[INFO] [stdout]   |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/auth.rs:126:31
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_117_0() {
[INFO] [stdout]    |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `handler_404` in this scope
[INFO] [stdout]   --> src/auth.rs:126:12
[INFO] [stdout]    |
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/auth.rs - auth::Auth<User,Type,Pool>::build (line 153) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Auth`
[INFO] [stdout]  --> src/auth.rs:154:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |     ^^^^ use of undeclared type `Auth`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Auth;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `User` in this scope
[INFO] [stdout]  --> src/auth.rs:154:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |            ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_153_0<User>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pool` in this scope
[INFO] [stdout]  --> src/auth.rs:154:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, bool>::build([Method::POST], true)
[INFO] [stdout]   |                       ~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_153_0<Pool>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method`
[INFO] [stdout]  --> src/auth.rs:154:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |                                     ^^^^^^ use of undeclared type `Method`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use http::Method;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:155:15
[INFO] [stdout]   |
[INFO] [stdout] 4 |     .requires(Rights::all([
[INFO] [stdout]   |               ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:156:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |         Rights::permission("admin:view"),
[INFO] [stdout]   |         ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:157:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         Rights::permission("form:editreports"),
[INFO] [stdout]   |         ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `current_user` in this scope
[INFO] [stdout]  --> src/auth.rs:159:16
[INFO] [stdout]   |
[INFO] [stdout] 8 |     .validate(&current_user, &state.method, None)
[INFO] [stdout]   |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `state` in this scope
[INFO] [stdout]  --> src/auth.rs:159:31
[INFO] [stdout]   |
[INFO] [stdout] 8 |     .validate(&current_user, &state.method, None)
[INFO] [stdout]   |                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `state` in this scope
[INFO] [stdout]   --> src/auth.rs:162:24
[INFO] [stdout]    |
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/auth.rs:160:6
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_153_0() {
[INFO] [stdout]   |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 |     .await
[INFO] [stdout]   |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/auth.rs:162:31
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_153_0() {
[INFO] [stdout]    |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `handler_404` in this scope
[INFO] [stdout]   --> src/auth.rs:162:12
[INFO] [stdout]    |
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/auth.rs - auth::Auth<User,Type,Pool>::validate (line 206) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Auth`
[INFO] [stdout]  --> src/auth.rs:207:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |     ^^^^ use of undeclared type `Auth`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Auth;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `User` in this scope
[INFO] [stdout]  --> src/auth.rs:207:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |            ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_206_0<User>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pool` in this scope
[INFO] [stdout]  --> src/auth.rs:207:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, bool>::build([Method::POST], true)
[INFO] [stdout]   |                       ~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_206_0<Pool>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method`
[INFO] [stdout]  --> src/auth.rs:207:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |                                     ^^^^^^ use of undeclared type `Method`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use http::Method;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:208:15
[INFO] [stdout]   |
[INFO] [stdout] 4 |     .requires(Rights::all([
[INFO] [stdout]   |               ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:209:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |         Rights::permission("admin:view"),
[INFO] [stdout]   |         ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:210:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         Rights::permission("form:editreports"),
[INFO] [stdout]   |         ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `current_user` in this scope
[INFO] [stdout]  --> src/auth.rs:212:16
[INFO] [stdout]   |
[INFO] [stdout] 8 |     .validate(&current_user, &state.method, None)
[INFO] [stdout]   |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `state` in this scope
[INFO] [stdout]  --> src/auth.rs:212:31
[INFO] [stdout]   |
[INFO] [stdout] 8 |     .validate(&current_user, &state.method, None)
[INFO] [stdout]   |                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `state` in this scope
[INFO] [stdout]   --> src/auth.rs:215:24
[INFO] [stdout]    |
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/auth.rs:213:6
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_206_0() {
[INFO] [stdout]   |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 |     .await
[INFO] [stdout]   |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/auth.rs:215:31
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_206_0() {
[INFO] [stdout]    |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `handler_404` in this scope
[INFO] [stdout]   --> src/auth.rs:215:12
[INFO] [stdout]    |
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/auth.rs - auth::Auth<User,Type,Pool>::requires (line 183) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Auth`
[INFO] [stdout]  --> src/auth.rs:184:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |     ^^^^ use of undeclared type `Auth`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Auth;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `User` in this scope
[INFO] [stdout]  --> src/auth.rs:184:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |            ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_183_0<User>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pool` in this scope
[INFO] [stdout]  --> src/auth.rs:184:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, bool>::build([Method::POST], true)
[INFO] [stdout]   |                       ~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_183_0<Pool>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method`
[INFO] [stdout]  --> src/auth.rs:184:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |                                     ^^^^^^ use of undeclared type `Method`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use http::Method;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:185:15
[INFO] [stdout]   |
[INFO] [stdout] 4 |     .requires(Rights::all([
[INFO] [stdout]   |               ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:186:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |         Rights::permission("admin:view"),
[INFO] [stdout]   |         ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:187:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         Rights::permission("form:editreports"),
[INFO] [stdout]   |         ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `current_user` in this scope
[INFO] [stdout]  --> src/auth.rs:189:16
[INFO] [stdout]   |
[INFO] [stdout] 8 |     .validate(&current_user, &state.method, None)
[INFO] [stdout]   |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `state` in this scope
[INFO] [stdout]  --> src/auth.rs:189:31
[INFO] [stdout]   |
[INFO] [stdout] 8 |     .validate(&current_user, &state.method, None)
[INFO] [stdout]   |                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `state` in this scope
[INFO] [stdout]   --> src/auth.rs:192:24
[INFO] [stdout]    |
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/auth.rs:190:6
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_183_0() {
[INFO] [stdout]   |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 |     .await
[INFO] [stdout]   |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/auth.rs:192:31
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_183_0() {
[INFO] [stdout]    |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `handler_404` in this scope
[INFO] [stdout]   --> src/auth.rs:192:12
[INFO] [stdout]    |
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/config.rs - config::AuthConfig<Type>::with_max_age (line 91) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/config.rs:96:56
[INFO] [stdout]    |
[INFO] [stdout] 8  | let config = AuthConfig::<i64>::default().with_max_age(Some(Duration::days(2)));
[INFO] [stdout]    |                                           ------------ ^^^^^^^^^^^^^^^^^^^^^^^ expected `TimeDelta`, found `Option<TimeDelta>`
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `TimeDelta`
[INFO] [stdout]                 found enum `Option<TimeDelta>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/config.rs:99:12
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn with_max_age(mut self, time: Duration) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/layer.rs - layer::AuthSessionLayer<User,Type,Sess,Pool>::new (line 37) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthSessionLayer`
[INFO] [stdout]  --> src/layer.rs:38:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let layer = AuthSessionLayer::<User, i64, Sess, Pool>::new(None);
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^ use of undeclared type `AuthSessionLayer`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::AuthSessionLayer;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `User` in this scope
[INFO] [stdout]  --> src/layer.rs:38:32
[INFO] [stdout]   |
[INFO] [stdout] 3 | let layer = AuthSessionLayer::<User, i64, Sess, Pool>::new(None);
[INFO] [stdout]   |                                ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_layer_rs_37_0<User>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Sess` in this scope
[INFO] [stdout]  --> src/layer.rs:38:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | let layer = AuthSessionLayer::<User, i64, Sess, Pool>::new(None);
[INFO] [stdout]   |                                           ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_layer_rs_37_0<Sess>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pool` in this scope
[INFO] [stdout]  --> src/layer.rs:38:49
[INFO] [stdout]   |
[INFO] [stdout] 3 | let layer = AuthSessionLayer::<User, i64, Sess, Pool>::new(None);
[INFO] [stdout]   |                                                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 3 | let layer = AuthSessionLayer::<User, i64, Sess, bool>::new(None);
[INFO] [stdout]   |                                                 ~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_layer_rs_37_0<Pool>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/session.rs - session::AuthSession<User,Type,Sess,Pool>::cache_clear_user (line 147) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:148:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.cache_clear_user(user.id);
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `user` in this scope
[INFO] [stdout]  --> src/session.rs:148:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.cache_clear_user(user.id);
[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/session.rs - session::AuthSession<User,Type,Sess,Pool>::cache_clear_all (line 158) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:159:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.cache_clear_all();
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_active (line 96) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:97:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.is_active();
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_anonymous (line 110) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:111:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.is_anonymous();
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/session.rs - session::AuthSession<User,Type,Sess,Pool>::login_user (line 135) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:136:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.login_user(user.id);
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `user` in this scope
[INFO] [stdout]  --> src/session.rs:136:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.login_user(user.id);
[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/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_authenticated (line 82) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:83:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.is_authenticated();
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 55) stdout ----
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> src/lib.rs:127:73
[INFO] [stdout]    |
[INFO] [stdout] 74 |         return format!("No Permissions! for {}", current_user.username)[];
[INFO] [stdout]    |                                                                         ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx`
[INFO] [stdout]  --> src/lib.rs:57:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::{PgPool, ConnectOptions, postgres::{PgPoolOptions, PgConnectOptions}};
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `sqlx`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sqlx`
[INFO] [stdout]  --> src/lib.rs:57:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::{PgPool, ConnectOptions, postgres::{PgPoolOptions, PgConnectOptions}};
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `sqlx`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `axum_session_sqlx`
[INFO] [stdout]  --> src/lib.rs:61:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use axum_session_sqlx::SessionPgPool;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `axum_session_sqlx`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 8 | use axum_session_auth::SessionPgPool;
[INFO] [stdout]   |     ~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `axum`
[INFO] [stdout]  --> src/lib.rs:62:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use axum::{
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `axum`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `axum`
[INFO] [stdout]  --> src/lib.rs:62:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use axum::{
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `axum`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `async_trait` in this scope
[INFO] [stdout]    --> src/lib.rs:156:3
[INFO] [stdout]     |
[INFO] [stdout] 103 | #[async_trait]
[INFO] [stdout]     |   ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `async_trait` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 4   + use async_trait::async_trait;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `async_trait` in this scope
[INFO] [stdout]    --> src/lib.rs:167:3
[INFO] [stdout]     |
[INFO] [stdout] 114 | #[async_trait]
[INFO] [stdout]     |   ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `async_trait` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 4   + use async_trait::async_trait;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `axum`
[INFO] [stdout]   --> src/lib.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         axum::Server::bind(&addr)
[INFO] [stdout]    |         ^^^^ use of undeclared crate or module `axum`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SessionStore`
[INFO] [stdout]   --> src/lib.rs:76:29
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let session_store = SessionStore::<SessionPgPool>::new(Some(poll.clone().into()), session_config);
[INFO] [stdout]    |                             ^^^^^^^^^^^^ use of undeclared type `SessionStore`
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let session_store = SessionLayer::<SessionPgPool>::new(Some(poll.clone().into()), session_config);
[INFO] [stdout]    |                             ~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use axum_session::SessionStore;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Method` in this scope
[INFO] [stdout]   --> src/lib.rs:96:24
[INFO] [stdout]    |
[INFO] [stdout] 43 | async fn greet(method: Method, auth: AuthSession<User, i64, SessionPgPool, PgPool>) -> &'static str {
[INFO] [stdout]    |                        ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use http::Method;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Auth`
[INFO] [stdout]   --> src/lib.rs:116:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     if !Auth::<User, i64, PgPool>::build([Method::Get], false)
[INFO] [stdout]    |         ^^^^ use of undeclared type `Auth`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use axum_session_auth::Auth;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method`
[INFO] [stdout]   --> src/lib.rs:116:43
[INFO] [stdout]    |
[INFO] [stdout] 63 |     if !Auth::<User, i64, PgPool>::build([Method::Get], false)
[INFO] [stdout]    |                                           ^^^^^^ use of undeclared type `Method`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use http::Method;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]   --> src/lib.rs:118:19
[INFO] [stdout]    |
[INFO] [stdout] 65 |         .requires(Rights::none([
[INFO] [stdout]    |                   ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 4  + use axum_session_auth::Rights;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]   --> src/lib.rs:119:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |             Rights::permission("Token::UseAdmin"),
[INFO] [stdout]    |             ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 4  + use axum_session_auth::Rights;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]   --> src/lib.rs:120:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |             Rights::permission("Token::ModifyPerms"),
[INFO] [stdout]    |             ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 4  + use axum_session_auth::Rights;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `if` and `else` have incompatible types
[INFO] [stdout]   --> src/lib.rs:144:9
[INFO] [stdout]    |
[INFO] [stdout] 78 | /     if !auth.is_authenticated() {
[INFO] [stdout] 79 | |         // Set the user ID of the User to the Session so it can be Auto Loaded the next load or redirect
[INFO] [stdout] 80 | |         auth.login_user(2);
[INFO] [stdout] 81 | |         // Set the session to be long term. Good for Remember me type instances.
[INFO] [stdout] ...  |
[INFO] [stdout] 86 | |         "You have Logged in! Please Refresh the page to display the username and counter."
[INFO] [stdout]    | |         ---------------------------------------------------------------------------------- expected because of this
[INFO] [stdout] ...  |
[INFO] [stdout] 91 | |         format!("{}-{}", current_user.username, count)[..]
[INFO] [stdout]    | |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `str`
[INFO] [stdout] 92 | |     };
[INFO] [stdout]    | |_____- `if` and `else` have incompatible types
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 91 |         &format!("{}-{}", current_user.username, count)[..]
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:96:101
[INFO] [stdout]    |
[INFO] [stdout] 43 |   async fn greet(method: Method, auth: AuthSession<User, i64, SessionPgPool, PgPool>) -> &'static str {
[INFO] [stdout]    |  _____________________________________________________________________________________________________^
[INFO] [stdout] 44 | |     let mut count: usize = auth.session.get("count").unwrap_or(0);
[INFO] [stdout] 45 | |
[INFO] [stdout] 46 | |     // We will get the user if not, then a guest which should be our default.
[INFO] [stdout] ...  |
[INFO] [stdout] 92 | |     };
[INFO] [stdout] 93 | | }
[INFO] [stdout]    | |_^ expected `&str`, found `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:171:64
[INFO] [stdout]     |
[INFO] [stdout] 118 |     async fn load_user(userid: i64, _pool: Option<&PgPool>) -> Result<User> {
[INFO] [stdout]     |                                                                ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]     |                                                                |
[INFO] [stdout]     |                                                                expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 118 |     async fn load_user(userid: i64, _pool: Option<&PgPool>) -> Result<User, E> {
[INFO] [stdout]     |                                                                           +++
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:173:17
[INFO] [stdout]     |
[INFO] [stdout] 120 |             id: userid,
[INFO] [stdout]     |                 ^^^^^^ expected `i32`, found `i64`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `with_database` found for struct `SessionConfig` in the current scope
[INFO] [stdout]   --> src/lib.rs:73:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |           let session_config = SessionConfig::default()
[INFO] [stdout]    |  ______________________________-
[INFO] [stdout] 20 | |             .with_database("test")
[INFO] [stdout]    | |_____________-^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `with_database_key` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 20 |             .with_database_key("test")
[INFO] [stdout]    |              ~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx`
[INFO] [stdout]    --> src/lib.rs:193:50
[INFO] [stdout]     |
[INFO] [stdout] 140 | async fn connect_to_database() -> anyhow::Result<sqlx::Pool<sqlx::Postgres>> {
[INFO] [stdout]     |                                                  ^^^^ use of undeclared crate or module `sqlx`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx`
[INFO] [stdout]    --> src/lib.rs:193:61
[INFO] [stdout]     |
[INFO] [stdout] 140 | async fn connect_to_database() -> anyhow::Result<sqlx::Pool<sqlx::Postgres>> {
[INFO] [stdout]     |                                                             ^^^^ use of undeclared crate or module `sqlx`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 23 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0308, E0412, E0432, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/session.rs - session::AuthSession<User,Type,Sess,Pool>::logout_user (line 169) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:170:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.logout_user();
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/session.rs - session::AuthSession<User,Type,Sess,Pool>::remember_user (line 124) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:125:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.remember_user(true);
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/auth.rs - auth::Auth (line 117)
[INFO] [stdout]     src/auth.rs - auth::Auth<User,Type,Pool>::build (line 153)
[INFO] [stdout]     src/auth.rs - auth::Auth<User,Type,Pool>::requires (line 183)
[INFO] [stdout]     src/auth.rs - auth::Auth<User,Type,Pool>::validate (line 206)
[INFO] [stdout]     src/config.rs - config::AuthConfig<Type>::with_max_age (line 91)
[INFO] [stdout]     src/layer.rs - layer::AuthSessionLayer<User,Type,Sess,Pool>::new (line 37)
[INFO] [stdout]     src/lib.rs - (line 55)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::cache_clear_all (line 158)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::cache_clear_user (line 147)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_active (line 96)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_anonymous (line 110)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_authenticated (line 82)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::login_user (line 135)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::logout_user (line 169)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::remember_user (line 124)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 4 passed; 15 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.78s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "96f12c299582b9be7cd71f7fdfab4e2b31f02dd87413abb04b682fa5556ff565", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96f12c299582b9be7cd71f7fdfab4e2b31f02dd87413abb04b682fa5556ff565", kill_on_drop: false }`
[INFO] [stdout] 96f12c299582b9be7cd71f7fdfab4e2b31f02dd87413abb04b682fa5556ff565
[INFO] testing axum_session_auth-0.14.0 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate axum_session_auth 0.14.0 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate axum_session_auth 0.14.0 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate axum_session_auth 0.14.0
[INFO] finished tweaking crates.io crate axum_session_auth 0.14.0
[INFO] tweaked toml for crates.io crate axum_session_auth 0.14.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 170 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding base64 v0.21.7 (latest: v0.22.1)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding getrandom v0.1.16 (latest: v0.2.15)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding matchit v0.7.3 (latest: v0.8.2)
[INFO] [stderr]       Adding nonempty v0.7.0 (latest: v0.10.0)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding rand v0.7.3 (latest: v0.8.5)
[INFO] [stderr]       Adding rand_chacha v0.2.2 (latest: v0.3.1)
[INFO] [stderr]       Adding rand_core v0.5.1 (latest: v0.6.4)
[INFO] [stderr]       Adding rand_hc v0.2.0 (latest: v0.3.2)
[INFO] [stderr]       Adding sync_wrapper v0.1.2 (latest: v1.0.1)
[INFO] [stderr]       Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding windows-core v0.52.0 (latest: v0.56.0)
[INFO] [stderr]       Adding windows-sys v0.48.0 (latest: v0.52.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 225c1feec2fac76db2b75e43398865b882b77d3797efe7e4b881bda9a6830659
[INFO] running `Command { std: "docker" "start" "-a" "225c1feec2fac76db2b75e43398865b882b77d3797efe7e4b881bda9a6830659", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "225c1feec2fac76db2b75e43398865b882b77d3797efe7e4b881bda9a6830659", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "225c1feec2fac76db2b75e43398865b882b77d3797efe7e4b881bda9a6830659", kill_on_drop: false }`
[INFO] [stdout] 225c1feec2fac76db2b75e43398865b882b77d3797efe7e4b881bda9a6830659
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ce0d596cfe50952252504df3951cb50a8a4b9306625c2fc6c76a29b8b91c5dad
[INFO] running `Command { std: "docker" "start" "-a" "ce0d596cfe50952252504df3951cb50a8a4b9306625c2fc6c76a29b8b91c5dad", kill_on_drop: false }`
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling axum-core v0.4.3
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling polyval v0.6.2
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling ghash v0.5.1
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling axum v0.7.5
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling nonempty v0.7.0
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling forwarded-header-value v0.1.1
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling async-recursion v1.1.1
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling serde_path_to_error v0.1.16
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling uuid v1.8.0
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling hyper v1.3.1
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling hyper-util v0.1.4
[INFO] [stderr]    Compiling axum_session v0.14.0
[INFO] [stderr]    Compiling axum_session_auth v0.14.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.13s
[INFO] running `Command { std: "docker" "inspect" "ce0d596cfe50952252504df3951cb50a8a4b9306625c2fc6c76a29b8b91c5dad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ce0d596cfe50952252504df3951cb50a8a4b9306625c2fc6c76a29b8b91c5dad", kill_on_drop: false }`
[INFO] [stdout] ce0d596cfe50952252504df3951cb50a8a4b9306625c2fc6c76a29b8b91c5dad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7424a8aada36e246c2d8e47dc4db7fe416201c984709af55fb8441681bf2c206
[INFO] running `Command { std: "docker" "start" "-a" "7424a8aada36e246c2d8e47dc4db7fe416201c984709af55fb8441681bf2c206", kill_on_drop: false }`
[INFO] [stderr]    Compiling axum_session_auth v0.14.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.22s
[INFO] running `Command { std: "docker" "inspect" "7424a8aada36e246c2d8e47dc4db7fe416201c984709af55fb8441681bf2c206", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7424a8aada36e246c2d8e47dc4db7fe416201c984709af55fb8441681bf2c206", kill_on_drop: false }`
[INFO] [stdout] 7424a8aada36e246c2d8e47dc4db7fe416201c984709af55fb8441681bf2c206
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 746976d016af1203049bb20febe727c12d78d33cd2e66c0fe19e198048deda24
[INFO] running `Command { std: "docker" "start" "-a" "746976d016af1203049bb20febe727c12d78d33cd2e66c0fe19e198048deda24", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/axum_session_auth-f71b6bef56fee44e)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests axum_session_auth
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 19 tests
[INFO] [stdout] test src/config.rs - config::AuthConfig<Type>::with_max_age (line 91) ... FAILED
[INFO] [stdout] test src/auth.rs - auth::Auth (line 117) - compile ... FAILED
[INFO] [stdout] test src/auth.rs - auth::Auth<User,Type,Pool>::validate (line 206) - compile ... FAILED
[INFO] [stdout] test src/auth.rs - auth::Auth<User,Type,Pool>::build (line 153) - compile ... FAILED
[INFO] [stdout] test src/auth.rs - auth::Auth<User,Type,Pool>::requires (line 183) - compile ... FAILED
[INFO] [stdout] test src/layer.rs - layer::AuthSessionLayer<User,Type,Sess,Pool>::new (line 37) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::cache_clear_all (line 158) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::cache_clear_user (line 147) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_anonymous (line 110) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_active (line 96) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 55) ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_authenticated (line 82) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::login_user (line 135) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::logout_user (line 169) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::remember_user (line 124) - compile ... FAILED
[INFO] [stdout] test src/config.rs - config::AuthConfig<Type>::with_anonymous_user_id (line 74) ... ok
[INFO] [stdout] test src/config.rs - config::AuthConfig<Type>::with_session_id (line 107) ... ok
[INFO] [stdout] test src/config.rs - config::AuthConfig<Type>::set_cache (line 58) ... ok
[INFO] [stdout] test src/config.rs - config::AuthConfig (line 9) ... ok
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/config.rs - config::AuthConfig<Type>::with_max_age (line 91) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/config.rs:96:56
[INFO] [stdout]    |
[INFO] [stdout] 8  | let config = AuthConfig::<i64>::default().with_max_age(Some(Duration::days(2)));
[INFO] [stdout]    |                                           ------------ ^^^^^^^^^^^^^^^^^^^^^^^ expected `TimeDelta`, found `Option<TimeDelta>`
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `TimeDelta`
[INFO] [stdout]                 found enum `Option<TimeDelta>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/config.rs:99:12
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn with_max_age(mut self, time: Duration) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/auth.rs - auth::Auth (line 117) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Auth`
[INFO] [stdout]  --> src/auth.rs:118:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |     ^^^^ use of undeclared type `Auth`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Auth;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `User` in this scope
[INFO] [stdout]  --> src/auth.rs:118:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |            ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_117_0<User>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pool` in this scope
[INFO] [stdout]  --> src/auth.rs:118:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, bool>::build([Method::POST], true)
[INFO] [stdout]   |                       ~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_117_0<Pool>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method`
[INFO] [stdout]  --> src/auth.rs:118:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |                                     ^^^^^^ use of undeclared type `Method`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use http::Method;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:119:15
[INFO] [stdout]   |
[INFO] [stdout] 4 |     .requires(Rights::all([
[INFO] [stdout]   |               ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |         Rights::permission("admin:view"),
[INFO] [stdout]   |         ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:121:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         Rights::permission("form:editreports"),
[INFO] [stdout]   |         ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `current_user` in this scope
[INFO] [stdout]  --> src/auth.rs:123:16
[INFO] [stdout]   |
[INFO] [stdout] 8 |     .validate(&current_user, &state.method, None)
[INFO] [stdout]   |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `state` in this scope
[INFO] [stdout]  --> src/auth.rs:123:31
[INFO] [stdout]   |
[INFO] [stdout] 8 |     .validate(&current_user, &state.method, None)
[INFO] [stdout]   |                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `state` in this scope
[INFO] [stdout]   --> src/auth.rs:126:24
[INFO] [stdout]    |
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/auth.rs:124:6
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_117_0() {
[INFO] [stdout]   |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 |     .await
[INFO] [stdout]   |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/auth.rs:126:31
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_117_0() {
[INFO] [stdout]    |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `handler_404` in this scope
[INFO] [stdout]   --> src/auth.rs:126:12
[INFO] [stdout]    |
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/auth.rs - auth::Auth<User,Type,Pool>::validate (line 206) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Auth`
[INFO] [stdout]  --> src/auth.rs:207:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |     ^^^^ use of undeclared type `Auth`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Auth;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `User` in this scope
[INFO] [stdout]  --> src/auth.rs:207:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |            ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_206_0<User>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pool` in this scope
[INFO] [stdout]  --> src/auth.rs:207:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, bool>::build([Method::POST], true)
[INFO] [stdout]   |                       ~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_206_0<Pool>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method`
[INFO] [stdout]  --> src/auth.rs:207:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |                                     ^^^^^^ use of undeclared type `Method`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use http::Method;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:208:15
[INFO] [stdout]   |
[INFO] [stdout] 4 |     .requires(Rights::all([
[INFO] [stdout]   |               ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:209:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |         Rights::permission("admin:view"),
[INFO] [stdout]   |         ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:210:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         Rights::permission("form:editreports"),
[INFO] [stdout]   |         ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `current_user` in this scope
[INFO] [stdout]  --> src/auth.rs:212:16
[INFO] [stdout]   |
[INFO] [stdout] 8 |     .validate(&current_user, &state.method, None)
[INFO] [stdout]   |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `state` in this scope
[INFO] [stdout]  --> src/auth.rs:212:31
[INFO] [stdout]   |
[INFO] [stdout] 8 |     .validate(&current_user, &state.method, None)
[INFO] [stdout]   |                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `state` in this scope
[INFO] [stdout]   --> src/auth.rs:215:24
[INFO] [stdout]    |
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/auth.rs:213:6
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_206_0() {
[INFO] [stdout]   |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 |     .await
[INFO] [stdout]   |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/auth.rs:215:31
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_206_0() {
[INFO] [stdout]    |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `handler_404` in this scope
[INFO] [stdout]   --> src/auth.rs:215:12
[INFO] [stdout]    |
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/auth.rs - auth::Auth<User,Type,Pool>::build (line 153) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Auth`
[INFO] [stdout]  --> src/auth.rs:154:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |     ^^^^ use of undeclared type `Auth`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Auth;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `User` in this scope
[INFO] [stdout]  --> src/auth.rs:154:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |            ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_153_0<User>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pool` in this scope
[INFO] [stdout]  --> src/auth.rs:154:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, bool>::build([Method::POST], true)
[INFO] [stdout]   |                       ~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_153_0<Pool>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method`
[INFO] [stdout]  --> src/auth.rs:154:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |                                     ^^^^^^ use of undeclared type `Method`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use http::Method;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:155:15
[INFO] [stdout]   |
[INFO] [stdout] 4 |     .requires(Rights::all([
[INFO] [stdout]   |               ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:156:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |         Rights::permission("admin:view"),
[INFO] [stdout]   |         ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:157:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         Rights::permission("form:editreports"),
[INFO] [stdout]   |         ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `current_user` in this scope
[INFO] [stdout]  --> src/auth.rs:159:16
[INFO] [stdout]   |
[INFO] [stdout] 8 |     .validate(&current_user, &state.method, None)
[INFO] [stdout]   |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `state` in this scope
[INFO] [stdout]  --> src/auth.rs:159:31
[INFO] [stdout]   |
[INFO] [stdout] 8 |     .validate(&current_user, &state.method, None)
[INFO] [stdout]   |                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `state` in this scope
[INFO] [stdout]   --> src/auth.rs:162:24
[INFO] [stdout]    |
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/auth.rs:160:6
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_153_0() {
[INFO] [stdout]   |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 |     .await
[INFO] [stdout]   |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/auth.rs:162:31
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_153_0() {
[INFO] [stdout]    |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `handler_404` in this scope
[INFO] [stdout]   --> src/auth.rs:162:12
[INFO] [stdout]    |
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/auth.rs - auth::Auth<User,Type,Pool>::requires (line 183) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Auth`
[INFO] [stdout]  --> src/auth.rs:184:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |     ^^^^ use of undeclared type `Auth`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Auth;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `User` in this scope
[INFO] [stdout]  --> src/auth.rs:184:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |            ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_183_0<User>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pool` in this scope
[INFO] [stdout]  --> src/auth.rs:184:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, bool>::build([Method::POST], true)
[INFO] [stdout]   |                       ~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_183_0<Pool>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method`
[INFO] [stdout]  --> src/auth.rs:184:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !Auth::<User, i64, Pool>::build([Method::POST], true)
[INFO] [stdout]   |                                     ^^^^^^ use of undeclared type `Method`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use http::Method;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:185:15
[INFO] [stdout]   |
[INFO] [stdout] 4 |     .requires(Rights::all([
[INFO] [stdout]   |               ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:186:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |         Rights::permission("admin:view"),
[INFO] [stdout]   |         ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]  --> src/auth.rs:187:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         Rights::permission("form:editreports"),
[INFO] [stdout]   |         ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::Rights;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `current_user` in this scope
[INFO] [stdout]  --> src/auth.rs:189:16
[INFO] [stdout]   |
[INFO] [stdout] 8 |     .validate(&current_user, &state.method, None)
[INFO] [stdout]   |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `state` in this scope
[INFO] [stdout]  --> src/auth.rs:189:31
[INFO] [stdout]   |
[INFO] [stdout] 8 |     .validate(&current_user, &state.method, None)
[INFO] [stdout]   |                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `state` in this scope
[INFO] [stdout]   --> src/auth.rs:192:24
[INFO] [stdout]    |
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/auth.rs:190:6
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_183_0() {
[INFO] [stdout]   |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 |     .await
[INFO] [stdout]   |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/auth.rs:192:31
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_rs_183_0() {
[INFO] [stdout]    |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `handler_404` in this scope
[INFO] [stdout]   --> src/auth.rs:192:12
[INFO] [stdout]    |
[INFO] [stdout] 11 |     return handler_404(state).await.into_response();
[INFO] [stdout]    |            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/layer.rs - layer::AuthSessionLayer<User,Type,Sess,Pool>::new (line 37) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthSessionLayer`
[INFO] [stdout]  --> src/layer.rs:38:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let layer = AuthSessionLayer::<User, i64, Sess, Pool>::new(None);
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^ use of undeclared type `AuthSessionLayer`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use axum_session_auth::AuthSessionLayer;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `User` in this scope
[INFO] [stdout]  --> src/layer.rs:38:32
[INFO] [stdout]   |
[INFO] [stdout] 3 | let layer = AuthSessionLayer::<User, i64, Sess, Pool>::new(None);
[INFO] [stdout]   |                                ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_layer_rs_37_0<User>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Sess` in this scope
[INFO] [stdout]  --> src/layer.rs:38:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | let layer = AuthSessionLayer::<User, i64, Sess, Pool>::new(None);
[INFO] [stdout]   |                                           ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_layer_rs_37_0<Sess>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pool` in this scope
[INFO] [stdout]  --> src/layer.rs:38:49
[INFO] [stdout]   |
[INFO] [stdout] 3 | let layer = AuthSessionLayer::<User, i64, Sess, Pool>::new(None);
[INFO] [stdout]   |                                                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 3 | let layer = AuthSessionLayer::<User, i64, Sess, bool>::new(None);
[INFO] [stdout]   |                                                 ~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_layer_rs_37_0<Pool>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/session.rs - session::AuthSession<User,Type,Sess,Pool>::cache_clear_all (line 158) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:159:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.cache_clear_all();
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/session.rs - session::AuthSession<User,Type,Sess,Pool>::cache_clear_user (line 147) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:148:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.cache_clear_user(user.id);
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `user` in this scope
[INFO] [stdout]  --> src/session.rs:148:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.cache_clear_user(user.id);
[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/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_anonymous (line 110) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:111:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.is_anonymous();
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_active (line 96) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:97:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.is_active();
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 55) stdout ----
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> src/lib.rs:127:73
[INFO] [stdout]    |
[INFO] [stdout] 74 |         return format!("No Permissions! for {}", current_user.username)[];
[INFO] [stdout]    |                                                                         ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx`
[INFO] [stdout]  --> src/lib.rs:57:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::{PgPool, ConnectOptions, postgres::{PgPoolOptions, PgConnectOptions}};
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `sqlx`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sqlx`
[INFO] [stdout]  --> src/lib.rs:57:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::{PgPool, ConnectOptions, postgres::{PgPoolOptions, PgConnectOptions}};
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `sqlx`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `axum_session_sqlx`
[INFO] [stdout]  --> src/lib.rs:61:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use axum_session_sqlx::SessionPgPool;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `axum_session_sqlx`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 8 | use axum_session_auth::SessionPgPool;
[INFO] [stdout]   |     ~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `axum`
[INFO] [stdout]  --> src/lib.rs:62:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use axum::{
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `axum`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `axum`
[INFO] [stdout]  --> src/lib.rs:62:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use axum::{
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `axum`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `async_trait` in this scope
[INFO] [stdout]    --> src/lib.rs:156:3
[INFO] [stdout]     |
[INFO] [stdout] 103 | #[async_trait]
[INFO] [stdout]     |   ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `async_trait` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 4   + use async_trait::async_trait;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `async_trait` in this scope
[INFO] [stdout]    --> src/lib.rs:167:3
[INFO] [stdout]     |
[INFO] [stdout] 114 | #[async_trait]
[INFO] [stdout]     |   ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `async_trait` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 4   + use async_trait::async_trait;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `axum`
[INFO] [stdout]   --> src/lib.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         axum::Server::bind(&addr)
[INFO] [stdout]    |         ^^^^ use of undeclared crate or module `axum`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SessionStore`
[INFO] [stdout]   --> src/lib.rs:76:29
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let session_store = SessionStore::<SessionPgPool>::new(Some(poll.clone().into()), session_config);
[INFO] [stdout]    |                             ^^^^^^^^^^^^ use of undeclared type `SessionStore`
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let session_store = SessionLayer::<SessionPgPool>::new(Some(poll.clone().into()), session_config);
[INFO] [stdout]    |                             ~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use axum_session::SessionStore;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Method` in this scope
[INFO] [stdout]   --> src/lib.rs:96:24
[INFO] [stdout]    |
[INFO] [stdout] 43 | async fn greet(method: Method, auth: AuthSession<User, i64, SessionPgPool, PgPool>) -> &'static str {
[INFO] [stdout]    |                        ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use http::Method;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Auth`
[INFO] [stdout]   --> src/lib.rs:116:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     if !Auth::<User, i64, PgPool>::build([Method::Get], false)
[INFO] [stdout]    |         ^^^^ use of undeclared type `Auth`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use axum_session_auth::Auth;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method`
[INFO] [stdout]   --> src/lib.rs:116:43
[INFO] [stdout]    |
[INFO] [stdout] 63 |     if !Auth::<User, i64, PgPool>::build([Method::Get], false)
[INFO] [stdout]    |                                           ^^^^^^ use of undeclared type `Method`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use http::Method;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]   --> src/lib.rs:118:19
[INFO] [stdout]    |
[INFO] [stdout] 65 |         .requires(Rights::none([
[INFO] [stdout]    |                   ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 4  + use axum_session_auth::Rights;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]   --> src/lib.rs:119:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |             Rights::permission("Token::UseAdmin"),
[INFO] [stdout]    |             ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 4  + use axum_session_auth::Rights;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rights`
[INFO] [stdout]   --> src/lib.rs:120:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |             Rights::permission("Token::ModifyPerms"),
[INFO] [stdout]    |             ^^^^^^ use of undeclared type `Rights`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 4  + use axum_session_auth::Rights;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `if` and `else` have incompatible types
[INFO] [stdout]   --> src/lib.rs:144:9
[INFO] [stdout]    |
[INFO] [stdout] 78 | /     if !auth.is_authenticated() {
[INFO] [stdout] 79 | |         // Set the user ID of the User to the Session so it can be Auto Loaded the next load or redirect
[INFO] [stdout] 80 | |         auth.login_user(2);
[INFO] [stdout] 81 | |         // Set the session to be long term. Good for Remember me type instances.
[INFO] [stdout] ...  |
[INFO] [stdout] 86 | |         "You have Logged in! Please Refresh the page to display the username and counter."
[INFO] [stdout]    | |         ---------------------------------------------------------------------------------- expected because of this
[INFO] [stdout] ...  |
[INFO] [stdout] 91 | |         format!("{}-{}", current_user.username, count)[..]
[INFO] [stdout]    | |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `str`
[INFO] [stdout] 92 | |     };
[INFO] [stdout]    | |_____- `if` and `else` have incompatible types
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 91 |         &format!("{}-{}", current_user.username, count)[..]
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:96:101
[INFO] [stdout]    |
[INFO] [stdout] 43 |   async fn greet(method: Method, auth: AuthSession<User, i64, SessionPgPool, PgPool>) -> &'static str {
[INFO] [stdout]    |  _____________________________________________________________________________________________________^
[INFO] [stdout] 44 | |     let mut count: usize = auth.session.get("count").unwrap_or(0);
[INFO] [stdout] 45 | |
[INFO] [stdout] 46 | |     // We will get the user if not, then a guest which should be our default.
[INFO] [stdout] ...  |
[INFO] [stdout] 92 | |     };
[INFO] [stdout] 93 | | }
[INFO] [stdout]    | |_^ expected `&str`, found `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:171:64
[INFO] [stdout]     |
[INFO] [stdout] 118 |     async fn load_user(userid: i64, _pool: Option<&PgPool>) -> Result<User> {
[INFO] [stdout]     |                                                                ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]     |                                                                |
[INFO] [stdout]     |                                                                expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 118 |     async fn load_user(userid: i64, _pool: Option<&PgPool>) -> Result<User, E> {
[INFO] [stdout]     |                                                                           +++
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:173:17
[INFO] [stdout]     |
[INFO] [stdout] 120 |             id: userid,
[INFO] [stdout]     |                 ^^^^^^ expected `i32`, found `i64`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `with_database` found for struct `SessionConfig` in the current scope
[INFO] [stdout]   --> src/lib.rs:73:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |           let session_config = SessionConfig::default()
[INFO] [stdout]    |  ______________________________-
[INFO] [stdout] 20 | |             .with_database("test")
[INFO] [stdout]    | |_____________-^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `with_database_key` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 20 |             .with_database_key("test")
[INFO] [stdout]    |              ~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx`
[INFO] [stdout]    --> src/lib.rs:193:50
[INFO] [stdout]     |
[INFO] [stdout] 140 | async fn connect_to_database() -> anyhow::Result<sqlx::Pool<sqlx::Postgres>> {
[INFO] [stdout]     |                                                  ^^^^ use of undeclared crate or module `sqlx`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx`
[INFO] [stdout]    --> src/lib.rs:193:61
[INFO] [stdout]     |
[INFO] [stdout] 140 | async fn connect_to_database() -> anyhow::Result<sqlx::Pool<sqlx::Postgres>> {
[INFO] [stdout]     |                                                             ^^^^ use of undeclared crate or module `sqlx`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 23 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0308, E0412, E0432, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_authenticated (line 82) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:83:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.is_authenticated();
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/session.rs - session::AuthSession<User,Type,Sess,Pool>::login_user (line 135) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:136:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.login_user(user.id);
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `user` in this scope
[INFO] [stdout]  --> src/session.rs:136:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.login_user(user.id);
[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/session.rs - session::AuthSession<User,Type,Sess,Pool>::logout_user (line 169) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:170:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.logout_user();
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/session.rs - session::AuthSession<User,Type,Sess,Pool>::remember_user (line 124) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:125:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.remember_user(true);
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/auth.rs - auth::Auth (line 117)
[INFO] [stdout]     src/auth.rs - auth::Auth<User,Type,Pool>::build (line 153)
[INFO] [stdout]     src/auth.rs - auth::Auth<User,Type,Pool>::requires (line 183)
[INFO] [stdout]     src/auth.rs - auth::Auth<User,Type,Pool>::validate (line 206)
[INFO] [stdout]     src/config.rs - config::AuthConfig<Type>::with_max_age (line 91)
[INFO] [stdout]     src/layer.rs - layer::AuthSessionLayer<User,Type,Sess,Pool>::new (line 37)
[INFO] [stdout]     src/lib.rs - (line 55)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::cache_clear_all (line 158)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::cache_clear_user (line 147)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_active (line 96)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_anonymous (line 110)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_authenticated (line 82)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::login_user (line 135)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::logout_user (line 169)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::remember_user (line 124)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 4 passed; 15 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.74s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "746976d016af1203049bb20febe727c12d78d33cd2e66c0fe19e198048deda24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "746976d016af1203049bb20febe727c12d78d33cd2e66c0fe19e198048deda24", kill_on_drop: false }`
[INFO] [stdout] 746976d016af1203049bb20febe727c12d78d33cd2e66c0fe19e198048deda24
