[INFO] cloning repository https://github.com/ikezuby2012/rs-movie-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ikezuby2012/rs-movie-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fikezuby2012%2Frs-movie-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fikezuby2012%2Frs-movie-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8d5f19b9dba705b4dcba65d40031d1be730e7f1c
[INFO] checking ikezuby2012/rs-movie-api against try#48c9d93cf65d550d124c40108859fd993778c157 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fikezuby2012%2Frs-movie-api" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ikezuby2012/rs-movie-api
[INFO] finished tweaking git repo https://github.com/ikezuby2012/rs-movie-api
[INFO] tweaked toml for git repo https://github.com/ikezuby2012/rs-movie-api written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ikezuby2012/rs-movie-api on toolchain 48c9d93cf65d550d124c40108859fd993778c157
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+48c9d93cf65d550d124c40108859fd993778c157" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ikezuby2012/rs-movie-api 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" "+48c9d93cf65d550d124c40108859fd993778c157" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+48c9d93cf65d550d124c40108859fd993778c157" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0afa57f53fb3ff1ff68197960f0a28ce3778302ead02dcf9ad6a3ac14dde94f1
[INFO] running `Command { std: "docker" "start" "-a" "0afa57f53fb3ff1ff68197960f0a28ce3778302ead02dcf9ad6a3ac14dde94f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0afa57f53fb3ff1ff68197960f0a28ce3778302ead02dcf9ad6a3ac14dde94f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0afa57f53fb3ff1ff68197960f0a28ce3778302ead02dcf9ad6a3ac14dde94f1", kill_on_drop: false }`
[INFO] [stdout] 0afa57f53fb3ff1ff68197960f0a28ce3778302ead02dcf9ad6a3ac14dde94f1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+48c9d93cf65d550d124c40108859fd993778c157" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8aef8cba4a49a72ce0602ad5258c10dc6489a73483ebc2aee936fee6358e55bd
[INFO] running `Command { std: "docker" "start" "-a" "8aef8cba4a49a72ce0602ad5258c10dc6489a73483ebc2aee936fee6358e55bd", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]     Checking itoa v1.0.14
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling cc v1.2.9
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling serde_json v1.0.135
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking rustls-pki-types v1.10.1
[INFO] [stderr]     Checking bitflags v2.7.0
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking tower-layer v0.3.3
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking http v1.2.0
[INFO] [stderr]    Compiling rustls v0.23.21
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]     Checking indexmap v2.7.0
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]     Checking ipnet v2.10.1
[INFO] [stderr]    Compiling time-macros v0.2.19
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking matches v0.1.10
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking match_cfg v0.1.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]    Compiling thiserror v2.0.11
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking tap v1.0.1
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking wyz v0.5.1
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling rustc_version_runtime v0.2.1
[INFO] [stderr]     Checking webpki-roots v0.26.7
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]    Compiling anyhow v1.0.95
[INFO] [stderr]     Checking data-encoding v2.7.0
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking cpufeatures v0.2.16
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking resolv-conf v0.7.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking time v0.3.37
[INFO] [stderr]     Checking iana-time-zone v0.1.61
[INFO] [stderr]     Checking unicode-properties v0.1.3
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking sha-1 v0.10.1
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]     Checking is-terminal v0.4.13
[INFO] [stderr]     Checking hostname v0.4.0
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling psm v0.1.25
[INFO] [stderr]    Compiling stacker v0.1.19
[INFO] [stderr]     Checking bitvec v1.0.1
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking email-encoding v0.3.1
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking pem v3.0.4
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]     Checking quoted_printable v0.5.1
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]     Checking webpki-roots v0.25.4
[INFO] [stderr]     Checking email_address v0.2.9
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking http-range-header v0.4.2
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking bcrypt v0.15.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.85
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking tokio v1.43.0
[INFO] [stderr]     Checking rustls-webpki v0.102.8
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]    Compiling thiserror-impl v2.0.11
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking zerofrom v0.1.5
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking chumsky v0.9.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling enum-as-inner v0.4.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling validator_derive v0.19.0
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]    Compiling serde_with_macros v1.5.2
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking serde v1.0.217
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tokio-rustls v0.26.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking h2 v0.4.7
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking uuid v1.11.1
[INFO] [stderr]     Checking serde_bytes v0.11.15
[INFO] [stderr]     Checking serde_with v1.14.0
[INFO] [stderr]     Checking chrono v0.4.39
[INFO] [stderr]     Checking serde_path_to_error v0.1.16
[INFO] [stderr]     Checking tower-http v0.6.2
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking bson v2.13.0
[INFO] [stderr]     Checking jsonwebtoken v9.3.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking trust-dns-proto v0.21.2
[INFO] [stderr]     Checking lettre v0.11.14
[INFO] [stderr]     Checking validator v0.19.0
[INFO] [stderr]     Checking trust-dns-resolver v0.21.2
[INFO] [stderr]     Checking mongodb v2.8.2
[INFO] [stderr]     Checking hyper v1.5.2
[INFO] [stderr]     Checking hyper-util v0.1.10
[INFO] [stderr]     Checking hyper-rustls v0.27.5
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking reqwest v0.12.12
[INFO] [stderr]     Checking reqwest-middleware v0.3.3
[INFO] [stderr]     Checking movie_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `body::Body`
[INFO] [stdout]  --> src/utils/utils.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use axum::{body::Body, Router};
[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: `body::Body`
[INFO] [stdout]  --> src/utils/utils.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use axum::{body::Body, Router};
[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: `State`
[INFO] [stdout]  --> src/auth/auth_handler.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 |     extract::{Extension, State},
[INFO] [stdout]   |                          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::prelude::*`
[INFO] [stdout]  --> src/auth/auth_model.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `State`
[INFO] [stdout]  --> src/auth/auth_handler.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 |     extract::{Extension, State},
[INFO] [stdout]   |                          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::prelude::*`
[INFO] [stdout]  --> src/auth/auth_model.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mongodb::bson::oid::ObjectId`
[INFO] [stdout]  --> src/auth/auth_model.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use mongodb::bson::oid::ObjectId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/auth/auth_model.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mongodb::bson::oid::ObjectId`
[INFO] [stdout]  --> src/auth/auth_model.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use mongodb::bson::oid::ObjectId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/auth/auth_model.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get` and `middleware`
[INFO] [stdout]  --> src/auth/auth_route.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     middleware,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 4 |     routing::{get, post},
[INFO] [stdout]   |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Document`
[INFO] [stdout]  --> src/auth/auth_service.rs:8:32
[INFO] [stdout]   |
[INFO] [stdout] 8 |     bson::{doc, oid::ObjectId, Document},
[INFO] [stdout]   |                                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get` and `middleware`
[INFO] [stdout]  --> src/auth/auth_route.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     middleware,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 4 |     routing::{get, post},
[INFO] [stdout]   |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Document`
[INFO] [stdout]  --> src/auth/auth_service.rs:8:32
[INFO] [stdout]   |
[INFO] [stdout] 8 |     bson::{doc, oid::ObjectId, Document},
[INFO] [stdout]   |                                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `response::IntoResponse`
[INFO] [stdout]  --> src/service/auth.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     response::IntoResponse,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `response::IntoResponse`
[INFO] [stdout]  --> src/service/auth.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     response::IntoResponse,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]   --> src/service/auth.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]   --> src/service/auth.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]   --> src/service/auth.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use serde_json::json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]   --> src/service/auth.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use serde_json::json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TraceLayer` and `self`
[INFO] [stdout]   --> src/main.rs:28:25
[INFO] [stdout]    |
[INFO] [stdout] 28 | use tower_http::trace::{self, TraceLayer};
[INFO] [stdout]    |                         ^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TraceLayer` and `self`
[INFO] [stdout]   --> src/main.rs:28:25
[INFO] [stdout]    |
[INFO] [stdout] 28 | use tower_http::trace::{self, TraceLayer};
[INFO] [stdout]    |                         ^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::Level`
[INFO] [stdout]   --> src/main.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use tracing::Level;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::Level`
[INFO] [stdout]   --> src/main.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use tracing::Level;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/utils/middleware.rs:30:33
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub async fn logging_middleware(mut req: Request, next: Next) -> Response {
[INFO] [stdout]    |                                 ----^^^
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/utils/middleware.rs:30:33
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub async fn logging_middleware(mut req: Request, next: Next) -> Response {
[INFO] [stdout]    |                                 ----^^^
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `email`
[INFO] [stdout]   --> src/service/auth.rs:64:27
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn retrieve_user_by_email(email: &str) -> Option<CurrentUser> {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_email`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bearer`
[INFO] [stdout]    --> src/service/auth.rs:129:10
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let (bearer, token) = (header.next(), header.next());
[INFO] [stdout]     |          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bearer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Unauthorized` and `Custom` are never constructed
[INFO] [stdout]   --> src/utils/error.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub enum ServerError {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 44 |     NotFound(String),
[INFO] [stdout] 45 |     Unauthorized(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     Custom(StatusCode, String),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ServerError` 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 `ServerErrorWithJWT` is never constructed
[INFO] [stdout]    --> src/utils/error.rs:177:12
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub struct ServerErrorWithJWT(pub ServerError);
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cors_layer` is never used
[INFO] [stdout]   --> src/utils/middleware.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn cors_layer() -> CorsLayer {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `timeout_layer` is never used
[INFO] [stdout]   --> src/utils/middleware.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn timeout_layer() -> TimeoutLayer {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `normalize_path_layer` is never used
[INFO] [stdout]   --> src/utils/middleware.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn normalize_path_layer() -> NormalizePathLayer {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auth_middleware` is never used
[INFO] [stdout]  --> src/auth/auth_middleware.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub async fn auth_middleware<B>(
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RegisterUserSchema` is never constructed
[INFO] [stdout]  --> src/auth/auth_model.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct RegisterUserSchema {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LoginUserSchema` is never constructed
[INFO] [stdout]   --> src/auth/auth_model.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct LoginUserSchema {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `find_user_by_id`, `find_user_by_username`, `update_user_password`, `delete_user`, and `list_all_users` are never used
[INFO] [stdout]    --> src/auth/auth_service.rs:53:18
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl AuthService {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  53 |     pub async fn find_user_by_id(&self, id: &str) -> AppResult<Option<User>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  57 |     pub async fn find_user_by_username(&self, username: &str) -> AppResult<Option<User>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  67 |     pub async fn update_user_password(&self, id: &str, new_password: &str) -> AppResult<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     pub async fn delete_user(&self, id: &str) -> AppResult<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub async fn list_all_users(&self) -> AppResult<Vec<User>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `secret` and `expiration` are never read
[INFO] [stdout]  --> src/config.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct JwtConfig {
[INFO] [stdout]   |            --------- fields in this struct
[INFO] [stdout] 7 |     pub secret: String,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 8 |     pub expiration: u64,
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `JwtConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `jwt` and `watchtower` are never read
[INFO] [stdout]   --> src/config.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 24 |     pub jwt: JwtConfig,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub watchtower: Watchtower,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `enabled`, `endpoint`, `app_id`, `token`, and `types` are never read
[INFO] [stdout]   --> src/config.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Watchtower {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 33 |     pub enabled: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 34 |     pub endpoint: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 35 |     pub app_id: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 36 |     pub token: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 37 |     pub types: WatchtowerTypes,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Watchtower` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `info`, `warning`, and `severe` are never read
[INFO] [stdout]   --> src/config.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct WatchtowerTypes {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 42 |     pub info: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 43 |     pub warning: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 44 |     pub severe: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WatchtowerTypes` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ValidationExtractor` is never constructed
[INFO] [stdout]   --> src/extractors/validation_extraction.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct ValidationExtractor<T>(pub T);
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LogType` is never used
[INFO] [stdout]   --> src/logger.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum LogType {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LogData` is never constructed
[INFO] [stdout]   --> src/logger.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct LogData<'a> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LogPayload` is never constructed
[INFO] [stdout]   --> src/logger.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct LogPayload<'a> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/logger.rs:38:12
[INFO] [stdout]     |
[INFO] [stdout]  37 | impl Logger {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  38 |     pub fn new(config: &Watchtower) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  47 |     async fn post_log(&self, log_type: LogType, message: Cow<'static, str>) {
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  79 |     pub async fn async_info<S>(&self, message: S)
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub async fn async_warning<S>(&self, message: S)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub async fn async_severe<S>(&self, message: S)
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn info<S>(&self, message: S)
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn warning<S>(&self, message: S)
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub fn severe<S>(&self, message: S)
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `find_by_id`, `find_many`, `delete_by_id`, and `list_all` are never used
[INFO] [stdout]   --> src/repository/mongo_repository.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub trait MongoRepository<T>
[INFO] [stdout]    |           --------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 22 |     async fn find_by_id(&self, id: &str) -> AppResult<Option<T>>;
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 23 |     async fn find_one(&self, filter: Document) -> AppResult<Option<T>>;
[INFO] [stdout] 24 |     async fn find_many(&self, filter: Document) -> AppResult<Vec<T>>;
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] 25 |     async fn update_by_id(&self, id: &ObjectId, update: Document) -> AppResult<UpdateResult>;
[INFO] [stdout] 26 |     async fn delete_by_id(&self, id: &str) -> AppResult<DeleteResult>;
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 27 |     async fn list_all(&self) -> AppResult<Vec<T>>;
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthError` is never constructed
[INFO] [stdout]   --> src/service/auth.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct AuthError {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SignInData` is never constructed
[INFO] [stdout]   --> src/service/auth.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct SignInData {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sign_in` is never used
[INFO] [stdout]   --> src/service/auth.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub async fn sign_in(
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CurrentUser` is never constructed
[INFO] [stdout]   --> src/service/auth.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct CurrentUser {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `retrieve_user_by_email` is never used
[INFO] [stdout]   --> src/service/auth.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn retrieve_user_by_email(email: &str) -> Option<CurrentUser> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_jwt` is never used
[INFO] [stdout]    --> src/service/auth.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn decode_jwt(jwt_token: String) -> Result<TokenData<Claims>, StatusCode> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `authorize` is never used
[INFO] [stdout]    --> src/service/auth.rs:111:14
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub async fn authorize(mut req: Request, next: Next) -> Result<Response<Body>, AuthError> {
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `email`
[INFO] [stdout]   --> src/service/auth.rs:64:27
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn retrieve_user_by_email(email: &str) -> Option<CurrentUser> {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_email`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bearer`
[INFO] [stdout]    --> src/service/auth.rs:129:10
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let (bearer, token) = (header.next(), header.next());
[INFO] [stdout]     |          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bearer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Unauthorized` and `Custom` are never constructed
[INFO] [stdout]   --> src/utils/error.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub enum ServerError {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 44 |     NotFound(String),
[INFO] [stdout] 45 |     Unauthorized(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     Custom(StatusCode, String),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ServerError` 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 `ServerErrorWithJWT` is never constructed
[INFO] [stdout]    --> src/utils/error.rs:177:12
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub struct ServerErrorWithJWT(pub ServerError);
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cors_layer` is never used
[INFO] [stdout]   --> src/utils/middleware.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn cors_layer() -> CorsLayer {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `timeout_layer` is never used
[INFO] [stdout]   --> src/utils/middleware.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn timeout_layer() -> TimeoutLayer {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `normalize_path_layer` is never used
[INFO] [stdout]   --> src/utils/middleware.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn normalize_path_layer() -> NormalizePathLayer {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auth_middleware` is never used
[INFO] [stdout]  --> src/auth/auth_middleware.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub async fn auth_middleware<B>(
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RegisterUserSchema` is never constructed
[INFO] [stdout]  --> src/auth/auth_model.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct RegisterUserSchema {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LoginUserSchema` is never constructed
[INFO] [stdout]   --> src/auth/auth_model.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct LoginUserSchema {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `find_user_by_id`, `find_user_by_username`, `update_user_password`, `delete_user`, and `list_all_users` are never used
[INFO] [stdout]    --> src/auth/auth_service.rs:53:18
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl AuthService {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  53 |     pub async fn find_user_by_id(&self, id: &str) -> AppResult<Option<User>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  57 |     pub async fn find_user_by_username(&self, username: &str) -> AppResult<Option<User>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  67 |     pub async fn update_user_password(&self, id: &str, new_password: &str) -> AppResult<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     pub async fn delete_user(&self, id: &str) -> AppResult<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub async fn list_all_users(&self) -> AppResult<Vec<User>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `secret` and `expiration` are never read
[INFO] [stdout]  --> src/config.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct JwtConfig {
[INFO] [stdout]   |            --------- fields in this struct
[INFO] [stdout] 7 |     pub secret: String,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 8 |     pub expiration: u64,
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `JwtConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `jwt` and `watchtower` are never read
[INFO] [stdout]   --> src/config.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 24 |     pub jwt: JwtConfig,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub watchtower: Watchtower,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `enabled`, `endpoint`, `app_id`, `token`, and `types` are never read
[INFO] [stdout]   --> src/config.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Watchtower {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 33 |     pub enabled: bool,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 34 |     pub endpoint: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 35 |     pub app_id: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 36 |     pub token: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 37 |     pub types: WatchtowerTypes,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Watchtower` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `info`, `warning`, and `severe` are never read
[INFO] [stdout]   --> src/config.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct WatchtowerTypes {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 42 |     pub info: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 43 |     pub warning: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 44 |     pub severe: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WatchtowerTypes` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ValidationExtractor` is never constructed
[INFO] [stdout]   --> src/extractors/validation_extraction.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct ValidationExtractor<T>(pub T);
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LogType` is never used
[INFO] [stdout]   --> src/logger.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum LogType {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LogData` is never constructed
[INFO] [stdout]   --> src/logger.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct LogData<'a> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LogPayload` is never constructed
[INFO] [stdout]   --> src/logger.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct LogPayload<'a> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/logger.rs:38:12
[INFO] [stdout]     |
[INFO] [stdout]  37 | impl Logger {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  38 |     pub fn new(config: &Watchtower) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  47 |     async fn post_log(&self, log_type: LogType, message: Cow<'static, str>) {
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  79 |     pub async fn async_info<S>(&self, message: S)
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub async fn async_warning<S>(&self, message: S)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub async fn async_severe<S>(&self, message: S)
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn info<S>(&self, message: S)
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn warning<S>(&self, message: S)
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub fn severe<S>(&self, message: S)
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `find_by_id`, `find_many`, `delete_by_id`, and `list_all` are never used
[INFO] [stdout]   --> src/repository/mongo_repository.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub trait MongoRepository<T>
[INFO] [stdout]    |           --------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 22 |     async fn find_by_id(&self, id: &str) -> AppResult<Option<T>>;
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 23 |     async fn find_one(&self, filter: Document) -> AppResult<Option<T>>;
[INFO] [stdout] 24 |     async fn find_many(&self, filter: Document) -> AppResult<Vec<T>>;
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] 25 |     async fn update_by_id(&self, id: &ObjectId, update: Document) -> AppResult<UpdateResult>;
[INFO] [stdout] 26 |     async fn delete_by_id(&self, id: &str) -> AppResult<DeleteResult>;
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 27 |     async fn list_all(&self) -> AppResult<Vec<T>>;
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthError` is never constructed
[INFO] [stdout]   --> src/service/auth.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct AuthError {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SignInData` is never constructed
[INFO] [stdout]   --> src/service/auth.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct SignInData {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sign_in` is never used
[INFO] [stdout]   --> src/service/auth.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub async fn sign_in(
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CurrentUser` is never constructed
[INFO] [stdout]   --> src/service/auth.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct CurrentUser {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `retrieve_user_by_email` is never used
[INFO] [stdout]   --> src/service/auth.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn retrieve_user_by_email(email: &str) -> Option<CurrentUser> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_jwt` is never used
[INFO] [stdout]    --> src/service/auth.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn decode_jwt(jwt_token: String) -> Result<TokenData<Claims>, StatusCode> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `authorize` is never used
[INFO] [stdout]    --> src/service/auth.rs:111:14
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub async fn authorize(mut req: Request, next: Next) -> Result<Response<Body>, AuthError> {
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "8aef8cba4a49a72ce0602ad5258c10dc6489a73483ebc2aee936fee6358e55bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8aef8cba4a49a72ce0602ad5258c10dc6489a73483ebc2aee936fee6358e55bd", kill_on_drop: false }`
[INFO] [stdout] 8aef8cba4a49a72ce0602ad5258c10dc6489a73483ebc2aee936fee6358e55bd
