[INFO] cloning repository https://github.com/pavondunbar/RWA-Tokenization-System-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pavondunbar/RWA-Tokenization-System-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpavondunbar%2FRWA-Tokenization-System-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpavondunbar%2FRWA-Tokenization-System-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a2bb10189144313a85438533b73a84059b7b0f6a [INFO] checking pavondunbar/RWA-Tokenization-System-Rust against master#12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 for pr-155299 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpavondunbar%2FRWA-Tokenization-System-Rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pavondunbar/RWA-Tokenization-System-Rust [INFO] finished tweaking git repo https://github.com/pavondunbar/RWA-Tokenization-System-Rust [INFO] tweaked toml for git repo https://github.com/pavondunbar/RWA-Tokenization-System-Rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pavondunbar/RWA-Tokenization-System-Rust on toolchain 12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pavondunbar/RWA-Tokenization-System-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rdkafka v0.36.2 [INFO] [stderr] Downloaded libz-sys v1.1.25 [INFO] [stderr] Downloaded rdkafka-sys v4.10.0+2.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc3dabae0904a72bea06a634f786e5c08ab95024e07e25e10c5424b617efe116 [INFO] running `Command { std: "docker" "start" "-a" "cc3dabae0904a72bea06a634f786e5c08ab95024e07e25e10c5424b617efe116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc3dabae0904a72bea06a634f786e5c08ab95024e07e25e10c5424b617efe116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc3dabae0904a72bea06a634f786e5c08ab95024e07e25e10c5424b617efe116", kill_on_drop: false }` [INFO] [stdout] cc3dabae0904a72bea06a634f786e5c08ab95024e07e25e10c5424b617efe116 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a56060e5812d02b5f7c807999f2295ac421ebb00348ba0b2a4f0681abba8e5e3 [INFO] running `Command { std: "docker" "start" "-a" "a56060e5812d02b5f7c807999f2295ac421ebb00348ba0b2a4f0681abba8e5e3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling zerocopy v0.8.47 [INFO] [stderr] Compiling cc v1.2.57 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling winnow v1.0.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tinyvec v1.11.0 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling toml_datetime v1.1.0+spec-1.1.0 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling uuid v1.22.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling unicode-segmentation v1.13.1 [INFO] [stderr] Compiling toml_parser v1.1.0+spec-1.1.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libz-sys v1.1.25 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling toml_edit v0.25.8+spec-1.1.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rdkafka-sys v4.10.0+2.12.1 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling num_enum_derive v0.7.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking num_enum v0.7.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Checking rdkafka v0.36.2 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking rwa v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `StubOracleService` is never constructed [INFO] [stdout] --> src/main.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | struct StubOracleService; [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 `revoke_whitelist` is never used [INFO] [stdout] --> src/compliance.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 22 | impl KycComplianceService { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | pub async fn revoke_whitelist( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RedemptionNotFound`, `SigningQueue`, and `Blockchain` are never constructed [INFO] [stdout] --> src/errors.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum RwaError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 43 | RedemptionNotFound { redemption_id: Uuid }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | SigningQueue(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | Blockchain(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RwaError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct RwaAsset { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 184 | pub id: Uuid, [INFO] [stdout] 185 | pub asset_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 186 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 187 | pub total_value: Decimal, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 188 | pub jurisdiction: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 189 | pub custodian: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 190 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 191 | pub idempotency_key: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 192 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RwaAsset` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RwaAssetStatusEvent` is never constructed [INFO] [stdout] --> src/models.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct RwaAssetStatusEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LegalWrapper` is never constructed [INFO] [stdout] --> src/models.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct LegalWrapper { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct InvestorCompliance { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 217 | pub id: Uuid, [INFO] [stdout] 218 | pub investor_id: Uuid, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 219 | pub wallet_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 220 | pub tier: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 221 | pub jurisdiction: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 222 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 223 | pub kyc_reference: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 224 | pub idempotency_key: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 225 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 226 | pub expires_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvestorCompliance` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComplianceStatusEvent` is never constructed [INFO] [stdout] --> src/models.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | pub struct ComplianceStatusEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WalletWhitelistEvent` is never constructed [INFO] [stdout] --> src/models.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub struct WalletWhitelistEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 251 | pub struct TokenMint { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 252 | pub id: Uuid, [INFO] [stdout] 253 | pub asset_id: Uuid, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 254 | pub investor_id: Uuid, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 255 | pub wallet_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 256 | pub token_amount: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 257 | pub fiat_received: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 258 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 259 | pub idempotency_key: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 260 | pub tx_hash: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 261 | pub block_number: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 262 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 263 | pub confirmed_at: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenMint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenMintEvent` is never constructed [INFO] [stdout] --> src/models.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | pub struct TokenMintEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 277 | pub struct TokenRedemption { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 278 | pub id: Uuid, [INFO] [stdout] 279 | pub asset_id: Uuid, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 280 | pub investor_id: Uuid, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 281 | pub wallet_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 282 | pub token_amount: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 283 | pub bank_account: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 284 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 285 | pub idempotency_key: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 286 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 287 | pub settled_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenRedemption` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenRedemptionEvent` is never constructed [INFO] [stdout] --> src/models.rs:291:12 [INFO] [stdout] | [INFO] [stdout] 291 | pub struct TokenRedemptionEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NavCalculation` is never constructed [INFO] [stdout] --> src/models.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 299 | pub struct NavCalculation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutboxPublishRecord` is never constructed [INFO] [stdout] --> src/models.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 310 | pub struct OutboxPublishRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LedgerEntry` is never constructed [INFO] [stdout] --> src/models.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 317 | pub struct LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run_forever` is never used [INFO] [stdout] --> src/outbox.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl RwaOutboxPublisher { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub async fn run_forever(&self, poll_interval_ms: u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OracleService` is never used [INFO] [stdout] --> src/ports.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | pub trait OracleService: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `settle_redemption` is never used [INFO] [stdout] --> src/redemption.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl TokenRedemptionService { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub async fn settle_redemption( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StubOracleService` is never constructed [INFO] [stdout] --> src/main.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | struct StubOracleService; [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 `revoke_whitelist` is never used [INFO] [stdout] --> src/compliance.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 22 | impl KycComplianceService { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | pub async fn revoke_whitelist( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RedemptionNotFound`, `SigningQueue`, and `Blockchain` are never constructed [INFO] [stdout] --> src/errors.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum RwaError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 43 | RedemptionNotFound { redemption_id: Uuid }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | SigningQueue(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | Blockchain(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RwaError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct RwaAsset { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 184 | pub id: Uuid, [INFO] [stdout] 185 | pub asset_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 186 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 187 | pub total_value: Decimal, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 188 | pub jurisdiction: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 189 | pub custodian: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 190 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 191 | pub idempotency_key: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 192 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RwaAsset` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RwaAssetStatusEvent` is never constructed [INFO] [stdout] --> src/models.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct RwaAssetStatusEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LegalWrapper` is never constructed [INFO] [stdout] --> src/models.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct LegalWrapper { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct InvestorCompliance { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 217 | pub id: Uuid, [INFO] [stdout] 218 | pub investor_id: Uuid, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 219 | pub wallet_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 220 | pub tier: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 221 | pub jurisdiction: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 222 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 223 | pub kyc_reference: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 224 | pub idempotency_key: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 225 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 226 | pub expires_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvestorCompliance` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComplianceStatusEvent` is never constructed [INFO] [stdout] --> src/models.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | pub struct ComplianceStatusEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WalletWhitelistEvent` is never constructed [INFO] [stdout] --> src/models.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub struct WalletWhitelistEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 251 | pub struct TokenMint { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 252 | pub id: Uuid, [INFO] [stdout] 253 | pub asset_id: Uuid, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 254 | pub investor_id: Uuid, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 255 | pub wallet_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 256 | pub token_amount: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 257 | pub fiat_received: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 258 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 259 | pub idempotency_key: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 260 | pub tx_hash: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 261 | pub block_number: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 262 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 263 | pub confirmed_at: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenMint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenMintEvent` is never constructed [INFO] [stdout] --> src/models.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | pub struct TokenMintEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 277 | pub struct TokenRedemption { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 278 | pub id: Uuid, [INFO] [stdout] 279 | pub asset_id: Uuid, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 280 | pub investor_id: Uuid, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 281 | pub wallet_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 282 | pub token_amount: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 283 | pub bank_account: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 284 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 285 | pub idempotency_key: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 286 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 287 | pub settled_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenRedemption` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenRedemptionEvent` is never constructed [INFO] [stdout] --> src/models.rs:291:12 [INFO] [stdout] | [INFO] [stdout] 291 | pub struct TokenRedemptionEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NavCalculation` is never constructed [INFO] [stdout] --> src/models.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 299 | pub struct NavCalculation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutboxPublishRecord` is never constructed [INFO] [stdout] --> src/models.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 310 | pub struct OutboxPublishRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LedgerEntry` is never constructed [INFO] [stdout] --> src/models.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 317 | pub struct LedgerEntry { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run_forever` is never used [INFO] [stdout] --> src/outbox.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl RwaOutboxPublisher { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub async fn run_forever(&self, poll_interval_ms: u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OracleService` is never used [INFO] [stdout] --> src/ports.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | pub trait OracleService: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `settle_redemption` is never used [INFO] [stdout] --> src/redemption.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl TokenRedemptionService { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub async fn settle_redemption( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] running `Command { std: "docker" "inspect" "a56060e5812d02b5f7c807999f2295ac421ebb00348ba0b2a4f0681abba8e5e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a56060e5812d02b5f7c807999f2295ac421ebb00348ba0b2a4f0681abba8e5e3", kill_on_drop: false }` [INFO] [stdout] a56060e5812d02b5f7c807999f2295ac421ebb00348ba0b2a4f0681abba8e5e3