[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] testing a-dev-mobile/t-indicators against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [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 sqlx-macros v0.8.5 [INFO] [stderr] Downloaded hyper-timeout v0.5.2 [INFO] [stderr] Downloaded sealed v0.6.0 [INFO] [stderr] Downloaded replace_with v0.1.7 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.5 [INFO] [stderr] Downloaded axum-macros v0.5.0 [INFO] [stderr] Downloaded sqlx-mysql v0.8.5 [INFO] [stderr] Downloaded cc v1.2.21 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.5 [INFO] [stderr] Downloaded tonic v0.12.3 [INFO] [stderr] Downloaded clickhouse v0.13.2 [INFO] [stderr] Downloaded sqlx-core v0.8.5 [INFO] [stderr] Downloaded cityhash-rs v1.0.1 [INFO] [stderr] Downloaded sqlx-postgres v0.8.5 [INFO] [stderr] Downloaded sqlx v0.8.5 [INFO] [stderr] Downloaded aws-lc-rs v1.13.0 [INFO] [stderr] Downloaded webpki-roots v0.26.10 [INFO] [stderr] Downloaded winnow v0.7.9 [INFO] [stderr] Downloaded libm v0.2.14 [INFO] [stderr] Downloaded rustls v0.23.26 [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] b87e713142387a2114986f5db5749c38744602ed8811d19fdcb842da0f0a9fe6 [INFO] running `Command { std: "docker" "start" "-a" "b87e713142387a2114986f5db5749c38744602ed8811d19fdcb842da0f0a9fe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b87e713142387a2114986f5db5749c38744602ed8811d19fdcb842da0f0a9fe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b87e713142387a2114986f5db5749c38744602ed8811d19fdcb842da0f0a9fe6", kill_on_drop: false }` [INFO] [stdout] b87e713142387a2114986f5db5749c38744602ed8811d19fdcb842da0f0a9fe6 [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] 2ee8d2076969dc057bb5c694ad98d54d1382da119c433762ea4e6cd66bd80ba4 [INFO] running `Command { std: "docker" "start" "-a" "2ee8d2076969dc057bb5c694ad98d54d1382da119c433762ea4e6cd66bd80ba4", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling aws-lc-rs v1.13.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling webpki-roots v0.26.10 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling rustls v0.23.26 [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 tokio v1.44.2 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling rustls-webpki v0.103.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sqlx-core v0.8.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling winnow v0.7.9 [INFO] [stderr] Compiling sqlx-postgres v0.8.5 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling clickhouse-derive v0.2.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling sealed v0.6.0 [INFO] [stderr] Compiling cityhash-rs v1.0.1 [INFO] [stderr] Compiling replace_with v0.1.7 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling lz4_flex v0.11.3 [INFO] [stderr] Compiling clickhouse v0.13.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling sqlx-macros-core v0.8.5 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling sqlx-macros v0.8.5 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tonic v0.12.3 [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 4m 15s [INFO] running `Command { std: "docker" "inspect" "2ee8d2076969dc057bb5c694ad98d54d1382da119c433762ea4e6cd66bd80ba4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ee8d2076969dc057bb5c694ad98d54d1382da119c433762ea4e6cd66bd80ba4", kill_on_drop: false }` [INFO] [stdout] 2ee8d2076969dc057bb5c694ad98d54d1382da119c433762ea4e6cd66bd80ba4 [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] 9e98eb056b67d44e5b3709895316e219c7baadc895db617ae8cd61b4faab43e2 [INFO] running `Command { std: "docker" "start" "-a" "9e98eb056b67d44e5b3709895316e219c7baadc895db617ae8cd61b4faab43e2", 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.63s [INFO] running `Command { std: "docker" "inspect" "9e98eb056b67d44e5b3709895316e219c7baadc895db617ae8cd61b4faab43e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e98eb056b67d44e5b3709895316e219c7baadc895db617ae8cd61b4faab43e2", kill_on_drop: false }` [INFO] [stdout] 9e98eb056b67d44e5b3709895316e219c7baadc895db617ae8cd61b4faab43e2 [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", kill_on_drop: false }` [INFO] [stdout] e1304cb3cd69a0b9e4faffc7c307b7e30f65c92b58ea67d9ad1b0b6238f58d4d [INFO] running `Command { std: "docker" "start" "-a" "e1304cb3cd69a0b9e4faffc7c307b7e30f65c92b58ea67d9ad1b0b6238f58d4d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `DbIndicatorStatus` [INFO] [stderr] --> src/db/clickhouse/repository/indicator_repository.rs:3:74 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::db::clickhouse::models::indicator::{DbCandleRaw, DbIndicator, DbIndicatorStatus}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `async_trait::async_trait` [INFO] [stderr] --> src/db/clickhouse/repository/indicator_repository.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use async_trait::async_trait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `clickhouse::error::Error as ClickhouseError` [INFO] [stderr] --> src/db/clickhouse/repository/indicator_repository.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use clickhouse::error::Error as ClickhouseError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing::info` [INFO] [stderr] --> src/db/postgres/repository/health_check_repository.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use tracing::info; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::db::postgres::models::indicator_status::PgIndicatorStatus` [INFO] [stderr] --> src/db/postgres/repository/indicator_status_repository.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::db::postgres::models::indicator_status::PgIndicatorStatus; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Utc` [INFO] [stderr] --> src/env_config/models/app_config.rs:1:25 [INFO] [stderr] | [INFO] [stderr] 1 | use chrono::{NaiveTime, Utc}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TimeZone` [INFO] [stderr] --> src/services/indicators/calculator.rs:5:34 [INFO] [stderr] | [INFO] [stderr] 5 | use chrono::{DateTime, Datelike, TimeZone, Timelike, Utc, Weekday}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `warn` [INFO] [stderr] --> src/services/indicators/calculator.rs:8:35 [INFO] [stderr] | [INFO] [stderr] 8 | use tracing::{debug, error, info, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `warn` [INFO] [stderr] --> src/services/indicators/scheduler.rs:7:35 [INFO] [stderr] | [INFO] [stderr] 7 | use tracing::{debug, error, info, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/main.rs:15:38 [INFO] [stderr] | [INFO] [stderr] 15 | clickhouse::clickhouse_service::{self, ClickhouseService}, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `signal` [INFO] [stderr] --> src/main.rs:22:31 [INFO] [stderr] | [INFO] [stderr] 22 | use tokio::{net::TcpListener, signal}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `settings` is never read [INFO] [stderr] --> src/app_state/models.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct AppState { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 9 | pub settings: Arc, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/app_state/models.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl AppState { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 16 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `format_float_safe` is never used [INFO] [stderr] --> src/db/clickhouse/repository/indicator_repository.rs:178:4 [INFO] [stderr] | [INFO] [stderr] 178 | fn format_float_safe(value: f64) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DbIndicatorStatus` is never constructed [INFO] [stderr] --> src/db/clickhouse/models/indicator.rs:89:12 [INFO] [stderr] | [INFO] [stderr] 89 | pub struct DbIndicatorStatus { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PgIndicatorStatus` is never constructed [INFO] [stderr] --> src/db/postgres/models/indicator_status.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct PgIndicatorStatus { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `indicators_updater` is never read [INFO] [stderr] --> src/env_config/models/app_config.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct AppConfig { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | pub indicators_updater: IndicatorsUpdaterConfig, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `enabled`, `interval_seconds`, `start_time`, and `end_time` are never read [INFO] [stderr] --> src/env_config/models/app_config.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct IndicatorsUpdaterConfig { [INFO] [stderr] | ----------------------- fields in this struct [INFO] [stderr] 13 | pub enabled: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 14 | pub interval_seconds: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 15 | #[serde(default)] [INFO] [stderr] 16 | pub start_time: Option, // Время начала в UTC, формат: "HH:MM:SS" [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 17 | #[serde(default)] [INFO] [stderr] 18 | pub end_time: Option, // Время окончания в UTC, формат: "HH:MM:SS" [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IndicatorsUpdaterConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `pool_min` and `pool_max` are never read [INFO] [stderr] --> src/env_config/models/app_config.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct ClickhouseConfig { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 28 | pub timeout: u64, [INFO] [stderr] 29 | pub pool_min: u32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 30 | pub pool_max: u32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ClickhouseConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `is_operation_allowed` is never used [INFO] [stderr] --> src/env_config/models/app_config.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 42 | impl IndicatorsUpdaterConfig { [INFO] [stderr] | ---------------------------- method in this implementation [INFO] [stderr] 43 | /// Checks if the current time is within the allowed operation window [INFO] [stderr] 44 | pub fn is_operation_allowed(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `start_scheduled_updates` is never used [INFO] [stderr] --> src/services/indicators/scheduler.rs:39:18 [INFO] [stderr] | [INFO] [stderr] 13 | impl IndicatorsScheduler { [INFO] [stderr] | ------------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 39 | pub async fn start_scheduled_updates(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_client_ip_from_headers` is never used [INFO] [stderr] --> src/utils/utils_http.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn get_client_ip_from_headers(headers: &HeaderMap) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `t-indicators` (bin "t-indicators" test) generated 22 warnings (run `cargo fix --bin "t-indicators" --tests` to apply 11 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/t_indicators-e7a52f04f4e30d64) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test logger::config::tests::test_log_format_from_str ... ok [INFO] [stdout] test logger::config::tests::test_init_logger ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- logger::config::tests::test_init_logger stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'logger::config::tests::test_init_logger' (17) panicked at src/env_config/build_env.rs:32:39: [INFO] [stdout] ENV -> ENV is not set [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f05ae1608e2 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5f05ae1608e2 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5f05ae1608e2 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f05ae1608e2 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f05ae17320f - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5f05ae17320f - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5f05ae12dc11 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5f05ae12dc11 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5f05ae139b72 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5f05ae13e86f - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5f05ae13e701 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5f05ade7580e - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5f05ade7580e - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5f05ae13ef2f - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5f05ae13ef2f - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5f05ae13ed8a - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5f05ae139cb9 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5f05ae121ebd - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5f05ae17d300 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5f05ade516e9 - t_indicators::env_config::build_env::get_env_var::{{closure}}::h5f35af92ff8ab766 [INFO] [stdout] at /opt/rustwide/workdir/src/env_config/build_env.rs:32:39 [INFO] [stdout] 20: 0x5f05ade53908 - core::result::Result::unwrap_or_else::hce94a1d5bba856d7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/result.rs:1614:23 [INFO] [stdout] 21: 0x5f05ade51658 - t_indicators::env_config::build_env::get_env_var::h3fd3d933d487ebe8 [INFO] [stdout] at /opt/rustwide/workdir/src/env_config/build_env.rs:32:20 [INFO] [stdout] 22: 0x5f05ade36ddc - t_indicators::env_config::build_env::::new::h9a95a16c8f6b2ef2 [INFO] [stdout] at /opt/rustwide/workdir/src/env_config/build_env.rs:8:33 [INFO] [stdout] 23: 0x5f05ade4be1b - t_indicators::logger::config::init_logger::hacd49ef399f9e8b4 [INFO] [stdout] at /opt/rustwide/workdir/src/logger/config.rs:36:15 [INFO] [stdout] 24: 0x5f05ade4c39f - t_indicators::logger::config::tests::test_init_logger::h240d61bf1154e60e [INFO] [stdout] at /opt/rustwide/workdir/src/logger/config.rs:87:17 [INFO] [stdout] 25: 0x5f05ade4c567 - t_indicators::logger::config::tests::test_init_logger::{{closure}}::hca8e9671b4c06ad8 [INFO] [stdout] at /opt/rustwide/workdir/src/logger/config.rs:85:26 [INFO] [stdout] 26: 0x5f05ade3d3d6 - core::ops::function::FnOnce::call_once::hc938f6701bbc752c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x5f05ade755cb - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 28: 0x5f05ade755cb - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 29: 0x5f05ade8b0b5 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 30: 0x5f05ade8b0b5 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 31: 0x5f05ade8b0b5 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 32: 0x5f05ade8b0b5 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 33: 0x5f05ade8b0b5 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: 0x5f05ade8b0b5 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 35: 0x5f05ade8b0b5 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 36: 0x5f05ade61a24 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 37: 0x5f05ade61a24 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 38: 0x5f05ade653ca - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 39: 0x5f05ade653ca - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 40: 0x5f05ade653ca - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 41: 0x5f05ade653ca - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 42: 0x5f05ade653ca - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 43: 0x5f05ade653ca - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 44: 0x5f05ade653ca - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 45: 0x5f05ae133ddf - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 46: 0x5f05ae133ddf - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 47: 0x7e11b7668aa4 - [INFO] [stdout] 48: 0x7e11b76f5a34 - clone [INFO] [stdout] 49: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] logger::config::tests::test_init_logger [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin t-indicators` [INFO] running `Command { std: "docker" "inspect" "e1304cb3cd69a0b9e4faffc7c307b7e30f65c92b58ea67d9ad1b0b6238f58d4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1304cb3cd69a0b9e4faffc7c307b7e30f65c92b58ea67d9ad1b0b6238f58d4d", kill_on_drop: false }` [INFO] [stdout] e1304cb3cd69a0b9e4faffc7c307b7e30f65c92b58ea67d9ad1b0b6238f58d4d