[INFO] cloning repository https://github.com/HimalPoudel334/haat-bazaar-backend
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HimalPoudel334/haat-bazaar-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHimalPoudel334%2Fhaat-bazaar-backend", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHimalPoudel334%2Fhaat-bazaar-backend'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 64d0ec3f239492f658685f929bd84e09a49776ea
[INFO] checking HimalPoudel334/haat-bazaar-backend against master#1fe72d35998dea48aeecaf7fc07783b0b553f24f for pr-154992
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHimalPoudel334%2Fhaat-bazaar-backend" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/HimalPoudel334/haat-bazaar-backend
[INFO] finished tweaking git repo https://github.com/HimalPoudel334/haat-bazaar-backend
[INFO] tweaked toml for git repo https://github.com/HimalPoudel334/haat-bazaar-backend written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/HimalPoudel334/haat-bazaar-backend on toolchain 1fe72d35998dea48aeecaf7fc07783b0b553f24f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/HimalPoudel334/haat-bazaar-backend 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" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows-result v0.3.3
[INFO] [stderr]   Downloaded lettre v0.11.18
[INFO] [stderr]   Downloaded windows-strings v0.4.1
[INFO] [stderr]   Downloaded lopdf v0.26.0
[INFO] [stderr]   Downloaded gcp_auth v0.12.3
[INFO] [stderr]   Downloaded diesel_derives v2.2.5
[INFO] [stderr]   Downloaded windows-core v0.61.1
[INFO] [stderr]   Downloaded fcm-service v0.2.3
[INFO] [stderr]   Downloaded genpdf v0.2.0
[INFO] [stderr]   Downloaded diesel v2.2.10
[INFO] [stderr]   Downloaded printpdf v0.3.4
[INFO] [stderr]   Downloaded libsqlite3-sys v0.33.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 18621b09dd5e008a27a393197fda8e9d043116e6a5557ab11ecf122763afbf86
[INFO] running `Command { std: "docker" "start" "-a" "18621b09dd5e008a27a393197fda8e9d043116e6a5557ab11ecf122763afbf86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "18621b09dd5e008a27a393197fda8e9d043116e6a5557ab11ecf122763afbf86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18621b09dd5e008a27a393197fda8e9d043116e6a5557ab11ecf122763afbf86", kill_on_drop: false }`
[INFO] [stdout] 18621b09dd5e008a27a393197fda8e9d043116e6a5557ab11ecf122763afbf86
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0c2779c7d889138b2e5021f070c4d93bd42fb1e15486263226cf3cb7e30da0ac
[INFO] running `Command { std: "docker" "start" "-a" "0c2779c7d889138b2e5021f070c4d93bd42fb1e15486263226cf3cb7e30da0ac", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]     Checking hashbrown v0.15.3
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]    Compiling icu_properties_data v2.0.0
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]    Compiling standback v0.2.17
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling const_fn v0.4.11
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling rustls v0.23.27
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling time v0.2.27
[INFO] [stderr]     Checking bytestring v1.4.0
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]     Checking brotli v8.0.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking ordered-float v1.1.1
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]    Compiling cc v1.2.23
[INFO] [stderr]     Checking stb_truetype v0.3.1
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking rustls-native-certs v0.8.1
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.33.0
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]    Compiling v_htmlescape v0.15.8
[INFO] [stderr]     Checking dtoa v0.4.8
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking rusttype v0.8.3
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling parse-size v1.1.0
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking r2d2 v0.8.10
[INFO] [stderr]    Compiling time-macros-impl v0.1.2
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking pem v3.0.5
[INFO] [stderr]     Checking email-encoding v0.4.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking hostname v0.4.1
[INFO] [stderr]     Checking quoted_printable v0.5.1
[INFO] [stderr]     Checking http-range v0.1.5
[INFO] [stderr]     Checking email_address v0.2.9
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking uuid v1.16.0
[INFO] [stderr]     Checking time-macros v0.1.1
[INFO] [stderr]    Compiling openssl-sys v0.9.108
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling psm v0.1.26
[INFO] [stderr]    Compiling stacker v0.1.21
[INFO] [stderr]     Checking chumsky v0.9.3
[INFO] [stderr]     Checking cookie v0.16.2
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking tempfile v3.20.0
[INFO] [stderr]     Checking bstr v1.12.0
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking pom v3.4.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling diesel_table_macro_syntax v0.2.0
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]     Checking tokio v1.46.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking rustls-webpki v0.103.3
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling dsl_auto_type v0.1.3
[INFO] [stderr]    Compiling actix-multipart-derive v0.7.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]    Compiling diesel_derives v2.2.5
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking tokio-rustls v0.26.2
[INFO] [stderr]     Checking h2 v0.4.10
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking lettre v0.11.18
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_plain v1.0.2
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking lopdf v0.26.0
[INFO] [stderr]     Checking diesel v2.2.10
[INFO] [stderr]     Checking printpdf v0.3.4
[INFO] [stderr]     Checking genpdf v0.2.0
[INFO] [stderr]     Checking actix-http v3.11.0
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking hyper-util v0.1.11
[INFO] [stderr]     Checking actix-web v4.11.0
[INFO] [stderr]     Checking hyper-rustls v0.27.5
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.15
[INFO] [stderr]     Checking gcp_auth v0.12.3
[INFO] [stderr]     Checking fcm-service v0.2.3
[INFO] [stderr]     Checking actix-multipart v0.7.2
[INFO] [stderr]     Checking actix-files v0.6.6
[INFO] [stderr]     Checking haatbazar v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `EmailServiceFactory`
[INFO] [stdout]   --> src/services/lettre_email_service.rs:10:42
[INFO] [stdout]    |
[INFO] [stdout] 10 | use super::email_service::{EmailService, EmailServiceFactory};
[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: `EmailServiceFactory`
[INFO] [stdout]   --> src/services/lettre_email_service.rs:10:42
[INFO] [stdout]    |
[INFO] [stdout] 10 | use super::email_service::{EmailService, EmailServiceFactory};
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `email` is never read
[INFO] [stdout]  --> src/base_types/email.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Email {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] 4 |     email: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_email` is never used
[INFO] [stdout]   --> src/base_types/email.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl Email {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn get_email(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `PaymentPending`, `Processed`, `Completed`, `Failed`, and `Cancelled` are never constructed
[INFO] [stdout]  --> src/base_types/payment_status.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum PaymentStatus {
[INFO] [stdout]   |          ------------- variants in this enum
[INFO] [stdout] 3 |     PaymentPending,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 4 |     Pending,
[INFO] [stdout] 5 |     Processed,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 6 |     Completed,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 7 |     Failed,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 8 |     Cancelled,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `from_str` and `all` are never used
[INFO] [stdout]   --> src/base_types/payment_status.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl PaymentStatus {
[INFO] [stdout]    | ------------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn from_str(string_value: &String) -> Result<Self, &str> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn all() -> Vec<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_str` is never used
[INFO] [stdout]   --> src/base_types/product_sku.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ProductSKU {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn from_str(string_value: &String) -> Result<Self, &str> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_str` is never used
[INFO] [stdout]   --> src/base_types/shipment_status.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl ShipmentStatus {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn from_str(string_value: &String) -> Result<Self, &str> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `jwt_expires_in`, `khalti_payment_verification_url`, `khalti_test_secret_key`, `khalti_test_public_key`, `khalti_live_public_key`, and `firebase_project_id` are never read
[INFO] [stdout]   --> src/config.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout]  2 | pub struct ApplicationConfiguration {
[INFO] [stdout]    |            ------------------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  7 |     pub jwt_expires_in: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub khalti_payment_verification_url: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 18 |     pub khalti_test_secret_key: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     pub khalti_test_public_key: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     pub khalti_live_secret_key: String,
[INFO] [stdout] 21 |     pub khalti_live_public_key: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub firebase_project_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApplicationConfiguration` 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: field `smtp_port` is never read
[INFO] [stdout]    --> src/config.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub struct EmailConfiguration {
[INFO] [stdout]     |            ------------------ field in this struct
[INFO] [stdout] 107 |     pub smtp_server: String,
[INFO] [stdout] 108 |     pub smtp_port: u16,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `EmailConfiguration` 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 `company_email`, `company_telephone`, and `invoice_storage_base_dir` are never read
[INFO] [stdout]    --> src/config.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct CompanyConfiguration {
[INFO] [stdout]     |            -------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub company_email: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 162 |     pub company_telephone: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 163 |     pub tax_rate: f64,
[INFO] [stdout] 164 |     pub invoice_storage_base_dir: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CompanyConfiguration` 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 `PasswordChangePayload` is never constructed
[INFO] [stdout]   --> src/contracts/auth.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct PasswordChangePayload {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `invoice_id` and `unit_price` are never read
[INFO] [stdout]   --> src/contracts/invoice_item.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct NewInvoiceItem {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 19 |     pub product_id: String,
[INFO] [stdout] 20 |     pub invoice_id: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 21 |     pub quantity: f64,
[INFO] [stdout] 22 |     pub unit_price: f64,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/contracts/khalti_payment.rs:98:9
[INFO] [stdout]     |
[INFO] [stdout]  95 | pub struct KhaltiPaymentCallback {
[INFO] [stdout]     |            --------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub txn_id: Option<String>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]  99 |     pub tidx: Option<String>,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 100 |     pub amount: f64,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 101 |     pub total_amount: f64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 102 |     pub status: String,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 103 |     pub mobile: Option<String>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 104 |     pub purchase_order_id: String,
[INFO] [stdout] 105 |     pub purchase_order_name: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 106 |     pub transaction_id: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `KhaltiPaymentCallback` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `fulfilled_on` and `delivery_status` are never read
[INFO] [stdout]    --> src/contracts/order.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub struct OrderCreate {
[INFO] [stdout]     |            ----------- fields in this struct
[INFO] [stdout] 175 |     pub created_on: String,
[INFO] [stdout] 176 |     pub fulfilled_on: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |     pub delivery_status: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `status` is never read
[INFO] [stdout]    --> src/contracts/order.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub struct PaymentDetails {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] 189 |     pub payment_method: String,
[INFO] [stdout] 190 |     pub status: String,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CartCheckout` is never constructed
[INFO] [stdout]    --> src/contracts/order.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub struct CartCheckout {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderCreatedPayload` is never constructed
[INFO] [stdout]    --> src/contracts/order.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 232 | pub struct OrderCreatedPayload {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderItemResponse` is never constructed
[INFO] [stdout]   --> src/contracts/order_item.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct OrderItemResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `order_id` is never read
[INFO] [stdout]   --> src/contracts/order_item.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct NewOrderItem {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub order_id: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pidx` and `refunded` are never read
[INFO] [stdout]   --> src/contracts/payment.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct KhaltiPaymentLookupResponse {
[INFO] [stdout]    |            --------------------------- fields in this struct
[INFO] [stdout] 67 |     pub pidx: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub refunded: bool,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KhaltiPaymentLookupResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KhaltiPaymentConfirmPayload` is never constructed
[INFO] [stdout]   --> src/contracts/payment.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub struct KhaltiPaymentConfirmPayload {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProductCreateB` is never constructed
[INFO] [stdout]   --> src/contracts/product.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct ProductCreateB {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProductStockUpdate` is never constructed
[INFO] [stdout]   --> src/contracts/product.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct ProductStockUpdate {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_db_connection_from_pool` is never used
[INFO] [stdout]   --> src/db/connection.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn get_db_connection_from_pool(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InternalOnly` is never constructed
[INFO] [stdout]  --> src/middlewares/internal_api.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct InternalOnly;
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InternalOnlyMiddleware` is never constructed
[INFO] [stdout]   --> src/middlewares/internal_api.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct InternalOnlyMiddleware<S> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/models/invoice_item.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct InvoiceItem {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 11 |     id: i32,
[INFO] [stdout] 12 |     uuid: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 13 |     quantity: f64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 14 |     unit_price: f64,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 15 |     discount_percent: f64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     discount_amount: f64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     total: f64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     product_id: i32,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `uuid` is never read
[INFO] [stdout]   --> src/models/product_rating.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct ProductRating {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout]  9 |     id: i32,
[INFO] [stdout] 10 |     uuid: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `send_simple_email` and `test_connection` are never used
[INFO] [stdout]   --> src/services/email_service.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait EmailService: Send + Sync {
[INFO] [stdout]    |           ------------ methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 27 |     async fn send_simple_email(&self, to_email: &str, subject: &str, body: &str) -> Result<()>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     async fn test_connection(&self) -> Result<()>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create_outlook_service` is never used
[INFO] [stdout]   --> src/services/email_service.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl EmailServiceFactory {
[INFO] [stdout]    | ------------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn create_outlook_service(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `OrderCancelled`, `OrderFulfilled`, and `Generic` are never constructed
[INFO] [stdout]  --> src/services/notification_service.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum NotificationEvent {
[INFO] [stdout]   |          ----------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 6 |     OrderCancelled(OrderCancelledPayload),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 7 |     OrderFulfilled(OrderFulfilledPayload),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 8 |     Generic(GenericNotificationPayload),
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/services/opt_service.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 |     DatabaseError(diesel::result::Error),
[INFO] [stdout]    |     ------------- ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OtpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 16 -     DatabaseError(diesel::result::Error),
[INFO] [stdout] 16 +     DatabaseError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `UserNotFound` and `InvalidOtp` are never constructed
[INFO] [stdout]   --> src/services/opt_service.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum OtpError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 16 |     DatabaseError(diesel::result::Error),
[INFO] [stdout] 17 |     UserNotFound,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 18 |     InvalidOtp,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OtpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cleanup_expired_otps` is never used
[INFO] [stdout]    --> src/services/opt_service.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout]  33 | impl OtpService {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn cleanup_expired_otps(&self) -> Result<usize, diesel::result::Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DatabaseErrorInfo` is never constructed
[INFO] [stdout]   --> src/utils/uuid_validator.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct DatabaseErrorInfo {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `email` is never read
[INFO] [stdout]  --> src/base_types/email.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Email {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] 4 |     email: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_email` is never used
[INFO] [stdout]   --> src/base_types/email.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl Email {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn get_email(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `PaymentPending`, `Processed`, `Completed`, `Failed`, and `Cancelled` are never constructed
[INFO] [stdout]  --> src/base_types/payment_status.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum PaymentStatus {
[INFO] [stdout]   |          ------------- variants in this enum
[INFO] [stdout] 3 |     PaymentPending,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 4 |     Pending,
[INFO] [stdout] 5 |     Processed,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 6 |     Completed,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 7 |     Failed,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 8 |     Cancelled,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `from_str` and `all` are never used
[INFO] [stdout]   --> src/base_types/payment_status.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl PaymentStatus {
[INFO] [stdout]    | ------------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn from_str(string_value: &String) -> Result<Self, &str> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn all() -> Vec<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_str` is never used
[INFO] [stdout]   --> src/base_types/product_sku.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ProductSKU {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn from_str(string_value: &String) -> Result<Self, &str> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_str` is never used
[INFO] [stdout]   --> src/base_types/shipment_status.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl ShipmentStatus {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn from_str(string_value: &String) -> Result<Self, &str> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `jwt_expires_in`, `khalti_payment_verification_url`, `khalti_test_secret_key`, `khalti_test_public_key`, `khalti_live_public_key`, and `firebase_project_id` are never read
[INFO] [stdout]   --> src/config.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout]  2 | pub struct ApplicationConfiguration {
[INFO] [stdout]    |            ------------------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  7 |     pub jwt_expires_in: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub khalti_payment_verification_url: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 18 |     pub khalti_test_secret_key: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     pub khalti_test_public_key: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     pub khalti_live_secret_key: String,
[INFO] [stdout] 21 |     pub khalti_live_public_key: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub firebase_project_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApplicationConfiguration` 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: field `smtp_port` is never read
[INFO] [stdout]    --> src/config.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub struct EmailConfiguration {
[INFO] [stdout]     |            ------------------ field in this struct
[INFO] [stdout] 107 |     pub smtp_server: String,
[INFO] [stdout] 108 |     pub smtp_port: u16,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `EmailConfiguration` 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 `company_email`, `company_telephone`, and `invoice_storage_base_dir` are never read
[INFO] [stdout]    --> src/config.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct CompanyConfiguration {
[INFO] [stdout]     |            -------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub company_email: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 162 |     pub company_telephone: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 163 |     pub tax_rate: f64,
[INFO] [stdout] 164 |     pub invoice_storage_base_dir: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CompanyConfiguration` 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 `PasswordChangePayload` is never constructed
[INFO] [stdout]   --> src/contracts/auth.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct PasswordChangePayload {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `invoice_id` and `unit_price` are never read
[INFO] [stdout]   --> src/contracts/invoice_item.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct NewInvoiceItem {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 19 |     pub product_id: String,
[INFO] [stdout] 20 |     pub invoice_id: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 21 |     pub quantity: f64,
[INFO] [stdout] 22 |     pub unit_price: f64,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/contracts/khalti_payment.rs:98:9
[INFO] [stdout]     |
[INFO] [stdout]  95 | pub struct KhaltiPaymentCallback {
[INFO] [stdout]     |            --------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub txn_id: Option<String>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]  99 |     pub tidx: Option<String>,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 100 |     pub amount: f64,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 101 |     pub total_amount: f64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 102 |     pub status: String,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 103 |     pub mobile: Option<String>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 104 |     pub purchase_order_id: String,
[INFO] [stdout] 105 |     pub purchase_order_name: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 106 |     pub transaction_id: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `KhaltiPaymentCallback` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `fulfilled_on` and `delivery_status` are never read
[INFO] [stdout]    --> src/contracts/order.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub struct OrderCreate {
[INFO] [stdout]     |            ----------- fields in this struct
[INFO] [stdout] 175 |     pub created_on: String,
[INFO] [stdout] 176 |     pub fulfilled_on: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |     pub delivery_status: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `status` is never read
[INFO] [stdout]    --> src/contracts/order.rs:190:9
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub struct PaymentDetails {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] 189 |     pub payment_method: String,
[INFO] [stdout] 190 |     pub status: String,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CartCheckout` is never constructed
[INFO] [stdout]    --> src/contracts/order.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub struct CartCheckout {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderCreatedPayload` is never constructed
[INFO] [stdout]    --> src/contracts/order.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 232 | pub struct OrderCreatedPayload {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderItemResponse` is never constructed
[INFO] [stdout]   --> src/contracts/order_item.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct OrderItemResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `order_id` is never read
[INFO] [stdout]   --> src/contracts/order_item.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct NewOrderItem {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub order_id: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pidx` and `refunded` are never read
[INFO] [stdout]   --> src/contracts/payment.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct KhaltiPaymentLookupResponse {
[INFO] [stdout]    |            --------------------------- fields in this struct
[INFO] [stdout] 67 |     pub pidx: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub refunded: bool,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KhaltiPaymentLookupResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KhaltiPaymentConfirmPayload` is never constructed
[INFO] [stdout]   --> src/contracts/payment.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub struct KhaltiPaymentConfirmPayload {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProductCreateB` is never constructed
[INFO] [stdout]   --> src/contracts/product.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct ProductCreateB {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProductStockUpdate` is never constructed
[INFO] [stdout]   --> src/contracts/product.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct ProductStockUpdate {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_db_connection_from_pool` is never used
[INFO] [stdout]   --> src/db/connection.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn get_db_connection_from_pool(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InternalOnly` is never constructed
[INFO] [stdout]  --> src/middlewares/internal_api.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct InternalOnly;
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InternalOnlyMiddleware` is never constructed
[INFO] [stdout]   --> src/middlewares/internal_api.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct InternalOnlyMiddleware<S> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/models/invoice_item.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct InvoiceItem {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 11 |     id: i32,
[INFO] [stdout] 12 |     uuid: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 13 |     quantity: f64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 14 |     unit_price: f64,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 15 |     discount_percent: f64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     discount_amount: f64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     total: f64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     product_id: i32,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `uuid` is never read
[INFO] [stdout]   --> src/models/product_rating.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct ProductRating {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout]  9 |     id: i32,
[INFO] [stdout] 10 |     uuid: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `send_simple_email` and `test_connection` are never used
[INFO] [stdout]   --> src/services/email_service.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait EmailService: Send + Sync {
[INFO] [stdout]    |           ------------ methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 27 |     async fn send_simple_email(&self, to_email: &str, subject: &str, body: &str) -> Result<()>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     async fn test_connection(&self) -> Result<()>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create_outlook_service` is never used
[INFO] [stdout]   --> src/services/email_service.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl EmailServiceFactory {
[INFO] [stdout]    | ------------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn create_outlook_service(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `OrderCancelled`, `OrderFulfilled`, and `Generic` are never constructed
[INFO] [stdout]  --> src/services/notification_service.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum NotificationEvent {
[INFO] [stdout]   |          ----------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 6 |     OrderCancelled(OrderCancelledPayload),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 7 |     OrderFulfilled(OrderFulfilledPayload),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 8 |     Generic(GenericNotificationPayload),
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/services/opt_service.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 |     DatabaseError(diesel::result::Error),
[INFO] [stdout]    |     ------------- ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OtpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 16 -     DatabaseError(diesel::result::Error),
[INFO] [stdout] 16 +     DatabaseError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `UserNotFound` and `InvalidOtp` are never constructed
[INFO] [stdout]   --> src/services/opt_service.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum OtpError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 16 |     DatabaseError(diesel::result::Error),
[INFO] [stdout] 17 |     UserNotFound,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 18 |     InvalidOtp,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OtpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cleanup_expired_otps` is never used
[INFO] [stdout]    --> src/services/opt_service.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout]  33 | impl OtpService {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn cleanup_expired_otps(&self) -> Result<usize, diesel::result::Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DatabaseErrorInfo` is never constructed
[INFO] [stdout]   --> src/utils/uuid_validator.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct DatabaseErrorInfo {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s
[INFO] running `Command { std: "docker" "inspect" "0c2779c7d889138b2e5021f070c4d93bd42fb1e15486263226cf3cb7e30da0ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c2779c7d889138b2e5021f070c4d93bd42fb1e15486263226cf3cb7e30da0ac", kill_on_drop: false }`
[INFO] [stdout] 0c2779c7d889138b2e5021f070c4d93bd42fb1e15486263226cf3cb7e30da0ac
