[INFO] fetching crate axum_csrf 0.4.1...
[INFO] testing axum_csrf-0.4.1 against 1.62.0 for beta-1.63-1
[INFO] extracting crate axum_csrf 0.4.1 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate axum_csrf 0.4.1 on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate axum_csrf 0.4.1
[INFO] finished tweaking crates.io crate axum_csrf 0.4.1
[INFO] tweaked toml for crates.io crate axum_csrf 0.4.1 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cipher v0.4.3
[INFO] [stderr]   Downloaded inout v0.1.3
[INFO] [stderr]   Downloaded blowfish v0.9.1
[INFO] [stderr]   Downloaded bcrypt v0.13.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 025d6386663a0e7ba5ad56a78aaf1e598689042072ed446b646c1c4f5564cbe3
[INFO] running `Command { std: "docker" "start" "-a" "025d6386663a0e7ba5ad56a78aaf1e598689042072ed446b646c1c4f5564cbe3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "025d6386663a0e7ba5ad56a78aaf1e598689042072ed446b646c1c4f5564cbe3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "025d6386663a0e7ba5ad56a78aaf1e598689042072ed446b646c1c4f5564cbe3", kill_on_drop: false }`
[INFO] [stdout] 025d6386663a0e7ba5ad56a78aaf1e598689042072ed446b646c1c4f5564cbe3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d3fc6751e07860bef27aa2146fa3c720feeee4bdb1c93d31886b8829db89a21d
[INFO] running `Command { std: "docker" "start" "-a" "d3fc6751e07860bef27aa2146fa3c720feeee4bdb1c93d31886b8829db89a21d", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]    Compiling http-range-header v0.3.0
[INFO] [stderr]    Compiling matchit v0.5.0
[INFO] [stderr]    Compiling sync_wrapper v0.1.1
[INFO] [stderr]    Compiling cookie v0.16.0
[INFO] [stderr]    Compiling tracing v0.1.35
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling aead v0.4.3
[INFO] [stderr]    Compiling tokio v1.19.2
[INFO] [stderr]    Compiling universal-hash v0.4.1
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling cipher v0.4.3
[INFO] [stderr]    Compiling ctr v0.8.0
[INFO] [stderr]    Compiling aes v0.7.5
[INFO] [stderr]    Compiling polyval v0.5.3
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.2
[INFO] [stderr]    Compiling blowfish v0.9.1
[INFO] [stderr]    Compiling ghash v0.4.4
[INFO] [stderr]    Compiling bcrypt v0.13.0
[INFO] [stderr]    Compiling aes-gcm v0.9.4
[INFO] [stderr]    Compiling time v0.3.11
[INFO] [stderr]    Compiling hyper v0.14.20
[INFO] [stderr]    Compiling pin-project-internal v1.0.11
[INFO] [stderr]    Compiling async-trait v0.1.56
[INFO] [stderr]    Compiling axum-core v0.2.7
[INFO] [stderr]    Compiling pin-project v1.0.11
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling tower-http v0.3.4
[INFO] [stderr]    Compiling axum v0.5.12
[INFO] [stderr]    Compiling axum_csrf v0.4.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 14.31s
[INFO] running `Command { std: "docker" "inspect" "d3fc6751e07860bef27aa2146fa3c720feeee4bdb1c93d31886b8829db89a21d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3fc6751e07860bef27aa2146fa3c720feeee4bdb1c93d31886b8829db89a21d", kill_on_drop: false }`
[INFO] [stdout] d3fc6751e07860bef27aa2146fa3c720feeee4bdb1c93d31886b8829db89a21d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6b5dbef7467090b3065b90175abda06b452f694270e793d8aeff9b202ffb8b1b
[INFO] running `Command { std: "docker" "start" "-a" "6b5dbef7467090b3065b90175abda06b452f694270e793d8aeff9b202ffb8b1b", kill_on_drop: false }`
[INFO] [stderr]    Compiling axum_csrf v0.4.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.58s
[INFO] [stderr]   Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/axum_csrf-23b27df21bdb90e9)
[INFO] running `Command { std: "docker" "inspect" "6b5dbef7467090b3065b90175abda06b452f694270e793d8aeff9b202ffb8b1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b5dbef7467090b3065b90175abda06b452f694270e793d8aeff9b202ffb8b1b", kill_on_drop: false }`
[INFO] [stdout] 6b5dbef7467090b3065b90175abda06b452f694270e793d8aeff9b202ffb8b1b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8154f7983c80804eee19580596997e0989960c29e0de81187a1a5acb838b119e
[INFO] running `Command { std: "docker" "start" "-a" "8154f7983c80804eee19580596997e0989960c29e0de81187a1a5acb838b119e", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/axum_csrf-23b27df21bdb90e9)
[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 7 tests
[INFO] [stdout] test src/lib.rs - (line 71) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 37) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 116) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 81) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 51) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 101) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 11) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 71) stdout ----
[INFO] [stdout] error: cannot find derive macro `Template` in this scope
[INFO] [stdout]  --> src/lib.rs:72:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Template, Deserialize, Serialize)]
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/lib.rs:72:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Template, Deserialize, Serialize)]
[INFO] [stdout]   |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]  --> src/lib.rs:72:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Template, Deserialize, Serialize)]
[INFO] [stdout]   |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `template` in this scope
[INFO] [stdout]  --> src/lib.rs:73:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[template(path = "hello.html")]
[INFO] [stdout]   |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 37) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CsrfLayer`
[INFO] [stdout]  --> src/lib.rs:40:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | let csrf_layer = CsrfLayer::build()
[INFO] [stdout]   |                  ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum_csrf::CsrfLayer;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CsrfConfig`
[INFO] [stdout]  --> src/lib.rs:41:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     .config(CsrfConfig::default())
[INFO] [stdout]   |             ^^^^^^^^^^ not found in this scope
[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:45:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | let app = Router::new()
[INFO] [stdout]    |           ^^^^^^ not found in this scope
[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/lib.rs - (line 116) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `CsrfToken` in this scope
[INFO] [stdout]  --> src/lib.rs:117:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn check_key(token: CsrfToken, sessions: AxumSession, 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 `AxumSession` in this scope
[INFO] [stdout]  --> src/lib.rs:117:48
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn check_key(token: CsrfToken, sessions: AxumSession, Form(payload): Form<Keys>,) -> &'static str {
[INFO] [stdout]   |                                                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Form` in this scope
[INFO] [stdout]  --> src/lib.rs:117:61
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn check_key(token: CsrfToken, sessions: AxumSession, 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:117:76
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn check_key(token: CsrfToken, sessions: AxumSession, 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::Form;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Keys` in this scope
[INFO] [stdout]  --> src/lib.rs:117:81
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn check_key(token: CsrfToken, sessions: AxumSession, 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 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 `session` in this scope
[INFO] [stdout]  --> src/lib.rs:118:38
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let authenticity_token: String = session.get("authenticity_token").await.unwrap_or_default();
[INFO] [stdout]   |                                      ^^^^^^^ help: a local variable with a similar name exists: `sessions`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `session` in this scope
[INFO] [stdout]   --> src/lib.rs:126:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         session.remove("authenticity_token").await;
[INFO] [stdout]    |         ^^^^^^^ help: a local variable with a similar name exists: `sessions`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, 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 81) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `CsrfToken` in this scope
[INFO] [stdout]  --> src/lib.rs:82:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn check_key(token: CsrfToken, 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[E0531]: cannot find tuple struct or tuple variant `Form` in this scope
[INFO] [stdout]  --> src/lib.rs:82:38
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn check_key(token: CsrfToken, 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:82:53
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn check_key(token: CsrfToken, 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::Form;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Keys` in this scope
[INFO] [stdout]  --> src/lib.rs:82:58
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn check_key(token: CsrfToken, 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 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 4 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 51) stdout ----
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/lib.rs:58:32
[INFO] [stdout]    |
[INFO] [stdout] 9  |     (token, HtmlTemplate(keys))
[INFO] [stdout]    |                                ^ help: add `;` here
[INFO] [stdout] 10 | }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CsrfToken` in this scope
[INFO] [stdout]  --> src/lib.rs:52:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn greet(token: CsrfToken) -> 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[E0405]: cannot find trait `IntoResponse` in this scope
[INFO] [stdout]  --> src/lib.rs:52:42
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn greet(token: CsrfToken) -> impl IntoResponse {
[INFO] [stdout]   |                                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::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:53:16
[INFO] [stdout]   |
[INFO] [stdout] 4 |     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 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 function, tuple struct or tuple variant `HtmlTemplate` in this scope
[INFO] [stdout]  --> src/lib.rs:58:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |     (token, HtmlTemplate(keys))
[INFO] [stdout]   |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `keys` in this scope
[INFO] [stdout]  --> src/lib.rs:58:26
[INFO] [stdout]   |
[INFO] [stdout] 9 |     (token, HtmlTemplate(keys))
[INFO] [stdout]   |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 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/lib.rs - (line 101) stdout ----
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/lib.rs:111:32
[INFO] [stdout]    |
[INFO] [stdout] 12 |     (token, HtmlTemplate(keys))
[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:102:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn greet(token: CsrfToken, sessions: AxumSession) -> 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 `AxumSession` in this scope
[INFO] [stdout]  --> src/lib.rs:102:44
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn greet(token: CsrfToken, sessions: AxumSession) -> impl IntoResponse {
[INFO] [stdout]   |                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope
[INFO] [stdout]  --> src/lib.rs:102:65
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn greet(token: CsrfToken, sessions: AxumSession) -> impl IntoResponse {
[INFO] [stdout]   |                                                                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::response::IntoResponse;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `session` in this scope
[INFO] [stdout]  --> src/lib.rs:104:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     session.set("authenticity_token", authenticity_token.clone()).await;
[INFO] [stdout]   |     ^^^^^^^ help: a local variable with a similar name exists: `sessions`
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Keys` in this scope
[INFO] [stdout]  --> src/lib.rs:106: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 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 function, tuple struct or tuple variant `HtmlTemplate` in this scope
[INFO] [stdout]   --> src/lib.rs:111:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |     (token, HtmlTemplate(keys))
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `keys` in this scope
[INFO] [stdout]   --> src/lib.rs:111:26
[INFO] [stdout]    |
[INFO] [stdout] 12 |     (token, HtmlTemplate(keys))
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 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/lib.rs - (line 11) stdout ----
[INFO] [stdout] error: expected expression, found statement (`let`)
[INFO] [stdout]  --> src/lib.rs:15:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let poll = init_pool(&config).unwrap();
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: variable declaration using `let` is a statement
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/lib.rs:12:3
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SqlxSessionConfig`
[INFO] [stdout]  --> src/lib.rs:17:26
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let session_config = SqlxSessionConfig::default()
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^^^^ use of undeclared type `SqlxSessionConfig`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `init_pool` in this scope
[INFO] [stdout]  --> src/lib.rs:15:16
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let poll = init_pool(&config).unwrap();
[INFO] [stdout]   |                ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `config` in this scope
[INFO] [stdout]  --> src/lib.rs:15:27
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let poll = init_pool(&config).unwrap();
[INFO] [stdout]   |                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Router`
[INFO] [stdout]   --> src/lib.rs:22:15
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let app = Router::new()
[INFO] [stdout]    |               ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  | use axum::Router;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get` in this scope
[INFO] [stdout]   --> src/lib.rs:23:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |         .route("/greet", get(greet))
[INFO] [stdout]    |                          ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use axum::routing::get;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `greet` in this scope
[INFO] [stdout]   --> src/lib.rs:23:30
[INFO] [stdout]    |
[INFO] [stdout] 13 |         .route("/greet", get(greet))
[INFO] [stdout]    |                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `post` in this scope
[INFO] [stdout]   --> src/lib.rs:24:30
[INFO] [stdout]    |
[INFO] [stdout] 14 |         .route("/check_key", post(check_key))
[INFO] [stdout]    |                              ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use axum::routing::post;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `check_key` in this scope
[INFO] [stdout]   --> src/lib.rs:24:35
[INFO] [stdout]    |
[INFO] [stdout] 14 |         .route("/check_key", post(check_key))
[INFO] [stdout]    |                                   ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CsrfLayer`
[INFO] [stdout]   --> src/lib.rs:25:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |         .layer(CsrfLayer::new(CsrfConfig::default()));
[INFO] [stdout]    |                ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  | use axum_csrf::CsrfLayer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CsrfConfig`
[INFO] [stdout]   --> src/lib.rs:25:31
[INFO] [stdout]    |
[INFO] [stdout] 15 |         .layer(CsrfLayer::new(CsrfConfig::default()));
[INFO] [stdout]    |                               ^^^^^^^^^^ not found in this scope
[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 `SocketAddr`
[INFO] [stdout]   --> src/lib.rs:28:16
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let addr = SocketAddr::from(([127, 0, 0, 1], 3000));
[INFO] [stdout]    |                ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  | use std::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 2  | use std::os::unix::net::SocketAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: `let` expressions in this position are unstable
[INFO] [stdout]  --> src/lib.rs:15:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let poll = init_pool(&config).unwrap();
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/lib.rs:13:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0658, E0752.
[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/lib.rs - (line 101)
[INFO] [stdout]     src/lib.rs - (line 11)
[INFO] [stdout]     src/lib.rs - (line 116)
[INFO] [stdout]     src/lib.rs - (line 37)
[INFO] [stdout]     src/lib.rs - (line 51)
[INFO] [stdout]     src/lib.rs - (line 71)
[INFO] [stdout]     src/lib.rs - (line 81)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "8154f7983c80804eee19580596997e0989960c29e0de81187a1a5acb838b119e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8154f7983c80804eee19580596997e0989960c29e0de81187a1a5acb838b119e", kill_on_drop: false }`
[INFO] [stdout] 8154f7983c80804eee19580596997e0989960c29e0de81187a1a5acb838b119e
