[INFO] cloning repository https://github.com/a-dev-mobile/t-indicators [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/a-dev-mobile/t-indicators" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-dev-mobile%2Ft-indicators", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-dev-mobile%2Ft-indicators'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d82e2cadff3f89ad47d3b550e99f71c9f899f1b0 [INFO] building a-dev-mobile/t-indicators against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-dev-mobile%2Ft-indicators" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/a-dev-mobile/t-indicators [INFO] finished tweaking git repo https://github.com/a-dev-mobile/t-indicators [INFO] tweaked toml for git repo https://github.com/a-dev-mobile/t-indicators written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/a-dev-mobile/t-indicators 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/a-dev-mobile/t-indicators 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clickhouse-derive v0.2.0 [INFO] [stderr] Downloaded prettyplease v0.2.32 [INFO] [stderr] Downloaded sealed v0.6.0 [INFO] [stderr] Downloaded lz4_flex v0.11.3 [INFO] [stderr] Downloaded cityhash-rs v1.0.1 [INFO] [stderr] Downloaded clickhouse v0.13.2 [INFO] [stderr] Downloaded libm v0.2.14 [INFO] [stderr] Downloaded winnow v0.7.9 [INFO] [stderr] Downloaded aws-lc-rs v1.13.0 [INFO] [stderr] Downloaded webpki-roots v0.26.10 [INFO] [stderr] Downloaded aws-lc-sys v0.28.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5d37673befc82efecbf94fd36bff2760e013026f8bd118152f95dbd0d64f4372 [INFO] running `Command { std: "docker" "start" "-a" "5d37673befc82efecbf94fd36bff2760e013026f8bd118152f95dbd0d64f4372", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d37673befc82efecbf94fd36bff2760e013026f8bd118152f95dbd0d64f4372", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d37673befc82efecbf94fd36bff2760e013026f8bd118152f95dbd0d64f4372", kill_on_drop: false }` [INFO] [stdout] 5d37673befc82efecbf94fd36bff2760e013026f8bd118152f95dbd0d64f4372 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] fbfaa5f18c41b89c7ed68fb43d43efe5dbdb3f5a1e56fe1dea9041c183499f9f [INFO] running `Command { std: "docker" "start" "-a" "fbfaa5f18c41b89c7ed68fb43d43efe5dbdb3f5a1e56fe1dea9041c183499f9f", kill_on_drop: false }` [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling aws-lc-rs v1.13.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling webpki-roots v0.26.10 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling aws-lc-sys v0.28.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling winnow v0.7.9 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling clickhouse-derive v0.2.0 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling sealed v0.6.0 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling replace_with v0.1.7 [INFO] [stderr] Compiling cityhash-rs v1.0.1 [INFO] [stderr] Compiling lz4_flex v0.11.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling rustls-webpki v0.103.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling sqlx-core v0.8.5 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling clickhouse v0.13.2 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling sqlx-postgres v0.8.5 [INFO] [stderr] Compiling sqlx-macros-core v0.8.5 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling sqlx-macros v0.8.5 [INFO] [stderr] Compiling sqlx v0.8.5 [INFO] [stderr] Compiling t-indicators v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DbIndicatorStatus` [INFO] [stdout] --> src/db/clickhouse/repository/indicator_repository.rs:3:74 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::clickhouse::models::indicator::{DbCandleRaw, DbIndicator, DbIndicatorStatus}; [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: `async_trait::async_trait` [INFO] [stdout] --> src/db/clickhouse/repository/indicator_repository.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clickhouse::error::Error as ClickhouseError` [INFO] [stdout] --> src/db/clickhouse/repository/indicator_repository.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use clickhouse::error::Error as ClickhouseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/db/postgres/repository/health_check_repository.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::postgres::models::indicator_status::PgIndicatorStatus` [INFO] [stdout] --> src/db/postgres/repository/indicator_status_repository.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::postgres::models::indicator_status::PgIndicatorStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/env_config/models/app_config.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{NaiveTime, Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/services/indicators/calculator.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, Datelike, TimeZone, Timelike, Utc, Weekday}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/services/indicators/calculator.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/services/indicators/scheduler.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | clickhouse::clickhouse_service::{self, ClickhouseService}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `signal` [INFO] [stdout] --> src/main.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | use tokio::{net::TcpListener, signal}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `settings` is never read [INFO] [stdout] --> src/app_state/models.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 9 | pub settings: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/app_state/models.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl AppState { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_float_safe` is never used [INFO] [stdout] --> src/db/clickhouse/repository/indicator_repository.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn format_float_safe(value: f64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DbIndicatorStatus` is never constructed [INFO] [stdout] --> src/db/clickhouse/models/indicator.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct DbIndicatorStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PgIndicatorStatus` is never constructed [INFO] [stdout] --> src/db/postgres/models/indicator_status.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PgIndicatorStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `indicators_updater` is never read [INFO] [stdout] --> src/env_config/models/app_config.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AppConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub indicators_updater: IndicatorsUpdaterConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enabled`, `interval_seconds`, `start_time`, and `end_time` are never read [INFO] [stdout] --> src/env_config/models/app_config.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct IndicatorsUpdaterConfig { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 13 | pub enabled: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | pub interval_seconds: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | #[serde(default)] [INFO] [stdout] 16 | pub start_time: Option, // Время начала в UTC, формат: "HH:MM:SS" [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | #[serde(default)] [INFO] [stdout] 18 | pub end_time: Option, // Время окончания в UTC, формат: "HH:MM:SS" [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndicatorsUpdaterConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pool_min` and `pool_max` are never read [INFO] [stdout] --> src/env_config/models/app_config.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct ClickhouseConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 28 | pub timeout: u64, [INFO] [stdout] 29 | pub pool_min: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | pub pool_max: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClickhouseConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_operation_allowed` is never used [INFO] [stdout] --> src/env_config/models/app_config.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl IndicatorsUpdaterConfig { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 43 | /// Checks if the current time is within the allowed operation window [INFO] [stdout] 44 | pub fn is_operation_allowed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_scheduled_updates` is never used [INFO] [stdout] --> src/services/indicators/scheduler.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl IndicatorsScheduler { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn start_scheduled_updates(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_client_ip_from_headers` is never used [INFO] [stdout] --> src/utils/utils_http.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_client_ip_from_headers(headers: &HeaderMap) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 34s [INFO] running `Command { std: "docker" "inspect" "fbfaa5f18c41b89c7ed68fb43d43efe5dbdb3f5a1e56fe1dea9041c183499f9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbfaa5f18c41b89c7ed68fb43d43efe5dbdb3f5a1e56fe1dea9041c183499f9f", kill_on_drop: false }` [INFO] [stdout] fbfaa5f18c41b89c7ed68fb43d43efe5dbdb3f5a1e56fe1dea9041c183499f9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 93c5b029164efc482e2cfa02c95e46478862fe5abb3d524847ff774215ec1e8d [INFO] running `Command { std: "docker" "start" "-a" "93c5b029164efc482e2cfa02c95e46478862fe5abb3d524847ff774215ec1e8d", kill_on_drop: false }` [INFO] [stderr] Compiling t-indicators v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DbIndicatorStatus` [INFO] [stdout] --> src/db/clickhouse/repository/indicator_repository.rs:3:74 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::clickhouse::models::indicator::{DbCandleRaw, DbIndicator, DbIndicatorStatus}; [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: `async_trait::async_trait` [INFO] [stdout] --> src/db/clickhouse/repository/indicator_repository.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clickhouse::error::Error as ClickhouseError` [INFO] [stdout] --> src/db/clickhouse/repository/indicator_repository.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use clickhouse::error::Error as ClickhouseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/db/postgres/repository/health_check_repository.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::postgres::models::indicator_status::PgIndicatorStatus` [INFO] [stdout] --> src/db/postgres/repository/indicator_status_repository.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::db::postgres::models::indicator_status::PgIndicatorStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/env_config/models/app_config.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{NaiveTime, Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/services/indicators/calculator.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, Datelike, TimeZone, Timelike, Utc, Weekday}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/services/indicators/calculator.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/services/indicators/scheduler.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | clickhouse::clickhouse_service::{self, ClickhouseService}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `signal` [INFO] [stdout] --> src/main.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | use tokio::{net::TcpListener, signal}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `settings` is never read [INFO] [stdout] --> src/app_state/models.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 9 | pub settings: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/app_state/models.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl AppState { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_float_safe` is never used [INFO] [stdout] --> src/db/clickhouse/repository/indicator_repository.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn format_float_safe(value: f64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DbIndicatorStatus` is never constructed [INFO] [stdout] --> src/db/clickhouse/models/indicator.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct DbIndicatorStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PgIndicatorStatus` is never constructed [INFO] [stdout] --> src/db/postgres/models/indicator_status.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PgIndicatorStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `indicators_updater` is never read [INFO] [stdout] --> src/env_config/models/app_config.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AppConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub indicators_updater: IndicatorsUpdaterConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enabled`, `interval_seconds`, `start_time`, and `end_time` are never read [INFO] [stdout] --> src/env_config/models/app_config.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct IndicatorsUpdaterConfig { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 13 | pub enabled: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | pub interval_seconds: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | #[serde(default)] [INFO] [stdout] 16 | pub start_time: Option, // Время начала в UTC, формат: "HH:MM:SS" [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | #[serde(default)] [INFO] [stdout] 18 | pub end_time: Option, // Время окончания в UTC, формат: "HH:MM:SS" [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndicatorsUpdaterConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pool_min` and `pool_max` are never read [INFO] [stdout] --> src/env_config/models/app_config.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct ClickhouseConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 28 | pub timeout: u64, [INFO] [stdout] 29 | pub pool_min: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | pub pool_max: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClickhouseConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_operation_allowed` is never used [INFO] [stdout] --> src/env_config/models/app_config.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl IndicatorsUpdaterConfig { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 43 | /// Checks if the current time is within the allowed operation window [INFO] [stdout] 44 | pub fn is_operation_allowed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_scheduled_updates` is never used [INFO] [stdout] --> src/services/indicators/scheduler.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl IndicatorsScheduler { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn start_scheduled_updates(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_client_ip_from_headers` is never used [INFO] [stdout] --> src/utils/utils_http.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_client_ip_from_headers(headers: &HeaderMap) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.59s [INFO] running `Command { std: "docker" "inspect" "93c5b029164efc482e2cfa02c95e46478862fe5abb3d524847ff774215ec1e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93c5b029164efc482e2cfa02c95e46478862fe5abb3d524847ff774215ec1e8d", kill_on_drop: false }` [INFO] [stdout] 93c5b029164efc482e2cfa02c95e46478862fe5abb3d524847ff774215ec1e8d