[INFO] cloning repository https://github.com/Alphatecks/senseifi-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alphatecks/senseifi-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphatecks%2Fsenseifi-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphatecks%2Fsenseifi-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b8fd3df9a0daa2588d4ed4aa037e941b82b06d6 [INFO] checking Alphatecks/senseifi-backend against try#9961e55b3687a6d0b2bab4af0e5e81494b09be81 for pr-139087-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphatecks%2Fsenseifi-backend" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 67% (952/1403) Updating files: 68% (955/1403) Updating files: 69% (969/1403) Updating files: 70% (983/1403) Updating files: 71% (997/1403) Updating files: 72% (1011/1403) Updating files: 73% (1025/1403) Updating files: 74% (1039/1403) Updating files: 75% (1053/1403) Updating files: 76% (1067/1403) Updating files: 77% (1081/1403) Updating files: 78% (1095/1403) Updating files: 79% (1109/1403) Updating files: 80% (1123/1403) Updating files: 81% (1137/1403) Updating files: 82% (1151/1403) Updating files: 83% (1165/1403) Updating files: 84% (1179/1403) Updating files: 85% (1193/1403) Updating files: 86% (1207/1403) Updating files: 87% (1221/1403) Updating files: 88% (1235/1403) Updating files: 89% (1249/1403) Updating files: 90% (1263/1403) Updating files: 91% (1277/1403) Updating files: 92% (1291/1403) Updating files: 93% (1305/1403) Updating files: 94% (1319/1403) Updating files: 95% (1333/1403) Updating files: 96% (1347/1403) Updating files: 97% (1361/1403) Updating files: 98% (1375/1403) Updating files: 99% (1389/1403) Updating files: 100% (1403/1403) Updating files: 100% (1403/1403), done. [INFO] started tweaking git repo https://github.com/Alphatecks/senseifi-backend [INFO] finished tweaking git repo https://github.com/Alphatecks/senseifi-backend [INFO] tweaked toml for git repo https://github.com/Alphatecks/senseifi-backend written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Alphatecks/senseifi-backend on toolchain 9961e55b3687a6d0b2bab4af0e5e81494b09be81 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Alphatecks/senseifi-backend 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" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 438d086ca66b1dd726e29f1f464ded6bcf21a506874b37fc64a678f8de8f6a8b [INFO] running `Command { std: "docker" "start" "-a" "438d086ca66b1dd726e29f1f464ded6bcf21a506874b37fc64a678f8de8f6a8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "438d086ca66b1dd726e29f1f464ded6bcf21a506874b37fc64a678f8de8f6a8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "438d086ca66b1dd726e29f1f464ded6bcf21a506874b37fc64a678f8de8f6a8b", kill_on_drop: false }` [INFO] [stdout] 438d086ca66b1dd726e29f1f464ded6bcf21a506874b37fc64a678f8de8f6a8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45695bb68ce0106a9d767edcc8230df5927df0e1d072a10db2be6b5c6ac3ac23 [INFO] running `Command { std: "docker" "start" "-a" "45695bb68ce0106a9d767edcc8230df5927df0e1d072a10db2be6b5c6ac3ac23", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zmij v1.0.13 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling uuid v1.20.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking ryu v1.0.22 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking raw-cpuid v11.6.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking spinning_top v0.3.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Checking nonzero_ext v0.3.0 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Checking nonempty v0.7.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tempfile v3.25.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking quanta v0.12.6 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking governor v0.10.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking forwarded-header-value v0.1.1 [INFO] [stderr] Checking pin-project v1.1.11 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.28 [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 tonic v0.14.5 [INFO] [stderr] Checking tower_governor v0.8.0 [INFO] [stderr] Checking backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/routes/protection_routes.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | routing::{delete, get, post, put}, [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: `delete` [INFO] [stdout] --> src/routes/protection_routes.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | routing::{delete, get, post, put}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_number` and `contract_creator` are never read [INFO] [stdout] --> src/clients/etherscan.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct ContractCreationInfo { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 179 | pub block_number: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 180 | pub timestamp: u64, [INFO] [stdout] 181 | pub contract_creator: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContractCreationInfo` has derived impls for the traits `Clone` and `Debug`, but these are 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 `message` is never read [INFO] [stdout] --> src/clients/etherscan.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 185 | struct EtherscanContractCreationResponse { [INFO] [stdout] | --------------------------------- field in this struct [INFO] [stdout] 186 | status: String, [INFO] [stdout] 187 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EtherscanContractCreationResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `moralis_chain_slug` is never used [INFO] [stdout] --> src/clients/moralis_wallet.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn moralis_chain_slug(chain_id: u64) -> Option<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gas` and `chain_id` are never read [INFO] [stdout] --> src/routes/dashboard_routes.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 77 | struct DashboardAnalyzeTxBody { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 85 | pub gas: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 86 | #[serde(default, rename = "chainId")] [INFO] [stdout] 87 | pub chain_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DashboardAnalyzeTxBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `extract_owner_privileges` and `dangerous_functions` are never used [INFO] [stdout] --> src/services/analyzer_service.rs:211:18 [INFO] [stdout] | [INFO] [stdout] 70 | impl AnalyzerService { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 211 | pub async fn extract_owner_privileges(contract_address: &str) -> OwnerPrivileges { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub async fn dangerous_functions(contract_address: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `blocked` is never read [INFO] [stdout] --> src/services/protection_engine.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct TxEvalResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub blocked: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SURFACE_WALLET_STATE` is never used [INFO] [stdout] --> src/models/senseiguard.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const SURFACE_WALLET_STATE: &str = "wallet_state"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SURFACE_TX_INTENT` is never used [INFO] [stdout] --> src/models/senseiguard.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const SURFACE_TX_INTENT: &str = "tx_intent"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SURFACE_CONTRACT` is never used [INFO] [stdout] --> src/models/senseiguard.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const SURFACE_CONTRACT: &str = "contract"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SURFACE_OFF_CHAIN` is never used [INFO] [stdout] --> src/models/senseiguard.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub const SURFACE_OFF_CHAIN: &str = "off_chain"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `to`, `data`, `value`, and `chain_id` are never read [INFO] [stdout] --> src/models/senseiguard.rs:778:9 [INFO] [stdout] | [INFO] [stdout] 775 | pub struct SimulateTxRequest { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 778 | pub to: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 779 | #[serde(default)] [INFO] [stdout] 780 | pub data: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 781 | #[serde(default)] [INFO] [stdout] 782 | pub value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 783 | #[serde(default)] [INFO] [stdout] 784 | pub chain_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimulateTxRequest` 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 `ContractFingerprint` is never constructed [INFO] [stdout] --> src/models/senseiguard.rs:798:12 [INFO] [stdout] | [INFO] [stdout] 798 | pub struct ContractFingerprint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RunScanResponse` is never constructed [INFO] [stdout] --> src/models/senseiguard.rs:810:12 [INFO] [stdout] | [INFO] [stdout] 810 | pub struct RunScanResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chain_id` is never read [INFO] [stdout] --> src/models/senseiguard.rs:829:9 [INFO] [stdout] | [INFO] [stdout] 820 | pub struct AnalyzeTxRequest { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 829 | pub chain_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnalyzeTxRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIGNATURE_PHISHING` is never used [INFO] [stdout] --> src/models/senseiguard.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | pub const SIGNATURE_PHISHING: &str = "signature_phishing"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DRAINER_PATTERN` is never used [INFO] [stdout] --> src/models/senseiguard.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | pub const DRAINER_PATTERN: &str = "drainer_pattern"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BEHAVIORAL_ANOMALY` is never used [INFO] [stdout] --> src/models/senseiguard.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub const BEHAVIORAL_ANOMALY: &str = "behavioral_anomaly"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OUTGOING_TX` is never used [INFO] [stdout] --> src/models/senseiguard.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | pub const OUTGOING_TX: &str = "outgoing_tx"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUSPICIOUS_APPROVAL` is never used [INFO] [stdout] --> src/models/senseiguard.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 105 | pub const SUSPICIOUS_APPROVAL: &str = "suspicious_approval"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCKED_INTERACTION` is never used [INFO] [stdout] --> src/models/senseiguard.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | pub const BLOCKED_INTERACTION: &str = "blocked_interaction"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_by_user_id` is never used [INFO] [stdout] --> src/repositories/dashboard_user_repository.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 7 | impl DashboardUserRepository { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn get_by_user_id(pool: &DbPool, user_id: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `domain` and `connected_at` are never read [INFO] [stdout] --> src/repositories/senseiguard_repository.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct DappConnectionRow { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 22 | pub wallet_address: String, [INFO] [stdout] 23 | pub domain: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub connected_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DappConnectionRow` 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 `ThreatIntelligenceCatalogRow` is never constructed [INFO] [stdout] --> src/repositories/senseiguard_repository.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ThreatIntelligenceCatalogRow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_id` is never read [INFO] [stdout] --> src/repositories/senseiguard_repository.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct ActivityMonitorWalletRow { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | pub user_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActivityMonitorWalletRow` 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 `wallet_id` is never read [INFO] [stdout] --> src/repositories/senseiguard_repository.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ActivityFeedRowLive { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 92 | pub id: Uuid, [INFO] [stdout] 93 | pub wallet_id: Uuid, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActivityFeedRowLive` 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 associated functions are never used [INFO] [stdout] --> src/repositories/senseiguard_repository.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 105 | impl SenseiguardRepository { [INFO] [stdout] | -------------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 245 | pub async fn list_threat_intelligence_catalog( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 578 | pub async fn count_unread_alerts_this_month(pool: &DbPool, wallet_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 590 | pub async fn count_unread_alerts_previous_month(pool: &DbPool, wallet_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 651 | pub async fn alerts_count_by_severity(pool: &DbPool, wallet_id: Uuid) -> Result<(i64, i64, i64), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 674 | pub async fn activity_count_since(pool: &DbPool, wallet_id: Uuid, since: DateTime) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 686 | pub async fn activity_suspicious_count_since(pool: &DbPool, wallet_id: Uuid, since: DateTime) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 700 | pub async fn min_security_score_active_wallets(pool: &DbPool) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 724 | pub async fn global_last_scan_at(pool: &DbPool) -> Result>, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 801 | pub async fn alerts_count_by_severity_global(pool: &DbPool) -> Result<(i64, i64, i64), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 847 | pub async fn list_activity_across_wallets(pool: &DbPool, limit: i64) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 886 | pub async fn activity_count_since_global(pool: &DbPool, since: DateTime) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 921 | pub async fn activity_suspicious_count_since_global(pool: &DbPool, since: DateTime) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 956 | pub async fn transaction_monitoring_global_totals(pool: &DbPool) -> Result<(i64, i64), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1303 | pub async fn upsert_asset( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1334 | pub async fn create_threat( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1570 | pub async fn get_fingerprint_by_contract( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1580 | pub async fn upsert_contract_fingerprint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1748 | pub async fn upsert_protection_settings( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1860 | pub async fn list_wallets_to_monitor(pool: &DbPool) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1882 | pub async fn create_wallet_scan_history( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `list_wallets_paginated` is never used [INFO] [stdout] --> src/repositories/wallet_repository.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 7 | impl WalletRepository { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub async fn list_wallets_paginated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_number` and `contract_creator` are never read [INFO] [stdout] --> src/clients/etherscan.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct ContractCreationInfo { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 179 | pub block_number: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 180 | pub timestamp: u64, [INFO] [stdout] 181 | pub contract_creator: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContractCreationInfo` has derived impls for the traits `Clone` and `Debug`, but these are 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 `message` is never read [INFO] [stdout] --> src/clients/etherscan.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 185 | struct EtherscanContractCreationResponse { [INFO] [stdout] | --------------------------------- field in this struct [INFO] [stdout] 186 | status: String, [INFO] [stdout] 187 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EtherscanContractCreationResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `moralis_chain_slug` is never used [INFO] [stdout] --> src/clients/moralis_wallet.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn moralis_chain_slug(chain_id: u64) -> Option<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gas` and `chain_id` are never read [INFO] [stdout] --> src/routes/dashboard_routes.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 77 | struct DashboardAnalyzeTxBody { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 85 | pub gas: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 86 | #[serde(default, rename = "chainId")] [INFO] [stdout] 87 | pub chain_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DashboardAnalyzeTxBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `extract_owner_privileges` and `dangerous_functions` are never used [INFO] [stdout] --> src/services/analyzer_service.rs:211:18 [INFO] [stdout] | [INFO] [stdout] 70 | impl AnalyzerService { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 211 | pub async fn extract_owner_privileges(contract_address: &str) -> OwnerPrivileges { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub async fn dangerous_functions(contract_address: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `blocked` is never read [INFO] [stdout] --> src/services/protection_engine.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct TxEvalResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub blocked: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SURFACE_WALLET_STATE` is never used [INFO] [stdout] --> src/models/senseiguard.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const SURFACE_WALLET_STATE: &str = "wallet_state"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SURFACE_TX_INTENT` is never used [INFO] [stdout] --> src/models/senseiguard.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const SURFACE_TX_INTENT: &str = "tx_intent"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SURFACE_CONTRACT` is never used [INFO] [stdout] --> src/models/senseiguard.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const SURFACE_CONTRACT: &str = "contract"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SURFACE_OFF_CHAIN` is never used [INFO] [stdout] --> src/models/senseiguard.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub const SURFACE_OFF_CHAIN: &str = "off_chain"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `to`, `data`, `value`, and `chain_id` are never read [INFO] [stdout] --> src/models/senseiguard.rs:778:9 [INFO] [stdout] | [INFO] [stdout] 775 | pub struct SimulateTxRequest { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 778 | pub to: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 779 | #[serde(default)] [INFO] [stdout] 780 | pub data: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 781 | #[serde(default)] [INFO] [stdout] 782 | pub value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 783 | #[serde(default)] [INFO] [stdout] 784 | pub chain_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimulateTxRequest` 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 `ContractFingerprint` is never constructed [INFO] [stdout] --> src/models/senseiguard.rs:798:12 [INFO] [stdout] | [INFO] [stdout] 798 | pub struct ContractFingerprint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RunScanResponse` is never constructed [INFO] [stdout] --> src/models/senseiguard.rs:810:12 [INFO] [stdout] | [INFO] [stdout] 810 | pub struct RunScanResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chain_id` is never read [INFO] [stdout] --> src/models/senseiguard.rs:829:9 [INFO] [stdout] | [INFO] [stdout] 820 | pub struct AnalyzeTxRequest { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 829 | pub chain_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnalyzeTxRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIGNATURE_PHISHING` is never used [INFO] [stdout] --> src/models/senseiguard.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | pub const SIGNATURE_PHISHING: &str = "signature_phishing"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DRAINER_PATTERN` is never used [INFO] [stdout] --> src/models/senseiguard.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | pub const DRAINER_PATTERN: &str = "drainer_pattern"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BEHAVIORAL_ANOMALY` is never used [INFO] [stdout] --> src/models/senseiguard.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub const BEHAVIORAL_ANOMALY: &str = "behavioral_anomaly"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OUTGOING_TX` is never used [INFO] [stdout] --> src/models/senseiguard.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | pub const OUTGOING_TX: &str = "outgoing_tx"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUSPICIOUS_APPROVAL` is never used [INFO] [stdout] --> src/models/senseiguard.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 105 | pub const SUSPICIOUS_APPROVAL: &str = "suspicious_approval"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCKED_INTERACTION` is never used [INFO] [stdout] --> src/models/senseiguard.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | pub const BLOCKED_INTERACTION: &str = "blocked_interaction"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_by_user_id` is never used [INFO] [stdout] --> src/repositories/dashboard_user_repository.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 7 | impl DashboardUserRepository { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn get_by_user_id(pool: &DbPool, user_id: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `domain` and `connected_at` are never read [INFO] [stdout] --> src/repositories/senseiguard_repository.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct DappConnectionRow { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 22 | pub wallet_address: String, [INFO] [stdout] 23 | pub domain: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub connected_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DappConnectionRow` 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 `ThreatIntelligenceCatalogRow` is never constructed [INFO] [stdout] --> src/repositories/senseiguard_repository.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ThreatIntelligenceCatalogRow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_id` is never read [INFO] [stdout] --> src/repositories/senseiguard_repository.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct ActivityMonitorWalletRow { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | pub user_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActivityMonitorWalletRow` 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 `wallet_id` is never read [INFO] [stdout] --> src/repositories/senseiguard_repository.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ActivityFeedRowLive { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 92 | pub id: Uuid, [INFO] [stdout] 93 | pub wallet_id: Uuid, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActivityFeedRowLive` 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 associated functions are never used [INFO] [stdout] --> src/repositories/senseiguard_repository.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 105 | impl SenseiguardRepository { [INFO] [stdout] | -------------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 245 | pub async fn list_threat_intelligence_catalog( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 578 | pub async fn count_unread_alerts_this_month(pool: &DbPool, wallet_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 590 | pub async fn count_unread_alerts_previous_month(pool: &DbPool, wallet_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 651 | pub async fn alerts_count_by_severity(pool: &DbPool, wallet_id: Uuid) -> Result<(i64, i64, i64), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 674 | pub async fn activity_count_since(pool: &DbPool, wallet_id: Uuid, since: DateTime) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 686 | pub async fn activity_suspicious_count_since(pool: &DbPool, wallet_id: Uuid, since: DateTime) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 700 | pub async fn min_security_score_active_wallets(pool: &DbPool) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 724 | pub async fn global_last_scan_at(pool: &DbPool) -> Result>, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 801 | pub async fn alerts_count_by_severity_global(pool: &DbPool) -> Result<(i64, i64, i64), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 847 | pub async fn list_activity_across_wallets(pool: &DbPool, limit: i64) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 886 | pub async fn activity_count_since_global(pool: &DbPool, since: DateTime) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 921 | pub async fn activity_suspicious_count_since_global(pool: &DbPool, since: DateTime) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 956 | pub async fn transaction_monitoring_global_totals(pool: &DbPool) -> Result<(i64, i64), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1303 | pub async fn upsert_asset( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1334 | pub async fn create_threat( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1570 | pub async fn get_fingerprint_by_contract( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1580 | pub async fn upsert_contract_fingerprint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1748 | pub async fn upsert_protection_settings( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1860 | pub async fn list_wallets_to_monitor(pool: &DbPool) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1882 | pub async fn create_wallet_scan_history( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `list_wallets_paginated` is never used [INFO] [stdout] --> src/repositories/wallet_repository.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 7 | impl WalletRepository { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub async fn list_wallets_paginated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 31s [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 1` [INFO] running `Command { std: "docker" "inspect" "45695bb68ce0106a9d767edcc8230df5927df0e1d072a10db2be6b5c6ac3ac23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45695bb68ce0106a9d767edcc8230df5927df0e1d072a10db2be6b5c6ac3ac23", kill_on_drop: false }` [INFO] [stdout] 45695bb68ce0106a9d767edcc8230df5927df0e1d072a10db2be6b5c6ac3ac23