[INFO] cloning repository https://github.com/surojitfromindia/SuperShop
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/surojitfromindia/SuperShop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsurojitfromindia%2FSuperShop", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsurojitfromindia%2FSuperShop'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 23358587bd23bb2613778193be819a3cd37a040a
[INFO] checking surojitfromindia/SuperShop against master#03c609abb6638f9d7f49f34326d4137d07f5cd61 for pr-155945
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsurojitfromindia%2FSuperShop" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/surojitfromindia/SuperShop
[INFO] finished tweaking git repo https://github.com/surojitfromindia/SuperShop
[INFO] tweaked toml for git repo https://github.com/surojitfromindia/SuperShop written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/surojitfromindia/SuperShop on toolchain 03c609abb6638f9d7f49f34326d4137d07f5cd61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/surojitfromindia/SuperShop 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" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sqlx-macros v0.8.6
[INFO] [stderr]   Downloaded time-core v0.1.6
[INFO] [stderr]   Downloaded base64ct v1.8.0
[INFO] [stderr]   Downloaded bcrypt v0.17.1
[INFO] [stderr]   Downloaded whoami v1.6.1
[INFO] [stderr]   Downloaded sqlx-macros-core v0.8.6
[INFO] [stderr]   Downloaded blowfish v0.9.1
[INFO] [stderr]   Downloaded axum-core v0.5.5
[INFO] [stderr]   Downloaded time-macros v0.2.24
[INFO] [stderr]   Downloaded deranged v0.5.5
[INFO] [stderr]   Downloaded sqlx v0.8.6
[INFO] [stderr]   Downloaded sqlx-mysql v0.8.6
[INFO] [stderr]   Downloaded jsonwebtoken v10.2.0
[INFO] [stderr]   Downloaded uuid v1.18.1
[INFO] [stderr]   Downloaded sqlx-sqlite v0.8.6
[INFO] [stderr]   Downloaded cc v1.2.44
[INFO] [stderr]   Downloaded sqlx-core v0.8.6
[INFO] [stderr]   Downloaded sqlx-postgres v0.8.6
[INFO] [stderr]   Downloaded num-bigint-dig v0.8.5
[INFO] [stderr]   Downloaded time v0.3.44
[INFO] [stderr]   Downloaded axum v0.8.6
[INFO] [stderr]   Downloaded syn v2.0.108
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 239f3a1bdecfcefe9c3c89ea62af59c08fa932242128a7c4cf8f6cdffe26f696
[INFO] running `Command { std: "docker" "start" "-a" "239f3a1bdecfcefe9c3c89ea62af59c08fa932242128a7c4cf8f6cdffe26f696", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "239f3a1bdecfcefe9c3c89ea62af59c08fa932242128a7c4cf8f6cdffe26f696", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "239f3a1bdecfcefe9c3c89ea62af59c08fa932242128a7c4cf8f6cdffe26f696", kill_on_drop: false }`
[INFO] [stdout] 239f3a1bdecfcefe9c3c89ea62af59c08fa932242128a7c4cf8f6cdffe26f696
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 84343ce4c31e488dee0bdab189d2b2a26280d0ccaa53877d9c9a36dba9bad7fa
[INFO] running `Command { std: "docker" "start" "-a" "84343ce4c31e488dee0bdab189d2b2a26280d0ccaa53877d9c9a36dba9bad7fa", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]     Checking const-oid v0.9.6
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.4
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling cc v1.2.44
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]     Checking base64ct v1.8.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]     Checking pem-rfc7468 v0.7.0
[INFO] [stderr]     Checking der v0.7.10
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling rustls v0.23.35
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]    Compiling rustls-pki-types v1.13.0
[INFO] [stderr]     Checking cpufeatures v0.2.17
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking ff v0.13.1
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]     Checking base16ct v0.2.0
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]    Compiling rustls-webpki v0.103.8
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling webpki-roots v1.0.4
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]     Checking slab v0.4.11
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]    Compiling indexmap v2.12.0
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]     Checking icu_properties v2.1.1
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling num-bigint-dig v0.8.5
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]     Checking primeorder v0.13.6
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking pkcs1 v0.7.5
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]     Checking axum-core v0.5.5
[INFO] [stderr]     Checking hyper-util v0.1.17
[INFO] [stderr]     Checking rsa v0.9.8
[INFO] [stderr]     Checking ed25519-dalek v2.2.0
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking p384 v0.13.1
[INFO] [stderr]     Checking p256 v0.13.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking matchit v0.8.4
[INFO] [stderr]     Checking bcrypt v0.17.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking jsonwebtoken v10.2.0
[INFO] [stderr]     Checking axum v0.8.6
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking super_shop v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::models::user_model::UserModel`
[INFO] [stdout]  --> src/common_types.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::models::user_model::UserModel;
[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: `OrganizationId`
[INFO] [stdout]  --> src/config/auth_state.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::common_types::{OrganizationId, UserId};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TokenVerificationError`
[INFO] [stdout]  --> src/config/auth_state.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::utils::token::{Token, TokenVerificationError};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UserService`
[INFO] [stdout]  --> src/config/auth_state.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{AppState, UserService};
[INFO] [stdout]   |                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OrganizationId` and `PublicId`
[INFO] [stdout]  --> src/repositories/branch_repository.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 |     DBTransaction, DatabaseError, OrganizationId, PublicId, PublicIdCounter, ShopDB,
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CreatedOrganization`, `NewOrganization`, and `OrganizationRepositoryTrait`
[INFO] [stdout]  --> src/repositories/branch_repository.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     CreatedOrganization, NewOrganization, OrganizationRepositoryTrait,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OrganizationId`
[INFO] [stdout]  --> src/services/organization_service.rs:1:57
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::common_types::{DBTransaction, DatabaseError, OrganizationId};
[INFO] [stdout]   |                                                         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/services/organization_service.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::user_model::UserModel`
[INFO] [stdout]  --> src/common_types.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::models::user_model::UserModel;
[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: `OrganizationId`
[INFO] [stdout]  --> src/config/auth_state.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::common_types::{OrganizationId, UserId};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TokenVerificationError`
[INFO] [stdout]  --> src/config/auth_state.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::utils::token::{Token, TokenVerificationError};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UserService`
[INFO] [stdout]  --> src/config/auth_state.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{AppState, UserService};
[INFO] [stdout]   |                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OrganizationId` and `PublicId`
[INFO] [stdout]  --> src/repositories/branch_repository.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 |     DBTransaction, DatabaseError, OrganizationId, PublicId, PublicIdCounter, ShopDB,
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CreatedOrganization`, `NewOrganization`, and `OrganizationRepositoryTrait`
[INFO] [stdout]  --> src/repositories/branch_repository.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     CreatedOrganization, NewOrganization, OrganizationRepositoryTrait,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OrganizationId`
[INFO] [stdout]  --> src/services/organization_service.rs:1:57
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::common_types::{DBTransaction, DatabaseError, OrganizationId};
[INFO] [stdout]   |                                                         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/services/organization_service.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]   --> src/repositories/user_repository.rs:50:36
[INFO] [stdout]    |
[INFO] [stdout] 50 |     async fn get_user_by_id(&self, user_id: &UserId) -> anyhow::Result<Option<UserModel>, DatabaseError> {
[INFO] [stdout]    |                                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]   --> src/repositories/user_repository.rs:50:36
[INFO] [stdout]    |
[INFO] [stdout] 50 |     async fn get_user_by_id(&self, user_id: &UserId) -> anyhow::Result<Option<UserModel>, DatabaseError> {
[INFO] [stdout]    |                                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `OrganizationErrors` is more private than the item `OrganizationService::create_organization`
[INFO] [stdout]   --> src/services/organization_service.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | /     pub async fn create_organization(
[INFO] [stdout] 30 | |         &self,
[INFO] [stdout] 31 | |         organization_create_input: OrganizationCreateInput,
[INFO] [stdout] 32 | |     ) -> anyhow::Result<(), OrganizationErrors> {
[INFO] [stdout]    | |_______________________________________________^ method `OrganizationService::create_organization` is reachable at visibility `pub(in crate::services)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `OrganizationErrors` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/services/organization_service.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | enum OrganizationErrors {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `OrganizationId` is never used
[INFO] [stdout]  --> src/common_types.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub type OrganizationId = PrimaryId;
[INFO] [stdout]   |          ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Password` is never constructed
[INFO] [stdout]   --> src/common_types.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct Password(String);
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PublicIdCounter` is never constructed
[INFO] [stdout]   --> src/common_types.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct PublicIdCounter<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_env_u16` is never used
[INFO] [stdout]   --> src/config/load_env.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn get_env_u16(name: &str) -> Result<u16> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `APP` and `CHRON` are never constructed
[INFO] [stdout]   --> src/config/auth_state.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | enum AppAccessMode {
[INFO] [stdout]    |      ------------- variants in this enum
[INFO] [stdout] 11 |     APP,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 12 |     USER,
[INFO] [stdout] 13 |     CHRON,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppAccessMode` 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 `token`, `access_mode`, `public_user_id`, and `app_id` are never read
[INFO] [stdout]   --> src/config/auth_state.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct AuthContext {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 23 |     token: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 24 |     access_mode: AppAccessMode,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 25 |     public_user_id: Option<PublicId>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     app_id: Option<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthContext` 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 `auth_context` is never read
[INFO] [stdout]   --> src/config/auth_state.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct AccessContext {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 31 |     auth_context: Arc<AuthContext>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AccessContext` 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: method `is_user` is never used
[INFO] [stdout]   --> src/config/auth_state.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl AccessContext {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 66 |     fn is_user(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/models/user_model.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct UserModel {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub first_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 18 |     pub last_name: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 19 |     pub email: String,
[INFO] [stdout] 20 |     pub phone: Option<String>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 21 |     pub is_active: bool,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 22 |     pub status: UserStatus,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 23 |     pub created_at: CreatedAt,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 24 |     pub updated_at: UpdatedAt,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserModel` 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 `user_id`, `created_at`, and `updated_at` are never read
[INFO] [stdout]   --> src/models/user_credential_model.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct UserCredentialModel {
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout]  7 |     pub user_id: UserId,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]  8 |     pub hashed_password: HashedPassword,
[INFO] [stdout]  9 |     pub created_at: CreatedAt,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 10 |     pub updated_at: UpdatedAt,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserCredentialModel` 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: enum `OrganizationStatus` is never used
[INFO] [stdout]  --> src/models/organization_model.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum OrganizationStatus {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrganizationModel` is never constructed
[INFO] [stdout]   --> src/models/organization_model.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct OrganizationModel {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BranchStatus` is never used
[INFO] [stdout]  --> src/models/organization_branch_model.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum BranchStatus {
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrganizationBranchModel` is never constructed
[INFO] [stdout]   --> src/models/organization_branch_model.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct OrganizationBranchModel {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RoleStatus` is never used
[INFO] [stdout]  --> src/models/role_and_permission_model.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum RoleStatus {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RoleAndPermission` is never constructed
[INFO] [stdout]   --> src/models/role_and_permission_model.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct RoleAndPermission {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/repositories/user_repository.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl UserRepository {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(shop_db: ShopDB) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrganizationRepository` is never constructed
[INFO] [stdout]  --> src/repositories/organization_repository.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct OrganizationRepository {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/repositories/organization_repository.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl OrganizationRepository {
[INFO] [stdout]    | --------------------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(shop_db: ShopDB) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BranchRepository` is never constructed
[INFO] [stdout]   --> src/repositories/branch_repository.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct BranchRepository {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/repositories/branch_repository.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl BranchRepository {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 19 |     pub fn new(shop_db: ShopDB) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_user_by_id` is never used
[INFO] [stdout]   --> src/repository_traits/user_repository_trait.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub trait  UserRepositoryTrait: Send + Sync {
[INFO] [stdout]    |            ------------------- method in this trait
[INFO] [stdout] 24 |     async fn create_user(&self, user: NewUser) -> anyhow::Result<CreatedUser, DatabaseError>;
[INFO] [stdout] 25 |     async fn get_user_by_id(&self, user_id: &UserId)-> anyhow::Result<Option<UserModel>,DatabaseError>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NewOrganization` is never constructed
[INFO] [stdout]  --> src/repository_traits/organization_repository_trait.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct NewOrganization {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreatedOrganization` is never constructed
[INFO] [stdout]   --> src/repository_traits/organization_repository_trait.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct CreatedOrganization {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `OrganizationRepositoryTrait` is never used
[INFO] [stdout]   --> src/repository_traits/organization_repository_trait.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub trait OrganizationRepositoryTrait: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NewBranch` is never constructed
[INFO] [stdout]  --> src/repository_traits/branch_repository_trait.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct NewBranch {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreatedBranch` is never constructed
[INFO] [stdout]   --> src/repository_traits/branch_repository_trait.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct CreatedBranch {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `BranchRepositoryTrait` is never used
[INFO] [stdout]   --> src/repository_traits/branch_repository_trait.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub trait BranchRepositoryTrait: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrganizationService` is never constructed
[INFO] [stdout]   --> src/services/organization_service.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct OrganizationService {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrganizationCreateInput` is never constructed
[INFO] [stdout]   --> src/services/organization_service.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct OrganizationCreateInput {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OrganizationErrors` is never used
[INFO] [stdout]   --> src/services/organization_service.rs:22:6
[INFO] [stdout]    |
[INFO] [stdout] 22 | enum OrganizationErrors {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `create_organization` and `init_default_data` are never used
[INFO] [stdout]   --> src/services/organization_service.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl OrganizationService {
[INFO] [stdout]    | ------------------------ methods in this implementation
[INFO] [stdout] 29 |     pub async fn create_organization(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     async fn init_default_data(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BranchService` is never constructed
[INFO] [stdout]  --> src/services/branch_service.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct BranchService {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `init_default` is never used
[INFO] [stdout]   --> src/services/branch_service.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl BranchService {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] 13 |     pub async fn init_default(
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `OrganizationErrors` is more private than the item `OrganizationService::create_organization`
[INFO] [stdout]   --> src/services/organization_service.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | /     pub async fn create_organization(
[INFO] [stdout] 30 | |         &self,
[INFO] [stdout] 31 | |         organization_create_input: OrganizationCreateInput,
[INFO] [stdout] 32 | |     ) -> anyhow::Result<(), OrganizationErrors> {
[INFO] [stdout]    | |_______________________________________________^ method `OrganizationService::create_organization` is reachable at visibility `pub(in crate::services)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `OrganizationErrors` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/services/organization_service.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | enum OrganizationErrors {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `OrganizationId` is never used
[INFO] [stdout]  --> src/common_types.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub type OrganizationId = PrimaryId;
[INFO] [stdout]   |          ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Password` is never constructed
[INFO] [stdout]   --> src/common_types.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct Password(String);
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PublicIdCounter` is never constructed
[INFO] [stdout]   --> src/common_types.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct PublicIdCounter<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_env_u16` is never used
[INFO] [stdout]   --> src/config/load_env.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn get_env_u16(name: &str) -> Result<u16> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `APP` and `CHRON` are never constructed
[INFO] [stdout]   --> src/config/auth_state.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | enum AppAccessMode {
[INFO] [stdout]    |      ------------- variants in this enum
[INFO] [stdout] 11 |     APP,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 12 |     USER,
[INFO] [stdout] 13 |     CHRON,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppAccessMode` 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 `token`, `access_mode`, `public_user_id`, and `app_id` are never read
[INFO] [stdout]   --> src/config/auth_state.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct AuthContext {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 23 |     token: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 24 |     access_mode: AppAccessMode,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 25 |     public_user_id: Option<PublicId>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     app_id: Option<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthContext` 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 `auth_context` is never read
[INFO] [stdout]   --> src/config/auth_state.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct AccessContext {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 31 |     auth_context: Arc<AuthContext>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AccessContext` 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: method `is_user` is never used
[INFO] [stdout]   --> src/config/auth_state.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl AccessContext {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 66 |     fn is_user(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/models/user_model.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct UserModel {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub first_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 18 |     pub last_name: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 19 |     pub email: String,
[INFO] [stdout] 20 |     pub phone: Option<String>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 21 |     pub is_active: bool,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 22 |     pub status: UserStatus,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 23 |     pub created_at: CreatedAt,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 24 |     pub updated_at: UpdatedAt,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserModel` 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 `user_id`, `created_at`, and `updated_at` are never read
[INFO] [stdout]   --> src/models/user_credential_model.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct UserCredentialModel {
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout]  7 |     pub user_id: UserId,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]  8 |     pub hashed_password: HashedPassword,
[INFO] [stdout]  9 |     pub created_at: CreatedAt,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 10 |     pub updated_at: UpdatedAt,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserCredentialModel` 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: enum `OrganizationStatus` is never used
[INFO] [stdout]  --> src/models/organization_model.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum OrganizationStatus {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrganizationModel` is never constructed
[INFO] [stdout]   --> src/models/organization_model.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct OrganizationModel {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BranchStatus` is never used
[INFO] [stdout]  --> src/models/organization_branch_model.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum BranchStatus {
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrganizationBranchModel` is never constructed
[INFO] [stdout]   --> src/models/organization_branch_model.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct OrganizationBranchModel {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RoleStatus` is never used
[INFO] [stdout]  --> src/models/role_and_permission_model.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum RoleStatus {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RoleAndPermission` is never constructed
[INFO] [stdout]   --> src/models/role_and_permission_model.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct RoleAndPermission {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SettingsPermissions` is never constructed
[INFO] [stdout]   --> src/models/role_and_permission_model.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct SettingsPermissions {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Permissions` is never constructed
[INFO] [stdout]   --> src/models/role_and_permission_model.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | struct Permissions {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/repositories/user_repository.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl UserRepository {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(shop_db: ShopDB) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrganizationRepository` is never constructed
[INFO] [stdout]  --> src/repositories/organization_repository.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct OrganizationRepository {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/repositories/organization_repository.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl OrganizationRepository {
[INFO] [stdout]    | --------------------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(shop_db: ShopDB) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BranchRepository` is never constructed
[INFO] [stdout]   --> src/repositories/branch_repository.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct BranchRepository {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/repositories/branch_repository.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl BranchRepository {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 19 |     pub fn new(shop_db: ShopDB) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_user_by_id` is never used
[INFO] [stdout]   --> src/repository_traits/user_repository_trait.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub trait  UserRepositoryTrait: Send + Sync {
[INFO] [stdout]    |            ------------------- method in this trait
[INFO] [stdout] 24 |     async fn create_user(&self, user: NewUser) -> anyhow::Result<CreatedUser, DatabaseError>;
[INFO] [stdout] 25 |     async fn get_user_by_id(&self, user_id: &UserId)-> anyhow::Result<Option<UserModel>,DatabaseError>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NewOrganization` is never constructed
[INFO] [stdout]  --> src/repository_traits/organization_repository_trait.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct NewOrganization {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreatedOrganization` is never constructed
[INFO] [stdout]   --> src/repository_traits/organization_repository_trait.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct CreatedOrganization {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `OrganizationRepositoryTrait` is never used
[INFO] [stdout]   --> src/repository_traits/organization_repository_trait.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub trait OrganizationRepositoryTrait: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NewBranch` is never constructed
[INFO] [stdout]  --> src/repository_traits/branch_repository_trait.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct NewBranch {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreatedBranch` is never constructed
[INFO] [stdout]   --> src/repository_traits/branch_repository_trait.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct CreatedBranch {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `BranchRepositoryTrait` is never used
[INFO] [stdout]   --> src/repository_traits/branch_repository_trait.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub trait BranchRepositoryTrait: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrganizationService` is never constructed
[INFO] [stdout]   --> src/services/organization_service.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct OrganizationService {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrganizationCreateInput` is never constructed
[INFO] [stdout]   --> src/services/organization_service.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct OrganizationCreateInput {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OrganizationErrors` is never used
[INFO] [stdout]   --> src/services/organization_service.rs:22:6
[INFO] [stdout]    |
[INFO] [stdout] 22 | enum OrganizationErrors {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `create_organization` and `init_default_data` are never used
[INFO] [stdout]   --> src/services/organization_service.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl OrganizationService {
[INFO] [stdout]    | ------------------------ methods in this implementation
[INFO] [stdout] 29 |     pub async fn create_organization(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     async fn init_default_data(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BranchService` is never constructed
[INFO] [stdout]  --> src/services/branch_service.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct BranchService {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `init_default` is never used
[INFO] [stdout]   --> src/services/branch_service.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl BranchService {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] 13 |     pub async fn init_default(
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::dto::auth_dto::UserLoginPayload`
[INFO] [stdout]  --> src/handlers/organization_handler.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::dto::auth_dto::UserLoginPayload;
[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: `axum::Json`
[INFO] [stdout]  --> src/handlers/organization_handler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use axum::Json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::dto::auth_dto::UserLoginPayload`
[INFO] [stdout]  --> src/handlers/organization_handler.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::dto::auth_dto::UserLoginPayload;
[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: `axum::Json`
[INFO] [stdout]  --> src/handlers/organization_handler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use axum::Json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app_state`
[INFO] [stdout]  --> src/handlers/organization_handler.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     State(app_state): State<AppState>,
[INFO] [stdout]   |           ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app_state`
[INFO] [stdout]  --> src/handlers/organization_handler.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     State(app_state): State<AppState>,
[INFO] [stdout]   |           ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 55s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.5
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "84343ce4c31e488dee0bdab189d2b2a26280d0ccaa53877d9c9a36dba9bad7fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84343ce4c31e488dee0bdab189d2b2a26280d0ccaa53877d9c9a36dba9bad7fa", kill_on_drop: false }`
[INFO] [stdout] 84343ce4c31e488dee0bdab189d2b2a26280d0ccaa53877d9c9a36dba9bad7fa
