[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] building Gob26/CryptoForge against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGob26%2FCryptoForge" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Gob26/CryptoForge on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper-rustls v0.27.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69cc00dcd330fcd3c435b9988f623b0f16e5c54dec314db362673ed8c149100f [INFO] running `Command { std: "docker" "start" "-a" "69cc00dcd330fcd3c435b9988f623b0f16e5c54dec314db362673ed8c149100f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69cc00dcd330fcd3c435b9988f623b0f16e5c54dec314db362673ed8c149100f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69cc00dcd330fcd3c435b9988f623b0f16e5c54dec314db362673ed8c149100f", kill_on_drop: false }` [INFO] [stdout] 69cc00dcd330fcd3c435b9988f623b0f16e5c54dec314db362673ed8c149100f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a168b85c2ab079f18ddf05c0022b6f3abbd9048ab3f8db271383c70dc5a65c0b [INFO] running `Command { std: "docker" "start" "-a" "a168b85c2ab079f18ddf05c0022b6f3abbd9048ab3f8db271383c70dc5a65c0b", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [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-web-codegen v4.3.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling dptree v0.3.0 [INFO] [stderr] Compiling teloxide-macros v0.7.1 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [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 serde_with_macros v1.5.2 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [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-native-tls v0.3.1 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling hyper v1.6.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 46s [INFO] running `Command { std: "docker" "inspect" "a168b85c2ab079f18ddf05c0022b6f3abbd9048ab3f8db271383c70dc5a65c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a168b85c2ab079f18ddf05c0022b6f3abbd9048ab3f8db271383c70dc5a65c0b", kill_on_drop: false }` [INFO] [stdout] a168b85c2ab079f18ddf05c0022b6f3abbd9048ab3f8db271383c70dc5a65c0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e1ae3cad0a205f9204dfdcd715b6532a82ec2b6717f2ddcc727528cc1d16c16 [INFO] running `Command { std: "docker" "start" "-a" "7e1ae3cad0a205f9204dfdcd715b6532a82ec2b6717f2ddcc727528cc1d16c16", 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 8.62s [INFO] running `Command { std: "docker" "inspect" "7e1ae3cad0a205f9204dfdcd715b6532a82ec2b6717f2ddcc727528cc1d16c16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e1ae3cad0a205f9204dfdcd715b6532a82ec2b6717f2ddcc727528cc1d16c16", kill_on_drop: false }` [INFO] [stdout] 7e1ae3cad0a205f9204dfdcd715b6532a82ec2b6717f2ddcc727528cc1d16c16