[INFO] fetching crate axum_csrf 0.6.2...
[INFO] testing axum_csrf-0.6.2 against 1.69.0 for beta-1.70-1
[INFO] extracting crate axum_csrf 0.6.2 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate axum_csrf 0.6.2 on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate axum_csrf 0.6.2
[INFO] finished tweaking crates.io crate axum_csrf 0.6.2
[INFO] tweaked toml for crates.io crate axum_csrf 0.6.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+1.69.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ctr v0.9.2
[INFO] [stderr]   Downloaded ghash v0.5.0
[INFO] [stderr]   Downloaded aead v0.5.2
[INFO] [stderr]   Downloaded universal-hash v0.5.0
[INFO] [stderr]   Downloaded aes v0.8.2
[INFO] [stderr]   Downloaded polyval v0.6.0
[INFO] [stderr]   Downloaded aes-gcm v0.10.1
[INFO] [stderr]   Downloaded cookie v0.17.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 48a04c59718b2a39af4893af7d4def277024b2801744c9d4c7bfa734de90d506
[INFO] running `Command { std: "docker" "start" "-a" "48a04c59718b2a39af4893af7d4def277024b2801744c9d4c7bfa734de90d506", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "48a04c59718b2a39af4893af7d4def277024b2801744c9d4c7bfa734de90d506", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48a04c59718b2a39af4893af7d4def277024b2801744c9d4c7bfa734de90d506", kill_on_drop: false }`
[INFO] [stdout] 48a04c59718b2a39af4893af7d4def277024b2801744c9d4c7bfa734de90d506
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c3383ed122232963e18a57869e30f612f436f933df43b52560dcb3cf355f1b5d
[INFO] running `Command { std: "docker" "start" "-a" "c3383ed122232963e18a57869e30f612f436f933df43b52560dcb3cf355f1b5d", kill_on_drop: false }`
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling rustversion v1.0.12
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling time-macros v0.2.8
[INFO] [stderr]    Compiling cookie v0.17.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling getrandom v0.2.9
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling universal-hash v0.5.0
[INFO] [stderr]    Compiling digest v0.10.6
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling polyval v0.6.0
[INFO] [stderr]    Compiling aes v0.8.2
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling blowfish v0.9.1
[INFO] [stderr]    Compiling ghash v0.5.0
[INFO] [stderr]    Compiling bcrypt v0.14.0
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling aes-gcm v0.10.1
[INFO] [stderr]    Compiling time v0.3.20
[INFO] [stderr]    Compiling axum_csrf v0.6.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 6.96s
[INFO] running `Command { std: "docker" "inspect" "c3383ed122232963e18a57869e30f612f436f933df43b52560dcb3cf355f1b5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3383ed122232963e18a57869e30f612f436f933df43b52560dcb3cf355f1b5d", kill_on_drop: false }`
[INFO] [stdout] c3383ed122232963e18a57869e30f612f436f933df43b52560dcb3cf355f1b5d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d4b9349f759bef44622c10bf77534447a57104b6d42bed165fbce21b58b0d161
[INFO] running `Command { std: "docker" "start" "-a" "d4b9349f759bef44622c10bf77534447a57104b6d42bed165fbce21b58b0d161", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling getrandom v0.2.9
[INFO] [stderr]    Compiling tokio v1.28.0
[INFO] [stderr]    Compiling tracing v0.1.38
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling axum v0.6.17
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_path_to_error v0.1.11
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling matchit v0.7.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling universal-hash v0.5.0
[INFO] [stderr]    Compiling digest v0.10.6
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling polyval v0.6.0
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling aes v0.8.2
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling blowfish v0.9.1
[INFO] [stderr]    Compiling ghash v0.5.0
[INFO] [stderr]    Compiling bcrypt v0.14.0
[INFO] [stderr]    Compiling aes-gcm v0.10.1
[INFO] [stderr]    Compiling pin-project v1.0.12
[INFO] [stderr]    Compiling cookie v0.17.0
[INFO] [stderr]    Compiling axum_csrf v0.6.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling hyper v0.14.26
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 19.19s
[INFO] running `Command { std: "docker" "inspect" "d4b9349f759bef44622c10bf77534447a57104b6d42bed165fbce21b58b0d161", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d4b9349f759bef44622c10bf77534447a57104b6d42bed165fbce21b58b0d161", kill_on_drop: false }`
[INFO] [stdout] d4b9349f759bef44622c10bf77534447a57104b6d42bed165fbce21b58b0d161
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d8e23d14f14e392bd27b3bd0a288c282ee05dfe7e64e84f1f46b5031a5cead69
[INFO] running `Command { std: "docker" "start" "-a" "d8e23d14f14e392bd27b3bd0a288c282ee05dfe7e64e84f1f46b5031a5cead69", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/axum_csrf-68692ce33144fd83)
[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_csrf
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test src/lib.rs - (line 136) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 121) ... FAILED
[INFO] [stdout] test src/config.rs - config::CsrfConfig::with_lifetime (line 71) ... FAILED
[INFO] [stdout] test src/config.rs - config::CsrfConfig::with_cookie_domain (line 56) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 104) ... FAILED
[INFO] [stdout] test src/config.rs - config::CsrfConfig::with_key (line 188) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 28) ... FAILED
[INFO] [stdout] test src/config.rs - config::CsrfConfig::with_http_only (line 138) ... ok
[INFO] [stdout] test src/config.rs - config::CsrfConfig::with_cookie_path (line 105) ... ok
[INFO] [stdout] test src/config.rs - config::CsrfConfig::with_cookie_name (line 87) ... ok
[INFO] [stdout] test src/config.rs - config::CsrfConfig::with_cookie_len (line 168) ... ok
[INFO] [stdout] test src/config.rs - config::CsrfConfig::with_cookie_same_site (line 122) ... ok
[INFO] [stdout] test src/config.rs - config::CsrfConfig::with_secure (line 153) ... ok
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 136) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `CsrfToken` in this scope
[INFO] [stdout]  --> src/lib.rs:137:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn check_key(token: CsrfToken, session: Session<SessionPgPool>, Form(payload): Form<Keys>,) -> &'static str {
[INFO] [stdout]   |                           ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum_csrf::CsrfToken;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Session` in this scope
[INFO] [stdout]  --> src/lib.rs:137:47
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn check_key(token: CsrfToken, session: Session<SessionPgPool>, Form(payload): Form<Keys>,) -> &'static str {
[INFO] [stdout]   |                                               ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: there is an enum variant `cookie::Expiration::Session`; try using the variant's enum
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn check_key(token: CsrfToken, session: cookie::Expiration, Form(payload): Form<Keys>,) -> &'static str {
[INFO] [stdout]   |                                               ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SessionPgPool` in this scope
[INFO] [stdout]  --> src/lib.rs:137:55
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn check_key(token: CsrfToken, session: Session<SessionPgPool>, Form(payload): Form<Keys>,) -> &'static str {
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn check_key<SessionPgPool>(token: CsrfToken, session: Session<SessionPgPool>, Form(payload): Form<Keys>,) -> &'static str {
[INFO] [stdout]   |                   +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Form` in this scope
[INFO] [stdout]  --> src/lib.rs:137:71
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn check_key(token: CsrfToken, session: Session<SessionPgPool>, Form(payload): Form<Keys>,) -> &'static str {
[INFO] [stdout]   |                                                                       ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::Form;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Form` in this scope
[INFO] [stdout]  --> src/lib.rs:137:86
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn check_key(token: CsrfToken, session: Session<SessionPgPool>, Form(payload): Form<Keys>,) -> &'static str {
[INFO] [stdout]   |                                                                                      ^^^^
[INFO] [stdout]  --> /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/core/src/convert/mod.rs:543:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named trait `From` defined here
[INFO] [stdout]   |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn check_key(token: CsrfToken, session: Session<SessionPgPool>, Form(payload): From<Keys>,) -> &'static str {
[INFO] [stdout]   |                                                                                      ~~~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::Form;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Keys` in this scope
[INFO] [stdout]  --> src/lib.rs:137:91
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn check_key(token: CsrfToken, session: Session<SessionPgPool>, Form(payload): Form<Keys>,) -> &'static str {
[INFO] [stdout]   |                                                                                           ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 | use http::header::Keys;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::btree_map::Keys;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::hash_map::Keys;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0531.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 121) stdout ----
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/lib.rs:131:34
[INFO] [stdout]    |
[INFO] [stdout] 12 |     (token, keys).into_response()
[INFO] [stdout]    |                                  ^ help: add `;` here
[INFO] [stdout] 13 | }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CsrfToken` in this scope
[INFO] [stdout]  --> src/lib.rs:122:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn greet(token: CsrfToken, session: Session<SessionPgPool>) -> impl IntoResponse {
[INFO] [stdout]   |                       ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum_csrf::CsrfToken;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Session` in this scope
[INFO] [stdout]  --> src/lib.rs:122:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn greet(token: CsrfToken, session: Session<SessionPgPool>) -> impl IntoResponse {
[INFO] [stdout]   |                                           ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: there is an enum variant `cookie::Expiration::Session`; try using the variant's enum
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn greet(token: CsrfToken, session: cookie::Expiration) -> impl IntoResponse {
[INFO] [stdout]   |                                           ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SessionPgPool` in this scope
[INFO] [stdout]  --> src/lib.rs:122:51
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn greet(token: CsrfToken, session: Session<SessionPgPool>) -> impl IntoResponse {
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn greet<SessionPgPool>(token: CsrfToken, session: Session<SessionPgPool>) -> impl IntoResponse {
[INFO] [stdout]   |               +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope
[INFO] [stdout]  --> src/lib.rs:122:75
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn greet(token: CsrfToken, session: Session<SessionPgPool>) -> impl IntoResponse {
[INFO] [stdout]   |                                                                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::response::IntoResponse;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum_core::response::IntoResponse;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Keys` in this scope
[INFO] [stdout]  --> src/lib.rs:126:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let keys = Keys {
[INFO] [stdout]   |                ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 | use http::header::Keys;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::btree_map::Keys;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::hash_map::Keys;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `keys` in this scope
[INFO] [stdout]   --> src/lib.rs:131:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |     (token, keys).into_response()
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/config.rs - config::CsrfConfig::with_lifetime (line 71) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `chrono`
[INFO] [stdout]  --> src/config.rs:73:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use chrono::Duration;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `chrono`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/config.rs - config::CsrfConfig::with_cookie_domain (line 56) stdout ----
[INFO] [stdout] error[E0277]: the trait bound `Option<Cow<'static, str>>: From<Option<String>>` is not satisfied
[INFO] [stdout]   --> src/config.rs:59:55
[INFO] [stdout]    |
[INFO] [stdout] 6  | let config = CsrfConfig::default().with_cookie_domain(Some("www.helpme.com".to_string()));
[INFO] [stdout]    |                                    ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<Option<String>>` is not implemented for `Option<Cow<'static, str>>`
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `From<T>`:
[INFO] [stdout]              <Option<&'a T> as From<&'a Option<T>>>
[INFO] [stdout]              <Option<&'a mut T> as From<&'a mut Option<T>>>
[INFO] [stdout]              <Option<T> as From<T>>
[INFO] [stdout]              <Option<T> as From<subtle::CtOption<T>>>
[INFO] [stdout]    = note: required for `Option<String>` to implement `Into<Option<Cow<'static, str>>>`
[INFO] [stdout] note: required by a bound in `CsrfConfig::with_cookie_domain`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/config.rs:63:52
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn with_cookie_domain(mut self, name: impl Into<Option<Cow<'static, str>>>) -> Self {
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CsrfConfig::with_cookie_domain`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 104) stdout ----
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]  --> src/lib.rs:108:43
[INFO] [stdout]   |
[INFO] [stdout] 6 | let app = Router::new().with_state(config)
[INFO] [stdout]   |                                           ^ help: add `;` here
[INFO] [stdout] 7 | } _doctest_main_src_lib_rs_104_0() }
[INFO] [stdout]   | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CsrfConfig`
[INFO] [stdout]  --> src/lib.rs:106:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | let config = CsrfConfig::default().with_key(Some(cookie_key));
[INFO] [stdout]   |              ^^^^^^^^^^ use of undeclared type `CsrfConfig`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum_csrf::CsrfConfig;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Router`
[INFO] [stdout]  --> src/lib.rs:108:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | let app = Router::new().with_state(config)
[INFO] [stdout]   |           ^^^^^^ use of undeclared type `Router`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::Router;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/config.rs - config::CsrfConfig::with_key (line 188) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/config.rs:191:45
[INFO] [stdout]     |
[INFO] [stdout] 6   | let config = CsrfConfig::default().with_key(Key::generate());
[INFO] [stdout]     |                                    -------- ^^^^^^^^^^^^^^^ expected `Option<Key>`, found `Key`
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Key>`
[INFO] [stdout]              found struct `Key`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/config.rs:195:12
[INFO] [stdout]     |
[INFO] [stdout] 195 |     pub fn with_key(mut self, key: Option<Key>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] help: try wrapping the expression in `Some`
[INFO] [stdout]     |
[INFO] [stdout] 6   | let config = CsrfConfig::default().with_key(Some(Key::generate()));
[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/lib.rs - (line 28) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `askama`
[INFO] [stdout]  --> src/lib.rs:29:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use askama::Template;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `askama`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]  --> src/lib.rs:32:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `serde`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> src/lib.rs:42:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[tokio::main]
[INFO] [stdout]    |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tracing`
[INFO] [stdout]   --> src/lib.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     tracing::debug!("listening on {}", addr);
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `tracing`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Template`
[INFO] [stdout]  --> src/lib.rs:35:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Template, Deserialize, Serialize)]
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize`
[INFO] [stdout]  --> src/lib.rs:35:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Template, Deserialize, Serialize)]
[INFO] [stdout]   |                    ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize`
[INFO] [stdout]  --> src/lib.rs:35:33
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Template, Deserialize, Serialize)]
[INFO] [stdout]   |                                 ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `template` in this scope
[INFO] [stdout]   --> src/lib.rs:36:3
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[template(path = "template.html")]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tracing_subscriber`
[INFO] [stdout]   --> src/lib.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     tracing_subscriber::fmt::init();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tracing_subscriber`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `into_response` exists for tuple `(CsrfToken, Keys)`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/lib.rs:72:19
[INFO] [stdout]     |
[INFO] [stdout] 11  | struct Keys {
[INFO] [stdout]     | ----------- doesn't satisfy `Keys: IntoResponse`
[INFO] [stdout] ...
[INFO] [stdout] 46  |     (token, keys).into_response()
[INFO] [stdout]     |                   ^^^^^^^^^^^^^ method cannot be called on `(CsrfToken, Keys)` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `Keys: IntoResponse`
[INFO] [stdout]             which is required by `(CsrfToken, Keys): IntoResponse`
[INFO] [stdout] note: the trait `IntoResponse` must be implemented
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/axum-core-0.3.4/src/response/into_response.rs:126:1
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub trait IntoResponse {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `fn(CsrfToken, Form<Keys>) -> impl Future<Output = &'static str> {check_key}: Handler<_, CsrfConfig, _>` is not satisfied
[INFO] [stdout]    --> src/lib.rs:51:36
[INFO] [stdout]     |
[INFO] [stdout] 25  |         .route("/", get(root).post(check_key))
[INFO] [stdout]     |                               ---- ^^^^^^^^^ the trait `Handler<_, CsrfConfig, _>` is not implemented for fn item `fn(CsrfToken, Form<Keys>) -> impl Future<Output = &'static str> {check_key}`
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Handler<T, S, B>`:
[INFO] [stdout]               <Layered<L, H, T, S, B, B2> as Handler<T, S, B2>>
[INFO] [stdout]               <MethodRouter<S, B> as Handler<(), S, B>>
[INFO] [stdout] note: required by a bound in `MethodRouter::<S, B>::post`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/axum-0.6.17/src/routing/method_routing.rs:619:5
[INFO] [stdout]     |
[INFO] [stdout] 619 |     chained_handler_fn!(post, POST);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `MethodRouter::<S, B>::post`
[INFO] [stdout]     = note: this error originates in the macro `chained_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/lib.rs:43:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | async fn main() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0599, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/config.rs - config::CsrfConfig::with_cookie_domain (line 56)
[INFO] [stdout]     src/config.rs - config::CsrfConfig::with_key (line 188)
[INFO] [stdout]     src/config.rs - config::CsrfConfig::with_lifetime (line 71)
[INFO] [stdout]     src/lib.rs - (line 104)
[INFO] [stdout]     src/lib.rs - (line 121)
[INFO] [stdout]     src/lib.rs - (line 136)
[INFO] [stdout]     src/lib.rs - (line 28)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 6 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.55s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d8e23d14f14e392bd27b3bd0a288c282ee05dfe7e64e84f1f46b5031a5cead69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d8e23d14f14e392bd27b3bd0a288c282ee05dfe7e64e84f1f46b5031a5cead69", kill_on_drop: false }`
[INFO] [stdout] d8e23d14f14e392bd27b3bd0a288c282ee05dfe7e64e84f1f46b5031a5cead69
