[INFO] cloning repository https://github.com/Gob26/CryptoForge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gob26/CryptoForge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGob26%2FCryptoForge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGob26%2FCryptoForge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e37672f6cbc2022f24f7d7ebd91eab5eee26966 [INFO] testing Gob26/CryptoForge against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGob26%2FCryptoForge" "/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/Gob26/CryptoForge [INFO] finished tweaking git repo https://github.com/Gob26/CryptoForge [INFO] tweaked toml for git repo https://github.com/Gob26/CryptoForge written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Gob26/CryptoForge on toolchain 1ef7943ee607160a564655b6596f83670ef95df5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Gob26/CryptoForge 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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper-rustls v0.27.6 [INFO] [stderr] Downloaded teloxide-macros v0.7.1 [INFO] [stderr] Downloaded hyper-util v0.1.12 [INFO] [stderr] Downloaded dptree v0.3.0 [INFO] [stderr] Downloaded openssl-sys v0.9.108 [INFO] [stderr] Downloaded teloxide v0.12.2 [INFO] [stderr] Downloaded quinn-udp v0.5.12 [INFO] [stderr] Downloaded teloxide-core v0.9.1 [INFO] [stderr] Downloaded aquamarine v0.1.12 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe6e715dd2a95d0b730e0971adb02a69cb0ff538284a4fd802b747895b04130b [INFO] running `Command { std: "docker" "start" "-a" "fe6e715dd2a95d0b730e0971adb02a69cb0ff538284a4fd802b747895b04130b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe6e715dd2a95d0b730e0971adb02a69cb0ff538284a4fd802b747895b04130b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe6e715dd2a95d0b730e0971adb02a69cb0ff538284a4fd802b747895b04130b", kill_on_drop: false }` [INFO] [stdout] fe6e715dd2a95d0b730e0971adb02a69cb0ff538284a4fd802b747895b04130b [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5892167bec88d4a887f1b3512690afade73d3b552fa02695c1c012dfaff19db [INFO] running `Command { std: "docker" "start" "-a" "c5892167bec88d4a887f1b3512690afade73d3b552fa02695c1c012dfaff19db", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling rc-box v1.3.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling takecell v0.1.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling never v0.1.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling teloxide-macros v0.7.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling dptree v0.3.0 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling hyper-util v0.1.12 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.6 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling teloxide-core v0.9.1 [INFO] [stderr] Compiling teloxide v0.12.2 [INFO] [stderr] Compiling CryptoForge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BinancePrice` and `BinanceTicker24hr` [INFO] [stdout] --> src/infrastructure/exchanges/binance/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub use types::{BinancePrice, BinanceTicker24hr}; [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: `utils::command::BotCommands` [INFO] [stdout] --> src/interfaces/telegram/dispatcher.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use teloxide::{prelude::*, utils::command::BotCommands}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::interfaces::telegram::dispatcher` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::interfaces::telegram::dispatcher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `binance_api_key`, `binance_secret_key`, and `blockchain_rpc_url` are never read [INFO] [stdout] --> src/config.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | pub binance_api_key: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | pub binance_secret_key: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | pub blockchain_rpc_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/infrastructure/exchanges/binance/types.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BinanceTicker24hr{ [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub weighted_avg_price: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub prev_close_price: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | pub last_price: String, [INFO] [stdout] 21 | pub last_qty: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub bid_price: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub bid_qty: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | pub ask_price: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | pub ask_qty: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | pub open_price: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub quote_volume: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 31 | pub open_time: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub close_time: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | pub first_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | pub last_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | pub count: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinanceTicker24hr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MoralisError` is never used [INFO] [stdout] --> src/infrastructure/web3/moralis.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum MoralisError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client`, `api_key`, and `base_url` are never read [INFO] [stdout] --> src/infrastructure/web3/moralis.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct MoralisClient { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 25 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | api_key: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | base_url: Url, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoralisClient` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_wallet_transactions` and `get_wallet_balance` are never used [INFO] [stdout] --> src/infrastructure/web3/moralis.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 30 | impl MoralisClient { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn get_wallet_transactions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub async fn get_wallet_balance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MoralisWalletHistoryResponse` is never constructed [INFO] [stdout] --> src/infrastructure/web3/moralis.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct MoralisWalletHistoryResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WalletTransaction` is never constructed [INFO] [stdout] --> src/infrastructure/web3/moralis.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct WalletTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenBalance` is never constructed [INFO] [stdout] --> src/infrastructure/web3/moralis.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct TokenBalance { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `value_in_eth`, `is_incoming`, and `is_outgoing` are never used [INFO] [stdout] --> src/infrastructure/web3/moralis.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 147 | impl WalletTransaction { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 148 | /// Преобразует value из wei в ETH (или другую валюту) [INFO] [stdout] 149 | pub fn value_in_eth(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn is_incoming(&self, wallet_address: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn is_outgoing(&self, wallet_address: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `balance_formatted` is never used [INFO] [stdout] --> src/infrastructure/web3/moralis.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 165 | impl TokenBalance { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 166 | /// Преобразует баланс токена в читаемый формат [INFO] [stdout] 167 | pub fn balance_formatted(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `thresholds` and `moralis_client` are never read [INFO] [stdout] --> src/interfaces/telegram/dispatcher.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 14 | pub tracked_whales: Arc>>, [INFO] [stdout] 15 | pub thresholds: Arc>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | pub moralis_client: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "c5892167bec88d4a887f1b3512690afade73d3b552fa02695c1c012dfaff19db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5892167bec88d4a887f1b3512690afade73d3b552fa02695c1c012dfaff19db", kill_on_drop: false }` [INFO] [stdout] c5892167bec88d4a887f1b3512690afade73d3b552fa02695c1c012dfaff19db [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59693ffe3629b40de68689aa42ba3f337056d5f2754d57722bcbde4432389b8d [INFO] running `Command { std: "docker" "start" "-a" "59693ffe3629b40de68689aa42ba3f337056d5f2754d57722bcbde4432389b8d", kill_on_drop: false }` [INFO] [stderr] Compiling CryptoForge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BinancePrice` and `BinanceTicker24hr` [INFO] [stdout] --> src/infrastructure/exchanges/binance/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub use types::{BinancePrice, BinanceTicker24hr}; [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: `utils::command::BotCommands` [INFO] [stdout] --> src/interfaces/telegram/dispatcher.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use teloxide::{prelude::*, utils::command::BotCommands}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::interfaces::telegram::dispatcher` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::interfaces::telegram::dispatcher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `binance_api_key`, `binance_secret_key`, and `blockchain_rpc_url` are never read [INFO] [stdout] --> src/config.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | pub binance_api_key: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | pub binance_secret_key: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | pub blockchain_rpc_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/infrastructure/exchanges/binance/types.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BinanceTicker24hr{ [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub weighted_avg_price: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub prev_close_price: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | pub last_price: String, [INFO] [stdout] 21 | pub last_qty: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub bid_price: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub bid_qty: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | pub ask_price: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | pub ask_qty: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | pub open_price: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub quote_volume: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 31 | pub open_time: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub close_time: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | pub first_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | pub last_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | pub count: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinanceTicker24hr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MoralisError` is never used [INFO] [stdout] --> src/infrastructure/web3/moralis.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum MoralisError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client`, `api_key`, and `base_url` are never read [INFO] [stdout] --> src/infrastructure/web3/moralis.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct MoralisClient { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 25 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | api_key: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | base_url: Url, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoralisClient` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_wallet_transactions` and `get_wallet_balance` are never used [INFO] [stdout] --> src/infrastructure/web3/moralis.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 30 | impl MoralisClient { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn get_wallet_transactions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub async fn get_wallet_balance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MoralisWalletHistoryResponse` is never constructed [INFO] [stdout] --> src/infrastructure/web3/moralis.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct MoralisWalletHistoryResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WalletTransaction` is never constructed [INFO] [stdout] --> src/infrastructure/web3/moralis.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct WalletTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenBalance` is never constructed [INFO] [stdout] --> src/infrastructure/web3/moralis.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct TokenBalance { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `value_in_eth`, `is_incoming`, and `is_outgoing` are never used [INFO] [stdout] --> src/infrastructure/web3/moralis.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 147 | impl WalletTransaction { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 148 | /// Преобразует value из wei в ETH (или другую валюту) [INFO] [stdout] 149 | pub fn value_in_eth(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn is_incoming(&self, wallet_address: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn is_outgoing(&self, wallet_address: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `balance_formatted` is never used [INFO] [stdout] --> src/infrastructure/web3/moralis.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 165 | impl TokenBalance { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 166 | /// Преобразует баланс токена в читаемый формат [INFO] [stdout] 167 | pub fn balance_formatted(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `thresholds` and `moralis_client` are never read [INFO] [stdout] --> src/interfaces/telegram/dispatcher.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 14 | pub tracked_whales: Arc>>, [INFO] [stdout] 15 | pub thresholds: Arc>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | pub moralis_client: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.14s [INFO] running `Command { std: "docker" "inspect" "59693ffe3629b40de68689aa42ba3f337056d5f2754d57722bcbde4432389b8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59693ffe3629b40de68689aa42ba3f337056d5f2754d57722bcbde4432389b8d", kill_on_drop: false }` [INFO] [stdout] 59693ffe3629b40de68689aa42ba3f337056d5f2754d57722bcbde4432389b8d [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ade0a7c2bc3df64538432c32d4f0ddff0e8b747fc13e344e119a21ac4d1216de [INFO] running `Command { std: "docker" "start" "-a" "ade0a7c2bc3df64538432c32d4f0ddff0e8b747fc13e344e119a21ac4d1216de", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `BinancePrice` and `BinanceTicker24hr` [INFO] [stderr] --> src/infrastructure/exchanges/binance/mod.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | pub use types::{BinancePrice, BinanceTicker24hr}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `utils::command::BotCommands` [INFO] [stderr] --> src/interfaces/telegram/dispatcher.rs:3:28 [INFO] [stderr] | [INFO] [stderr] 3 | use teloxide::{prelude::*, utils::command::BotCommands}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str::FromStr` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::str::FromStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::interfaces::telegram::dispatcher` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use crate::interfaces::telegram::dispatcher; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `binance_api_key`, `binance_secret_key`, and `blockchain_rpc_url` are never read [INFO] [stderr] --> src/config.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Config { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 5 | pub binance_api_key: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 6 | pub binance_secret_key: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 7 | pub blockchain_rpc_url: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/infrastructure/exchanges/binance/types.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct BinanceTicker24hr{ [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 18 | pub weighted_avg_price: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 19 | pub prev_close_price: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 20 | pub last_price: String, [INFO] [stderr] 21 | pub last_qty: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 22 | pub bid_price: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 23 | pub bid_qty: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 24 | pub ask_price: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 25 | pub ask_qty: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 26 | pub open_price: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | pub quote_volume: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 31 | pub open_time: u64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 32 | pub close_time: u64, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 33 | pub first_id: u64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 34 | pub last_id: u64, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 35 | pub count: u64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BinanceTicker24hr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: enum `MoralisError` is never used [INFO] [stderr] --> src/infrastructure/web3/moralis.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum MoralisError { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `client`, `api_key`, and `base_url` are never read [INFO] [stderr] --> src/infrastructure/web3/moralis.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct MoralisClient { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 25 | client: Client, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 26 | api_key: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 27 | base_url: Url, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MoralisClient` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `get_wallet_transactions` and `get_wallet_balance` are never used [INFO] [stderr] --> src/infrastructure/web3/moralis.rs:44:18 [INFO] [stderr] | [INFO] [stderr] 30 | impl MoralisClient { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 44 | pub async fn get_wallet_transactions( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 74 | pub async fn get_wallet_balance( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MoralisWalletHistoryResponse` is never constructed [INFO] [stderr] --> src/infrastructure/web3/moralis.rs:98:12 [INFO] [stderr] | [INFO] [stderr] 98 | pub struct MoralisWalletHistoryResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `WalletTransaction` is never constructed [INFO] [stderr] --> src/infrastructure/web3/moralis.rs:111:12 [INFO] [stderr] | [INFO] [stderr] 111 | pub struct WalletTransaction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TokenBalance` is never constructed [INFO] [stderr] --> src/infrastructure/web3/moralis.rs:134:12 [INFO] [stderr] | [INFO] [stderr] 134 | pub struct TokenBalance { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `value_in_eth`, `is_incoming`, and `is_outgoing` are never used [INFO] [stderr] --> src/infrastructure/web3/moralis.rs:149:12 [INFO] [stderr] | [INFO] [stderr] 147 | impl WalletTransaction { [INFO] [stderr] | ---------------------- methods in this implementation [INFO] [stderr] 148 | /// Преобразует value из wei в ETH (или другую валюту) [INFO] [stderr] 149 | pub fn value_in_eth(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 155 | pub fn is_incoming(&self, wallet_address: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 160 | pub fn is_outgoing(&self, wallet_address: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `balance_formatted` is never used [INFO] [stderr] --> src/infrastructure/web3/moralis.rs:167:12 [INFO] [stderr] | [INFO] [stderr] 165 | impl TokenBalance { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] 166 | /// Преобразует баланс токена в читаемый формат [INFO] [stderr] 167 | pub fn balance_formatted(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `thresholds` and `moralis_client` are never read [INFO] [stderr] --> src/interfaces/telegram/dispatcher.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct AppState { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 14 | pub tracked_whales: Arc>>, [INFO] [stderr] 15 | pub thresholds: Arc>>, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 16 | pub moralis_client: Arc, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `CryptoForge` (bin "CryptoForge" test) generated 16 warnings (run `cargo fix --bin "CryptoForge" -p CryptoForge --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/CryptoForge-b05759c295e7edfc) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ade0a7c2bc3df64538432c32d4f0ddff0e8b747fc13e344e119a21ac4d1216de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ade0a7c2bc3df64538432c32d4f0ddff0e8b747fc13e344e119a21ac4d1216de", kill_on_drop: false }` [INFO] [stdout] ade0a7c2bc3df64538432c32d4f0ddff0e8b747fc13e344e119a21ac4d1216de