[INFO] cloning repository https://github.com/SrClauss/medusa_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SrClauss/medusa_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSrClauss%2Fmedusa_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSrClauss%2Fmedusa_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c2019d2f75a03a22d3e0b13d86e3eab6c701e52 [INFO] checking SrClauss/medusa_rust against try#2c4819a380dbddb1f2a0f4405a49fb6ed90983ae for pr-152996 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSrClauss%2Fmedusa_rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SrClauss/medusa_rust [INFO] finished tweaking git repo https://github.com/SrClauss/medusa_rust [INFO] tweaked toml for git repo https://github.com/SrClauss/medusa_rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SrClauss/medusa_rust on toolchain 2c4819a380dbddb1f2a0f4405a49fb6ed90983ae [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c4819a380dbddb1f2a0f4405a49fb6ed90983ae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SrClauss/medusa_rust 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" "+2c4819a380dbddb1f2a0f4405a49fb6ed90983ae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2c4819a380dbddb1f2a0f4405a49fb6ed90983ae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ca8aca5ae749f3c84f7cd01d4fcb2e94804656c2be5d1748d769db56af83e0b [INFO] running `Command { std: "docker" "start" "-a" "6ca8aca5ae749f3c84f7cd01d4fcb2e94804656c2be5d1748d769db56af83e0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ca8aca5ae749f3c84f7cd01d4fcb2e94804656c2be5d1748d769db56af83e0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ca8aca5ae749f3c84f7cd01d4fcb2e94804656c2be5d1748d769db56af83e0b", kill_on_drop: false }` [INFO] [stdout] 6ca8aca5ae749f3c84f7cd01d4fcb2e94804656c2be5d1748d769db56af83e0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2c4819a380dbddb1f2a0f4405a49fb6ed90983ae" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1d2b29c0281d063e6c8427aaabd313da5c5984a7ccb3d88b74141b53556629f [INFO] running `Command { std: "docker" "start" "-a" "d1d2b29c0281d063e6c8427aaabd313da5c5984a7ccb3d88b74141b53556629f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Checking ipnet v2.12.0 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Checking deranged v0.5.8 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking outref v0.5.2 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling aws-lc-rs v1.16.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking uuid v1.21.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Checking crc v3.4.0 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling aws-types v1.3.14 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling aws-lc-sys v0.38.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking regex-lite v0.1.9 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [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 openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Checking pin-project v1.1.11 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Checking aws-smithy-xml v0.60.15 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking apalis-core v1.0.0-rc.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking crc-fast v1.6.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Compiling zip v2.4.2 [INFO] [stderr] Checking bumpalo v3.20.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling apalis-postgres v1.0.0-rc.4 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking multer v3.1.0 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Checking zopfli v0.8.3 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Checking bzip2 v0.5.2 [INFO] [stderr] Checking ulid v1.2.1 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking lzma-rs v0.3.0 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking codepage v0.1.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking quick-xml v0.31.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling validator_derive v0.18.2 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking tagptr v0.2.0 [INFO] [stderr] Checking deunicode v1.6.2 [INFO] [stderr] Checking simple_asn1 v0.6.4 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking deflate64 v0.1.11 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking calamine v0.24.0 [INFO] [stderr] Checking moka v0.12.14 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking colored v3.1.1 [INFO] [stderr] Checking apalis-sql v1.0.0-rc.4 [INFO] [stderr] Checking apalis-codec v0.1.0-rc.4 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking tempfile v3.26.0 [INFO] [stderr] Checking validator v0.18.1 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking aws-smithy-async v1.2.14 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking aws-smithy-types v1.4.6 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking aws-smithy-runtime-api v1.11.6 [INFO] [stderr] Checking aws-smithy-eventstream v0.60.20 [INFO] [stderr] Checking aws-smithy-json v0.62.5 [INFO] [stderr] Checking aws-smithy-query v0.60.15 [INFO] [stderr] Checking aws-smithy-json v0.61.9 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking apalis v1.0.0-rc.4 [INFO] [stderr] Checking aws-credential-types v1.2.14 [INFO] [stderr] Checking aws-smithy-http v0.63.6 [INFO] [stderr] Checking aws-smithy-observability v0.2.6 [INFO] [stderr] Checking aws-smithy-http v0.62.6 [INFO] [stderr] Checking aws-sigv4 v1.4.2 [INFO] [stderr] Checking aws-smithy-checksums v0.63.12 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking mockito v1.7.2 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking plugin_api v0.1.0 (/opt/rustwide/workdir/crates/plugin_api) [INFO] [stderr] Checking paypal_plugin v0.1.0 (/opt/rustwide/workdir/crates/plugins/paypal) [INFO] [stderr] Checking mercadopago_plugin v0.1.0 (/opt/rustwide/workdir/crates/plugins/mercadopago) [INFO] [stderr] Checking asaas_plugin v0.1.0 (/opt/rustwide/workdir/crates/plugins/asaas) [INFO] [stderr] Checking stripe_plugin v0.1.0 (/opt/rustwide/workdir/crates/plugins/stripe) [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking aws-smithy-http-client v1.1.12 [INFO] [stderr] Checking aws-smithy-runtime v1.10.3 [INFO] [stderr] Checking aws-runtime v1.7.2 [INFO] [stderr] Checking aws-sdk-sts v1.100.0 [INFO] [stderr] Checking aws-sdk-ssooidc v1.98.0 [INFO] [stderr] Checking aws-sdk-sso v1.96.0 [INFO] [stderr] Checking aws-sdk-s3 v1.119.0 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking aws-config v1.8.15 [INFO] [stderr] Checking medusa_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `middleware::Next` [INFO] [stdout] --> src/api/auth/mod.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::{extract::{Path, State}, Json, middleware::Next, response::IntoResponse, http::StatusCode}; [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: `Serialize` [INFO] [stdout] --> src/api/auth/mod.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/api/auth/mod.rs:196:36 [INFO] [stdout] | [INFO] [stdout] 196 | use axum::routing::{get, post, delete}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/notifications/mod.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `middleware::Next` [INFO] [stdout] --> src/api/auth/mod.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::{extract::{Path, State}, Json, middleware::Next, response::IntoResponse, http::StatusCode}; [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: `Serialize` [INFO] [stdout] --> src/api/auth/mod.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/api/auth/mod.rs:196:36 [INFO] [stdout] | [INFO] [stdout] 196 | use axum::routing::{get, post, delete}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/notifications/mod.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/api/admin/uploads.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let field_name = field.name().unwrap_or("file").to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/api/store/returns.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let order_id = payload.get("order_id").and_then(|v| v.as_str()).ok_or_else(|| AppError::BadRequest("order_id required".into()))?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/api/admin/uploads.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let field_name = field.name().unwrap_or("file").to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/error.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | fn from(e: jsonwebtoken::errors::Error) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/api/store/returns.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let order_id = payload.get("order_id").and_then(|v| v.as_str()).ok_or_else(|| AppError::BadRequest("order_id required".into()))?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/error.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | fn from(e: jsonwebtoken::errors::Error) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/api/auth/mod.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AuthPayload(serde_json::Value); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `AuthPayload` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/api/auth/mod.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AuthPayload(serde_json::Value); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `AuthPayload` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `middleware::Next` [INFO] [stdout] --> src/api/auth/mod.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::{extract::{Path, State}, Json, middleware::Next, response::IntoResponse, http::StatusCode}; [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: `Serialize` [INFO] [stdout] --> src/api/auth/mod.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AuthResult` [INFO] [stdout] --> src/api/auth/mod.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | pub use service::{AuthService, AuthData, AuthIdentity, AuthResult, ActorType, EmailPasswordService}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/api/auth/mod.rs:196:36 [INFO] [stdout] | [INFO] [stdout] 196 | use axum::routing::{get, post, delete}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::plugins::PluginManager` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::plugins::PluginManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `middleware::Next` [INFO] [stdout] --> src/api/auth/mod.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::{extract::{Path, State}, Json, middleware::Next, response::IntoResponse, http::StatusCode}; [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: `crate::api::auth::EmailPasswordService` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::api::auth::EmailPasswordService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/api/auth/mod.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AuthResult` [INFO] [stdout] --> src/api/auth/mod.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | pub use service::{AuthService, AuthData, AuthIdentity, AuthResult, ActorType, EmailPasswordService}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/api/auth/mod.rs:196:36 [INFO] [stdout] | [INFO] [stdout] 196 | use axum::routing::{get, post, delete}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::plugins::PluginManager` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::plugins::PluginManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::auth::EmailPasswordService` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::api::auth::EmailPasswordService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/api/admin/uploads.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let field_name = field.name().unwrap_or("file").to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/api/store/returns.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let order_id = payload.get("order_id").and_then(|v| v.as_str()).ok_or_else(|| AppError::BadRequest("order_id required".into()))?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/error.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | fn from(e: jsonwebtoken::errors::Error) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_name` [INFO] [stdout] --> src/api/admin/uploads.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let field_name = field.name().unwrap_or("file").to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/api/store/returns.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let order_id = payload.get("order_id").and_then(|v| v.as_str()).ok_or_else(|| AppError::BadRequest("order_id required".into()))?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthPayload` is never constructed [INFO] [stdout] --> src/api/auth/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AuthPayload(serde_json::Value); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url`, `headers`, `query`, and `protocol` are never read [INFO] [stdout] --> src/api/auth/service.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AuthData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 11 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | pub headers: HeaderMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub query: serde_json::Map, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub body: Value, [INFO] [stdout] 15 | pub protocol: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthData` 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 `error` is never read [INFO] [stdout] --> src/api/auth/service.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AuthResult { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 28 | pub success: bool, [INFO] [stdout] 29 | pub error: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_country` is never used [INFO] [stdout] --> src/api/admin/categories.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn add_country(State(_): State, Path(id): Path, Json(_): Json) -> Result src/api/admin/categories.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn remove_country(State(_): State, Path((region_id, code)): Path<(Uuid,String)>) -> Result src/api/admin/categories.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn add_fulfillment_provider(State(_): State, Path(id): Path, Json(_): Json) -> Result src/api/admin/categories.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn remove_fulfillment_provider(State(_): State, Path((id, pid)): Path<(Uuid,String)>) -> Result src/api/admin/categories.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn add_payment_provider(State(_): State, Path(id): Path, Json(_): Json) -> Result src/api/admin/categories.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn remove_payment_provider(State(_): State, Path((id, pid)): Path<(Uuid,String)>) -> Result src/api/admin/categories.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn get_by_code(State(_): State, Path(code): Path) -> Result, AppError> { Ok(Json... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_region` is never used [INFO] [stdout] --> src/api/admin/categories.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn add_region(State(_): State, Path((id, rid)): Path<(Uuid,Uuid)>) -> Result, AppError> ... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_region` is never used [INFO] [stdout] --> src/api/admin/categories.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn remove_region(State(_): State, Path((id, rid)): Path<(Uuid,Uuid)>) -> Result, AppErro... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_conditions` is never used [INFO] [stdout] --> src/api/admin/categories.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn list_conditions(State(_): State, Path(id): Path) -> Result, AppError> { Ok(Json... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_condition` is never used [INFO] [stdout] --> src/api/admin/categories.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn create_condition(State(_): State, Path(id): Path, Json(_): Json) -> Result<(StatusCo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_condition` is never used [INFO] [stdout] --> src/api/admin/categories.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn get_condition(State(_): State, Path((id,cid)): Path<(Uuid,Uuid)>) -> Result, AppError... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_condition` is never used [INFO] [stdout] --> src/api/admin/categories.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn update_condition(State(_): State, Path((id,cid)): Path<(Uuid,Uuid)>, Json(_): Json) -> Res... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_condition` is never used [INFO] [stdout] --> src/api/admin/categories.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn delete_condition(State(_): State, Path((id,cid)): Path<(Uuid,Uuid)>) -> Result, AppEr... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `request_password_reset` is never used [INFO] [stdout] --> src/api/admin/categories.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn request_password_reset(State(_): State, Json(_): Json) -> Result, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reset_password` is never used [INFO] [stdout] --> src/api/admin/categories.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn reset_password(State(_): State, Json(_): Json) -> Result, AppError... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_prices` is never used [INFO] [stdout] --> src/api/admin/categories.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn add_prices(State(_): State, Path(id): Path, Json(_): Json) -> Result src/api/admin/categories.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | pub async fn delete_prices(State(_): State, Path(id): Path, Json(_): Json) -> Result src/api/admin/categories.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn list_products(State(_): State, Path(id): Path) -> Result, AppError> { Ok(Json(s... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_levels` is never used [INFO] [stdout] --> src/api/admin/categories.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn list_levels(State(_): State, Path(id): Path) -> Result, AppError> { Ok(Json(ser... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_level` is never used [INFO] [stdout] --> src/api/admin/categories.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn create_level(State(_): State, Path(id): Path, Json(_): Json) -> Result<(StatusCode, ... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_level` is never used [INFO] [stdout] --> src/api/admin/categories.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn update_level(State(_): State, Path((id,lid)): Path<(Uuid,Uuid)>, Json(_): Json) -> Result<... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_level` is never used [INFO] [stdout] --> src/api/admin/categories.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn delete_level(State(_): State, Path((id,lid)): Path<(Uuid,Uuid)>) -> Result, AppError>... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload` is never used [INFO] [stdout] --> src/api/admin/categories.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn upload(State(_): State) -> Result, AppError> { Ok(Json(serde_json::json!({"uploads":[... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_files` is never used [INFO] [stdout] --> src/api/admin/categories.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | pub async fn delete_files(State(_): State, Json(_): Json) -> Result, AppError> ... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `receive` is never used [INFO] [stdout] --> src/api/admin/categories.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn receive(State(_): State, Path(id): Path, Json(_): Json) -> Result src/api/admin/categories.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub async fn add_line_item(State(_): State, Path(id): Path, Json(_): Json) -> Result<(StatusCode,... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_line_item` is never used [INFO] [stdout] --> src/api/admin/categories.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn update_line_item(State(_): State, Path((id,lid)): Path<(Uuid,Uuid)>, Json(_): Json) -> Res... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_line_item` is never used [INFO] [stdout] --> src/api/admin/categories.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | pub async fn delete_line_item(State(_): State, Path((id,lid)): Path<(Uuid,Uuid)>) -> Result, AppEr... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_payment` is never used [INFO] [stdout] --> src/api/admin/categories.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn register_payment(State(_): State, Path(id): Path) -> Result, AppError> { Ok(Jso... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `confirm` is never used [INFO] [stdout] --> src/api/admin/categories.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn confirm(State(_): State, Path(id): Path) -> Result, AppError> { Ok(Json(serde_j... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cancel` is never used [INFO] [stdout] --> src/api/admin/categories.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn cancel(State(_): State, Path(id): Path) -> Result, AppError> { Ok(Json(serde_js... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `q` is never read [INFO] [stdout] --> src/api/admin/discounts.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ListParams { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub q: Option, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `ListParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get` is never used [INFO] [stdout] --> src/api/admin/invites.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | pub async fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `q` is never read [INFO] [stdout] --> src/api/admin/product_tags.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ListParams { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub q: Option, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `ListParams` 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 `q` is never read [INFO] [stdout] --> src/api/admin/product_types.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ListParams { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub q: Option, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `ListParams` 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 `location_id` and `inventory_item_id` are never read [INFO] [stdout] --> src/api/admin/reservations.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ListParams { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub location_id: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | pub inventory_item_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListParams` 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 `is_return` is never read [INFO] [stdout] --> src/api/admin/shipping_options.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ListParams { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub is_return: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | pub async fn list(_: State) -> Result, AppError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | pub async fn get(_: State, _: axum::extract::Path) -> Result, AppError> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | pub async fn create(_: State, _: Json) -> Result<(StatusCode, Json), AppError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 144 | pub async fn update(_: State, _: axum::extract::Path, _: Json) -> Result src/api/admin/uploads.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn delete_one(_: State, _: axum::extract::Path) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_products` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:150:14 [INFO] [stdout] | [INFO] [stdout] 150 | pub async fn add_products(_: State, _: axum::extract::Path, _: Json) -> Result src/api/admin/uploads.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | pub async fn remove_products(_: State, _: axum::extract::Path, _: Json) -> Result src/api/admin/uploads.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | pub async fn add_country(_: State, _: axum::extract::Path, _: Json) -> Result src/api/admin/uploads.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | pub async fn remove_country(_: State, _: axum::extract::Path<(uuid::Uuid, String)>) -> Result, Ap... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_fulfillment_provider` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | pub async fn add_fulfillment_provider(_: State, _: axum::extract::Path, _: Json) -> Result... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_fulfillment_provider` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 155 | pub async fn remove_fulfillment_provider(_: State, _: axum::extract::Path<(uuid::Uuid, String)>) -> Result src/api/admin/uploads.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | pub async fn add_payment_provider(_: State, _: axum::extract::Path, _: Json) -> Result src/api/admin/uploads.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | pub async fn remove_payment_provider(_: State, _: axum::extract::Path<(uuid::Uuid, String)>) -> Result src/api/admin/uploads.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | pub async fn get_by_code(_: State, _: axum::extract::Path) -> Result, AppError> { Ok(Json... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_region` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | pub async fn add_region(_: State, _: axum::extract::Path<(uuid::Uuid, uuid::Uuid)>) -> Result, Ap... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_region` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | pub async fn remove_region(_: State, _: axum::extract::Path<(uuid::Uuid, uuid::Uuid)>) -> Result,... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_conditions` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:161:14 [INFO] [stdout] | [INFO] [stdout] 161 | pub async fn list_conditions(_: State, _: axum::extract::Path) -> Result, AppError> {... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_condition` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | pub async fn create_condition(_: State, _: axum::extract::Path, _: Json) -> Result<(Status... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_condition` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | pub async fn get_condition(_: State, _: axum::extract::Path<(uuid::Uuid, uuid::Uuid)>) -> Result,... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_condition` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | pub async fn update_condition(_: State, _: axum::extract::Path<(uuid::Uuid, uuid::Uuid)>, _: Json) -> ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_condition` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | pub async fn delete_condition(_: State, _: axum::extract::Path<(uuid::Uuid, uuid::Uuid)>) -> Result src/api/admin/uploads.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | pub async fn request_password_reset(_: State, _: Json) -> Result, AppError> { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reset_password` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 167 | pub async fn reset_password(_: State, _: Json) -> Result, AppError> { Ok(Json(... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_prices` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:168:14 [INFO] [stdout] | [INFO] [stdout] 168 | pub async fn add_prices(_: State, _: axum::extract::Path, _: Json) -> Result src/api/admin/uploads.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 169 | pub async fn delete_prices(_: State, _: axum::extract::Path, _: Json) -> Result src/api/admin/uploads.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 170 | pub async fn list_products(_: State, _: axum::extract::Path) -> Result, AppError> { O... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_levels` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:171:14 [INFO] [stdout] | [INFO] [stdout] 171 | pub async fn list_levels(_: State, _: axum::extract::Path) -> Result, AppError> { Ok(... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_level` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | pub async fn create_level(_: State, _: axum::extract::Path, _: Json) -> Result<(StatusCode... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_level` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:173:14 [INFO] [stdout] | [INFO] [stdout] 173 | pub async fn update_level(_: State, _: axum::extract::Path<(uuid::Uuid, uuid::Uuid)>, _: Json) -> Resu... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_level` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 174 | pub async fn delete_level(_: State, _: axum::extract::Path<(uuid::Uuid, uuid::Uuid)>) -> Result, ... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `receive` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | pub async fn receive(_: State, _: axum::extract::Path, _: Json) -> Result src/api/admin/uploads.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | pub async fn add_line_item(_: State, _: axum::extract::Path, _: Json) -> Result<(StatusCod... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_line_item` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | pub async fn update_line_item(_: State, _: axum::extract::Path<(uuid::Uuid, uuid::Uuid)>, _: Json) -> ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_line_item` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | pub async fn delete_line_item(_: State, _: axum::extract::Path<(uuid::Uuid, uuid::Uuid)>) -> Result src/api/admin/uploads.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 179 | pub async fn register_payment(_: State, _: axum::extract::Path) -> Result, AppError> ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `confirm` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:180:14 [INFO] [stdout] | [INFO] [stdout] 180 | pub async fn confirm(_: State, _: axum::extract::Path) -> Result, AppError> { Ok(Json... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cancel` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:181:14 [INFO] [stdout] | [INFO] [stdout] 181 | pub async fn cancel(_: State, _: axum::extract::Path) -> Result, AppError> { Ok(Json(... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_payment_session` is never used [INFO] [stdout] --> src/api/store/carts.rs:347:14 [INFO] [stdout] | [INFO] [stdout] 347 | pub async fn update_payment_session(State(state): State, Path((cart_id, provider_id)): Path<(Uuid, String)>, _: Json src/api/store/products.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ListParams { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub handle: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListParams` 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 `JwtConfig` is never constructed [INFO] [stdout] --> src/auth/jwt.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct JwtConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/auth/jwt.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl JwtConfig { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(secret: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Claims` is never used [INFO] [stdout] --> src/auth/jwt.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | pub type Claims = AdminClaims; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OAuthProfile` is never constructed [INFO] [stdout] --> src/auth/oauth.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct OAuthProfile { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OAuthTokens` is never constructed [INFO] [stdout] --> src/auth/oauth.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct OAuthTokens { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OAuthProvider` is never used [INFO] [stdout] --> src/auth/oauth.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait OAuthProvider: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OAuthService` is never constructed [INFO] [stdout] --> src/auth/oauth_service.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct OAuthService { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `register`, `authorization_url`, `handle_callback`, and `find_or_create_user` are never used [INFO] [stdout] --> src/auth/oauth_service.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl OAuthService { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(db: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn register(&mut self, provider: Arc) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn authorization_url( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub async fn handle_callback( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | async fn find_or_create_user(&self, profile: OAuthProfile) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LineItem` is never constructed [INFO] [stdout] --> src/core/cart.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LineItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CartTotals` is never constructed [INFO] [stdout] --> src/core/cart.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CartTotals { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_totals` is never used [INFO] [stdout] --> src/core/cart.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn compute_totals( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_inventory` is never used [INFO] [stdout] --> src/core/cart.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn validate_inventory(items: &[LineItem], stock: &[(Uuid, i32)]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InventoryLevel` is never constructed [INFO] [stdout] --> src/core/inventory.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct InventoryLevel { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `available_quantity` is never used [INFO] [stdout] --> src/core/inventory.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl InventoryLevel { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 16 | pub fn available_quantity(&self) -> i32 { self.stocked_quantity - self.reserved_quantity } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reserve_inventory` is never used [INFO] [stdout] --> src/core/inventory.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn reserve_inventory(pool: &PgPool, inventory_item_id: Uuid, location_id: Uuid, quantity: i32) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `release_reservation` is never used [INFO] [stdout] --> src/core/inventory.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn release_reservation(pool: &PgPool, inventory_item_id: Uuid, location_id: Uuid, quantity: i32) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `raw` and `headers` are never read [INFO] [stdout] --> src/core/payment.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct WebhookPayload { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 39 | pub data: Value, [INFO] [stdout] 40 | pub raw: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | pub headers: HeaderMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WebhookPayload` 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: methods `id` and `init` are never used [INFO] [stdout] --> src/core/payment.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub trait PaymentProvider: Send + Sync { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 46 | fn id(&self) -> &str; [INFO] [stdout] | ^^ [INFO] [stdout] 47 | fn init(&self) -> anyhow::Result<()> { Ok(()) } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MoneyAmount` is never constructed [INFO] [stdout] --> src/core/pricing.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MoneyAmount { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PricingContext` is never constructed [INFO] [stdout] --> src/core/pricing.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct PricingContext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_price` is never used [INFO] [stdout] --> src/core/pricing.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn resolve_price(amounts: &[MoneyAmount], ctx: &PricingContext) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_percentage_discount` is never used [INFO] [stdout] --> src/core/pricing.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn apply_percentage_discount(amount: i64, percentage: f64) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_fixed_discount` is never used [INFO] [stdout] --> src/core/pricing.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn apply_fixed_discount(amount: i64, discount: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaxRate` is never constructed [INFO] [stdout] --> src/core/tax.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TaxRate { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaxLine` is never constructed [INFO] [stdout] --> src/core/tax.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TaxLine { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_tax_lines` is never used [INFO] [stdout] --> src/core/tax.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn calculate_tax_lines(subtotal: i64, rates: &[TaxRate]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `total_tax` is never used [INFO] [stdout] --> src/core/tax.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn total_tax(lines: &[TaxLine]) -> i64 { lines.iter().map(|l| l.amount).sum() } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_region_tax_rates` is never used [INFO] [stdout] --> src/core/tax.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | pub async fn get_region_tax_rates(pool: &PgPool, region_id: Uuid) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Forbidden` and `Conflict` are never constructed [INFO] [stdout] --> src/error.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | Conflict(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` 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 `PaginationParams` is never constructed [INFO] [stdout] --> src/models.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PaginationParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_limit` is never used [INFO] [stdout] --> src/models.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn default_limit() -> i64 { 20 } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Address` is never constructed [INFO] [stdout] --> src/models.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Address { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddressInput` is never constructed [INFO] [stdout] --> src/models.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct AddressInput { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Country` is never constructed [INFO] [stdout] --> src/models.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Country { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Currency` is never constructed [INFO] [stdout] --> src/models.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Currency { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Region` is never constructed [INFO] [stdout] --> src/models.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Region { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegionWithRelations` is never constructed [INFO] [stdout] --> src/models.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct RegionWithRelations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PaymentProvider` is never constructed [INFO] [stdout] --> src/models.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct PaymentProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FulfillmentProvider` is never constructed [INFO] [stdout] --> src/models.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct FulfillmentProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductType` is never constructed [INFO] [stdout] --> src/models.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct ProductType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductTag` is never constructed [INFO] [stdout] --> src/models.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct ProductTag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductImage` is never constructed [INFO] [stdout] --> src/models.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct ProductImage { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductOption` is never constructed [INFO] [stdout] --> src/models.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct ProductOption { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductOptionValue` is never constructed [INFO] [stdout] --> src/models.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct ProductOptionValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MoneyAmount` is never constructed [INFO] [stdout] --> src/models.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct MoneyAmount { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductVariant` is never constructed [INFO] [stdout] --> src/models.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct ProductVariant { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductVariantWithRelations` is never constructed [INFO] [stdout] --> src/models.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct ProductVariantWithRelations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductCategory` is never constructed [INFO] [stdout] --> src/models.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 248 | pub struct ProductCategory { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductCollection` is never constructed [INFO] [stdout] --> src/models.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct ProductCollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Product` is never constructed [INFO] [stdout] --> src/models.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct Product { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductWithRelations` is never constructed [INFO] [stdout] --> src/models.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 306 | pub struct ProductWithRelations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShippingProfile` is never constructed [INFO] [stdout] --> src/models.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 322 | pub struct ShippingProfile { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShippingOption` is never constructed [INFO] [stdout] --> src/models.rs:336:12 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct ShippingOption { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShippingOptionWithRelations` is never constructed [INFO] [stdout] --> src/models.rs:354:12 [INFO] [stdout] | [INFO] [stdout] 354 | pub struct ShippingOptionWithRelations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShippingOptionRequirement` is never constructed [INFO] [stdout] --> src/models.rs:362:12 [INFO] [stdout] | [INFO] [stdout] 362 | pub struct ShippingOptionRequirement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShippingMethod` is never constructed [INFO] [stdout] --> src/models.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct ShippingMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaxRate` is never constructed [INFO] [stdout] --> src/models.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct TaxRate { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Discount` is never constructed [INFO] [stdout] --> src/models.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 402 | pub struct Discount { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DiscountRule` is never constructed [INFO] [stdout] --> src/models.rs:421:12 [INFO] [stdout] | [INFO] [stdout] 421 | pub struct DiscountRule { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GiftCard` is never constructed [INFO] [stdout] --> src/models.rs:437:12 [INFO] [stdout] | [INFO] [stdout] 437 | pub struct GiftCard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Customer` is never constructed [INFO] [stdout] --> src/models.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 455 | pub struct Customer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomerWithRelations` is never constructed [INFO] [stdout] --> src/models.rs:470:12 [INFO] [stdout] | [INFO] [stdout] 470 | pub struct CustomerWithRelations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PaymentSession` is never constructed [INFO] [stdout] --> src/models.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | pub struct PaymentSession { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Payment` is never constructed [INFO] [stdout] --> src/models.rs:498:12 [INFO] [stdout] | [INFO] [stdout] 498 | pub struct Payment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LineItem` is never constructed [INFO] [stdout] --> src/models.rs:519:12 [INFO] [stdout] | [INFO] [stdout] 519 | pub struct LineItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LineItemWithRelations` is never constructed [INFO] [stdout] --> src/models.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 547 | pub struct LineItemWithRelations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LineItemAdjustment` is never constructed [INFO] [stdout] --> src/models.rs:563:12 [INFO] [stdout] | [INFO] [stdout] 563 | pub struct LineItemAdjustment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LineItemTaxLine` is never constructed [INFO] [stdout] --> src/models.rs:573:12 [INFO] [stdout] | [INFO] [stdout] 573 | pub struct LineItemTaxLine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cart` is never constructed [INFO] [stdout] --> src/models.rs:586:12 [INFO] [stdout] | [INFO] [stdout] 586 | pub struct Cart { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CartWithRelations` is never constructed [INFO] [stdout] --> src/models.rs:607:12 [INFO] [stdout] | [INFO] [stdout] 607 | pub struct CartWithRelations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Order` is never constructed [INFO] [stdout] --> src/models.rs:648:12 [INFO] [stdout] | [INFO] [stdout] 648 | pub struct Order { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderWithRelations` is never constructed [INFO] [stdout] --> src/models.rs:673:12 [INFO] [stdout] | [INFO] [stdout] 673 | pub struct OrderWithRelations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Fulfillment` is never constructed [INFO] [stdout] --> src/models.rs:704:12 [INFO] [stdout] | [INFO] [stdout] 704 | pub struct Fulfillment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Return` is never constructed [INFO] [stdout] --> src/models.rs:725:12 [INFO] [stdout] | [INFO] [stdout] 725 | pub struct Return { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Swap` is never constructed [INFO] [stdout] --> src/models.rs:743:12 [INFO] [stdout] | [INFO] [stdout] 743 | pub struct Swap { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClaimOrder` is never constructed [INFO] [stdout] --> src/models.rs:762:12 [INFO] [stdout] | [INFO] [stdout] 762 | pub struct ClaimOrder { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdminUser` is never constructed [INFO] [stdout] --> src/models.rs:778:12 [INFO] [stdout] | [INFO] [stdout] 778 | pub struct AdminUser { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdminUserWithPassword` is never constructed [INFO] [stdout] --> src/models.rs:792:12 [INFO] [stdout] | [INFO] [stdout] 792 | pub struct AdminUserWithPassword { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PriceList` is never constructed [INFO] [stdout] --> src/models.rs:809:12 [INFO] [stdout] | [INFO] [stdout] 809 | pub struct PriceList { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InventoryItem` is never constructed [INFO] [stdout] --> src/models.rs:825:12 [INFO] [stdout] | [INFO] [stdout] 825 | pub struct InventoryItem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InventoryLevel` is never constructed [INFO] [stdout] --> src/models.rs:847:12 [INFO] [stdout] | [INFO] [stdout] 847 | pub struct InventoryLevel { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DraftOrder` is never constructed [INFO] [stdout] --> src/models.rs:862:12 [INFO] [stdout] | [INFO] [stdout] 862 | pub struct DraftOrder { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BatchJob` is never constructed [INFO] [stdout] --> src/models.rs:880:12 [INFO] [stdout] | [INFO] [stdout] 880 | pub struct BatchJob { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DiscountCondition` is never constructed [INFO] [stdout] --> src/models.rs:901:12 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct DiscountCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Refund` is never constructed [INFO] [stdout] --> src/models.rs:915:12 [INFO] [stdout] | [INFO] [stdout] 915 | pub struct Refund { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Role` is never constructed [INFO] [stdout] --> src/models.rs:931:12 [INFO] [stdout] | [INFO] [stdout] 931 | pub struct Role { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserRole` is never constructed [INFO] [stdout] --> src/models.rs:940:12 [INFO] [stdout] | [INFO] [stdout] 940 | pub struct UserRole { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Language` is never constructed [INFO] [stdout] --> src/models.rs:950:12 [INFO] [stdout] | [INFO] [stdout] 950 | pub struct Language { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductTranslation` is never constructed [INFO] [stdout] --> src/models.rs:957:12 [INFO] [stdout] | [INFO] [stdout] 957 | pub struct ProductTranslation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `upload_dir` is never read [INFO] [stdout] --> src/state.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct StorageConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub upload_dir: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cache` and `storage_config` are never read [INFO] [stdout] --> src/state.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 101 | pub cache: Arc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub storage_config: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StateExt` is never used [INFO] [stdout] --> src/state.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | pub trait StateExt { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `EventHandler` is never used [INFO] [stdout] --> src/events.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 115 | pub trait EventHandler: Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubscriptionHandle` is never constructed [INFO] [stdout] --> src/events.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct SubscriptionHandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cancel` and `id` are never used [INFO] [stdout] --> src/events.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 186 | impl SubscriptionHandle { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 187 | pub fn cancel(self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn id(&self) -> Option<&str> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `driver` and `grouped_events` are never read [INFO] [stdout] --> src/events.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct EventBus { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 200 | driver: BusDriver, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 201 | inner: Arc>>>, [INFO] [stdout] 202 | grouped_events: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventBus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/events.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 210 | impl EventBus { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 211 | /// Create a new local (in-process) bus. [INFO] [stdout] 212 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub async fn add_interceptor(&self, interceptor: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub async fn subscribe_with_id(&self, handler: H, subscriber_id: Option) -> anyhow::Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | pub async fn subscribe(&self, handler: H) -> anyhow::Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | pub async fn raw_receiver(&self) -> broadcast::Receiver { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | pub async fn emit_grouped(&self, group_id: &str, event: Event) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | pub async fn release_grouped(&self, group_id: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub async fn clear_grouped(&self, group_id: &str, event_names: Option>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | pub fn driver(&self) -> &BusDriver { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuditInterceptor` is never constructed [INFO] [stdout] --> src/events.rs:498:12 [INFO] [stdout] | [INFO] [stdout] 498 | pub struct AuditInterceptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/events.rs:503:12 [INFO] [stdout] | [INFO] [stdout] 502 | impl AuditInterceptor { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 503 | pub fn new(db: sqlx::PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Payment`, `Fulfillment`, `Notification`, `Search`, and `Other` are never constructed [INFO] [stdout] --> src/plugins/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum PluginKind { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 17 | Payment, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | Fulfillment, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | Notification, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | Search, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | /// Any other kind; the `String` can hold a custom identifier. [INFO] [stdout] 22 | Other(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PluginKind` 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 `init` is never used [INFO] [stdout] --> src/plugins/mod.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait Plugin: Send + Sync { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 51 | fn init(&self, _state: &AppState) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PaymentProviderPlugin` is never used [INFO] [stdout] --> src/plugins/mod.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait PaymentProviderPlugin: Plugin { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register`, `register_payment_provider`, `async_payment_provider`, `get`, and `list_async_payment_providers` are never used [INFO] [stdout] --> src/plugins/mod.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl PluginManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn register(&mut self, plugin: impl Plugin + 'static) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn register_payment_provider(&mut self, provider: impl crate::core::payment::PaymentProvider + 'static) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn async_payment_provider(&self, id: &str) -> Option<&dyn plugin_api::PaymentProvider> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn get(&self, id: &str) -> Option<&dyn Plugin> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn list_async_payment_providers(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StepResult` is never constructed [INFO] [stdout] --> src/sagas.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct StepResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `done` and `with_output` are never used [INFO] [stdout] --> src/sagas.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl StepResult { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 42 | /// Create a result with no output data. [INFO] [stdout] 43 | pub fn done() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn with_output(value: Value) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SagaContext` is never constructed [INFO] [stdout] --> src/sagas.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct SagaContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_data`, `set`, `get`, and `into_data` are never used [INFO] [stdout] --> src/sagas.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl SagaContext { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 65 | /// Create an empty context. [INFO] [stdout] 66 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn with_data(data: HashMap) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set(&mut self, key: impl Into, value: Value) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get(&self, key: &str) -> Option<&Value> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn into_data(self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BoxFuture` is never used [INFO] [stdout] --> src/sagas.rs:93:6 [INFO] [stdout] | [INFO] [stdout] 93 | type BoxFuture = Pin + Send>>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `StepFn` is never used [INFO] [stdout] --> src/sagas.rs:94:6 [INFO] [stdout] | [INFO] [stdout] 94 | type StepFn = Arc BoxFuture> + Send + Sync>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CompFn` is never used [INFO] [stdout] --> src/sagas.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | type CompFn = Arc BoxFuture> + Send + Sync>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StepDef` is never constructed [INFO] [stdout] --> src/sagas.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | struct StepDef { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SagaOutcome` is never used [INFO] [stdout] --> src/sagas.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | pub enum SagaOutcome { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_completed` and `is_compensated` are never used [INFO] [stdout] --> src/sagas.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl SagaOutcome { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 124 | /// Returns `true` when all steps succeeded. [INFO] [stdout] 125 | pub fn is_completed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn is_compensated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Saga` is never constructed [INFO] [stdout] --> src/sagas.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct Saga { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `builder`, `name`, and `run` are never used [INFO] [stdout] --> src/sagas.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl Saga { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 144 | /// Start building a saga with the given name. [INFO] [stdout] 145 | pub fn builder(name: impl Into) -> SagaBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub async fn run(&self, initial_ctx: SagaContext) -> SagaOutcome { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SagaBuilder` is never constructed [INFO] [stdout] --> src/sagas.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct SagaBuilder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `step`, and `build` are never used [INFO] [stdout] --> src/sagas.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 217 | impl SagaBuilder { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 218 | fn new(name: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn step( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn build(self) -> Saga { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkflowEngine` is never constructed [INFO] [stdout] --> src/sagas.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct WorkflowEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/sagas.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 270 | impl WorkflowEngine { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 271 | /// Create an empty engine. [INFO] [stdout] 272 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn register(&mut self, saga: Saga) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub async fn execute(&self, name: &str, ctx: SagaContext) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn list(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn get(&self, name: &str) -> Option<&Saga> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | pub async fn execute_persistent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub async fn execute_persistent_with_events( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SagaStorage` is never used [INFO] [stdout] --> src/sagas.rs:358:11 [INFO] [stdout] | [INFO] [stdout] 358 | pub trait SagaStorage: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostgresSagaStorage` is never constructed [INFO] [stdout] --> src/sagas.rs:391:12 [INFO] [stdout] | [INFO] [stdout] 391 | pub struct PostgresSagaStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sagas.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 395 | impl PostgresSagaStorage { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 396 | pub fn new(pool: sqlx::PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run_persistent` is never used [INFO] [stdout] --> src/sagas.rs:534:18 [INFO] [stdout] | [INFO] [stdout] 532 | impl Saga { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 533 | /// Execute saga with persistent storage and idempotency. [INFO] [stdout] 534 | pub async fn run_persistent( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRODUCTS` is never used [INFO] [stdout] --> src/storage/cache.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub const PRODUCTS: &str = "products"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CATEGORIES` is never used [INFO] [stdout] --> src/storage/cache.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub const CATEGORIES: &str = "categories"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REGIONS` is never used [INFO] [stdout] --> src/storage/cache.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | pub const REGIONS: &str = "regions"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRICE_LISTS` is never used [INFO] [stdout] --> src/storage/cache.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub const PRICE_LISTS: &str = "price_lists"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SESSION` is never used [INFO] [stdout] --> src/storage/cache.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub const SESSION: &str = "session"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHIPPING` is never used [INFO] [stdout] --> src/storage/cache.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | pub const SHIPPING: &str = "shipping_options"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key` is never used [INFO] [stdout] --> src/storage/cache.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn key(namespace: &str, id: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImportRow` is never constructed [INFO] [stdout] --> src/wizard/excel.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ImportRow { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SheetData` is never constructed [INFO] [stdout] --> src/wizard/excel.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct SheetData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_xlsx` is never used [INFO] [stdout] --> src/wizard/excel.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn parse_xlsx(bytes: &[u8]) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cell_string_val` is never used [INFO] [stdout] --> src/wizard/excel.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn cell_string_val(cell: &Data) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/error.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | fn from(e: jsonwebtoken::errors::Error) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthPayload` is never constructed [INFO] [stdout] --> src/api/auth/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct AuthPayload(serde_json::Value); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url`, `headers`, `query`, and `protocol` are never read [INFO] [stdout] --> src/api/auth/service.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AuthData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 11 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | pub headers: HeaderMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub query: serde_json::Map, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub body: Value, [INFO] [stdout] 15 | pub protocol: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthData` 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 `error` is never read [INFO] [stdout] --> src/api/auth/service.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AuthResult { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 28 | pub success: bool, [INFO] [stdout] 29 | pub error: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_country` is never used [INFO] [stdout] --> src/api/admin/categories.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn add_country(State(_): State, Path(id): Path, Json(_): Json) -> Result src/api/admin/categories.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn remove_country(State(_): State, Path((region_id, code)): Path<(Uuid,String)>) -> Result src/api/admin/categories.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn add_fulfillment_provider(State(_): State, Path(id): Path, Json(_): Json) -> Result src/api/admin/categories.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn remove_fulfillment_provider(State(_): State, Path((id, pid)): Path<(Uuid,String)>) -> Result src/api/admin/categories.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn add_payment_provider(State(_): State, Path(id): Path, Json(_): Json) -> Result src/api/admin/categories.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn remove_payment_provider(State(_): State, Path((id, pid)): Path<(Uuid,String)>) -> Result src/api/admin/categories.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn get_by_code(State(_): State, Path(code): Path) -> Result, AppError> { Ok(Json... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_region` is never used [INFO] [stdout] --> src/api/admin/categories.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn add_region(State(_): State, Path((id, rid)): Path<(Uuid,Uuid)>) -> Result, AppError> ... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_region` is never used [INFO] [stdout] --> src/api/admin/categories.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn remove_region(State(_): State, Path((id, rid)): Path<(Uuid,Uuid)>) -> Result, AppErro... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_conditions` is never used [INFO] [stdout] --> src/api/admin/categories.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn list_conditions(State(_): State, Path(id): Path) -> Result, AppError> { Ok(Json... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_condition` is never used [INFO] [stdout] --> src/api/admin/categories.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn create_condition(State(_): State, Path(id): Path, Json(_): Json) -> Result<(StatusCo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_condition` is never used [INFO] [stdout] --> src/api/admin/categories.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn get_condition(State(_): State, Path((id,cid)): Path<(Uuid,Uuid)>) -> Result, AppError... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_condition` is never used [INFO] [stdout] --> src/api/admin/categories.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn update_condition(State(_): State, Path((id,cid)): Path<(Uuid,Uuid)>, Json(_): Json) -> Res... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_condition` is never used [INFO] [stdout] --> src/api/admin/categories.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn delete_condition(State(_): State, Path((id,cid)): Path<(Uuid,Uuid)>) -> Result, AppEr... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `request_password_reset` is never used [INFO] [stdout] --> src/api/admin/categories.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn request_password_reset(State(_): State, Json(_): Json) -> Result, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reset_password` is never used [INFO] [stdout] --> src/api/admin/categories.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn reset_password(State(_): State, Json(_): Json) -> Result, AppError... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_prices` is never used [INFO] [stdout] --> src/api/admin/categories.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn add_prices(State(_): State, Path(id): Path, Json(_): Json) -> Result src/api/admin/categories.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | pub async fn delete_prices(State(_): State, Path(id): Path, Json(_): Json) -> Result src/api/admin/categories.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn list_products(State(_): State, Path(id): Path) -> Result, AppError> { Ok(Json(s... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_levels` is never used [INFO] [stdout] --> src/api/admin/categories.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn list_levels(State(_): State, Path(id): Path) -> Result, AppError> { Ok(Json(ser... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_level` is never used [INFO] [stdout] --> src/api/admin/categories.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn create_level(State(_): State, Path(id): Path, Json(_): Json) -> Result<(StatusCode, ... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_level` is never used [INFO] [stdout] --> src/api/admin/categories.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn update_level(State(_): State, Path((id,lid)): Path<(Uuid,Uuid)>, Json(_): Json) -> Result<... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_level` is never used [INFO] [stdout] --> src/api/admin/categories.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn delete_level(State(_): State, Path((id,lid)): Path<(Uuid,Uuid)>) -> Result, AppError>... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload` is never used [INFO] [stdout] --> src/api/admin/categories.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn upload(State(_): State) -> Result, AppError> { Ok(Json(serde_json::json!({"uploads":[... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_files` is never used [INFO] [stdout] --> src/api/admin/categories.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | pub async fn delete_files(State(_): State, Json(_): Json) -> Result, AppError> ... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `receive` is never used [INFO] [stdout] --> src/api/admin/categories.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn receive(State(_): State, Path(id): Path, Json(_): Json) -> Result src/api/admin/categories.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub async fn add_line_item(State(_): State, Path(id): Path, Json(_): Json) -> Result<(StatusCode,... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_line_item` is never used [INFO] [stdout] --> src/api/admin/categories.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn update_line_item(State(_): State, Path((id,lid)): Path<(Uuid,Uuid)>, Json(_): Json) -> Res... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_line_item` is never used [INFO] [stdout] --> src/api/admin/categories.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | pub async fn delete_line_item(State(_): State, Path((id,lid)): Path<(Uuid,Uuid)>) -> Result, AppEr... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_payment` is never used [INFO] [stdout] --> src/api/admin/categories.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn register_payment(State(_): State, Path(id): Path) -> Result, AppError> { Ok(Jso... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `confirm` is never used [INFO] [stdout] --> src/api/admin/categories.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn confirm(State(_): State, Path(id): Path) -> Result, AppError> { Ok(Json(serde_j... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cancel` is never used [INFO] [stdout] --> src/api/admin/categories.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn cancel(State(_): State, Path(id): Path) -> Result, AppError> { Ok(Json(serde_js... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `q` is never read [INFO] [stdout] --> src/api/admin/discounts.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ListParams { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub q: Option, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `ListParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get` is never used [INFO] [stdout] --> src/api/admin/invites.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | pub async fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `q` is never read [INFO] [stdout] --> src/api/admin/product_tags.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ListParams { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub q: Option, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `ListParams` 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 `q` is never read [INFO] [stdout] --> src/api/admin/product_types.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ListParams { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub q: Option, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `ListParams` 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 `location_id` and `inventory_item_id` are never read [INFO] [stdout] --> src/api/admin/reservations.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ListParams { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub location_id: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | pub inventory_item_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListParams` 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 `is_return` is never read [INFO] [stdout] --> src/api/admin/shipping_options.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ListParams { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub is_return: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | pub async fn list(_: State) -> Result, AppError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | pub async fn get(_: State, _: axum::extract::Path) -> Result, AppError> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | pub async fn create(_: State, _: Json) -> Result<(StatusCode, Json), AppError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 144 | pub async fn update(_: State, _: axum::extract::Path, _: Json) -> Result src/api/admin/uploads.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn delete_one(_: State, _: axum::extract::Path) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_products` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:150:14 [INFO] [stdout] | [INFO] [stdout] 150 | pub async fn add_products(_: State, _: axum::extract::Path, _: Json) -> Result src/api/admin/uploads.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | pub async fn remove_products(_: State, _: axum::extract::Path, _: Json) -> Result src/api/admin/uploads.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | pub async fn add_country(_: State, _: axum::extract::Path, _: Json) -> Result src/api/admin/uploads.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | pub async fn remove_country(_: State, _: axum::extract::Path<(uuid::Uuid, String)>) -> Result, Ap... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_fulfillment_provider` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | pub async fn add_fulfillment_provider(_: State, _: axum::extract::Path, _: Json) -> Result... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_fulfillment_provider` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 155 | pub async fn remove_fulfillment_provider(_: State, _: axum::extract::Path<(uuid::Uuid, String)>) -> Result src/api/admin/uploads.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | pub async fn add_payment_provider(_: State, _: axum::extract::Path, _: Json) -> Result src/api/admin/uploads.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | pub async fn remove_payment_provider(_: State, _: axum::extract::Path<(uuid::Uuid, String)>) -> Result src/api/admin/uploads.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | pub async fn get_by_code(_: State, _: axum::extract::Path) -> Result, AppError> { Ok(Json... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_region` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | pub async fn add_region(_: State, _: axum::extract::Path<(uuid::Uuid, uuid::Uuid)>) -> Result, Ap... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_region` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | pub async fn remove_region(_: State, _: axum::extract::Path<(uuid::Uuid, uuid::Uuid)>) -> Result,... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_conditions` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:161:14 [INFO] [stdout] | [INFO] [stdout] 161 | pub async fn list_conditions(_: State, _: axum::extract::Path) -> Result, AppError> {... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_condition` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | pub async fn create_condition(_: State, _: axum::extract::Path, _: Json) -> Result<(Status... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_condition` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | pub async fn get_condition(_: State, _: axum::extract::Path<(uuid::Uuid, uuid::Uuid)>) -> Result,... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_condition` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | pub async fn update_condition(_: State, _: axum::extract::Path<(uuid::Uuid, uuid::Uuid)>, _: Json) -> ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_condition` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | pub async fn delete_condition(_: State, _: axum::extract::Path<(uuid::Uuid, uuid::Uuid)>) -> Result src/api/admin/uploads.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | pub async fn request_password_reset(_: State, _: Json) -> Result, AppError> { ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reset_password` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 167 | pub async fn reset_password(_: State, _: Json) -> Result, AppError> { Ok(Json(... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_prices` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:168:14 [INFO] [stdout] | [INFO] [stdout] 168 | pub async fn add_prices(_: State, _: axum::extract::Path, _: Json) -> Result src/api/admin/uploads.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 169 | pub async fn delete_prices(_: State, _: axum::extract::Path, _: Json) -> Result src/api/admin/uploads.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 170 | pub async fn list_products(_: State, _: axum::extract::Path) -> Result, AppError> { O... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_levels` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:171:14 [INFO] [stdout] | [INFO] [stdout] 171 | pub async fn list_levels(_: State, _: axum::extract::Path) -> Result, AppError> { Ok(... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_level` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | pub async fn create_level(_: State, _: axum::extract::Path, _: Json) -> Result<(StatusCode... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_level` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:173:14 [INFO] [stdout] | [INFO] [stdout] 173 | pub async fn update_level(_: State, _: axum::extract::Path<(uuid::Uuid, uuid::Uuid)>, _: Json) -> Resu... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_level` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 174 | pub async fn delete_level(_: State, _: axum::extract::Path<(uuid::Uuid, uuid::Uuid)>) -> Result, ... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `receive` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | pub async fn receive(_: State, _: axum::extract::Path, _: Json) -> Result src/api/admin/uploads.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | pub async fn add_line_item(_: State, _: axum::extract::Path, _: Json) -> Result<(StatusCod... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_line_item` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | pub async fn update_line_item(_: State, _: axum::extract::Path<(uuid::Uuid, uuid::Uuid)>, _: Json) -> ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_line_item` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | pub async fn delete_line_item(_: State, _: axum::extract::Path<(uuid::Uuid, uuid::Uuid)>) -> Result src/api/admin/uploads.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 179 | pub async fn register_payment(_: State, _: axum::extract::Path) -> Result, AppError> ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `confirm` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:180:14 [INFO] [stdout] | [INFO] [stdout] 180 | pub async fn confirm(_: State, _: axum::extract::Path) -> Result, AppError> { Ok(Json... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cancel` is never used [INFO] [stdout] --> src/api/admin/uploads.rs:181:14 [INFO] [stdout] | [INFO] [stdout] 181 | pub async fn cancel(_: State, _: axum::extract::Path) -> Result, AppError> { Ok(Json(... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_payment_session` is never used [INFO] [stdout] --> src/api/store/carts.rs:347:14 [INFO] [stdout] | [INFO] [stdout] 347 | pub async fn update_payment_session(State(state): State, Path((cart_id, provider_id)): Path<(Uuid, String)>, _: Json src/api/store/products.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ListParams { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub handle: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListParams` 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 `JwtConfig` is never constructed [INFO] [stdout] --> src/auth/jwt.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct JwtConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/auth/jwt.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl JwtConfig { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(secret: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Claims` is never used [INFO] [stdout] --> src/auth/jwt.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | pub type Claims = AdminClaims; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OAuthProfile` is never constructed [INFO] [stdout] --> src/auth/oauth.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct OAuthProfile { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OAuthTokens` is never constructed [INFO] [stdout] --> src/auth/oauth.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct OAuthTokens { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OAuthProvider` is never used [INFO] [stdout] --> src/auth/oauth.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait OAuthProvider: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OAuthService` is never constructed [INFO] [stdout] --> src/auth/oauth_service.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct OAuthService { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `register`, `authorization_url`, `handle_callback`, and `find_or_create_user` are never used [INFO] [stdout] --> src/auth/oauth_service.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl OAuthService { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(db: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn register(&mut self, provider: Arc) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn authorization_url( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub async fn handle_callback( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | async fn find_or_create_user(&self, profile: OAuthProfile) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LineItem` is never constructed [INFO] [stdout] --> src/core/cart.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LineItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CartTotals` is never constructed [INFO] [stdout] --> src/core/cart.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CartTotals { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_totals` is never used [INFO] [stdout] --> src/core/cart.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn compute_totals( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_inventory` is never used [INFO] [stdout] --> src/core/cart.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn validate_inventory(items: &[LineItem], stock: &[(Uuid, i32)]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InventoryLevel` is never constructed [INFO] [stdout] --> src/core/inventory.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct InventoryLevel { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `available_quantity` is never used [INFO] [stdout] --> src/core/inventory.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl InventoryLevel { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 16 | pub fn available_quantity(&self) -> i32 { self.stocked_quantity - self.reserved_quantity } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reserve_inventory` is never used [INFO] [stdout] --> src/core/inventory.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn reserve_inventory(pool: &PgPool, inventory_item_id: Uuid, location_id: Uuid, quantity: i32) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `release_reservation` is never used [INFO] [stdout] --> src/core/inventory.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn release_reservation(pool: &PgPool, inventory_item_id: Uuid, location_id: Uuid, quantity: i32) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `raw` and `headers` are never read [INFO] [stdout] --> src/core/payment.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct WebhookPayload { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 39 | pub data: Value, [INFO] [stdout] 40 | pub raw: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | pub headers: HeaderMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WebhookPayload` 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: methods `id` and `init` are never used [INFO] [stdout] --> src/core/payment.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub trait PaymentProvider: Send + Sync { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 46 | fn id(&self) -> &str; [INFO] [stdout] | ^^ [INFO] [stdout] 47 | fn init(&self) -> anyhow::Result<()> { Ok(()) } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MoneyAmount` is never constructed [INFO] [stdout] --> src/core/pricing.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MoneyAmount { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PricingContext` is never constructed [INFO] [stdout] --> src/core/pricing.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct PricingContext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_price` is never used [INFO] [stdout] --> src/core/pricing.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn resolve_price(amounts: &[MoneyAmount], ctx: &PricingContext) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_percentage_discount` is never used [INFO] [stdout] --> src/core/pricing.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn apply_percentage_discount(amount: i64, percentage: f64) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_fixed_discount` is never used [INFO] [stdout] --> src/core/pricing.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn apply_fixed_discount(amount: i64, discount: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaxRate` is never constructed [INFO] [stdout] --> src/core/tax.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TaxRate { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaxLine` is never constructed [INFO] [stdout] --> src/core/tax.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TaxLine { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_tax_lines` is never used [INFO] [stdout] --> src/core/tax.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn calculate_tax_lines(subtotal: i64, rates: &[TaxRate]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `total_tax` is never used [INFO] [stdout] --> src/core/tax.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn total_tax(lines: &[TaxLine]) -> i64 { lines.iter().map(|l| l.amount).sum() } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_region_tax_rates` is never used [INFO] [stdout] --> src/core/tax.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | pub async fn get_region_tax_rates(pool: &PgPool, region_id: Uuid) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Forbidden` and `Conflict` are never constructed [INFO] [stdout] --> src/error.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | Conflict(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` 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 `PaginationParams` is never constructed [INFO] [stdout] --> src/models.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PaginationParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_limit` is never used [INFO] [stdout] --> src/models.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn default_limit() -> i64 { 20 } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Address` is never constructed [INFO] [stdout] --> src/models.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Address { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddressInput` is never constructed [INFO] [stdout] --> src/models.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct AddressInput { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Country` is never constructed [INFO] [stdout] --> src/models.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Country { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Currency` is never constructed [INFO] [stdout] --> src/models.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Currency { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Region` is never constructed [INFO] [stdout] --> src/models.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Region { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegionWithRelations` is never constructed [INFO] [stdout] --> src/models.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct RegionWithRelations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PaymentProvider` is never constructed [INFO] [stdout] --> src/models.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct PaymentProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FulfillmentProvider` is never constructed [INFO] [stdout] --> src/models.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct FulfillmentProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductType` is never constructed [INFO] [stdout] --> src/models.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct ProductType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductTag` is never constructed [INFO] [stdout] --> src/models.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct ProductTag { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductImage` is never constructed [INFO] [stdout] --> src/models.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct ProductImage { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductOption` is never constructed [INFO] [stdout] --> src/models.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct ProductOption { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductOptionValue` is never constructed [INFO] [stdout] --> src/models.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct ProductOptionValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MoneyAmount` is never constructed [INFO] [stdout] --> src/models.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct MoneyAmount { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductVariant` is never constructed [INFO] [stdout] --> src/models.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct ProductVariant { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductVariantWithRelations` is never constructed [INFO] [stdout] --> src/models.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct ProductVariantWithRelations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductCategory` is never constructed [INFO] [stdout] --> src/models.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 248 | pub struct ProductCategory { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductCollection` is never constructed [INFO] [stdout] --> src/models.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct ProductCollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Product` is never constructed [INFO] [stdout] --> src/models.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct Product { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductWithRelations` is never constructed [INFO] [stdout] --> src/models.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 306 | pub struct ProductWithRelations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShippingProfile` is never constructed [INFO] [stdout] --> src/models.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 322 | pub struct ShippingProfile { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShippingOption` is never constructed [INFO] [stdout] --> src/models.rs:336:12 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct ShippingOption { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShippingOptionWithRelations` is never constructed [INFO] [stdout] --> src/models.rs:354:12 [INFO] [stdout] | [INFO] [stdout] 354 | pub struct ShippingOptionWithRelations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShippingOptionRequirement` is never constructed [INFO] [stdout] --> src/models.rs:362:12 [INFO] [stdout] | [INFO] [stdout] 362 | pub struct ShippingOptionRequirement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShippingMethod` is never constructed [INFO] [stdout] --> src/models.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct ShippingMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaxRate` is never constructed [INFO] [stdout] --> src/models.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct TaxRate { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Discount` is never constructed [INFO] [stdout] --> src/models.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 402 | pub struct Discount { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DiscountRule` is never constructed [INFO] [stdout] --> src/models.rs:421:12 [INFO] [stdout] | [INFO] [stdout] 421 | pub struct DiscountRule { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GiftCard` is never constructed [INFO] [stdout] --> src/models.rs:437:12 [INFO] [stdout] | [INFO] [stdout] 437 | pub struct GiftCard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Customer` is never constructed [INFO] [stdout] --> src/models.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 455 | pub struct Customer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomerWithRelations` is never constructed [INFO] [stdout] --> src/models.rs:470:12 [INFO] [stdout] | [INFO] [stdout] 470 | pub struct CustomerWithRelations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PaymentSession` is never constructed [INFO] [stdout] --> src/models.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | pub struct PaymentSession { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Payment` is never constructed [INFO] [stdout] --> src/models.rs:498:12 [INFO] [stdout] | [INFO] [stdout] 498 | pub struct Payment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LineItem` is never constructed [INFO] [stdout] --> src/models.rs:519:12 [INFO] [stdout] | [INFO] [stdout] 519 | pub struct LineItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LineItemWithRelations` is never constructed [INFO] [stdout] --> src/models.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 547 | pub struct LineItemWithRelations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LineItemAdjustment` is never constructed [INFO] [stdout] --> src/models.rs:563:12 [INFO] [stdout] | [INFO] [stdout] 563 | pub struct LineItemAdjustment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LineItemTaxLine` is never constructed [INFO] [stdout] --> src/models.rs:573:12 [INFO] [stdout] | [INFO] [stdout] 573 | pub struct LineItemTaxLine { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cart` is never constructed [INFO] [stdout] --> src/models.rs:586:12 [INFO] [stdout] | [INFO] [stdout] 586 | pub struct Cart { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CartWithRelations` is never constructed [INFO] [stdout] --> src/models.rs:607:12 [INFO] [stdout] | [INFO] [stdout] 607 | pub struct CartWithRelations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Order` is never constructed [INFO] [stdout] --> src/models.rs:648:12 [INFO] [stdout] | [INFO] [stdout] 648 | pub struct Order { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderWithRelations` is never constructed [INFO] [stdout] --> src/models.rs:673:12 [INFO] [stdout] | [INFO] [stdout] 673 | pub struct OrderWithRelations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Fulfillment` is never constructed [INFO] [stdout] --> src/models.rs:704:12 [INFO] [stdout] | [INFO] [stdout] 704 | pub struct Fulfillment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Return` is never constructed [INFO] [stdout] --> src/models.rs:725:12 [INFO] [stdout] | [INFO] [stdout] 725 | pub struct Return { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Swap` is never constructed [INFO] [stdout] --> src/models.rs:743:12 [INFO] [stdout] | [INFO] [stdout] 743 | pub struct Swap { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClaimOrder` is never constructed [INFO] [stdout] --> src/models.rs:762:12 [INFO] [stdout] | [INFO] [stdout] 762 | pub struct ClaimOrder { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdminUser` is never constructed [INFO] [stdout] --> src/models.rs:778:12 [INFO] [stdout] | [INFO] [stdout] 778 | pub struct AdminUser { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdminUserWithPassword` is never constructed [INFO] [stdout] --> src/models.rs:792:12 [INFO] [stdout] | [INFO] [stdout] 792 | pub struct AdminUserWithPassword { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PriceList` is never constructed [INFO] [stdout] --> src/models.rs:809:12 [INFO] [stdout] | [INFO] [stdout] 809 | pub struct PriceList { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InventoryItem` is never constructed [INFO] [stdout] --> src/models.rs:825:12 [INFO] [stdout] | [INFO] [stdout] 825 | pub struct InventoryItem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InventoryLevel` is never constructed [INFO] [stdout] --> src/models.rs:847:12 [INFO] [stdout] | [INFO] [stdout] 847 | pub struct InventoryLevel { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DraftOrder` is never constructed [INFO] [stdout] --> src/models.rs:862:12 [INFO] [stdout] | [INFO] [stdout] 862 | pub struct DraftOrder { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BatchJob` is never constructed [INFO] [stdout] --> src/models.rs:880:12 [INFO] [stdout] | [INFO] [stdout] 880 | pub struct BatchJob { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DiscountCondition` is never constructed [INFO] [stdout] --> src/models.rs:901:12 [INFO] [stdout] | [INFO] [stdout] 901 | pub struct DiscountCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Refund` is never constructed [INFO] [stdout] --> src/models.rs:915:12 [INFO] [stdout] | [INFO] [stdout] 915 | pub struct Refund { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Role` is never constructed [INFO] [stdout] --> src/models.rs:931:12 [INFO] [stdout] | [INFO] [stdout] 931 | pub struct Role { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserRole` is never constructed [INFO] [stdout] --> src/models.rs:940:12 [INFO] [stdout] | [INFO] [stdout] 940 | pub struct UserRole { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Language` is never constructed [INFO] [stdout] --> src/models.rs:950:12 [INFO] [stdout] | [INFO] [stdout] 950 | pub struct Language { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductTranslation` is never constructed [INFO] [stdout] --> src/models.rs:957:12 [INFO] [stdout] | [INFO] [stdout] 957 | pub struct ProductTranslation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `upload_dir` is never read [INFO] [stdout] --> src/state.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct StorageConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub upload_dir: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cache` and `storage_config` are never read [INFO] [stdout] --> src/state.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 101 | pub cache: Arc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub storage_config: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StateExt` is never used [INFO] [stdout] --> src/state.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | pub trait StateExt { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/events.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 186 | impl SubscriptionHandle { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn id(&self) -> Option<&str> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `driver` is never read [INFO] [stdout] --> src/events.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct EventBus { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 200 | driver: BusDriver, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventBus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `raw_receiver` and `driver` are never used [INFO] [stdout] --> src/events.rs:393:18 [INFO] [stdout] | [INFO] [stdout] 210 | impl EventBus { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 393 | pub async fn raw_receiver(&self) -> broadcast::Receiver { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | pub fn driver(&self) -> &BusDriver { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuditInterceptor` is never constructed [INFO] [stdout] --> src/events.rs:498:12 [INFO] [stdout] | [INFO] [stdout] 498 | pub struct AuditInterceptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/events.rs:503:12 [INFO] [stdout] | [INFO] [stdout] 502 | impl AuditInterceptor { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 503 | pub fn new(db: sqlx::PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Payment`, `Fulfillment`, `Notification`, `Search`, and `Other` are never constructed [INFO] [stdout] --> src/plugins/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum PluginKind { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 17 | Payment, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | Fulfillment, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | Notification, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | Search, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | /// Any other kind; the `String` can hold a custom identifier. [INFO] [stdout] 22 | Other(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PluginKind` 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 `init` is never used [INFO] [stdout] --> src/plugins/mod.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait Plugin: Send + Sync { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 51 | fn init(&self, _state: &AppState) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PaymentProviderPlugin` is never used [INFO] [stdout] --> src/plugins/mod.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait PaymentProviderPlugin: Plugin { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register`, `register_payment_provider`, `async_payment_provider`, `get`, and `list_async_payment_providers` are never used [INFO] [stdout] --> src/plugins/mod.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl PluginManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn register(&mut self, plugin: impl Plugin + 'static) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn register_payment_provider(&mut self, provider: impl crate::core::payment::PaymentProvider + 'static) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn async_payment_provider(&self, id: &str) -> Option<&dyn plugin_api::PaymentProvider> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn get(&self, id: &str) -> Option<&dyn Plugin> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn list_async_payment_providers(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StepResult` is never constructed [INFO] [stdout] --> src/sagas.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct StepResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `done` and `with_output` are never used [INFO] [stdout] --> src/sagas.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl StepResult { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 42 | /// Create a result with no output data. [INFO] [stdout] 43 | pub fn done() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn with_output(value: Value) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SagaContext` is never constructed [INFO] [stdout] --> src/sagas.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct SagaContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_data`, `set`, `get`, and `into_data` are never used [INFO] [stdout] --> src/sagas.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl SagaContext { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 65 | /// Create an empty context. [INFO] [stdout] 66 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn with_data(data: HashMap) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set(&mut self, key: impl Into, value: Value) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get(&self, key: &str) -> Option<&Value> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn into_data(self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BoxFuture` is never used [INFO] [stdout] --> src/sagas.rs:93:6 [INFO] [stdout] | [INFO] [stdout] 93 | type BoxFuture = Pin + Send>>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `StepFn` is never used [INFO] [stdout] --> src/sagas.rs:94:6 [INFO] [stdout] | [INFO] [stdout] 94 | type StepFn = Arc BoxFuture> + Send + Sync>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CompFn` is never used [INFO] [stdout] --> src/sagas.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | type CompFn = Arc BoxFuture> + Send + Sync>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StepDef` is never constructed [INFO] [stdout] --> src/sagas.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | struct StepDef { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SagaOutcome` is never used [INFO] [stdout] --> src/sagas.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | pub enum SagaOutcome { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_completed` and `is_compensated` are never used [INFO] [stdout] --> src/sagas.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl SagaOutcome { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 124 | /// Returns `true` when all steps succeeded. [INFO] [stdout] 125 | pub fn is_completed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn is_compensated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Saga` is never constructed [INFO] [stdout] --> src/sagas.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct Saga { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `builder`, `name`, and `run` are never used [INFO] [stdout] --> src/sagas.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl Saga { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 144 | /// Start building a saga with the given name. [INFO] [stdout] 145 | pub fn builder(name: impl Into) -> SagaBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub async fn run(&self, initial_ctx: SagaContext) -> SagaOutcome { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SagaBuilder` is never constructed [INFO] [stdout] --> src/sagas.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct SagaBuilder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `step`, and `build` are never used [INFO] [stdout] --> src/sagas.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 217 | impl SagaBuilder { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 218 | fn new(name: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn step( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn build(self) -> Saga { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkflowEngine` is never constructed [INFO] [stdout] --> src/sagas.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct WorkflowEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/sagas.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 270 | impl WorkflowEngine { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 271 | /// Create an empty engine. [INFO] [stdout] 272 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn register(&mut self, saga: Saga) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub async fn execute(&self, name: &str, ctx: SagaContext) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn list(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn get(&self, name: &str) -> Option<&Saga> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | pub async fn execute_persistent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub async fn execute_persistent_with_events( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SagaStorage` is never used [INFO] [stdout] --> src/sagas.rs:358:11 [INFO] [stdout] | [INFO] [stdout] 358 | pub trait SagaStorage: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostgresSagaStorage` is never constructed [INFO] [stdout] --> src/sagas.rs:391:12 [INFO] [stdout] | [INFO] [stdout] 391 | pub struct PostgresSagaStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sagas.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 395 | impl PostgresSagaStorage { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 396 | pub fn new(pool: sqlx::PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run_persistent` is never used [INFO] [stdout] --> src/sagas.rs:534:18 [INFO] [stdout] | [INFO] [stdout] 532 | impl Saga { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 533 | /// Execute saga with persistent storage and idempotency. [INFO] [stdout] 534 | pub async fn run_persistent( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRODUCTS` is never used [INFO] [stdout] --> src/storage/cache.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub const PRODUCTS: &str = "products"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CATEGORIES` is never used [INFO] [stdout] --> src/storage/cache.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub const CATEGORIES: &str = "categories"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REGIONS` is never used [INFO] [stdout] --> src/storage/cache.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | pub const REGIONS: &str = "regions"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRICE_LISTS` is never used [INFO] [stdout] --> src/storage/cache.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub const PRICE_LISTS: &str = "price_lists"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SESSION` is never used [INFO] [stdout] --> src/storage/cache.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub const SESSION: &str = "session"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHIPPING` is never used [INFO] [stdout] --> src/storage/cache.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | pub const SHIPPING: &str = "shipping_options"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key` is never used [INFO] [stdout] --> src/storage/cache.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn key(namespace: &str, id: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImportRow` is never constructed [INFO] [stdout] --> src/wizard/excel.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ImportRow { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SheetData` is never constructed [INFO] [stdout] --> src/wizard/excel.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct SheetData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_xlsx` is never used [INFO] [stdout] --> src/wizard/excel.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn parse_xlsx(bytes: &[u8]) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cell_string_val` is never used [INFO] [stdout] --> src/wizard/excel.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn cell_string_val(cell: &Data) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 27s [INFO] running `Command { std: "docker" "inspect" "d1d2b29c0281d063e6c8427aaabd313da5c5984a7ccb3d88b74141b53556629f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1d2b29c0281d063e6c8427aaabd313da5c5984a7ccb3d88b74141b53556629f", kill_on_drop: false }` [INFO] [stdout] d1d2b29c0281d063e6c8427aaabd313da5c5984a7ccb3d88b74141b53556629f