[INFO] cloning repository https://github.com/gpfei/backvonia
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gpfei/backvonia" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgpfei%2Fbackvonia", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgpfei%2Fbackvonia'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5ed7ef0bbad52d81ef19fec49927b57ac20a76f8
[INFO] checking gpfei/backvonia against try#47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 for pr-149058
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgpfei%2Fbackvonia" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gpfei/backvonia
[INFO] finished tweaking git repo https://github.com/gpfei/backvonia
[INFO] tweaked toml for git repo https://github.com/gpfei/backvonia written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gpfei/backvonia on toolchain 47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gpfei/backvonia 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" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fdb97172f6e827f96464e0a97474c35bb909f3d931b28be160af440e5b07c9ff
[INFO] running `Command { std: "docker" "start" "-a" "fdb97172f6e827f96464e0a97474c35bb909f3d931b28be160af440e5b07c9ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fdb97172f6e827f96464e0a97474c35bb909f3d931b28be160af440e5b07c9ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fdb97172f6e827f96464e0a97474c35bb909f3d931b28be160af440e5b07c9ff", kill_on_drop: false }`
[INFO] [stdout] fdb97172f6e827f96464e0a97474c35bb909f3d931b28be160af440e5b07c9ff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b85f7a30cb31e35cf91ad046062e0a5e63dc2aba77c02b57df3fab19241e555a
[INFO] running `Command { std: "docker" "start" "-a" "b85f7a30cb31e35cf91ad046062e0a5e63dc2aba77c02b57df3fab19241e555a", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking value-bag v1.11.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]    Compiling cc v1.2.46
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking parking v2.2.1
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]     Checking time-core v0.1.6
[INFO] [stderr]    Compiling bigdecimal v0.4.9
[INFO] [stderr]    Compiling rust_decimal v1.39.0
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]     Checking unicode-normalization v0.1.25
[INFO] [stderr]     Checking unicode-bidi v0.3.18
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]     Checking event-listener v5.4.1
[INFO] [stderr]     Checking crc v3.3.0
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking crossbeam-queue v0.3.12
[INFO] [stderr]     Checking unicode-properties v0.1.4
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking home v0.5.12
[INFO] [stderr]     Checking whoami v1.6.1
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking hashlink v0.10.0
[INFO] [stderr]     Checking event-listener-strategy v0.5.4
[INFO] [stderr]     Checking futures-lite v2.6.1
[INFO] [stderr]     Checking aliasable v0.1.3
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking atoi v2.0.0
[INFO] [stderr]     Checking ordered-float v4.6.0
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling async-io v2.6.0
[INFO] [stderr]     Checking async-task v4.7.1
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking clap_builder v4.5.51
[INFO] [stderr]     Checking async-channel v2.5.0
[INFO] [stderr]     Checking piper v0.2.4
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]     Checking rustls-pki-types v1.13.0
[INFO] [stderr]     Checking async-lock v3.4.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking glob v0.3.3
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stderr]     Checking blocking v1.6.2
[INFO] [stderr]     Checking async-executor v1.13.3
[INFO] [stderr]    Compiling pest v2.8.3
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling rustls v0.23.35
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking webpki-roots v1.0.4
[INFO] [stderr]     Checking arraydeque v0.5.1
[INFO] [stderr]     Checking iri-string v0.7.9
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking backon v1.6.0
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]     Checking yaml-rust2 v0.8.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking arc-swap v1.7.1
[INFO] [stderr]     Checking sha1_smol v1.0.1
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]    Compiling pest_meta v2.8.3
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking rust-ini v0.20.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling pest_generator v2.8.3
[INFO] [stderr]    Compiling async-attributes v1.1.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling inherent v1.0.13
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling ouroboros_macro v0.18.5
[INFO] [stderr]    Compiling sea-bae v0.2.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling sea-orm-macros v1.1.19
[INFO] [stderr]    Compiling sea-schema-derive v0.3.0
[INFO] [stderr]     Checking rustls-webpki v0.103.8
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]    Compiling pest_derive v2.8.3
[INFO] [stderr]     Checking axum-core v0.5.5
[INFO] [stderr]    Compiling axum-macros v0.5.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking ouroboros v0.18.5
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking polling v3.11.0
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]    Compiling sea-query-derive v0.4.3
[INFO] [stderr]    Compiling validator_derive v0.18.2
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking clap v4.5.51
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking uuid v1.18.1
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking ron v0.8.1
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.1
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking sea-query v0.32.7
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking config v0.14.1
[INFO] [stderr]     Checking validator v0.18.1
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking async-global-executor v2.4.1
[INFO] [stderr]     Checking sea-orm-cli v1.1.19
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking async-std v1.13.2
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking sqlx-core v0.8.6
[INFO] [stderr]     Checking h2 v0.4.12
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking sqlx-postgres v0.8.6
[INFO] [stderr]     Checking redis v0.27.6
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking sea-query-binder v0.7.0
[INFO] [stderr]     Checking sea-orm v1.1.19
[INFO] [stderr]     Checking sea-schema v0.16.2
[INFO] [stderr]     Checking hyper-util v0.1.18
[INFO] [stderr]     Checking hyper-rustls v0.27.7
[INFO] [stderr]     Checking axum v0.8.7
[INFO] [stderr]     Checking reqwest v0.12.24
[INFO] [stderr]     Checking sea-orm-migration v1.1.19
[INFO] [stderr]     Checking entity v0.1.0 (/opt/rustwide/workdir/entity)
[INFO] [stderr]     Checking migration v0.1.0 (/opt/rustwide/workdir/migration)
[INFO] [stderr]     Checking backvonia v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ApiError`
[INFO] [stdout]  --> src/services/welcome_bonus_service.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 |     error::{ApiError, Result},
[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: `ApiError`
[INFO] [stdout]  --> src/services/welcome_bonus_service.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 |     error::{ApiError, Result},
[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 variable: `context`
[INFO] [stdout]    --> src/services/ai_service.rs:304:9
[INFO] [stdout]     |
[INFO] [stdout] 304 |         context: &ImageStoryContext,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `params`
[INFO] [stdout]    --> src/services/ai_service.rs:330:9
[INFO] [stdout]     |
[INFO] [stdout] 330 |         params: &GenerationParams,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `is_in_intro_offer_period` and `is_trial_period` are never read
[INFO] [stdout]   --> src/services/iap_service.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | struct AppleTransaction {
[INFO] [stdout]    |        ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 43 |     is_in_intro_offer_period: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 44 |     #[serde(default)]
[INFO] [stdout] 45 |     is_trial_period: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppleTransaction` 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: method `get_or_create_usage` is never used
[INFO] [stdout]    --> src/services/quota_service.rs:439:14
[INFO] [stdout]     |
[INFO] [stdout]  31 | impl QuotaService {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 439 |     async fn get_or_create_usage(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/services/ai_service.rs:304:9
[INFO] [stdout]     |
[INFO] [stdout] 304 |         context: &ImageStoryContext,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `params`
[INFO] [stdout]    --> src/services/ai_service.rs:330:9
[INFO] [stdout]     |
[INFO] [stdout] 330 |         params: &GenerationParams,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `is_in_intro_offer_period` and `is_trial_period` are never read
[INFO] [stdout]   --> src/services/iap_service.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | struct AppleTransaction {
[INFO] [stdout]    |        ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 43 |     is_in_intro_offer_period: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 44 |     #[serde(default)]
[INFO] [stdout] 45 |     is_trial_period: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppleTransaction` 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: method `get_or_create_usage` is never used
[INFO] [stdout]    --> src/services/quota_service.rs:439:14
[INFO] [stdout]     |
[INFO] [stdout]  31 | impl QuotaService {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 439 |     async fn get_or_create_usage(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Config`
[INFO] [stdout]  --> tests/integration/quota_test.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 |     config::{Config, QuotaConfig},
[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 variable: `purchase_id`
[INFO] [stdout]   --> tests/integration/credits_test.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let (purchase_id, total) = result.unwrap();
[INFO] [stdout]    |          ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_purchase_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `purchase_id_1`
[INFO] [stdout]    --> tests/integration/race_condition_test.rs:124:10
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let (purchase_id_1, total_1) = first_result.unwrap();
[INFO] [stdout]     |          ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_purchase_id_1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_environment` is never used
[INFO] [stdout]   --> tests/integration/mod.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn setup_test_environment() {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ApiError`
[INFO] [stdout]  --> src/services/welcome_bonus_service.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 |     error::{ApiError, Result},
[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: `ApiError`
[INFO] [stdout]  --> src/services/welcome_bonus_service.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 |     error::{ApiError, Result},
[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 variable: `context`
[INFO] [stdout]    --> src/services/ai_service.rs:304:9
[INFO] [stdout]     |
[INFO] [stdout] 304 |         context: &ImageStoryContext,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `params`
[INFO] [stdout]    --> src/services/ai_service.rs:330:9
[INFO] [stdout]     |
[INFO] [stdout] 330 |         params: &GenerationParams,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `refresh_token_service`, `welcome_bonus_service`, and `config` are never read
[INFO] [stdout]   --> src/app_state.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct AppState {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub refresh_token_service: Arc<RefreshTokenService>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     pub welcome_bonus_service: Arc<WelcomeBonusService>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     pub auth_service: Arc<AuthService>,
[INFO] [stdout] 23 |     pub config: Arc<Config>,
[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]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `application` is never read
[INFO] [stdout]   --> src/config.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct Config {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub application: ApplicationConfig,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `anthropic_api_key` is never read
[INFO] [stdout]   --> src/config.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct AIConfig {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 36 |     pub openai_api_key: String,
[INFO] [stdout] 37 |     pub anthropic_api_key: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AIConfig` 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 `google_service_account_key_path` is never read
[INFO] [stdout]   --> src/config.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct IAPConfig {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub google_service_account_key_path: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IAPConfig` 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 `apple_team_id` is never read
[INFO] [stdout]   --> src/config.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct AuthConfig {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub apple_team_id: String,   // Apple developer team ID
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthConfig` 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 `base_url` is never read
[INFO] [stdout]   --> src/config.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct ApplicationConfig {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 63 |     pub base_url: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApplicationConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `free_image_daily_limit` and `pro_image_daily_limit` are never read
[INFO] [stdout]   --> src/config.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct QuotaConfig {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub free_image_daily_limit: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub pro_image_daily_limit: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `QuotaConfig` 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: variant `Conflict` is never constructed
[INFO] [stdout]   --> src/error.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum ApiError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 41 |     Conflict(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiError` 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 `IAPIdentity` is never constructed
[INFO] [stdout]   --> src/middleware/auth.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct IAPIdentity {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `iap_auth_middleware` is never used
[INFO] [stdout]   --> src/middleware/auth.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub async fn iap_auth_middleware(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_rate_limiter_with_config` is never used
[INFO] [stdout]    --> src/middleware/rate_limit.rs:163:8
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub fn create_rate_limiter_with_config(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_str` and `as_str` are never used
[INFO] [stdout]   --> src/models/common.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl PurchaseTier {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 59 |     pub fn from_str(s: &str) -> Option<Self> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn as_str(&self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_str` is never used
[INFO] [stdout]   --> src/models/common.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 83 | impl IAPPlatform {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 84 |     pub fn from_str(s: &str) -> Option<Self> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Quota` is never constructed
[INFO] [stdout]    --> src/models/common.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct Quota {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `QuotaSubset` is never constructed
[INFO] [stdout]    --> src/models/common.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub struct QuotaSubset {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `has_remaining` is never used
[INFO] [stdout]   --> src/models/credit_events_ext.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub trait CreditEventExt {
[INFO] [stdout]    |           -------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 13 |     fn has_remaining(&self) -> bool;
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DuplicateTransactionError` is never constructed
[INFO] [stdout]   --> src/models/credits.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct DuplicateTransactionError {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DuplicateTransactionDetails` is never constructed
[INFO] [stdout]    --> src/models/credits.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct DuplicateTransactionDetails {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IAPVerifyRequest` is never constructed
[INFO] [stdout]   --> src/models/iap.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct IAPVerifyRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IAPVerifyResponse` is never constructed
[INFO] [stdout]   --> src/models/iap.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct IAPVerifyResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `platform` is never read
[INFO] [stdout]   --> src/models/iap.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct IAPVerification {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub platform: IAPPlatform,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IAPVerification` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `iss`, `aud`, `exp`, and `iat` are never read
[INFO] [stdout]   --> src/services/auth_service.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct AppleIdTokenPayload {
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub iss: String,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 41 |     /// Audience (should be our app's client ID)
[INFO] [stdout] 42 |     pub aud: String,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 43 |     /// Expiration time (Unix timestamp)
[INFO] [stdout] 44 |     pub exp: i64,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 45 |     /// Issued at (Unix timestamp)
[INFO] [stdout] 46 |     pub iat: i64,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppleIdTokenPayload` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_account_tier` is never used
[INFO] [stdout]    --> src/services/auth_service.rs:488:18
[INFO] [stdout]     |
[INFO] [stdout]  93 | impl AuthService {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 488 |     pub async fn update_account_tier(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `record_purchase_in_txn`, `calculate_total_extra_credits`, `consume_credits`, and `check_sufficient_credits` are never used
[INFO] [stdout]    --> src/services/credits_service.rs:108:18
[INFO] [stdout]     |
[INFO] [stdout]  24 | impl CreditsService {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub async fn record_purchase_in_txn(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     pub async fn calculate_total_extra_credits(&self, user_id: Uuid) -> Result<i32> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 333 |     pub async fn consume_credits(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 433 |     pub async fn check_sufficient_credits(&self, user_id: Uuid, required: i32) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConsumedCreditsBreakdown` is never constructed
[INFO] [stdout]    --> src/services/credits_service.rs:518:12
[INFO] [stdout]     |
[INFO] [stdout] 518 | pub struct ConsumedCreditsBreakdown {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `is_in_intro_offer_period` and `is_trial_period` are never read
[INFO] [stdout]   --> src/services/iap_service.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | struct AppleTransaction {
[INFO] [stdout]    |        ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 43 |     is_in_intro_offer_period: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 44 |     #[serde(default)]
[INFO] [stdout] 45 |     is_trial_period: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppleTransaction` 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 `total_credits_remaining`, `subscription_credits`, `subscription_monthly_allocation`, `subscription_resets_at`, and `extra_credits_remaining` are never read
[INFO] [stdout]   --> src/services/quota_service.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct QuotaStatus {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 21 |     // Total credits available (subscription + extra)
[INFO] [stdout] 22 |     pub total_credits_remaining: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub subscription_credits: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     pub subscription_monthly_allocation: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 27 |     pub subscription_resets_at: Option<time::OffsetDateTime>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 28 |     pub extra_credits_remaining: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `QuotaStatus` 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: multiple methods are never used
[INFO] [stdout]    --> src/services/quota_service.rs:50:18
[INFO] [stdout]     |
[INFO] [stdout]  31 | impl QuotaService {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  50 |     pub async fn check_quota(&self, user_id: Uuid, tier: &AccountTier) -> Result<QuotaStatus> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub async fn get_quota_info(&self, user_id: Uuid, tier: &AccountTier) -> Result<Quota> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 197 |     pub async fn get_quota_subset(&self, user_id: Uuid, tier: &AccountTier) -> Result<QuotaSubset> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub async fn add_extra_credits(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 239 |     async fn get_or_create_credit_balance(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 370 |     async fn reset_subscription_if_needed(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 439 |     async fn get_or_create_usage(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cleanup_expired_tokens` and `get_active_token_count` are never used
[INFO] [stdout]    --> src/services/refresh_token_service.rs:143:18
[INFO] [stdout]     |
[INFO] [stdout]  26 | impl RefreshTokenService {
[INFO] [stdout]     | ------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub async fn cleanup_expired_tokens(&self) -> Result<u64> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub async fn get_active_token_count(&self, user_id: Uuid) -> Result<u64> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/services/ai_service.rs:304:9
[INFO] [stdout]     |
[INFO] [stdout] 304 |         context: &ImageStoryContext,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `params`
[INFO] [stdout]    --> src/services/ai_service.rs:330:9
[INFO] [stdout]     |
[INFO] [stdout] 330 |         params: &GenerationParams,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `refresh_token_service`, `welcome_bonus_service`, and `config` are never read
[INFO] [stdout]   --> src/app_state.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct AppState {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub refresh_token_service: Arc<RefreshTokenService>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     pub welcome_bonus_service: Arc<WelcomeBonusService>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     pub auth_service: Arc<AuthService>,
[INFO] [stdout] 23 |     pub config: Arc<Config>,
[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]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `application` is never read
[INFO] [stdout]   --> src/config.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct Config {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub application: ApplicationConfig,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `anthropic_api_key` is never read
[INFO] [stdout]   --> src/config.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct AIConfig {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 36 |     pub openai_api_key: String,
[INFO] [stdout] 37 |     pub anthropic_api_key: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AIConfig` 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 `google_service_account_key_path` is never read
[INFO] [stdout]   --> src/config.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct IAPConfig {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub google_service_account_key_path: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IAPConfig` 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 `apple_team_id` is never read
[INFO] [stdout]   --> src/config.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct AuthConfig {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub apple_team_id: String,   // Apple developer team ID
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthConfig` 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 `base_url` is never read
[INFO] [stdout]   --> src/config.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct ApplicationConfig {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 63 |     pub base_url: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApplicationConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `free_image_daily_limit` and `pro_image_daily_limit` are never read
[INFO] [stdout]   --> src/config.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct QuotaConfig {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub free_image_daily_limit: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub pro_image_daily_limit: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `QuotaConfig` 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: variant `Conflict` is never constructed
[INFO] [stdout]   --> src/error.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum ApiError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 41 |     Conflict(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiError` 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 `IAPIdentity` is never constructed
[INFO] [stdout]   --> src/middleware/auth.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct IAPIdentity {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `iap_auth_middleware` is never used
[INFO] [stdout]   --> src/middleware/auth.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub async fn iap_auth_middleware(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_rate_limiter_with_config` is never used
[INFO] [stdout]    --> src/middleware/rate_limit.rs:163:8
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub fn create_rate_limiter_with_config(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_str` and `as_str` are never used
[INFO] [stdout]   --> src/models/common.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl PurchaseTier {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 59 |     pub fn from_str(s: &str) -> Option<Self> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn as_str(&self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_str` is never used
[INFO] [stdout]   --> src/models/common.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 83 | impl IAPPlatform {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 84 |     pub fn from_str(s: &str) -> Option<Self> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Quota` is never constructed
[INFO] [stdout]    --> src/models/common.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct Quota {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `QuotaSubset` is never constructed
[INFO] [stdout]    --> src/models/common.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub struct QuotaSubset {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `has_remaining` is never used
[INFO] [stdout]   --> src/models/credit_events_ext.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub trait CreditEventExt {
[INFO] [stdout]    |           -------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 13 |     fn has_remaining(&self) -> bool;
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DuplicateTransactionError` is never constructed
[INFO] [stdout]   --> src/models/credits.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct DuplicateTransactionError {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DuplicateTransactionDetails` is never constructed
[INFO] [stdout]    --> src/models/credits.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct DuplicateTransactionDetails {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IAPVerifyRequest` is never constructed
[INFO] [stdout]   --> src/models/iap.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct IAPVerifyRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IAPVerifyResponse` is never constructed
[INFO] [stdout]   --> src/models/iap.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct IAPVerifyResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `platform` is never read
[INFO] [stdout]   --> src/models/iap.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct IAPVerification {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub platform: IAPPlatform,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IAPVerification` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `iss`, `aud`, `exp`, and `iat` are never read
[INFO] [stdout]   --> src/services/auth_service.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct AppleIdTokenPayload {
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub iss: String,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 41 |     /// Audience (should be our app's client ID)
[INFO] [stdout] 42 |     pub aud: String,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 43 |     /// Expiration time (Unix timestamp)
[INFO] [stdout] 44 |     pub exp: i64,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 45 |     /// Issued at (Unix timestamp)
[INFO] [stdout] 46 |     pub iat: i64,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppleIdTokenPayload` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_account_tier` is never used
[INFO] [stdout]    --> src/services/auth_service.rs:488:18
[INFO] [stdout]     |
[INFO] [stdout]  93 | impl AuthService {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 488 |     pub async fn update_account_tier(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `record_purchase_in_txn`, `calculate_total_extra_credits`, `consume_credits`, and `check_sufficient_credits` are never used
[INFO] [stdout]    --> src/services/credits_service.rs:108:18
[INFO] [stdout]     |
[INFO] [stdout]  24 | impl CreditsService {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub async fn record_purchase_in_txn(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     pub async fn calculate_total_extra_credits(&self, user_id: Uuid) -> Result<i32> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 333 |     pub async fn consume_credits(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 433 |     pub async fn check_sufficient_credits(&self, user_id: Uuid, required: i32) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConsumedCreditsBreakdown` is never constructed
[INFO] [stdout]    --> src/services/credits_service.rs:518:12
[INFO] [stdout]     |
[INFO] [stdout] 518 | pub struct ConsumedCreditsBreakdown {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `is_in_intro_offer_period` and `is_trial_period` are never read
[INFO] [stdout]   --> src/services/iap_service.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | struct AppleTransaction {
[INFO] [stdout]    |        ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 43 |     is_in_intro_offer_period: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 44 |     #[serde(default)]
[INFO] [stdout] 45 |     is_trial_period: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppleTransaction` 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 `total_credits_remaining`, `subscription_credits`, `subscription_monthly_allocation`, `subscription_resets_at`, and `extra_credits_remaining` are never read
[INFO] [stdout]   --> src/services/quota_service.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct QuotaStatus {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 21 |     // Total credits available (subscription + extra)
[INFO] [stdout] 22 |     pub total_credits_remaining: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub subscription_credits: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     pub subscription_monthly_allocation: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 27 |     pub subscription_resets_at: Option<time::OffsetDateTime>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 28 |     pub extra_credits_remaining: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `QuotaStatus` 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: multiple methods are never used
[INFO] [stdout]    --> src/services/quota_service.rs:50:18
[INFO] [stdout]     |
[INFO] [stdout]  31 | impl QuotaService {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  50 |     pub async fn check_quota(&self, user_id: Uuid, tier: &AccountTier) -> Result<QuotaStatus> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub async fn get_quota_info(&self, user_id: Uuid, tier: &AccountTier) -> Result<Quota> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 197 |     pub async fn get_quota_subset(&self, user_id: Uuid, tier: &AccountTier) -> Result<QuotaSubset> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub async fn add_extra_credits(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 239 |     async fn get_or_create_credit_balance(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 370 |     async fn reset_subscription_if_needed(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 439 |     async fn get_or_create_usage(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cleanup_expired_tokens` and `get_active_token_count` are never used
[INFO] [stdout]    --> src/services/refresh_token_service.rs:143:18
[INFO] [stdout]     |
[INFO] [stdout]  26 | impl RefreshTokenService {
[INFO] [stdout]     | ------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub async fn cleanup_expired_tokens(&self) -> Result<u64> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub async fn get_active_token_count(&self, user_id: Uuid) -> Result<u64> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s
[INFO] running `Command { std: "docker" "inspect" "b85f7a30cb31e35cf91ad046062e0a5e63dc2aba77c02b57df3fab19241e555a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b85f7a30cb31e35cf91ad046062e0a5e63dc2aba77c02b57df3fab19241e555a", kill_on_drop: false }`
[INFO] [stdout] b85f7a30cb31e35cf91ad046062e0a5e63dc2aba77c02b57df3fab19241e555a
