[INFO] cloning repository https://github.com/WickTheThird/LoomiBack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WickTheThird/LoomiBack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWickTheThird%2FLoomiBack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWickTheThird%2FLoomiBack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 996c6bbbec72de63215d5612cd7da3137d40a6e1 [INFO] checking WickTheThird/LoomiBack against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWickTheThird%2FLoomiBack" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/WickTheThird/LoomiBack [INFO] finished tweaking git repo https://github.com/WickTheThird/LoomiBack [INFO] tweaked toml for git repo https://github.com/WickTheThird/LoomiBack written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/WickTheThird/LoomiBack on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/WickTheThird/LoomiBack 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3291851760fb16eeee83a836f5c5f5f074e9d5a348965fc0b73a28b7b0ffd96c [INFO] running `Command { std: "docker" "start" "-a" "3291851760fb16eeee83a836f5c5f5f074e9d5a348965fc0b73a28b7b0ffd96c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3291851760fb16eeee83a836f5c5f5f074e9d5a348965fc0b73a28b7b0ffd96c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3291851760fb16eeee83a836f5c5f5f074e9d5a348965fc0b73a28b7b0ffd96c", kill_on_drop: false }` [INFO] [stdout] 3291851760fb16eeee83a836f5c5f5f074e9d5a348965fc0b73a28b7b0ffd96c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15dcc5593bd2cf0f146b370f46a33de9940a4c3334ba901c1a34d05b0f2c04fe [INFO] running `Command { std: "docker" "start" "-a" "15dcc5593bd2cf0f146b370f46a33de9940a4c3334ba901c1a34d05b0f2c04fe", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling cc v1.2.54 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.35 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling time-macros v0.2.26 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling tracing v0.1.43 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Checking time v0.3.46 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking tower-cookies v0.10.0 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking askama v0.12.1 [INFO] [stderr] Checking askama_axum v0.4.0 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking learner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AuthToken` and `TokenType` [INFO] [stdout] --> src/validation/mod.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub use model::{AuthToken, TokenType}; [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 imports: `AuthToken` and `TokenType` [INFO] [stdout] --> src/validation/mod.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub use model::{AuthToken, TokenType}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `jwt_secret`, `access_token_ttl_minutes`, and `refresh_token_ttl_days` are never read [INFO] [stdout] --> src/config/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | pub database_url: String, [INFO] [stdout] 6 | pub jwt_secret: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub access_token_ttl_minutes: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub refresh_token_ttl_days: i64, [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Capability` is never constructed [INFO] [stdout] --> src/auth/model.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Capability { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `remember_me` is never read [INFO] [stdout] --> src/auth/model.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct LoginRequest { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | pub remember_me: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoginRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Invalid` is never constructed [INFO] [stdout] --> src/auth/tokens.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum TokenError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Invalid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `refresh_expires_in` is never read [INFO] [stdout] --> src/auth/tokens.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct TokenPair { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | pub refresh_expires_in: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_ttl` and `verify_refresh_token` are never used [INFO] [stdout] --> src/auth/tokens.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl TokenService { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn with_ttl(jwt_secret: String, access_ttl_minutes: i64, refresh_ttl_days: i64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn verify_refresh_token(&self, token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_capability`, `display_name`, `max_websites`, and `max_storage_mb` are never used [INFO] [stdout] --> src/auth/account_levels.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl AccountLevel { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn has_capability(&self, capability: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn display_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn max_websites(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn max_storage_mb(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_capability` is never used [INFO] [stdout] --> src/auth/account_levels.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn check_capability(account: &UserAccount, capability: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_account_active` is never used [INFO] [stdout] --> src/auth/account_levels.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn is_account_active(account: &UserAccount) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthMiddlewareError` is never constructed [INFO] [stdout] --> src/auth/middleware.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AuthMiddlewareError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `missing_token`, `invalid_token`, `token_revoked`, and `not_admin` are never used [INFO] [stdout] --> src/auth/middleware.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl AuthMiddlewareError { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] 21 | fn missing_token() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn invalid_token() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn token_revoked() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn not_admin() -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthenticatedUser` is never constructed [INFO] [stdout] --> src/auth/middleware.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct AuthenticatedUser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `require_auth` is never used [INFO] [stdout] --> src/auth/middleware.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn require_auth( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `require_admin` is never used [INFO] [stdout] --> src/auth/middleware.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn require_admin( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_authenticated_user` is never used [INFO] [stdout] --> src/auth/middleware.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn get_authenticated_user(request: &Request) -> Option<&AuthenticatedUser> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `require_capability` is never used [INFO] [stdout] --> src/auth/middleware.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn require_capability( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateUserRequest` is never constructed [INFO] [stdout] --> src/users/model.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct UpdateUserRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserLoginResponse` is never constructed [INFO] [stdout] --> src/users/model.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct UserLoginResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdminProfile` is never constructed [INFO] [stdout] --> src/admin/model.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct AdminProfile { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_user_by_id`, `is_admin`, `get_token_by_hash`, and `revoke_token` are never used [INFO] [stdout] --> src/storage/mod.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait StorageLayer: Send + Sync { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | async fn get_user_by_id(&self, id: Uuid) -> Result, DbError>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | async fn is_admin(&self, user_id: Uuid) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | async fn get_token_by_hash(&self, token_hash: &str) -> Result, DbError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | async fn revoke_token(&self, token_hash: &str) -> Result<(), DbError>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `pool` are never used [INFO] [stdout] --> src/storage/postgres.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PostgresStorage { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn pool(&self) -> &PgPool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenValidation` is never constructed [INFO] [stdout] --> src/validation/model.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct TokenValidation { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keys` and `tokens` are never read [INFO] [stdout] --> src/validation/token_validator.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ValidationStore { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 9 | keys: RwLock>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | tokens: RwLock>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/validation/token_validator.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl ValidationStore { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn cleanup_blacklist(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn store_key(&self, key: ValidationKey) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_key(&self, key_value: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn use_key(&self, key_value: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn store_token(&self, token: AuthToken) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn validate_token(&self, token_hash: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn revoke_token(&self, token_hash: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn is_admin_token(&self, token_hash: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn cleanup_expired(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn revoke_all_user_tokens(&self, user_id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JwtValidator` is never constructed [INFO] [stdout] --> src/validation/token_validator.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct JwtValidator { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `validate_jwt`, and `extract_token_from_header` are never used [INFO] [stdout] --> src/validation/token_validator.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl JwtValidator { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 144 | pub fn new(secret: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn validate_jwt(&self, token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn extract_token_from_header(auth_header: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Error` is never constructed [INFO] [stdout] --> src/routing/resp_structures.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum HealthStatus { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 11 | Ok, [INFO] [stdout] 12 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvalidResponse` is never constructed [INFO] [stdout] --> src/routing/resp_structures.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct InvalidResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResponseCode` is never used [INFO] [stdout] --> src/routing/resp_structures.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum ResponseCode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EntityStatus` is never used [INFO] [stdout] --> src/models.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum EntityStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TimestampFields` is never constructed [INFO] [stdout] --> src/models.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TimestampFields { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `jwt_secret`, `access_token_ttl_minutes`, and `refresh_token_ttl_days` are never read [INFO] [stdout] --> src/config/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | pub database_url: String, [INFO] [stdout] 6 | pub jwt_secret: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub access_token_ttl_minutes: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub refresh_token_ttl_days: i64, [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Capability` is never constructed [INFO] [stdout] --> src/auth/model.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Capability { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `remember_me` is never read [INFO] [stdout] --> src/auth/model.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct LoginRequest { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | pub remember_me: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoginRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Invalid` is never constructed [INFO] [stdout] --> src/auth/tokens.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum TokenError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Invalid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `refresh_expires_in` is never read [INFO] [stdout] --> src/auth/tokens.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct TokenPair { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | pub refresh_expires_in: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_ttl` and `verify_refresh_token` are never used [INFO] [stdout] --> src/auth/tokens.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl TokenService { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn with_ttl(jwt_secret: String, access_ttl_minutes: i64, refresh_ttl_days: i64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn verify_refresh_token(&self, token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_capability`, `display_name`, `max_websites`, and `max_storage_mb` are never used [INFO] [stdout] --> src/auth/account_levels.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl AccountLevel { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn has_capability(&self, capability: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn display_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn max_websites(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn max_storage_mb(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_capability` is never used [INFO] [stdout] --> src/auth/account_levels.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn check_capability(account: &UserAccount, capability: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_account_active` is never used [INFO] [stdout] --> src/auth/account_levels.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn is_account_active(account: &UserAccount) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthMiddlewareError` is never constructed [INFO] [stdout] --> src/auth/middleware.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AuthMiddlewareError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `missing_token`, `invalid_token`, `token_revoked`, and `not_admin` are never used [INFO] [stdout] --> src/auth/middleware.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl AuthMiddlewareError { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] 21 | fn missing_token() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn invalid_token() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn token_revoked() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn not_admin() -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthenticatedUser` is never constructed [INFO] [stdout] --> src/auth/middleware.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct AuthenticatedUser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `require_auth` is never used [INFO] [stdout] --> src/auth/middleware.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn require_auth( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `require_admin` is never used [INFO] [stdout] --> src/auth/middleware.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn require_admin( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_authenticated_user` is never used [INFO] [stdout] --> src/auth/middleware.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn get_authenticated_user(request: &Request) -> Option<&AuthenticatedUser> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `require_capability` is never used [INFO] [stdout] --> src/auth/middleware.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn require_capability( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateUserRequest` is never constructed [INFO] [stdout] --> src/users/model.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct UpdateUserRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserLoginResponse` is never constructed [INFO] [stdout] --> src/users/model.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct UserLoginResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdminProfile` is never constructed [INFO] [stdout] --> src/admin/model.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct AdminProfile { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_user_by_id`, `is_admin`, `get_token_by_hash`, and `revoke_token` are never used [INFO] [stdout] --> src/storage/mod.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait StorageLayer: Send + Sync { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | async fn get_user_by_id(&self, id: Uuid) -> Result, DbError>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | async fn is_admin(&self, user_id: Uuid) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | async fn get_token_by_hash(&self, token_hash: &str) -> Result, DbError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | async fn revoke_token(&self, token_hash: &str) -> Result<(), DbError>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `pool` are never used [INFO] [stdout] --> src/storage/postgres.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PostgresStorage { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn pool(&self) -> &PgPool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenValidation` is never constructed [INFO] [stdout] --> src/validation/model.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct TokenValidation { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keys` and `tokens` are never read [INFO] [stdout] --> src/validation/token_validator.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ValidationStore { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 9 | keys: RwLock>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | tokens: RwLock>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/validation/token_validator.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl ValidationStore { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn cleanup_blacklist(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn store_key(&self, key: ValidationKey) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_key(&self, key_value: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn use_key(&self, key_value: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn store_token(&self, token: AuthToken) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn validate_token(&self, token_hash: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn revoke_token(&self, token_hash: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn is_admin_token(&self, token_hash: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn cleanup_expired(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn revoke_all_user_tokens(&self, user_id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JwtValidator` is never constructed [INFO] [stdout] --> src/validation/token_validator.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct JwtValidator { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `validate_jwt`, and `extract_token_from_header` are never used [INFO] [stdout] --> src/validation/token_validator.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl JwtValidator { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 144 | pub fn new(secret: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn validate_jwt(&self, token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn extract_token_from_header(auth_header: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Error` is never constructed [INFO] [stdout] --> src/routing/resp_structures.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum HealthStatus { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 11 | Ok, [INFO] [stdout] 12 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvalidResponse` is never constructed [INFO] [stdout] --> src/routing/resp_structures.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct InvalidResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResponseCode` is never used [INFO] [stdout] --> src/routing/resp_structures.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum ResponseCode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EntityStatus` is never used [INFO] [stdout] --> src/models.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum EntityStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TimestampFields` is never constructed [INFO] [stdout] --> src/models.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TimestampFields { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [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 4` [INFO] running `Command { std: "docker" "inspect" "15dcc5593bd2cf0f146b370f46a33de9940a4c3334ba901c1a34d05b0f2c04fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15dcc5593bd2cf0f146b370f46a33de9940a4c3334ba901c1a34d05b0f2c04fe", kill_on_drop: false }` [INFO] [stdout] 15dcc5593bd2cf0f146b370f46a33de9940a4c3334ba901c1a34d05b0f2c04fe