[INFO] cloning repository https://github.com/MohamadRezaSafari/Axum
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MohamadRezaSafari/Axum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMohamadRezaSafari%2FAxum", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMohamadRezaSafari%2FAxum'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 74eac93aad532740a82aa4f9e3dbe593c7f8afd5
[INFO] building MohamadRezaSafari/Axum against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMohamadRezaSafari%2FAxum" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/MohamadRezaSafari/Axum
[INFO] finished tweaking git repo https://github.com/MohamadRezaSafari/Axum
[INFO] tweaked toml for git repo https://github.com/MohamadRezaSafari/Axum written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MohamadRezaSafari/Axum on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MohamadRezaSafari/Axum already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sqlformat v0.2.3
[INFO] [stderr]   Downloaded bigdecimal v0.3.1
[INFO] [stderr]   Downloaded aliasable v0.1.3
[INFO] [stderr]   Downloaded dotenvy_macro v0.15.7
[INFO] [stderr]   Downloaded sea-query-binder v0.5.0
[INFO] [stderr]   Downloaded rkyv_derive v0.7.44
[INFO] [stderr]   Downloaded sea-bae v0.2.0
[INFO] [stderr]   Downloaded ouroboros_macro v0.17.2
[INFO] [stderr]   Downloaded sea-orm-macros v0.12.15
[INFO] [stderr]   Downloaded simdutf8 v0.1.4
[INFO] [stderr]   Downloaded rust_decimal v1.35.0
[INFO] [stderr]   Downloaded ouroboros v0.17.2
[INFO] [stderr]   Downloaded inherent v1.0.11
[INFO] [stderr]   Downloaded typed-headers v0.2.0
[INFO] [stderr]   Downloaded rkyv v0.7.44
[INFO] [stderr]   Downloaded syn v2.0.65
[INFO] [stderr]   Downloaded sea-query v0.30.7
[INFO] [stderr]   Downloaded sea-orm v0.12.15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eff418341488c25e7ce2877b82d78868a862e55e26e29b2f4729701cb53549fb
[INFO] running `Command { std: "docker" "start" "-a" "eff418341488c25e7ce2877b82d78868a862e55e26e29b2f4729701cb53549fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eff418341488c25e7ce2877b82d78868a862e55e26e29b2f4729701cb53549fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eff418341488c25e7ce2877b82d78868a862e55e26e29b2f4729701cb53549fb", kill_on_drop: false }`
[INFO] [stdout] eff418341488c25e7ce2877b82d78868a862e55e26e29b2f4729701cb53549fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d3d44483b2e485da6e54d9d854db8c4373afdaca9ae91441c0c3cbf2a003e6c3
[INFO] running `Command { std: "docker" "start" "-a" "d3d44483b2e485da6e54d9d854db8c4373afdaca9ae91441c0c3cbf2a003e6c3", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.83
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling zerocopy v0.7.34
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling rust_decimal v1.35.0
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling axum-core v0.4.3
[INFO] [stderr]    Compiling axum v0.7.5
[INFO] [stderr]    Compiling aliasable v0.1.3
[INFO] [stderr]    Compiling strum v0.25.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling base64 v0.11.0
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling ordered-float v3.9.2
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling syn v2.0.65
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling num-bigint v0.4.5
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling headers-core v0.3.0
[INFO] [stderr]    Compiling headers v0.4.0
[INFO] [stderr]    Compiling http-body-util v0.1.1
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling bigdecimal v0.3.1
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling dotenvy_macro v0.15.7
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling inherent v1.0.11
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling ouroboros_macro v0.17.2
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling sea-bae v0.2.0
[INFO] [stderr]    Compiling sea-orm-macros v0.12.15
[INFO] [stderr]    Compiling async-stream v0.3.5
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling ouroboros v0.17.2
[INFO] [stderr]    Compiling tokio-stream v0.1.15
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling h2 v0.4.5
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling uuid v1.8.0
[INFO] [stderr]    Compiling serde_path_to_error v0.1.16
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling typed-headers v0.2.0
[INFO] [stderr]    Compiling sqlformat v0.2.3
[INFO] [stderr]    Compiling sea-query v0.30.7
[INFO] [stderr]    Compiling hyper v1.3.1
[INFO] [stderr]    Compiling hyper-util v0.1.3
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling sqlx v0.7.4
[INFO] [stderr]    Compiling sea-query-binder v0.5.0
[INFO] [stderr]    Compiling sea-orm v0.12.15
[INFO] [stderr]    Compiling Axum v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `headers::UserAgent`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use headers::UserAgent;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`, and `de::DeserializeOwned`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{de::DeserializeOwned, Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HeaderValue`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use axum::http::{HeaderMap, HeaderValue};
[INFO] [stdout]   |                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Result` and `Value`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::{Result, Value};
[INFO] [stdout]   |                  ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::str;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Extension`, `IntoResponse`, `Router`, `routing::get`, and `self`
[INFO] [stdout]  --> src/routes/set_middleware_custom_header.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Router,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 3 |     http::StatusCode,
[INFO] [stdout] 4 |     routing::get,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 5 |     response::{IntoResponse, Response},
[INFO] [stdout]   |                ^^^^^^^^^^^^
[INFO] [stdout] 6 |     middleware::{self, Next},
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 7 |     extract::{Request, Extension},
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BoxError`, `Extension`, `Json`, and `RequestPartsExt`
[INFO] [stdout]  --> src/routes/custom_json_extractor.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::{BoxError, Extension, Json, RequestPartsExt};
[INFO] [stdout]   |            ^^^^^^^^  ^^^^^^^^^  ^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::http::StatusCode`
[INFO] [stdout]  --> src/routes/custom_json_extractor.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::http::StatusCode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromRequestParts`, `FromRequest`, `HeaderMap`, `Request`, `Router`, `async_trait`, `body::Body`, `request::Parts`, and `routing::get`
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout]  5 |     Router,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]  6 |     body::Body,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]  7 |     routing::get,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]  8 |     extract::{Request, FromRequest, FromRequestParts},
[INFO] [stdout]    |               ^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     http::{HeaderMap, request::Parts},
[INFO] [stdout]    |            ^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     async_trait,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::body::HttpBody`
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use axum::body::HttpBody;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::response::IntoResponse`
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use axum::response::IntoResponse;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `handler`
[INFO] [stdout]   --> src/routes/mod.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | use axum::{handler, http::Method, middleware, routing::{get, post}, Extension, Router};
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DatabaseConnection`
[INFO] [stdout]  --> src/lib.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sea_orm::{Database, DatabaseConnection};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `username` and `password` are never read
[INFO] [stdout]  --> src/routes/validate_with_serde.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct  RequestUser {
[INFO] [stdout]   |             ----------- fields in this struct
[INFO] [stdout] 6 |     username: String,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 7 |     password: String
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `RequestUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestUser` is never constructed
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct  RequestUser {
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `custom_json_extractor` is never used
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub async fn custom_json_extractor(user: RequestUser) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `Axum` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `axum`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `headers::UserAgent`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use headers::UserAgent;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`, and `de::DeserializeOwned`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{de::DeserializeOwned, Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HeaderValue`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use axum::http::{HeaderMap, HeaderValue};
[INFO] [stdout]   |                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Result` and `Value`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::{Result, Value};
[INFO] [stdout]   |                  ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::str;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Extension`, `IntoResponse`, `Router`, `routing::get`, and `self`
[INFO] [stdout]  --> src/routes/set_middleware_custom_header.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Router,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 3 |     http::StatusCode,
[INFO] [stdout] 4 |     routing::get,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 5 |     response::{IntoResponse, Response},
[INFO] [stdout]   |                ^^^^^^^^^^^^
[INFO] [stdout] 6 |     middleware::{self, Next},
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 7 |     extract::{Request, Extension},
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BoxError`, `Extension`, `Json`, and `RequestPartsExt`
[INFO] [stdout]  --> src/routes/custom_json_extractor.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::{BoxError, Extension, Json, RequestPartsExt};
[INFO] [stdout]   |            ^^^^^^^^  ^^^^^^^^^  ^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::http::StatusCode`
[INFO] [stdout]  --> src/routes/custom_json_extractor.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::http::StatusCode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromRequestParts`, `FromRequest`, `HeaderMap`, `Request`, `Router`, `async_trait`, `body::Body`, `request::Parts`, and `routing::get`
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout]  5 |     Router,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]  6 |     body::Body,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]  7 |     routing::get,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]  8 |     extract::{Request, FromRequest, FromRequestParts},
[INFO] [stdout]    |               ^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     http::{HeaderMap, request::Parts},
[INFO] [stdout]    |            ^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     async_trait,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::body::HttpBody`
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use axum::body::HttpBody;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::response::IntoResponse`
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use axum::response::IntoResponse;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `handler`
[INFO] [stdout]   --> src/routes/mod.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | use axum::{handler, http::Method, middleware, routing::{get, post}, Extension, Router};
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SharedData` is never constructed
[INFO] [stdout]   --> src/routes/mod.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct  SharedData {
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_routes` is never used
[INFO] [stdout]   --> src/routes/mod.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn create_routes(database: DatabaseConnection) -> Router {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hello_world` is never used
[INFO] [stdout]  --> src/routes/hello_world.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub async fn hello_world() -> String {
[INFO] [stdout]   |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mirror_body_string` is never used
[INFO] [stdout]  --> src/routes/mirror_body_string.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub async fn mirror_body_string(body: String) -> String {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MirrorJson` is never constructed
[INFO] [stdout]  --> src/routes/mirror_body_json.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct MirrorJson {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MirrorJsonResponse` is never constructed
[INFO] [stdout]   --> src/routes/mirror_body_json.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct MirrorJsonResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mirror_body_json` is never used
[INFO] [stdout]   --> src/routes/mirror_body_json.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub async fn mirror_body_json(Json(body): Json<MirrorJson>) -> Json<MirrorJsonResponse> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `path_variables` is never used
[INFO] [stdout]  --> src/routes/path_variables.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub async fn path_variables(Path(id): Path<i32>) -> String {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hadr_coded_path` is never used
[INFO] [stdout]  --> src/routes/path_variables.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub async fn hadr_coded_path() -> String {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `QueryParams` is never constructed
[INFO] [stdout]  --> src/routes/query_params.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct QueryParams {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `query_params` is never used
[INFO] [stdout]   --> src/routes/query_params.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn query_params(Query(query): Query<QueryParams>) -> Json<QueryParams> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mirror_user_agent` is never used
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub async fn mirror_user_agent(headers: HeaderMap) -> String {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mirror_custom_header` is never used
[INFO] [stdout]  --> src/routes/mirror_custom_header.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub async fn mirror_custom_header(headers: HeaderMap) -> String {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `middleware_message` is never used
[INFO] [stdout]  --> src/routes/middleware_message.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub async fn  middleware_message(Extension(shared_data): Extension<SharedData>) -> String {
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HeaderMessage` is never constructed
[INFO] [stdout]  --> src/routes/read_middleware_custom_header.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct HeaderMessage(pub String);
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_middleware_custom_header` is never used
[INFO] [stdout]  --> src/routes/read_middleware_custom_header.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn read_middleware_custom_header(Extension(message): Extension<HeaderMessage>) -> String {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_middleware_custom_header` is never used
[INFO] [stdout]   --> src/routes/set_middleware_custom_header.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub async fn set_middleware_custom_header(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `always_errors` is never used
[INFO] [stdout]  --> src/routes/always_errors.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub async fn always_errors() -> Result<(), StatusCode> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Data` is never constructed
[INFO] [stdout]  --> src/routes/get_json.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Data {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_json` is never used
[INFO] [stdout]   --> src/routes/get_json.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub async fn get_json() -> Json<Data> {
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestUser` is never constructed
[INFO] [stdout]  --> src/routes/validate_with_serde.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct  RequestUser {
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_with_serde` is never used
[INFO] [stdout]   --> src/routes/validate_with_serde.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn validate_with_serde(Json(user): Json<RequestUser>) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestUser` is never constructed
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct  RequestUser {
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `custom_json_extractor` is never used
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub async fn custom_json_extractor(user: RequestUser) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6`
[INFO] running `Command { std: "docker" "inspect" "d3d44483b2e485da6e54d9d854db8c4373afdaca9ae91441c0c3cbf2a003e6c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3d44483b2e485da6e54d9d854db8c4373afdaca9ae91441c0c3cbf2a003e6c3", kill_on_drop: false }`
[INFO] [stdout] d3d44483b2e485da6e54d9d854db8c4373afdaca9ae91441c0c3cbf2a003e6c3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 465b5b15096b4100eec2d229411dbef7c0e9af9fd788efce063506774e2c31ac
[INFO] running `Command { std: "docker" "start" "-a" "465b5b15096b4100eec2d229411dbef7c0e9af9fd788efce063506774e2c31ac", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `headers::UserAgent`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use headers::UserAgent;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`, and `de::DeserializeOwned`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{de::DeserializeOwned, Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HeaderValue`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use axum::http::{HeaderMap, HeaderValue};
[INFO] [stdout]   |                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Result` and `Value`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::{Result, Value};
[INFO] [stdout]   |                  ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::str;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Extension`, `IntoResponse`, `Router`, `routing::get`, and `self`
[INFO] [stdout]  --> src/routes/set_middleware_custom_header.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Router,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 3 |     http::StatusCode,
[INFO] [stdout] 4 |     routing::get,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 5 |     response::{IntoResponse, Response},
[INFO] [stdout]   |                ^^^^^^^^^^^^
[INFO] [stdout] 6 |     middleware::{self, Next},
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 7 |     extract::{Request, Extension},
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BoxError`, `Extension`, `Json`, and `RequestPartsExt`
[INFO] [stdout]  --> src/routes/custom_json_extractor.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::{BoxError, Extension, Json, RequestPartsExt};
[INFO] [stdout]   |            ^^^^^^^^  ^^^^^^^^^  ^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling Axum v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `axum::http::StatusCode`
[INFO] [stdout]  --> src/routes/custom_json_extractor.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::http::StatusCode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromRequestParts`, `FromRequest`, `HeaderMap`, `Request`, `Router`, `async_trait`, `body::Body`, `request::Parts`, and `routing::get`
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout]  5 |     Router,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]  6 |     body::Body,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]  7 |     routing::get,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]  8 |     extract::{Request, FromRequest, FromRequestParts},
[INFO] [stdout]    |               ^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     http::{HeaderMap, request::Parts},
[INFO] [stdout]    |            ^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     async_trait,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::body::HttpBody`
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use axum::body::HttpBody;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::response::IntoResponse`
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use axum::response::IntoResponse;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `handler`
[INFO] [stdout]   --> src/routes/mod.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | use axum::{handler, http::Method, middleware, routing::{get, post}, Extension, Router};
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DatabaseConnection`
[INFO] [stdout]  --> src/lib.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sea_orm::{Database, DatabaseConnection};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `username` and `password` are never read
[INFO] [stdout]  --> src/routes/validate_with_serde.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct  RequestUser {
[INFO] [stdout]   |             ----------- fields in this struct
[INFO] [stdout] 6 |     username: String,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 7 |     password: String
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `RequestUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestUser` is never constructed
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct  RequestUser {
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `custom_json_extractor` is never used
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub async fn custom_json_extractor(user: RequestUser) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `Axum` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `axum`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `headers::UserAgent`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use headers::UserAgent;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`, and `de::DeserializeOwned`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{de::DeserializeOwned, Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HeaderValue`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use axum::http::{HeaderMap, HeaderValue};
[INFO] [stdout]   |                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Result` and `Value`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::{Result, Value};
[INFO] [stdout]   |                  ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::str;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Extension`, `IntoResponse`, `Router`, `routing::get`, and `self`
[INFO] [stdout]  --> src/routes/set_middleware_custom_header.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Router,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 3 |     http::StatusCode,
[INFO] [stdout] 4 |     routing::get,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 5 |     response::{IntoResponse, Response},
[INFO] [stdout]   |                ^^^^^^^^^^^^
[INFO] [stdout] 6 |     middleware::{self, Next},
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 7 |     extract::{Request, Extension},
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BoxError`, `Extension`, `Json`, and `RequestPartsExt`
[INFO] [stdout]  --> src/routes/custom_json_extractor.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::{BoxError, Extension, Json, RequestPartsExt};
[INFO] [stdout]   |            ^^^^^^^^  ^^^^^^^^^  ^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::http::StatusCode`
[INFO] [stdout]  --> src/routes/custom_json_extractor.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::http::StatusCode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromRequestParts`, `FromRequest`, `HeaderMap`, `Request`, `Router`, `async_trait`, `body::Body`, `request::Parts`, and `routing::get`
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout]  5 |     Router,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]  6 |     body::Body,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]  7 |     routing::get,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]  8 |     extract::{Request, FromRequest, FromRequestParts},
[INFO] [stdout]    |               ^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     http::{HeaderMap, request::Parts},
[INFO] [stdout]    |            ^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     async_trait,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::body::HttpBody`
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use axum::body::HttpBody;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::response::IntoResponse`
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use axum::response::IntoResponse;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `handler`
[INFO] [stdout]   --> src/routes/mod.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | use axum::{handler, http::Method, middleware, routing::{get, post}, Extension, Router};
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DatabaseConnection`
[INFO] [stdout]  --> src/lib.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sea_orm::{Database, DatabaseConnection};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `headers::UserAgent`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use headers::UserAgent;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`, and `de::DeserializeOwned`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{de::DeserializeOwned, Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HeaderValue`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use axum::http::{HeaderMap, HeaderValue};
[INFO] [stdout]   |                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Result` and `Value`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::{Result, Value};
[INFO] [stdout]   |                  ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str`
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::str;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Extension`, `IntoResponse`, `Router`, `routing::get`, and `self`
[INFO] [stdout]  --> src/routes/set_middleware_custom_header.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Router,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 3 |     http::StatusCode,
[INFO] [stdout] 4 |     routing::get,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 5 |     response::{IntoResponse, Response},
[INFO] [stdout]   |                ^^^^^^^^^^^^
[INFO] [stdout] 6 |     middleware::{self, Next},
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 7 |     extract::{Request, Extension},
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BoxError`, `Extension`, `Json`, and `RequestPartsExt`
[INFO] [stdout]  --> src/routes/custom_json_extractor.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::{BoxError, Extension, Json, RequestPartsExt};
[INFO] [stdout]   |            ^^^^^^^^  ^^^^^^^^^  ^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::http::StatusCode`
[INFO] [stdout]  --> src/routes/custom_json_extractor.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::http::StatusCode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromRequestParts`, `FromRequest`, `HeaderMap`, `Request`, `Router`, `async_trait`, `body::Body`, `request::Parts`, and `routing::get`
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout]  5 |     Router,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]  6 |     body::Body,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]  7 |     routing::get,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]  8 |     extract::{Request, FromRequest, FromRequestParts},
[INFO] [stdout]    |               ^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     http::{HeaderMap, request::Parts},
[INFO] [stdout]    |            ^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     async_trait,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::body::HttpBody`
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use axum::body::HttpBody;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::response::IntoResponse`
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use axum::response::IntoResponse;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `handler`
[INFO] [stdout]   --> src/routes/mod.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | use axum::{handler, http::Method, middleware, routing::{get, post}, Extension, Router};
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `username` and `password` are never read
[INFO] [stdout]  --> src/routes/validate_with_serde.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct  RequestUser {
[INFO] [stdout]   |             ----------- fields in this struct
[INFO] [stdout] 6 |     username: String,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 7 |     password: String
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `RequestUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestUser` is never constructed
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct  RequestUser {
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `custom_json_extractor` is never used
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub async fn custom_json_extractor(user: RequestUser) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SharedData` is never constructed
[INFO] [stdout]   --> src/routes/mod.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct  SharedData {
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_routes` is never used
[INFO] [stdout]   --> src/routes/mod.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn create_routes(database: DatabaseConnection) -> Router {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hello_world` is never used
[INFO] [stdout]  --> src/routes/hello_world.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub async fn hello_world() -> String {
[INFO] [stdout]   |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mirror_body_string` is never used
[INFO] [stdout]  --> src/routes/mirror_body_string.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub async fn mirror_body_string(body: String) -> String {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MirrorJson` is never constructed
[INFO] [stdout]  --> src/routes/mirror_body_json.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct MirrorJson {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MirrorJsonResponse` is never constructed
[INFO] [stdout]   --> src/routes/mirror_body_json.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct MirrorJsonResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mirror_body_json` is never used
[INFO] [stdout]   --> src/routes/mirror_body_json.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub async fn mirror_body_json(Json(body): Json<MirrorJson>) -> Json<MirrorJsonResponse> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `path_variables` is never used
[INFO] [stdout]  --> src/routes/path_variables.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub async fn path_variables(Path(id): Path<i32>) -> String {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hadr_coded_path` is never used
[INFO] [stdout]  --> src/routes/path_variables.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub async fn hadr_coded_path() -> String {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `QueryParams` is never constructed
[INFO] [stdout]  --> src/routes/query_params.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct QueryParams {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `query_params` is never used
[INFO] [stdout]   --> src/routes/query_params.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn query_params(Query(query): Query<QueryParams>) -> Json<QueryParams> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mirror_user_agent` is never used
[INFO] [stdout]  --> src/routes/mirror_user_agent.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub async fn mirror_user_agent(headers: HeaderMap) -> String {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mirror_custom_header` is never used
[INFO] [stdout]  --> src/routes/mirror_custom_header.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub async fn mirror_custom_header(headers: HeaderMap) -> String {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `middleware_message` is never used
[INFO] [stdout]  --> src/routes/middleware_message.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub async fn  middleware_message(Extension(shared_data): Extension<SharedData>) -> String {
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HeaderMessage` is never constructed
[INFO] [stdout]  --> src/routes/read_middleware_custom_header.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct HeaderMessage(pub String);
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_middleware_custom_header` is never used
[INFO] [stdout]  --> src/routes/read_middleware_custom_header.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn read_middleware_custom_header(Extension(message): Extension<HeaderMessage>) -> String {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_middleware_custom_header` is never used
[INFO] [stdout]   --> src/routes/set_middleware_custom_header.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub async fn set_middleware_custom_header(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `always_errors` is never used
[INFO] [stdout]  --> src/routes/always_errors.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub async fn always_errors() -> Result<(), StatusCode> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Data` is never constructed
[INFO] [stdout]  --> src/routes/get_json.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Data {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_json` is never used
[INFO] [stdout]   --> src/routes/get_json.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub async fn get_json() -> Json<Data> {
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestUser` is never constructed
[INFO] [stdout]  --> src/routes/validate_with_serde.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct  RequestUser {
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_with_serde` is never used
[INFO] [stdout]   --> src/routes/validate_with_serde.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn validate_with_serde(Json(user): Json<RequestUser>) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestUser` is never constructed
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct  RequestUser {
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `custom_json_extractor` is never used
[INFO] [stdout]   --> src/routes/custom_json_extractor.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub async fn custom_json_extractor(user: RequestUser) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.08s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6`
[INFO] running `Command { std: "docker" "inspect" "465b5b15096b4100eec2d229411dbef7c0e9af9fd788efce063506774e2c31ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "465b5b15096b4100eec2d229411dbef7c0e9af9fd788efce063506774e2c31ac", kill_on_drop: false }`
[INFO] [stdout] 465b5b15096b4100eec2d229411dbef7c0e9af9fd788efce063506774e2c31ac
