[INFO] cloning repository https://github.com/aa-sniperman/tap-trading-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aa-sniperman/tap-trading-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faa-sniperman%2Ftap-trading-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faa-sniperman%2Ftap-trading-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 88a781c5ac85835b206265c01fa4c8c030debb1b
[INFO] checking aa-sniperman/tap-trading-rs against master#cf79d034aa3d8f396d407aafce6f1ccd818e710e for pr-155657-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faa-sniperman%2Ftap-trading-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/aa-sniperman/tap-trading-rs
[INFO] finished tweaking git repo https://github.com/aa-sniperman/tap-trading-rs
[INFO] tweaked toml for git repo https://github.com/aa-sniperman/tap-trading-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/aa-sniperman/tap-trading-rs on toolchain cf79d034aa3d8f396d407aafce6f1ccd818e710e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/aa-sniperman/tap-trading-rs 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" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.2.58
[INFO] [stderr]   Downloaded sealed v0.5.0
[INFO] [stderr]   Downloaded replace_with v0.1.8
[INFO] [stderr]   Downloaded clickhouse-derive v0.2.0
[INFO] [stderr]   Downloaded lz4_flex v0.11.6
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.47
[INFO] [stderr]   Downloaded clickhouse v0.12.2
[INFO] [stderr]   Downloaded arc-swap v1.9.0
[INFO] [stderr]   Downloaded cityhash-rs v1.0.1
[INFO] [stderr]   Downloaded redis v0.25.4
[INFO] [stderr]   Downloaded zerocopy v0.8.47
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9096a3b555d3e9619fe06c0fb31e8640d120e19b47ff97d2cda5fd291dc3e60b
[INFO] running `Command { std: "docker" "start" "-a" "9096a3b555d3e9619fe06c0fb31e8640d120e19b47ff97d2cda5fd291dc3e60b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9096a3b555d3e9619fe06c0fb31e8640d120e19b47ff97d2cda5fd291dc3e60b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9096a3b555d3e9619fe06c0fb31e8640d120e19b47ff97d2cda5fd291dc3e60b", kill_on_drop: false }`
[INFO] [stdout] 9096a3b555d3e9619fe06c0fb31e8640d120e19b47ff97d2cda5fd291dc3e60b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d0bd02f7aa0bd0b9c64a55c7929453775b066eb559b8a3c2a58887d92dfd6a67
[INFO] running `Command { std: "docker" "start" "-a" "d0bd02f7aa0bd0b9c64a55c7929453775b066eb559b8a3c2a58887d92dfd6a67", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling cc v1.2.58
[INFO] [stderr]    Compiling zerocopy v0.8.47
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]     Checking tokio v1.50.0
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling tinyvec v1.11.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling webpki-roots v1.0.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling uuid v1.23.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]    Compiling pin-project-internal v1.1.11
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking deranged v0.5.8
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]     Checking num-conv v0.2.1
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking time-core v0.1.8
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]    Compiling sealed v0.5.0
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking pin-project v1.1.11
[INFO] [stderr]     Checking rustls-webpki v0.103.10
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking arc-swap v1.9.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]    Compiling clickhouse-derive v0.2.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking bstr v1.12.1
[INFO] [stderr]     Checking cityhash-rs v1.0.1
[INFO] [stderr]     Checking replace_with v0.1.8
[INFO] [stderr]     Checking sha1_smol v1.0.1
[INFO] [stderr]     Checking lz4_flex v0.11.6
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking config v0.14.1
[INFO] [stderr]     Checking tokio-retry v0.3.0
[INFO] [stderr]     Checking clickhouse v0.12.2
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking sqlx-core v0.8.6
[INFO] [stderr]     Checking redis v0.25.4
[INFO] [stderr]     Checking sqlx-postgres v0.8.6
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking tap-trading-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `user_id`, `asset`, and `amount_minor` are never read
[INFO] [stdout]   --> src/api/routes/payments.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct PaymentRequest {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout]  9 |     pub user_id: Uuid,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 10 |     pub asset: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 11 |     pub amount_minor: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `ledger_service` is never used
[INFO] [stdout]   --> src/app/state.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl AppState {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn ledger_service(&self) -> &LedgerService {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ledger` is never read
[INFO] [stdout]   --> src/app/state.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct AppServices {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub ledger: LedgerService,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `PaymentId` is never used
[INFO] [stdout]  --> src/domain/common/mod.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub type PaymentId = Uuid;
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `GridCellId` is never used
[INFO] [stdout]  --> src/domain/common/mod.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub type GridCellId = Uuid;
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuditMetadata` is never constructed
[INFO] [stdout]   --> src/domain/common/mod.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct AuditMetadata {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GridCell` is never constructed
[INFO] [stdout]  --> src/domain/grid/mod.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct GridCell {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rules` is never read
[INFO] [stdout]   --> src/domain/grid/mod.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct GridService {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 25 |     rules: PlacementRule,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GridService` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `placement_rules` is never used
[INFO] [stdout]   --> src/domain/grid/mod.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl GridService {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn placement_rules(&self) -> &PlacementRule {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DepositParams` is never constructed
[INFO] [stdout]   --> src/domain/ledger/mod.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct DepositParams {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WithdrawHoldParams` is never constructed
[INFO] [stdout]   --> src/domain/ledger/mod.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct WithdrawHoldParams {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WithdrawConfirmParams` is never constructed
[INFO] [stdout]   --> src/domain/ledger/mod.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct WithdrawConfirmParams {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WithdrawCancelParams` is never constructed
[INFO] [stdout]   --> src/domain/ledger/mod.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct WithdrawCancelParams {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `ensure_account_balance` and `get_balance` are never used
[INFO] [stdout]    --> src/domain/ledger/mod.rs:105:14
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub trait LedgerRepository: Send + Sync {
[INFO] [stdout]     |           ---------------- methods in this trait
[INFO] [stdout] 105 |     async fn ensure_account_balance(&self, user_id: UserId, asset: &str)
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     async fn get_balance(
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/domain/ledger/mod.rs:128:18
[INFO] [stdout]     |
[INFO] [stdout] 121 | impl LedgerService {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub async fn reserve_funds(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub async fn ensure_account_balance(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     pub async fn settle_entry(&self, entry: &LedgerEntry) -> Result<(), LedgerError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub async fn deposit(&self, params: DepositParams) -> Result<(), LedgerError> {
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub async fn withdraw_hold(&self, params: WithdrawHoldParams) -> Result<(), LedgerError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub async fn withdraw_cancel(&self, params: WithdrawCancelParams) -> Result<(), LedgerError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub async fn withdraw_confirm(&self, params: WithdrawConfirmParams) -> Result<(), LedgerError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 264 |     fn build_deposit_key(params: &DepositParams) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 268 |     fn build_withdraw_hold_key(params: &WithdrawHoldParams) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 272 |     fn build_withdraw_confirm_key(params: &WithdrawConfirmParams) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 279 |     fn build_withdraw_cancel_key(params: &WithdrawCancelParams) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Ledger` is never constructed
[INFO] [stdout]    --> src/domain/order/mod.rs:106:5
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub enum OrderError {
[INFO] [stdout]     |          ---------- variant in this enum
[INFO] [stdout] 105 |     #[error("ledger error: {0}")]
[INFO] [stdout] 106 |     Ledger(String),
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OrderError` 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 `Payment` is never constructed
[INFO] [stdout]   --> src/domain/payment/mod.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Payment {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PaymentKind` is never used
[INFO] [stdout]   --> src/domain/payment/mod.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub enum PaymentKind {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PaymentStatus` is never used
[INFO] [stdout]   --> src/domain/payment/mod.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub enum PaymentStatus {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PaymentError` is never used
[INFO] [stdout]   --> src/domain/payment/mod.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub enum PaymentError {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `insert` and `list_by_user` are never used
[INFO] [stdout]   --> src/domain/payment/mod.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub trait PaymentRepository: Send + Sync {
[INFO] [stdout]    |           ----------------- methods in this trait
[INFO] [stdout] 45 |     async fn insert(&self, payment: &Payment) -> Result<(), PaymentError>;
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 46 |     async fn list_by_user(&self, user_id: UserId) -> Result<Vec<Payment>, PaymentError>;
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `repository` is never read
[INFO] [stdout]   --> src/domain/payment/mod.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct PaymentService {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 51 |     repository: Arc<dyn PaymentRepository>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PaymentService` 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 `create` and `list_by_user` are never used
[INFO] [stdout]   --> src/domain/payment/mod.rs:64:18
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl PaymentService {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub async fn create(&self, payment: &Payment) -> Result<(), PaymentError> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub async fn list_by_user(&self, user_id: UserId) -> Result<Vec<Payment>, PaymentError> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PriceTick` is never constructed
[INFO] [stdout]  --> src/domain/price_stream/mod.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct PriceTick {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PriceStreamError` is never used
[INFO] [stdout]   --> src/domain/price_stream/mod.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum PriceStreamError {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_latest_price` and `set_latest_price` are never used
[INFO] [stdout]   --> src/domain/price_stream/mod.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub trait PriceCacheRepository: Send + Sync {
[INFO] [stdout]    |           -------------------- methods in this trait
[INFO] [stdout] 25 |     async fn get_latest_price(&self, symbol: &str) -> Result<Option<PriceTick>, PriceStreamError>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     async fn set_latest_price(&self, tick: &PriceTick) -> Result<(), PriceStreamError>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `append_tick` and `find_range` are never used
[INFO] [stdout]   --> src/domain/price_stream/mod.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub trait PriceHistoryRepository: Send + Sync {
[INFO] [stdout]    |           ---------------------- methods in this trait
[INFO] [stdout] 31 |     async fn append_tick(&self, tick: &PriceTick) -> Result<(), PriceStreamError>;
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 32 |     async fn find_range(
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cache` and `history` are never read
[INFO] [stdout]   --> src/domain/price_stream/mod.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct PriceStreamService {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 42 |     cache: Arc<dyn PriceCacheRepository>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 43 |     history: Arc<dyn PriceHistoryRepository>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PriceStreamService` 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 `ingest_tick` and `latest_price` are never used
[INFO] [stdout]   --> src/domain/price_stream/mod.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl PriceStreamService {
[INFO] [stdout]    | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub async fn ingest_tick(&self, tick: PriceTick) -> Result<(), PriceStreamError> {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub async fn latest_price(&self, symbol: &str) -> Result<Option<PriceTick>, PriceStreamError> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `client` is never read
[INFO] [stdout]   --> src/infra/clickhouse/price_history.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct PriceHistoryRepository {
[INFO] [stdout]    |            ---------------------- field in this struct
[INFO] [stdout] 11 |     client: ClickHouseClient,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PriceHistoryRepository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `fetch_balance_from_db` is never used
[INFO] [stdout]    --> src/infra/postgres/ledger.rs:189:14
[INFO] [stdout]     |
[INFO] [stdout]  17 | impl LedgerRepository {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 189 |     async fn fetch_balance_from_db(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pool` is never read
[INFO] [stdout]   --> src/infra/postgres/payment.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct PaymentRepository {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 10 |     pool: PgPool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_balance` is never used
[INFO] [stdout]   --> src/infra/redis/balance_cache.rs:22:18
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl BalanceCache {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub async fn get_balance(
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `connection_manager` is never read
[INFO] [stdout]  --> src/infra/redis/price_stream.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct PriceCache {
[INFO] [stdout]   |            ---------- field in this struct
[INFO] [stdout] 8 |     connection_manager: ConnectionManager,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PriceCache` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_id`, `asset`, and `amount_minor` are never read
[INFO] [stdout]   --> src/api/routes/payments.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct PaymentRequest {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout]  9 |     pub user_id: Uuid,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 10 |     pub asset: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 11 |     pub amount_minor: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `ledger_service` is never used
[INFO] [stdout]   --> src/app/state.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl AppState {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn ledger_service(&self) -> &LedgerService {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ledger` is never read
[INFO] [stdout]   --> src/app/state.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct AppServices {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub ledger: LedgerService,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `PaymentId` is never used
[INFO] [stdout]  --> src/domain/common/mod.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub type PaymentId = Uuid;
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `GridCellId` is never used
[INFO] [stdout]  --> src/domain/common/mod.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub type GridCellId = Uuid;
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuditMetadata` is never constructed
[INFO] [stdout]   --> src/domain/common/mod.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct AuditMetadata {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GridCell` is never constructed
[INFO] [stdout]  --> src/domain/grid/mod.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct GridCell {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rules` is never read
[INFO] [stdout]   --> src/domain/grid/mod.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct GridService {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 25 |     rules: PlacementRule,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GridService` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `placement_rules` is never used
[INFO] [stdout]   --> src/domain/grid/mod.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl GridService {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn placement_rules(&self) -> &PlacementRule {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DepositParams` is never constructed
[INFO] [stdout]   --> src/domain/ledger/mod.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct DepositParams {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WithdrawHoldParams` is never constructed
[INFO] [stdout]   --> src/domain/ledger/mod.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct WithdrawHoldParams {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WithdrawConfirmParams` is never constructed
[INFO] [stdout]   --> src/domain/ledger/mod.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct WithdrawConfirmParams {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WithdrawCancelParams` is never constructed
[INFO] [stdout]   --> src/domain/ledger/mod.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct WithdrawCancelParams {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `ensure_account_balance` and `get_balance` are never used
[INFO] [stdout]    --> src/domain/ledger/mod.rs:105:14
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub trait LedgerRepository: Send + Sync {
[INFO] [stdout]     |           ---------------- methods in this trait
[INFO] [stdout] 105 |     async fn ensure_account_balance(&self, user_id: UserId, asset: &str)
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     async fn get_balance(
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/domain/ledger/mod.rs:128:18
[INFO] [stdout]     |
[INFO] [stdout] 121 | impl LedgerService {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub async fn reserve_funds(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub async fn ensure_account_balance(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     pub async fn settle_entry(&self, entry: &LedgerEntry) -> Result<(), LedgerError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub async fn deposit(&self, params: DepositParams) -> Result<(), LedgerError> {
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub async fn withdraw_hold(&self, params: WithdrawHoldParams) -> Result<(), LedgerError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub async fn withdraw_cancel(&self, params: WithdrawCancelParams) -> Result<(), LedgerError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub async fn withdraw_confirm(&self, params: WithdrawConfirmParams) -> Result<(), LedgerError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 264 |     fn build_deposit_key(params: &DepositParams) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 268 |     fn build_withdraw_hold_key(params: &WithdrawHoldParams) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 272 |     fn build_withdraw_confirm_key(params: &WithdrawConfirmParams) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 279 |     fn build_withdraw_cancel_key(params: &WithdrawCancelParams) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Ledger` is never constructed
[INFO] [stdout]    --> src/domain/order/mod.rs:106:5
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub enum OrderError {
[INFO] [stdout]     |          ---------- variant in this enum
[INFO] [stdout] 105 |     #[error("ledger error: {0}")]
[INFO] [stdout] 106 |     Ledger(String),
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OrderError` 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 `Payment` is never constructed
[INFO] [stdout]   --> src/domain/payment/mod.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Payment {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PaymentKind` is never used
[INFO] [stdout]   --> src/domain/payment/mod.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub enum PaymentKind {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PaymentStatus` is never used
[INFO] [stdout]   --> src/domain/payment/mod.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub enum PaymentStatus {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PaymentError` is never used
[INFO] [stdout]   --> src/domain/payment/mod.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub enum PaymentError {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `insert` and `list_by_user` are never used
[INFO] [stdout]   --> src/domain/payment/mod.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub trait PaymentRepository: Send + Sync {
[INFO] [stdout]    |           ----------------- methods in this trait
[INFO] [stdout] 45 |     async fn insert(&self, payment: &Payment) -> Result<(), PaymentError>;
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 46 |     async fn list_by_user(&self, user_id: UserId) -> Result<Vec<Payment>, PaymentError>;
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `repository` is never read
[INFO] [stdout]   --> src/domain/payment/mod.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct PaymentService {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 51 |     repository: Arc<dyn PaymentRepository>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PaymentService` 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 `create` and `list_by_user` are never used
[INFO] [stdout]   --> src/domain/payment/mod.rs:64:18
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl PaymentService {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub async fn create(&self, payment: &Payment) -> Result<(), PaymentError> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub async fn list_by_user(&self, user_id: UserId) -> Result<Vec<Payment>, PaymentError> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PriceTick` is never constructed
[INFO] [stdout]  --> src/domain/price_stream/mod.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct PriceTick {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PriceStreamError` is never used
[INFO] [stdout]   --> src/domain/price_stream/mod.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum PriceStreamError {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_latest_price` and `set_latest_price` are never used
[INFO] [stdout]   --> src/domain/price_stream/mod.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub trait PriceCacheRepository: Send + Sync {
[INFO] [stdout]    |           -------------------- methods in this trait
[INFO] [stdout] 25 |     async fn get_latest_price(&self, symbol: &str) -> Result<Option<PriceTick>, PriceStreamError>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     async fn set_latest_price(&self, tick: &PriceTick) -> Result<(), PriceStreamError>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `append_tick` and `find_range` are never used
[INFO] [stdout]   --> src/domain/price_stream/mod.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub trait PriceHistoryRepository: Send + Sync {
[INFO] [stdout]    |           ---------------------- methods in this trait
[INFO] [stdout] 31 |     async fn append_tick(&self, tick: &PriceTick) -> Result<(), PriceStreamError>;
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 32 |     async fn find_range(
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cache` and `history` are never read
[INFO] [stdout]   --> src/domain/price_stream/mod.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct PriceStreamService {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 42 |     cache: Arc<dyn PriceCacheRepository>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 43 |     history: Arc<dyn PriceHistoryRepository>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PriceStreamService` 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 `ingest_tick` and `latest_price` are never used
[INFO] [stdout]   --> src/domain/price_stream/mod.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl PriceStreamService {
[INFO] [stdout]    | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub async fn ingest_tick(&self, tick: PriceTick) -> Result<(), PriceStreamError> {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub async fn latest_price(&self, symbol: &str) -> Result<Option<PriceTick>, PriceStreamError> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `client` is never read
[INFO] [stdout]   --> src/infra/clickhouse/price_history.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct PriceHistoryRepository {
[INFO] [stdout]    |            ---------------------- field in this struct
[INFO] [stdout] 11 |     client: ClickHouseClient,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PriceHistoryRepository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `fetch_balance_from_db` is never used
[INFO] [stdout]    --> src/infra/postgres/ledger.rs:189:14
[INFO] [stdout]     |
[INFO] [stdout]  17 | impl LedgerRepository {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 189 |     async fn fetch_balance_from_db(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pool` is never read
[INFO] [stdout]   --> src/infra/postgres/payment.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct PaymentRepository {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 10 |     pool: PgPool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_balance` is never used
[INFO] [stdout]   --> src/infra/redis/balance_cache.rs:22:18
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl BalanceCache {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub async fn get_balance(
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `connection_manager` is never read
[INFO] [stdout]  --> src/infra/redis/price_stream.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct PriceCache {
[INFO] [stdout]   |            ---------- field in this struct
[INFO] [stdout] 8 |     connection_manager: ConnectionManager,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PriceCache` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.25.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "d0bd02f7aa0bd0b9c64a55c7929453775b066eb559b8a3c2a58887d92dfd6a67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0bd02f7aa0bd0b9c64a55c7929453775b066eb559b8a3c2a58887d92dfd6a67", kill_on_drop: false }`
[INFO] [stdout] d0bd02f7aa0bd0b9c64a55c7929453775b066eb559b8a3c2a58887d92dfd6a67
