[INFO] fetching crate axum_session_auth 0.10.0...
[INFO] testing axum_session_auth-0.10.0 against 1.75.0 for beta-1.76-1
[INFO] extracting crate axum_session_auth 0.10.0 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate axum_session_auth 0.10.0 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate axum_session_auth 0.10.0
[INFO] finished tweaking crates.io crate axum_session_auth 0.10.0
[INFO] tweaked toml for crates.io crate axum_session_auth 0.10.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ctr v0.9.2
[INFO] [stderr]   Downloaded atomic v0.5.3
[INFO] [stderr]   Downloaded proc-macro-crate v2.0.1
[INFO] [stderr]   Downloaded toml_edit v0.20.2
[INFO] [stderr]   Downloaded dmp v0.2.0
[INFO] [stderr]   Downloaded rstar v0.10.0
[INFO] [stderr]   Downloaded aead v0.5.2
[INFO] [stderr]   Downloaded cipher v0.4.4
[INFO] [stderr]   Downloaded tokio-rustls v0.23.4
[INFO] [stderr]   Downloaded tokio-tungstenite v0.18.0
[INFO] [stderr]   Downloaded lexicmp v0.1.0
[INFO] [stderr]   Downloaded xxhash-rust v0.8.8
[INFO] [stderr]   Downloaded unicode-script v0.5.5
[INFO] [stderr]   Downloaded serde_with v3.4.0
[INFO] [stderr]   Downloaded fst v0.4.7
[INFO] [stderr]   Downloaded libsqlite3-sys v0.27.0
[INFO] [stderr]   Downloaded fastbloom-rs v0.5.9
[INFO] [stderr]   Downloaded fastmurmur3 v0.2.0
[INFO] [stderr]   Downloaded rustls v0.20.9
[INFO] [stderr]   Downloaded rust-stemmers v1.2.0
[INFO] [stderr]   Downloaded axum_session v0.10.1
[INFO] [stderr]   Downloaded itertools v0.12.0
[INFO] [stderr]   Downloaded rust_decimal v1.33.1
[INFO] [stderr]   Downloaded deunicode v1.4.2
[INFO] [stderr]   Downloaded aes-gcm v0.10.3
[INFO] [stderr]   Downloaded rsa v0.9.6
[INFO] [stderr]   Downloaded aes v0.8.3
[INFO] [stderr]   Downloaded trust-dns-resolver v0.21.2
[INFO] [stderr]   Downloaded geo v0.26.0
[INFO] [stderr]   Downloaded mongodb v2.8.0
[INFO] [stderr]   Downloaded borsh-derive v1.3.0
[INFO] [stderr]   Downloaded geo-types v0.7.12
[INFO] [stderr]   Downloaded darling_core v0.20.3
[INFO] [stderr]   Downloaded lalrpop v0.20.0
[INFO] [stderr]   Downloaded geo v0.25.1
[INFO] [stderr]   Downloaded surrealdb v1.0.2
[INFO] [stderr]   Downloaded stacker v0.1.15
[INFO] [stderr]   Downloaded darling v0.20.3
[INFO] [stderr]   Downloaded pem-rfc7468 v0.7.0
[INFO] [stderr]   Downloaded password-hash v0.5.0
[INFO] [stderr]   Downloaded simple_asn1 v0.6.2
[INFO] [stderr]   Downloaded ref-cast-impl v1.0.22
[INFO] [stderr]   Downloaded darling v0.13.4
[INFO] [stderr]   Downloaded typed-builder v0.10.0
[INFO] [stderr]   Downloaded async_io_stream v0.3.3
[INFO] [stderr]   Downloaded etcetera v0.8.0
[INFO] [stderr]   Downloaded crc v3.0.1
[INFO] [stderr]   Downloaded serde_with_macros v3.4.0
[INFO] [stderr]   Downloaded universal-hash v0.5.1
[INFO] [stderr]   Downloaded cuckoofilter v0.5.0
[INFO] [stderr]   Downloaded bson v2.8.1
[INFO] [stderr]   Downloaded trust-dns-proto v0.21.2
[INFO] [stderr]   Downloaded redis v0.23.3
[INFO] [stderr]   Downloaded nix v0.27.1
[INFO] [stderr]   Downloaded cedar-policy-core v2.4.2
[INFO] [stderr]   Downloaded robust v1.1.0
[INFO] [stderr]   Downloaded cfg_aliases v0.1.1
[INFO] [stderr]   Downloaded lru v0.10.1
[INFO] [stderr]   Downloaded pbkdf2 v0.11.0
[INFO] [stderr]   Downloaded redis_pool v0.2.1
[INFO] [stderr]   Downloaded ghash v0.5.0
[INFO] [stderr]   Downloaded pbkdf2 v0.12.2
[INFO] [stderr]   Downloaded retain_mut v0.1.7
[INFO] [stderr]   Downloaded atoi v2.0.0
[INFO] [stderr]   Downloaded robust v0.2.3
[INFO] [stderr]   Downloaded surrealdb-jsonwebtoken v8.3.0-surreal.1
[INFO] [stderr]   Downloaded roaring v0.10.2
[INFO] [stderr]   Downloaded heapless v0.7.17
[INFO] [stderr]   Downloaded webpki-roots v0.22.6
[INFO] [stderr]   Downloaded geographiclib-rs v0.2.3
[INFO] [stderr]   Downloaded dotenvy v0.15.7
[INFO] [stderr]   Downloaded nanoid v0.4.0
[INFO] [stderr]   Downloaded wasmtimer v0.2.0
[INFO] [stderr]   Downloaded pharos v0.5.3
[INFO] [stderr]   Downloaded send_wrapper v0.6.0
[INFO] [stderr]   Downloaded path-clean v1.0.1
[INFO] [stderr]   Downloaded darling_macro v0.20.3
[INFO] [stderr]   Downloaded salsa20 v0.10.2
[INFO] [stderr]   Downloaded scrypt v0.11.0
[INFO] [stderr]   Downloaded snap v1.1.1
[INFO] [stderr]   Downloaded hashlink v0.8.4
[INFO] [stderr]   Downloaded polyval v0.6.1
[INFO] [stderr]   Downloaded cookie v0.18.0
[INFO] [stderr]   Downloaded xorfilter-rs v0.5.1
[INFO] [stderr]   Downloaded rustc_version_runtime v0.2.1
[INFO] [stderr]   Downloaded darling_macro v0.13.4
[INFO] [stderr]   Downloaded serde_with_macros v1.5.2
[INFO] [stderr]   Downloaded serde_with v1.14.0
[INFO] [stderr]   Downloaded ipconfig v0.3.2
[INFO] [stderr]   Downloaded crc16 v0.4.0
[INFO] [stderr]   Downloaded atomic-write-file v0.1.2
[INFO] [stderr]   Downloaded sqlx-macros-core v0.7.3
[INFO] [stderr]   Downloaded sqlx-mysql v0.7.3
[INFO] [stderr]   Downloaded sqlx-postgres v0.7.3
[INFO] [stderr]   Downloaded flume v0.11.0
[INFO] [stderr]   Downloaded sqlx-core v0.7.3
[INFO] [stderr]   Downloaded sqlx-sqlite v0.7.3
[INFO] [stderr]   Downloaded addr v0.15.6
[INFO] [stderr]   Downloaded blake2 v0.10.6
[INFO] [stderr]   Downloaded argon2 v0.5.2
[INFO] [stderr]   Downloaded bcrypt v0.14.0
[INFO] [stderr]   Downloaded ena v0.14.2
[INFO] [stderr]   Downloaded string_cache v0.8.7
[INFO] [stderr]   Downloaded miette-derive v5.10.0
[INFO] [stderr]   Downloaded rustc_lexer v0.1.0
[INFO] [stderr]   Downloaded nanorand v0.7.0
[INFO] [stderr]   Downloaded futures-concurrency v7.4.3
[INFO] [stderr]   Downloaded storekey v0.5.0
[INFO] [stderr]   Downloaded unicode-security v0.1.0
[INFO] [stderr]   Downloaded lalrpop-util v0.20.0
[INFO] [stderr]   Downloaded tungstenite v0.18.0
[INFO] [stderr]   Downloaded psm v0.1.21
[INFO] [stderr]   Downloaded trice v0.3.1
[INFO] [stderr]   Downloaded ulid v1.1.0
[INFO] [stderr]   Downloaded sqlformat v0.2.3
[INFO] [stderr]   Downloaded psl-types v2.0.11
[INFO] [stderr]   Downloaded pkcs1 v0.7.5
[INFO] [stderr]   Downloaded sqlx v0.7.3
[INFO] [stderr]   Downloaded itertools v0.11.0
[INFO] [stderr]   Downloaded cedar-policy-validator v2.4.2
[INFO] [stderr]   Downloaded miette v5.10.0
[INFO] [stderr]   Downloaded futures-intrusive v0.5.0
[INFO] [stderr]   Downloaded revision v0.5.0
[INFO] [stderr]   Downloaded earcutr v0.4.3
[INFO] [stderr]   Downloaded webpki v0.22.4
[INFO] [stderr]   Downloaded borsh v1.3.0
[INFO] [stderr]   Downloaded darling_core v0.13.4
[INFO] [stderr]   Downloaded ws_stream_wasm v0.7.4
[INFO] [stderr]   Downloaded cedar-policy v2.4.2
[INFO] [stderr]   Downloaded wasm-streams v0.3.0
[INFO] [stderr]   Downloaded float_next_after v1.0.0
[INFO] [stderr]   Downloaded surrealdb-derive v0.12.0
[INFO] [stderr]   Downloaded syn_derive v0.1.8
[INFO] [stderr]   Downloaded inout v0.1.3
[INFO] [stderr]   Downloaded enum-as-inner v0.4.0
[INFO] [stderr]   Downloaded sqlx-macros v0.7.3
[INFO] [stderr]   Downloaded revision-derive v0.5.0
[INFO] [stderr]   Downloaded pem v2.0.1
[INFO] [stderr]   Downloaded ref-cast v1.0.22
[INFO] [stderr]   Downloaded blowfish v0.9.1
[INFO] [stderr]   Downloaded atomic-polyfill v1.0.3
[INFO] [stderr]   Downloaded toml_datetime v0.6.3
[INFO] [stderr]   Downloaded crc-catalog v2.4.0
[INFO] [stderr]   Downloaded rstar v0.11.0
[INFO] [stderr]   Downloaded pico-args v0.5.0
[INFO] [stderr]   Downloaded any_ascii v0.3.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 595e9dee3348969205b1b2583f536ba3b182355463dcbf33cbbe9b58f0bc4d12
[INFO] running `Command { std: "docker" "start" "-a" "595e9dee3348969205b1b2583f536ba3b182355463dcbf33cbbe9b58f0bc4d12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "595e9dee3348969205b1b2583f536ba3b182355463dcbf33cbbe9b58f0bc4d12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "595e9dee3348969205b1b2583f536ba3b182355463dcbf33cbbe9b58f0bc4d12", kill_on_drop: false }`
[INFO] [stdout] 595e9dee3348969205b1b2583f536ba3b182355463dcbf33cbbe9b58f0bc4d12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 27af34afc755f65337aa30a9c411093afac8ea6884b7fa5ef6c6223497529790
[INFO] running `Command { std: "docker" "start" "-a" "27af34afc755f65337aa30a9c411093afac8ea6884b7fa5ef6c6223497529790", kill_on_drop: false }`
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling ahash v0.8.7
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling zerocopy v0.7.32
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling allocator-api2 v0.2.16
[INFO] [stderr]    Compiling serde_derive v1.0.194
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling crossbeam-utils v0.8.18
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling rustls v0.21.10
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.59
[INFO] [stderr]    Compiling http v1.0.0
[INFO] [stderr]    Compiling polyval v0.6.1
[INFO] [stderr]    Compiling crc v3.0.1
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.10
[INFO] [stderr]    Compiling webpki-roots v0.25.3
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling finl_unicode v1.2.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling time-macros v0.2.16
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling ghash v0.5.0
[INFO] [stderr]    Compiling indexmap v2.1.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling axum-core v0.4.2
[INFO] [stderr]    Compiling aes v0.8.3
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling stringprep v0.1.4
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling cookie v0.18.0
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling whoami v1.4.1
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling async-recursion v1.0.5
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling ring v0.17.7
[INFO] [stderr]    Compiling time v0.3.31
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling http-body-util v0.1.0
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling tokio-stream v0.1.14
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling chrono v0.4.31
[INFO] [stderr]    Compiling uuid v1.6.1
[INFO] [stderr]    Compiling itertools v0.12.0
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling sqlformat v0.2.3
[INFO] [stderr]    Compiling sqlx-core v0.7.3
[INFO] [stderr]    Compiling sqlx-postgres v0.7.3
[INFO] [stderr]    Compiling sqlx v0.7.3
[INFO] [stderr]    Compiling axum_session v0.10.1
[INFO] [stderr]    Compiling axum_session_auth v0.10.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 23.61s
[INFO] running `Command { std: "docker" "inspect" "27af34afc755f65337aa30a9c411093afac8ea6884b7fa5ef6c6223497529790", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "27af34afc755f65337aa30a9c411093afac8ea6884b7fa5ef6c6223497529790", kill_on_drop: false }`
[INFO] [stdout] 27af34afc755f65337aa30a9c411093afac8ea6884b7fa5ef6c6223497529790
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5ef6791cc82dc53c739f9c70a8329f3c699a2bf0d136733122ce7753c80bc69e
[INFO] running `Command { std: "docker" "start" "-a" "5ef6791cc82dc53c739f9c70a8329f3c699a2bf0d136733122ce7753c80bc69e", kill_on_drop: false }`
[INFO] [stderr]    Compiling axum_session_auth v0.10.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.02s
[INFO] running `Command { std: "docker" "inspect" "5ef6791cc82dc53c739f9c70a8329f3c699a2bf0d136733122ce7753c80bc69e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ef6791cc82dc53c739f9c70a8329f3c699a2bf0d136733122ce7753c80bc69e", kill_on_drop: false }`
[INFO] [stdout] 5ef6791cc82dc53c739f9c70a8329f3c699a2bf0d136733122ce7753c80bc69e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a39fac08191c9c84973bf7f6ac799a32cab4c8969ed85fbd831c198fa2a07e37
[INFO] running `Command { std: "docker" "start" "-a" "a39fac08191c9c84973bf7f6ac799a32cab4c8969ed85fbd831c198fa2a07e37", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/axum_session_auth-6f0837775beadd00)
[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 24 tests
[INFO] [stdout] test src/layer.rs - layer::AuthSessionLayer<User,Type,Sess,Pool>::new (line 34) - 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_authenticated (line 82) - 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>::login_user (line 135) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_anonymous (line 110) - compile ... FAILED
[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/session.rs - session::AuthSession<User,Type,Sess,Pool>::reload_user (line 208) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_logged_in (line 184) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::remember_user (line 124) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::logout_user (line 169) - compile ... FAILED
[INFO] [stdout] test src/config.rs - config::AuthConfig<Type>::with_max_age (line 91) ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::sync_user_id (line 263) - compile ... FAILED
[INFO] [stdout] test src/auth.rs - auth::Auth<User,Type,Pool>::requires (line 183) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthStatus (line 279) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 69) ... FAILED
[INFO] [stdout] test src/auth.rs - auth::Auth<User,Type,Pool>::validate (line 206) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::update_user_expiration (line 244) - compile ... FAILED
[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] test src/config.rs - config::AuthConfig (line 9) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/layer.rs - layer::AuthSessionLayer<User,Type,Sess,Pool>::new (line 34) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthSessionLayer`
[INFO] [stdout]  --> src/layer.rs:35: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:35: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_34_0<User>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Sess` in this scope
[INFO] [stdout]  --> src/layer.rs:35: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_34_0<Sess>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pool` in this scope
[INFO] [stdout]  --> src/layer.rs:35: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_34_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 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_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 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 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_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 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/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/session.rs - session::AuthSession<User,Type,Sess,Pool>::reload_user (line 208) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:209:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.reload_user().await;
[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/session.rs:209:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_208_0() {
[INFO] [stdout]   |                                         ---------------------------------- this is not `async`
[INFO] [stdout] 3 | auth.reload_user().await;
[INFO] [stdout]   |                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_logged_in (line 184) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:185:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.is_logged_in();
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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 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>::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 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/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 `Duration`, found `Option<Duration>`
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `chrono::Duration`
[INFO] [stdout]                 found enum `Option<chrono::Duration>`
[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 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/session.rs - session::AuthSession<User,Type,Sess,Pool>::sync_user_id (line 263) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:264:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.sync_user_id();
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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/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/session.rs - session::AuthStatus (line 279) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:280:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.is_logged_in();
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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 69) stdout ----
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> src/lib.rs:142:73
[INFO] [stdout]    |
[INFO] [stdout] 75 |         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:71: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:71: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[E0433]: failed to resolve: use of undeclared crate or module `axum`
[INFO] [stdout]  --> src/lib.rs:75:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | 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:75:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use axum::{
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `axum`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tracing`
[INFO] [stdout]   --> src/lib.rs:99:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     tracing::debug!("listening on {}", addr);
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `tracing`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `async_trait` in this scope
[INFO] [stdout]    --> src/lib.rs:170: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:181: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:100:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     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:89:25
[INFO] [stdout]    |
[INFO] [stdout] 22 |     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] 22 |     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:109:24
[INFO] [stdout]    |
[INFO] [stdout] 42 | 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:130: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:130: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:132: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:133: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:134: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[E0405]: cannot find trait `HasPermission` in this scope
[INFO] [stdout]    --> src/lib.rs:171:6
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl HasPermission<PgPool> for User {
[INFO] [stdout]     |      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 4   + use axum_session_auth::HasPermission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx`
[INFO] [stdout]    --> src/lib.rs:207: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:207: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 19 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/auth.rs - auth::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] [stderr] error: doctest failed, to rerun pass `--doc`
[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/session.rs - session::AuthSession<User,Type,Sess,Pool>::update_user_expiration (line 244) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:245:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.update_user_expiration();
[INFO] [stdout]   | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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 34)
[INFO] [stdout]     src/lib.rs - (line 69)
[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>::is_logged_in (line 184)
[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>::reload_user (line 208)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::remember_user (line 124)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::sync_user_id (line 263)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::update_user_expiration (line 244)
[INFO] [stdout]     src/session.rs - session::AuthStatus (line 279)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 4 passed; 20 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.29s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a39fac08191c9c84973bf7f6ac799a32cab4c8969ed85fbd831c198fa2a07e37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a39fac08191c9c84973bf7f6ac799a32cab4c8969ed85fbd831c198fa2a07e37", kill_on_drop: false }`
[INFO] [stdout] a39fac08191c9c84973bf7f6ac799a32cab4c8969ed85fbd831c198fa2a07e37
[INFO] testing axum_session_auth-0.10.0 against beta-2023-12-22 for beta-1.76-1
[INFO] extracting crate axum_session_auth 0.10.0 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate axum_session_auth 0.10.0 on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate axum_session_auth 0.10.0
[INFO] finished tweaking crates.io crate axum_session_auth 0.10.0
[INFO] tweaked toml for crates.io crate axum_session_auth 0.10.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7b89f086ad232df8bdc5f14ba12ee6fcba7652b63f451d5fe2567138dfd6b904
[INFO] running `Command { std: "docker" "start" "-a" "7b89f086ad232df8bdc5f14ba12ee6fcba7652b63f451d5fe2567138dfd6b904", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7b89f086ad232df8bdc5f14ba12ee6fcba7652b63f451d5fe2567138dfd6b904", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b89f086ad232df8bdc5f14ba12ee6fcba7652b63f451d5fe2567138dfd6b904", kill_on_drop: false }`
[INFO] [stdout] 7b89f086ad232df8bdc5f14ba12ee6fcba7652b63f451d5fe2567138dfd6b904
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 432677215e3f03b36c97f6fe721543380cb534225caa689345f713ac92705669
[INFO] running `Command { std: "docker" "start" "-a" "432677215e3f03b36c97f6fe721543380cb534225caa689345f713ac92705669", kill_on_drop: false }`
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling ahash v0.8.7
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling zerocopy v0.7.32
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling allocator-api2 v0.2.16
[INFO] [stderr]    Compiling serde_derive v1.0.194
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling crossbeam-utils v0.8.18
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling rustls v0.21.10
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.59
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling polyval v0.6.1
[INFO] [stderr]    Compiling crc v3.0.1
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling http v1.0.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.10
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling finl_unicode v1.2.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling webpki-roots v0.25.3
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling stringprep v0.1.4
[INFO] [stderr]    Compiling time-macros v0.2.16
[INFO] [stderr]    Compiling axum-core v0.4.2
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling ghash v0.5.0
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling aes v0.8.3
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling cookie v0.18.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling indexmap v2.1.0
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling whoami v1.4.1
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling async-recursion v1.0.5
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling ring v0.17.7
[INFO] [stderr]    Compiling time v0.3.31
[INFO] [stderr]    Compiling http-body-util v0.1.0
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling tokio-stream v0.1.14
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling chrono v0.4.31
[INFO] [stderr]    Compiling uuid v1.6.1
[INFO] [stderr]    Compiling itertools v0.12.0
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling sqlformat v0.2.3
[INFO] [stderr]    Compiling sqlx-core v0.7.3
[INFO] [stderr]    Compiling sqlx-postgres v0.7.3
[INFO] [stderr]    Compiling sqlx v0.7.3
[INFO] [stderr]    Compiling axum_session v0.10.1
[INFO] [stderr]    Compiling axum_session_auth v0.10.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 22.72s
[INFO] running `Command { std: "docker" "inspect" "432677215e3f03b36c97f6fe721543380cb534225caa689345f713ac92705669", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "432677215e3f03b36c97f6fe721543380cb534225caa689345f713ac92705669", kill_on_drop: false }`
[INFO] [stdout] 432677215e3f03b36c97f6fe721543380cb534225caa689345f713ac92705669
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f54e6e56a9aaf06dce05f0a610c885b3332a7056541940b420496879d28163a0
[INFO] running `Command { std: "docker" "start" "-a" "f54e6e56a9aaf06dce05f0a610c885b3332a7056541940b420496879d28163a0", kill_on_drop: false }`
[INFO] [stderr]    Compiling axum_session_auth v0.10.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.19s
[INFO] running `Command { std: "docker" "inspect" "f54e6e56a9aaf06dce05f0a610c885b3332a7056541940b420496879d28163a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f54e6e56a9aaf06dce05f0a610c885b3332a7056541940b420496879d28163a0", kill_on_drop: false }`
[INFO] [stdout] f54e6e56a9aaf06dce05f0a610c885b3332a7056541940b420496879d28163a0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 93420f49857cf03e1d6f37a6ed4b6d5fb533cfa6fc24ff9b1f58e1344cf10452
[INFO] running `Command { std: "docker" "start" "-a" "93420f49857cf03e1d6f37a6ed4b6d5fb533cfa6fc24ff9b1f58e1344cf10452", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.27s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/axum_session_auth-53518e5791886d13)
[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 24 tests
[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/auth.rs - auth::Auth<User,Type,Pool>::requires (line 183) - compile ... FAILED
[INFO] [stdout] test src/auth.rs - auth::Auth<User,Type,Pool>::validate (line 206) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::is_authenticated (line 82) - compile ... FAILED
[INFO] [stdout] test src/layer.rs - layer::AuthSessionLayer<User,Type,Sess,Pool>::new (line 34) - 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/lib.rs - (line 69) ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::cache_clear_user (line 147) - compile ... FAILED
[INFO] [stdout] test src/auth.rs - auth::Auth<User,Type,Pool>::build (line 153) - compile ... FAILED
[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/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>::is_logged_in (line 184) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthStatus (line 279) - 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>::sync_user_id (line 263) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::remember_user (line 124) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::update_user_expiration (line 244) - compile ... FAILED
[INFO] [stdout] test src/session.rs - session::AuthSession<User,Type,Sess,Pool>::reload_user (line 208) - 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 (line 9) ... 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] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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/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/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/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/layer.rs - layer::AuthSessionLayer<User,Type,Sess,Pool>::new (line 34) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthSessionLayer`
[INFO] [stdout]  --> src/layer.rs:35: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:35: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_34_0<User>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Sess` in this scope
[INFO] [stdout]  --> src/layer.rs:35: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_34_0<Sess>() {
[INFO] [stdout]   |                                                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pool` in this scope
[INFO] [stdout]  --> src/layer.rs:35: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_34_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/lib.rs - (line 69) stdout ----
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> src/lib.rs:142:73
[INFO] [stdout]    |
[INFO] [stdout] 75 |         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:71: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:71: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[E0433]: failed to resolve: use of undeclared crate or module `axum`
[INFO] [stdout]  --> src/lib.rs:75:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | 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:75:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use axum::{
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `axum`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tracing`
[INFO] [stdout]   --> src/lib.rs:99:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     tracing::debug!("listening on {}", addr);
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `tracing`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `async_trait` in this scope
[INFO] [stdout]    --> src/lib.rs:170: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:181: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:100:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     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:89:25
[INFO] [stdout]    |
[INFO] [stdout] 22 |     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] 22 |     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:109:24
[INFO] [stdout]    |
[INFO] [stdout] 42 | 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:130: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:130: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:132: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:133: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:134: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[E0405]: cannot find trait `HasPermission` in this scope
[INFO] [stdout]    --> src/lib.rs:171:6
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl HasPermission<PgPool> for User {
[INFO] [stdout]     |      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 4   + use axum_session_auth::HasPermission;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx`
[INFO] [stdout]    --> src/lib.rs:207: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:207: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 19 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[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/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/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 `Duration`, found `Option<Duration>`
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `chrono::Duration`
[INFO] [stdout]                 found enum `Option<chrono::Duration>`
[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/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>::is_logged_in (line 184) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:185:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.is_logged_in();
[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::AuthStatus (line 279) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:280:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.is_logged_in();
[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>::sync_user_id (line 263) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:264:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.sync_user_id();
[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] ---- src/session.rs - session::AuthSession<User,Type,Sess,Pool>::update_user_expiration (line 244) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:245:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.update_user_expiration();
[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>::reload_user (line 208) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `auth` in this scope
[INFO] [stdout]  --> src/session.rs:209:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | auth.reload_user().await;
[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/session.rs:209:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_208_0() {
[INFO] [stdout]   |                                         ---------------------------------- this is not `async`
[INFO] [stdout] 3 | auth.reload_user().await;
[INFO] [stdout]   |                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an 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 34)
[INFO] [stdout]     src/lib.rs - (line 69)
[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>::is_logged_in (line 184)
[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>::reload_user (line 208)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::remember_user (line 124)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::sync_user_id (line 263)
[INFO] [stdout]     src/session.rs - session::AuthSession<User,Type,Sess,Pool>::update_user_expiration (line 244)
[INFO] [stdout]     src/session.rs - session::AuthStatus (line 279)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 4 passed; 20 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.40s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "93420f49857cf03e1d6f37a6ed4b6d5fb533cfa6fc24ff9b1f58e1344cf10452", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93420f49857cf03e1d6f37a6ed4b6d5fb533cfa6fc24ff9b1f58e1344cf10452", kill_on_drop: false }`
[INFO] [stdout] 93420f49857cf03e1d6f37a6ed4b6d5fb533cfa6fc24ff9b1f58e1344cf10452
