[INFO] cloning repository https://github.com/a-dev-mobile/t-candles
[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-candles" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-dev-mobile%2Ft-candles", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-dev-mobile%2Ft-candles'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 08274a89471a5df43d60ebfa7be200b4d13043df
[INFO] testing a-dev-mobile/t-candles against beta-2025-04-20 for beta-1.87-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-dev-mobile%2Ft-candles" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/a-dev-mobile/t-candles on toolchain beta-2025-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/a-dev-mobile/t-candles
[INFO] finished tweaking git repo https://github.com/a-dev-mobile/t-candles
[INFO] tweaked toml for git repo https://github.com/a-dev-mobile/t-candles written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/a-dev-mobile/t-candles 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" "+beta-2025-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0ce328d16f0e6ce23acdd9475acdf45573717ec3126087c0bb034bb7fbc39cb2
[INFO] running `Command { std: "docker" "start" "-a" "0ce328d16f0e6ce23acdd9475acdf45573717ec3126087c0bb034bb7fbc39cb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0ce328d16f0e6ce23acdd9475acdf45573717ec3126087c0bb034bb7fbc39cb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ce328d16f0e6ce23acdd9475acdf45573717ec3126087c0bb034bb7fbc39cb2", kill_on_drop: false }`
[INFO] [stdout] 0ce328d16f0e6ce23acdd9475acdf45573717ec3126087c0bb034bb7fbc39cb2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4bbaee393cd4448d239b9816a183384bdce26aac3a556a056e6270aa68d83412
[INFO] running `Command { std: "docker" "start" "-a" "4bbaee393cd4448d239b9816a183384bdce26aac3a556a056e6270aa68d83412", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.170
[INFO] [stderr]    Compiling serde v1.0.218
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling once_cell v1.20.3
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling quote v1.0.39
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling syn v2.0.99
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling foldhash v0.1.4
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling rustls-pki-types v1.11.0
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling indexmap v2.7.1
[INFO] [stderr]    Compiling http v1.2.0
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling ring v0.17.12
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]    Compiling aws-lc-sys v0.26.0
[INFO] [stderr]    Compiling time-core v0.1.3
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling aws-lc-rs v1.12.5
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling time-macros v0.2.20
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling webpki-roots v0.26.8
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling time v0.3.39
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling rustls v0.23.23
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling rustversion v1.0.20
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling tokio v1.43.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling rustix v1.0.1
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.218
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[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 tracing v0.1.41
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling linux-raw-sys v0.9.2
[INFO] [stderr]    Compiling uuid v1.15.1
[INFO] [stderr]    Compiling whoami v1.5.2
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling sqlx-core v0.8.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling tokio-util v0.7.13
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tempfile v3.18.0
[INFO] [stderr]    Compiling prost-derive v0.13.5
[INFO] [stderr]    Compiling h2 v0.4.8
[INFO] [stderr]    Compiling sqlx-postgres v0.8.3
[INFO] [stderr]    Compiling async-trait v0.1.87
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling prost v0.13.5
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.3
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling winnow v0.7.3
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling clickhouse-derive v0.2.0
[INFO] [stderr]    Compiling hyper-timeout v0.5.2
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling axum-core v0.5.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling sqlx-macros v0.8.3
[INFO] [stderr]    Compiling tracing-serde v0.2.0
[INFO] [stderr]    Compiling toml_edit v0.22.24
[INFO] [stderr]    Compiling serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling axum-macros v0.5.0
[INFO] [stderr]    Compiling sealed v0.6.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling bstr v1.11.3
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling matchit v0.8.4
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling cityhash-rs v1.0.1
[INFO] [stderr]    Compiling lz4_flex v0.11.3
[INFO] [stderr]    Compiling replace_with v0.1.7
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling clickhouse v0.13.1
[INFO] [stderr]    Compiling prost-types v0.13.5
[INFO] [stderr]    Compiling axum v0.8.1
[INFO] [stderr]    Compiling toml v0.8.20
[INFO] [stderr]    Compiling tower-http v0.6.2
[INFO] [stderr]    Compiling rustls-native-certs v0.8.1
[INFO] [stderr]    Compiling tokio-rustls v0.26.2
[INFO] [stderr]    Compiling tonic v0.12.3
[INFO] [stderr]    Compiling sqlx v0.8.3
[INFO] [stderr]    Compiling t-candles v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `DailyCandle` and `DbCandle`
[INFO] [stdout]  --> src/db/clickhouse/repository/candle_repository.rs:3:45
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::db::clickhouse::models::candle::{DailyCandle, DbCandle};
[INFO] [stdout]   |                                             ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `NaiveDate`, and `Utc`
[INFO] [stdout]  --> src/db/clickhouse/repository/candle_repository.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::{DateTime, NaiveDate, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Row`, `error`, and `insert`
[INFO] [stdout]  --> src/db/clickhouse/repository/candle_repository.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | use clickhouse::{Row, error, insert};
[INFO] [stdout]   |                  ^^^  ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/db/clickhouse/repository/candle_repository.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `NaiveDate`, and `Utc`
[INFO] [stdout]  --> src/db/clickhouse/models/load_status.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, NaiveDate, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db::postgres::connection::PostgresConnection`
[INFO] [stdout]  --> src/db/clickhouse/clickhouse_service.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::db::postgres::connection::PostgresConnection;
[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: `QueryBuilder`
[INFO] [stdout]  --> src/db/postgres/repository/tinkoff_candles_status_repository.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::{Error as SqlxError, QueryBuilder};
[INFO] [stdout]   |                                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/db/postgres/repository/tinkoff_candles_status_repository.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tracing::{debug, error, info};
[INFO] [stdout]   |                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/db/postgres/repository/tinkoff_candles_status_repository.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sqlx::types::chrono::{DateTime, Utc};
[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: `time::Duration`
[INFO] [stdout]  --> src/services/tinkoff_instruments/client.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{sync::Arc, time::Duration};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time`
[INFO] [stdout]  --> src/services/tinkoff_instruments/client.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::time;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/services/tinkoff_instruments/client.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tracing::{debug, error, info};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bond`
[INFO] [stdout]  --> src/services/tinkoff_instruments/models/etf.rs:4:62
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::generate::tinkoff_public_invest_api_contract_v1::{Bond, Etf};
[INFO] [stdout]   |                                                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `money_value::TinkoffMoneyValueModel`
[INFO] [stdout]  --> src/services/tinkoff_instruments/models/etf.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::{money_value::TinkoffMoneyValueModel, quotation::TinkoffQuotationModel, real_exchange::TinkoffRealExchangeModel, time_stamp::T...
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `money_value::TinkoffMoneyValueModel`
[INFO] [stdout]  --> src/services/tinkoff_instruments/models/future.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::{money_value::TinkoffMoneyValueModel, quotation::TinkoffQuotationModel, real_exchange::TinkoffRealExchangeModel, time_stamp::T...
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db::clickhouse::models::candle::DbCandle`
[INFO] [stdout]  --> src/services/tinkoff_candles/client.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::db::clickhouse::models::candle::DbCandle;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NaiveDateTime`
[INFO] [stdout]  --> src/services/tinkoff_candles/client.rs:7:44
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::{DateTime, Datelike, Duration, NaiveDateTime, TimeZone, Utc};
[INFO] [stdout]   |                                            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time`
[INFO] [stdout]  --> src/services/tinkoff_candles/scheduler.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::time;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::DateTime`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use chrono::DateTime;
[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: `client::TinkoffCandleClient`
[INFO] [stdout]   --> src/main.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 |     tinkoff_candles::{client::TinkoffCandleClient, scheduler::TinkoffCandlesScheduler}, tinkoff_client_grpc::TinkoffClient,
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `signal`
[INFO] [stdout]   --> src/main.rs:25:31
[INFO] [stdout]    |
[INFO] [stdout] 25 | use tokio::{net::TcpListener, signal};
[INFO] [stdout]    |                               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `generate::tinkoff_public_invest_api_contract_v1::GetCandlesRequest::figi`
[INFO] [stdout]   --> src/services/tinkoff_candles/client.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |             figi: "".to_string(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `candles_processed` is never read
[INFO] [stdout]    --> src/services/tinkoff_candles/client.rs:110:17
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let mut candles_processed = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generate::tinkoff_public_invest_api_contract_v1::ShareType::from_i32`: Use the TryFrom<i32> implementation instead
[INFO] [stdout]   --> src/services/tinkoff_instruments/models/share_type.rs:13:31
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let name = ShareType::from_i32(raw)
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generate::tinkoff_public_invest_api_contract_v1::SecurityTradingStatus::from_i32`: Use the TryFrom<i32> implementation instead
[INFO] [stdout]   --> src/services/tinkoff_instruments/models/trading_status.rs:13:44
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let value = SecurityTradingStatus::from_i32(raw)
[INFO] [stdout]    |                                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generate::tinkoff_public_invest_api_contract_v1::SecurityTradingStatus::from_i32`: Use the TryFrom<i32> implementation instead
[INFO] [stdout]    --> src/services/tinkoff_instruments/models/share.rs:121:75
[INFO] [stdout]     |
[INFO] [stdout] 121 |         let trading_status = if let Some(status) = SecurityTradingStatus::from_i32(share.trading_status) {
[INFO] [stdout]     |                                                                           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generate::tinkoff_public_invest_api_contract_v1::ShareType::from_i32`: Use the TryFrom<i32> implementation instead
[INFO] [stdout]    --> src/services/tinkoff_instruments/models/share.rs:127:58
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let share_type = if let Some(stype) = ShareType::from_i32(share.share_type) {
[INFO] [stdout]     |                                                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generate::tinkoff_public_invest_api_contract_v1::RealExchange::from_i32`: Use the TryFrom<i32> implementation instead
[INFO] [stdout]    --> src/services/tinkoff_instruments/models/share.rs:133:67
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let real_exchange = if let Some(exchange) = RealExchange::from_i32(share.real_exchange) {
[INFO] [stdout]     |                                                                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generate::tinkoff_public_invest_api_contract_v1::RealExchange::from_i32`: Use the TryFrom<i32> implementation instead
[INFO] [stdout]   --> src/services/tinkoff_instruments/models/real_exchange.rs:13:34
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let name = RealExchange::from_i32(raw)
[INFO] [stdout]    |                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/app_state/models.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl AppState {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 17 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `open_price` and `close_price` are never used
[INFO] [stdout]   --> src/db/clickhouse/models/candle.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl DailyCandle {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] 40 |     pub fn open_price(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn close_price(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `connection` is never read
[INFO] [stdout]   --> src/db/postgres/postgres_service.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct PostgresService {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 14 |     // Connection
[INFO] [stdout] 15 |     pub connection: Arc<PostgresConnection>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_all` and `delete` are never used
[INFO] [stdout]   --> src/db/postgres/repository/tinkoff_candles_status_repository.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait TraitTinkoffCandlesStatusRepository {
[INFO] [stdout]    |           ----------------------------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 16 |     async fn get_all(&self) -> Result<Vec<TinkoffCandlesStatus>, SqlxError>;
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     async fn delete(&self, instrument_uid: &str) -> Result<PgQueryResult, SqlxError>;
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `instrument_uid` and `update_time` are never read
[INFO] [stdout]   --> src/db/postgres/models/tinkoff_candles_status.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout] 6  | pub struct TinkoffCandlesStatus {
[INFO] [stdout]    |            -------------------- fields in this struct
[INFO] [stdout] 7  |     /// Unique identifier for the financial instrument
[INFO] [stdout] 8  |     pub instrument_uid: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub update_time: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TinkoffCandlesStatus` 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:31:9
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct ClickhouseConfig {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 30 |     pub timeout: u64,
[INFO] [stdout] 31 |     pub pool_min: u32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 32 |     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: fields `market_data_stream`, `operations`, and `users` are never read
[INFO] [stdout]   --> src/services/tinkoff_client_grpc.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct TinkoffClient {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub market_data_stream: MarketDataStreamServiceClient<Channel>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     pub operations: OperationsServiceClient<Channel>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 25 |     pub users: UsersServiceClient<Channel>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TinkoffClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_quotation` is never used
[INFO] [stdout]   --> src/services/tinkoff_instruments/models/quotation.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn extract_quotation(quotation: &Option<Quotation>) -> (i64, i32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `quotation_to_f64` is never used
[INFO] [stdout]   --> src/services/tinkoff_instruments/models/quotation.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn quotation_to_f64(units: i64, nano: i32) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_money_value` is never used
[INFO] [stdout]   --> src/services/tinkoff_instruments/models/money_value.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn extract_money_value(money: &Option<MoneyValue>) -> (String, i64, i32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `money_value_to_f64` is never used
[INFO] [stdout]   --> src/services/tinkoff_instruments/models/money_value.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn money_value_to_f64(units: i64, nano: i32) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MyCandleInterval` is never used
[INFO] [stdout]  --> src/services/tinkoff_instruments/models/candle_interval.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum MyCandleInterval {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `MyCandleInterval` 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: associated items `from_i32` and `as_str_name` are never used
[INFO] [stdout]   --> src/services/tinkoff_instruments/models/candle_interval.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl MyCandleInterval {
[INFO] [stdout]    | --------------------- associated items in this implementation
[INFO] [stdout] 36 |     pub fn from_i32(value: i32) -> Option<Self> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn as_str_name(&self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `timestamp_to_datetime` is never used
[INFO] [stdout]   --> src/services/tinkoff_instruments/models/time_stamp.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn timestamp_to_datetime(ts: &Option<Timestamp>) -> Option<DateTime<Utc>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `open_price`, `min_price_increment`, and `nominal_value` are never used
[INFO] [stdout]    --> src/services/tinkoff_instruments/models/share.rs:207:12
[INFO] [stdout]     |
[INFO] [stdout] 206 | impl DbTinkoffShare {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] 207 |     pub fn open_price(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |     pub fn min_price_increment(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 215 |     pub fn nominal_value(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `trigger_update` is never used
[INFO] [stdout]   --> src/services/tinkoff_candles/scheduler.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl TinkoffCandlesScheduler {
[INFO] [stdout]    | ---------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub async fn trigger_update(&self) -> Result<usize, Box<dyn std::error::Error>> {
[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 55.71s
[INFO] running `Command { std: "docker" "inspect" "4bbaee393cd4448d239b9816a183384bdce26aac3a556a056e6270aa68d83412", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4bbaee393cd4448d239b9816a183384bdce26aac3a556a056e6270aa68d83412", kill_on_drop: false }`
[INFO] [stdout] 4bbaee393cd4448d239b9816a183384bdce26aac3a556a056e6270aa68d83412
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d2b7382e2072e21a776c9f75a57832cbcbf73d092dd0b0dabee2e48b0d52e272
[INFO] running `Command { std: "docker" "start" "-a" "d2b7382e2072e21a776c9f75a57832cbcbf73d092dd0b0dabee2e48b0d52e272", kill_on_drop: false }`
[INFO] [stderr]    Compiling t-candles v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `DailyCandle` and `DbCandle`
[INFO] [stdout]  --> src/db/clickhouse/repository/candle_repository.rs:3:45
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::db::clickhouse::models::candle::{DailyCandle, DbCandle};
[INFO] [stdout]   |                                             ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `NaiveDate`, and `Utc`
[INFO] [stdout]  --> src/db/clickhouse/repository/candle_repository.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::{DateTime, NaiveDate, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Row`, `error`, and `insert`
[INFO] [stdout]  --> src/db/clickhouse/repository/candle_repository.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | use clickhouse::{Row, error, insert};
[INFO] [stdout]   |                  ^^^  ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/db/clickhouse/repository/candle_repository.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `NaiveDate`, and `Utc`
[INFO] [stdout]  --> src/db/clickhouse/models/load_status.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, NaiveDate, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db::postgres::connection::PostgresConnection`
[INFO] [stdout]  --> src/db/clickhouse/clickhouse_service.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::db::postgres::connection::PostgresConnection;
[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: `QueryBuilder`
[INFO] [stdout]  --> src/db/postgres/repository/tinkoff_candles_status_repository.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::{Error as SqlxError, QueryBuilder};
[INFO] [stdout]   |                                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/db/postgres/repository/tinkoff_candles_status_repository.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tracing::{debug, error, info};
[INFO] [stdout]   |                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/db/postgres/repository/tinkoff_candles_status_repository.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sqlx::types::chrono::{DateTime, Utc};
[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: `time::Duration`
[INFO] [stdout]  --> src/services/tinkoff_instruments/client.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{sync::Arc, time::Duration};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time`
[INFO] [stdout]  --> src/services/tinkoff_instruments/client.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::time;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/services/tinkoff_instruments/client.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tracing::{debug, error, info};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bond`
[INFO] [stdout]  --> src/services/tinkoff_instruments/models/etf.rs:4:62
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::generate::tinkoff_public_invest_api_contract_v1::{Bond, Etf};
[INFO] [stdout]   |                                                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `money_value::TinkoffMoneyValueModel`
[INFO] [stdout]  --> src/services/tinkoff_instruments/models/etf.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::{money_value::TinkoffMoneyValueModel, quotation::TinkoffQuotationModel, real_exchange::TinkoffRealExchangeModel, time_stamp::T...
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `money_value::TinkoffMoneyValueModel`
[INFO] [stdout]  --> src/services/tinkoff_instruments/models/future.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::{money_value::TinkoffMoneyValueModel, quotation::TinkoffQuotationModel, real_exchange::TinkoffRealExchangeModel, time_stamp::T...
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db::clickhouse::models::candle::DbCandle`
[INFO] [stdout]  --> src/services/tinkoff_candles/client.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::db::clickhouse::models::candle::DbCandle;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NaiveDateTime`
[INFO] [stdout]  --> src/services/tinkoff_candles/client.rs:7:44
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::{DateTime, Datelike, Duration, NaiveDateTime, TimeZone, Utc};
[INFO] [stdout]   |                                            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time`
[INFO] [stdout]  --> src/services/tinkoff_candles/scheduler.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::time;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::DateTime`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use chrono::DateTime;
[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: `client::TinkoffCandleClient`
[INFO] [stdout]   --> src/main.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 |     tinkoff_candles::{client::TinkoffCandleClient, scheduler::TinkoffCandlesScheduler}, tinkoff_client_grpc::TinkoffClient,
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `signal`
[INFO] [stdout]   --> src/main.rs:25:31
[INFO] [stdout]    |
[INFO] [stdout] 25 | use tokio::{net::TcpListener, signal};
[INFO] [stdout]    |                               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `generate::tinkoff_public_invest_api_contract_v1::GetCandlesRequest::figi`
[INFO] [stdout]   --> src/services/tinkoff_candles/client.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |             figi: "".to_string(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `candles_processed` is never read
[INFO] [stdout]    --> src/services/tinkoff_candles/client.rs:110:17
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let mut candles_processed = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generate::tinkoff_public_invest_api_contract_v1::ShareType::from_i32`: Use the TryFrom<i32> implementation instead
[INFO] [stdout]   --> src/services/tinkoff_instruments/models/share_type.rs:13:31
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let name = ShareType::from_i32(raw)
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generate::tinkoff_public_invest_api_contract_v1::SecurityTradingStatus::from_i32`: Use the TryFrom<i32> implementation instead
[INFO] [stdout]   --> src/services/tinkoff_instruments/models/trading_status.rs:13:44
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let value = SecurityTradingStatus::from_i32(raw)
[INFO] [stdout]    |                                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generate::tinkoff_public_invest_api_contract_v1::SecurityTradingStatus::from_i32`: Use the TryFrom<i32> implementation instead
[INFO] [stdout]    --> src/services/tinkoff_instruments/models/share.rs:121:75
[INFO] [stdout]     |
[INFO] [stdout] 121 |         let trading_status = if let Some(status) = SecurityTradingStatus::from_i32(share.trading_status) {
[INFO] [stdout]     |                                                                           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generate::tinkoff_public_invest_api_contract_v1::ShareType::from_i32`: Use the TryFrom<i32> implementation instead
[INFO] [stdout]    --> src/services/tinkoff_instruments/models/share.rs:127:58
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let share_type = if let Some(stype) = ShareType::from_i32(share.share_type) {
[INFO] [stdout]     |                                                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generate::tinkoff_public_invest_api_contract_v1::RealExchange::from_i32`: Use the TryFrom<i32> implementation instead
[INFO] [stdout]    --> src/services/tinkoff_instruments/models/share.rs:133:67
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let real_exchange = if let Some(exchange) = RealExchange::from_i32(share.real_exchange) {
[INFO] [stdout]     |                                                                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `generate::tinkoff_public_invest_api_contract_v1::RealExchange::from_i32`: Use the TryFrom<i32> implementation instead
[INFO] [stdout]   --> src/services/tinkoff_instruments/models/real_exchange.rs:13:34
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let name = RealExchange::from_i32(raw)
[INFO] [stdout]    |                                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/app_state/models.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl AppState {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 17 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `open_price` and `close_price` are never used
[INFO] [stdout]   --> src/db/clickhouse/models/candle.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl DailyCandle {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] 40 |     pub fn open_price(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn close_price(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `connection` is never read
[INFO] [stdout]   --> src/db/postgres/postgres_service.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct PostgresService {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 14 |     // Connection
[INFO] [stdout] 15 |     pub connection: Arc<PostgresConnection>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_all` and `delete` are never used
[INFO] [stdout]   --> src/db/postgres/repository/tinkoff_candles_status_repository.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait TraitTinkoffCandlesStatusRepository {
[INFO] [stdout]    |           ----------------------------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 16 |     async fn get_all(&self) -> Result<Vec<TinkoffCandlesStatus>, SqlxError>;
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     async fn delete(&self, instrument_uid: &str) -> Result<PgQueryResult, SqlxError>;
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `instrument_uid` and `update_time` are never read
[INFO] [stdout]   --> src/db/postgres/models/tinkoff_candles_status.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout] 6  | pub struct TinkoffCandlesStatus {
[INFO] [stdout]    |            -------------------- fields in this struct
[INFO] [stdout] 7  |     /// Unique identifier for the financial instrument
[INFO] [stdout] 8  |     pub instrument_uid: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub update_time: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TinkoffCandlesStatus` 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:31:9
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct ClickhouseConfig {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 30 |     pub timeout: u64,
[INFO] [stdout] 31 |     pub pool_min: u32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 32 |     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: fields `market_data_stream`, `operations`, and `users` are never read
[INFO] [stdout]   --> src/services/tinkoff_client_grpc.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct TinkoffClient {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub market_data_stream: MarketDataStreamServiceClient<Channel>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     pub operations: OperationsServiceClient<Channel>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 25 |     pub users: UsersServiceClient<Channel>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TinkoffClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_quotation` is never used
[INFO] [stdout]   --> src/services/tinkoff_instruments/models/quotation.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn extract_quotation(quotation: &Option<Quotation>) -> (i64, i32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `quotation_to_f64` is never used
[INFO] [stdout]   --> src/services/tinkoff_instruments/models/quotation.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn quotation_to_f64(units: i64, nano: i32) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_money_value` is never used
[INFO] [stdout]   --> src/services/tinkoff_instruments/models/money_value.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn extract_money_value(money: &Option<MoneyValue>) -> (String, i64, i32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `money_value_to_f64` is never used
[INFO] [stdout]   --> src/services/tinkoff_instruments/models/money_value.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn money_value_to_f64(units: i64, nano: i32) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MyCandleInterval` is never used
[INFO] [stdout]  --> src/services/tinkoff_instruments/models/candle_interval.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum MyCandleInterval {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `MyCandleInterval` 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: associated items `from_i32` and `as_str_name` are never used
[INFO] [stdout]   --> src/services/tinkoff_instruments/models/candle_interval.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl MyCandleInterval {
[INFO] [stdout]    | --------------------- associated items in this implementation
[INFO] [stdout] 36 |     pub fn from_i32(value: i32) -> Option<Self> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn as_str_name(&self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `timestamp_to_datetime` is never used
[INFO] [stdout]   --> src/services/tinkoff_instruments/models/time_stamp.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn timestamp_to_datetime(ts: &Option<Timestamp>) -> Option<DateTime<Utc>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `open_price`, `min_price_increment`, and `nominal_value` are never used
[INFO] [stdout]    --> src/services/tinkoff_instruments/models/share.rs:207:12
[INFO] [stdout]     |
[INFO] [stdout] 206 | impl DbTinkoffShare {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] 207 |     pub fn open_price(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |     pub fn min_price_increment(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 215 |     pub fn nominal_value(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `trigger_update` is never used
[INFO] [stdout]   --> src/services/tinkoff_candles/scheduler.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl TinkoffCandlesScheduler {
[INFO] [stdout]    | ---------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub async fn trigger_update(&self) -> Result<usize, Box<dyn std::error::Error>> {
[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 9.02s
[INFO] running `Command { std: "docker" "inspect" "d2b7382e2072e21a776c9f75a57832cbcbf73d092dd0b0dabee2e48b0d52e272", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2b7382e2072e21a776c9f75a57832cbcbf73d092dd0b0dabee2e48b0d52e272", kill_on_drop: false }`
[INFO] [stdout] d2b7382e2072e21a776c9f75a57832cbcbf73d092dd0b0dabee2e48b0d52e272
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-20" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2a6ea14499327bfb7ed3ab25815645805c69c5439d9d31d1889ae4b3f51380e3
[INFO] running `Command { std: "docker" "start" "-a" "2a6ea14499327bfb7ed3ab25815645805c69c5439d9d31d1889ae4b3f51380e3", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `DailyCandle` and `DbCandle`
[INFO] [stderr]  --> src/db/clickhouse/repository/candle_repository.rs:3:45
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::db::clickhouse::models::candle::{DailyCandle, DbCandle};
[INFO] [stderr]   |                                             ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `DateTime`, `NaiveDate`, and `Utc`
[INFO] [stderr]  --> src/db/clickhouse/repository/candle_repository.rs:7:14
[INFO] [stderr]   |
[INFO] [stderr] 7 | use chrono::{DateTime, NaiveDate, Utc};
[INFO] [stderr]   |              ^^^^^^^^  ^^^^^^^^^  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Row`, `error`, and `insert`
[INFO] [stderr]  --> src/db/clickhouse/repository/candle_repository.rs:9:18
[INFO] [stderr]   |
[INFO] [stderr] 9 | use clickhouse::{Row, error, insert};
[INFO] [stderr]   |                  ^^^  ^^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]   --> src/db/clickhouse/repository/candle_repository.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use std::collections::HashMap;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `DateTime`, `NaiveDate`, and `Utc`
[INFO] [stderr]  --> src/db/clickhouse/models/load_status.rs:1:14
[INFO] [stderr]   |
[INFO] [stderr] 1 | use chrono::{DateTime, NaiveDate, Utc};
[INFO] [stderr]   |              ^^^^^^^^  ^^^^^^^^^  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::db::postgres::connection::PostgresConnection`
[INFO] [stderr]  --> src/db/clickhouse/clickhouse_service.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::db::postgres::connection::PostgresConnection;
[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: `QueryBuilder`
[INFO] [stderr]  --> src/db/postgres/repository/tinkoff_candles_status_repository.rs:4:32
[INFO] [stderr]   |
[INFO] [stderr] 4 | use sqlx::{Error as SqlxError, QueryBuilder};
[INFO] [stderr]   |                                ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `info`
[INFO] [stderr]  --> src/db/postgres/repository/tinkoff_candles_status_repository.rs:7:29
[INFO] [stderr]   |
[INFO] [stderr] 7 | use tracing::{debug, error, info};
[INFO] [stderr]   |                             ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `DateTime` and `Utc`
[INFO] [stderr]  --> src/db/postgres/repository/tinkoff_candles_status_repository.rs:8:27
[INFO] [stderr]   |
[INFO] [stderr] 8 | use sqlx::types::chrono::{DateTime, Utc};
[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: `time::Duration`
[INFO] [stderr]  --> src/services/tinkoff_instruments/client.rs:1:22
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{sync::Arc, time::Duration};
[INFO] [stderr]   |                      ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio::time`
[INFO] [stderr]  --> src/services/tinkoff_instruments/client.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use tokio::time;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `debug`
[INFO] [stderr]  --> src/services/tinkoff_instruments/client.rs:3:15
[INFO] [stderr]   |
[INFO] [stderr] 3 | use tracing::{debug, error, info};
[INFO] [stderr]   |               ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Bond`
[INFO] [stderr]  --> src/services/tinkoff_instruments/models/etf.rs:4:62
[INFO] [stderr]   |
[INFO] [stderr] 4 | use crate::generate::tinkoff_public_invest_api_contract_v1::{Bond, Etf};
[INFO] [stderr]   |                                                              ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `money_value::TinkoffMoneyValueModel`
[INFO] [stderr]  --> src/services/tinkoff_instruments/models/etf.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use super::{money_value::TinkoffMoneyValueModel, quotation::TinkoffQuotationModel, real_exchange::TinkoffRealExchangeModel, time_stamp::T...
[INFO] [stderr]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `money_value::TinkoffMoneyValueModel`
[INFO] [stderr]  --> src/services/tinkoff_instruments/models/future.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use super::{money_value::TinkoffMoneyValueModel, quotation::TinkoffQuotationModel, real_exchange::TinkoffRealExchangeModel, time_stamp::T...
[INFO] [stderr]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::db::clickhouse::models::candle::DbCandle`
[INFO] [stderr]  --> src/services/tinkoff_candles/client.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::db::clickhouse::models::candle::DbCandle;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `NaiveDateTime`
[INFO] [stderr]  --> src/services/tinkoff_candles/client.rs:7:44
[INFO] [stderr]   |
[INFO] [stderr] 7 | use chrono::{DateTime, Datelike, Duration, NaiveDateTime, TimeZone, Utc};
[INFO] [stderr]   |                                            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio::time`
[INFO] [stderr]  --> src/services/tinkoff_candles/scheduler.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use tokio::time;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono::DateTime`
[INFO] [stderr]   --> src/main.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use chrono::DateTime;
[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: `client::TinkoffCandleClient`
[INFO] [stderr]   --> src/main.rs:21:23
[INFO] [stderr]    |
[INFO] [stderr] 21 |     tinkoff_candles::{client::TinkoffCandleClient, scheduler::TinkoffCandlesScheduler}, tinkoff_client_grpc::TinkoffClient,
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `signal`
[INFO] [stderr]   --> src/main.rs:25:31
[INFO] [stderr]    |
[INFO] [stderr] 25 | use tokio::{net::TcpListener, signal};
[INFO] [stderr]    |                               ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated field `generate::tinkoff_public_invest_api_contract_v1::GetCandlesRequest::figi`
[INFO] [stderr]   --> src/services/tinkoff_candles/client.rs:55:13
[INFO] [stderr]    |
[INFO] [stderr] 55 |             figi: "".to_string(),
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `candles_processed` is never read
[INFO] [stderr]    --> src/services/tinkoff_candles/client.rs:110:17
[INFO] [stderr]     |
[INFO] [stderr] 110 |         let mut candles_processed = 0;
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `generate::tinkoff_public_invest_api_contract_v1::ShareType::from_i32`: Use the TryFrom<i32> implementation instead
[INFO] [stderr]   --> src/services/tinkoff_instruments/models/share_type.rs:13:31
[INFO] [stderr]    |
[INFO] [stderr] 13 |         let name = ShareType::from_i32(raw)
[INFO] [stderr]    |                               ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `generate::tinkoff_public_invest_api_contract_v1::SecurityTradingStatus::from_i32`: Use the TryFrom<i32> implementation instead
[INFO] [stderr]   --> src/services/tinkoff_instruments/models/trading_status.rs:13:44
[INFO] [stderr]    |
[INFO] [stderr] 13 |         let value = SecurityTradingStatus::from_i32(raw)
[INFO] [stderr]    |                                            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `generate::tinkoff_public_invest_api_contract_v1::SecurityTradingStatus::from_i32`: Use the TryFrom<i32> implementation instead
[INFO] [stderr]    --> src/services/tinkoff_instruments/models/share.rs:121:75
[INFO] [stderr]     |
[INFO] [stderr] 121 |         let trading_status = if let Some(status) = SecurityTradingStatus::from_i32(share.trading_status) {
[INFO] [stderr]     |                                                                           ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `generate::tinkoff_public_invest_api_contract_v1::ShareType::from_i32`: Use the TryFrom<i32> implementation instead
[INFO] [stderr]    --> src/services/tinkoff_instruments/models/share.rs:127:58
[INFO] [stderr]     |
[INFO] [stderr] 127 |         let share_type = if let Some(stype) = ShareType::from_i32(share.share_type) {
[INFO] [stderr]     |                                                          ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `generate::tinkoff_public_invest_api_contract_v1::RealExchange::from_i32`: Use the TryFrom<i32> implementation instead
[INFO] [stderr]    --> src/services/tinkoff_instruments/models/share.rs:133:67
[INFO] [stderr]     |
[INFO] [stderr] 133 |         let real_exchange = if let Some(exchange) = RealExchange::from_i32(share.real_exchange) {
[INFO] [stderr]     |                                                                   ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `generate::tinkoff_public_invest_api_contract_v1::RealExchange::from_i32`: Use the TryFrom<i32> implementation instead
[INFO] [stderr]   --> src/services/tinkoff_instruments/models/real_exchange.rs:13:34
[INFO] [stderr]    |
[INFO] [stderr] 13 |         let name = RealExchange::from_i32(raw)
[INFO] [stderr]    |                                  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/app_state/models.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr] 16 | impl AppState {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 17 |     pub fn new(
[INFO] [stderr]    |            ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: methods `open_price` and `close_price` are never used
[INFO] [stderr]   --> src/db/clickhouse/models/candle.rs:40:12
[INFO] [stderr]    |
[INFO] [stderr] 39 | impl DailyCandle {
[INFO] [stderr]    | ---------------- methods in this implementation
[INFO] [stderr] 40 |     pub fn open_price(&self) -> f64 {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 44 |     pub fn close_price(&self) -> f64 {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `connection` is never read
[INFO] [stderr]   --> src/db/postgres/postgres_service.rs:15:9
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct PostgresService {
[INFO] [stderr]    |            --------------- field in this struct
[INFO] [stderr] 14 |     // Connection
[INFO] [stderr] 15 |     pub connection: Arc<PostgresConnection>,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_all` and `delete` are never used
[INFO] [stderr]   --> src/db/postgres/repository/tinkoff_candles_status_repository.rs:16:14
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub trait TraitTinkoffCandlesStatusRepository {
[INFO] [stderr]    |           ----------------------------------- methods in this trait
[INFO] [stderr] ...
[INFO] [stderr] 16 |     async fn get_all(&self) -> Result<Vec<TinkoffCandlesStatus>, SqlxError>;
[INFO] [stderr]    |              ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 25 |     async fn delete(&self, instrument_uid: &str) -> Result<PgQueryResult, SqlxError>;
[INFO] [stderr]    |              ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `instrument_uid` and `update_time` are never read
[INFO] [stderr]   --> src/db/postgres/models/tinkoff_candles_status.rs:8:9
[INFO] [stderr]    |
[INFO] [stderr] 6  | pub struct TinkoffCandlesStatus {
[INFO] [stderr]    |            -------------------- fields in this struct
[INFO] [stderr] 7  |     /// Unique identifier for the financial instrument
[INFO] [stderr] 8  |     pub instrument_uid: String,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 14 |     pub update_time: DateTime<Utc>,
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `TinkoffCandlesStatus` 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:31:9
[INFO] [stderr]    |
[INFO] [stderr] 29 | pub struct ClickhouseConfig {
[INFO] [stderr]    |            ---------------- fields in this struct
[INFO] [stderr] 30 |     pub timeout: u64,
[INFO] [stderr] 31 |     pub pool_min: u32,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 32 |     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: fields `market_data_stream`, `operations`, and `users` are never read
[INFO] [stderr]   --> src/services/tinkoff_client_grpc.rs:23:9
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub struct TinkoffClient {
[INFO] [stderr]    |            ------------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 23 |     pub market_data_stream: MarketDataStreamServiceClient<Channel>,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 24 |     pub operations: OperationsServiceClient<Channel>,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr] 25 |     pub users: UsersServiceClient<Channel>,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `TinkoffClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `extract_quotation` is never used
[INFO] [stderr]   --> src/services/tinkoff_instruments/models/quotation.rs:33:8
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub fn extract_quotation(quotation: &Option<Quotation>) -> (i64, i32) {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `quotation_to_f64` is never used
[INFO] [stderr]   --> src/services/tinkoff_instruments/models/quotation.rs:38:8
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub fn quotation_to_f64(units: i64, nano: i32) -> f64 {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `extract_money_value` is never used
[INFO] [stderr]   --> src/services/tinkoff_instruments/models/money_value.rs:46:8
[INFO] [stderr]    |
[INFO] [stderr] 46 | pub fn extract_money_value(money: &Option<MoneyValue>) -> (String, i64, i32) {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `money_value_to_f64` is never used
[INFO] [stderr]   --> src/services/tinkoff_instruments/models/money_value.rs:53:8
[INFO] [stderr]    |
[INFO] [stderr] 53 | pub fn money_value_to_f64(units: i64, nano: i32) -> f64 {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `MyCandleInterval` is never used
[INFO] [stderr]  --> src/services/tinkoff_instruments/models/candle_interval.rs:4:10
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub enum MyCandleInterval {
[INFO] [stderr]   |          ^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `MyCandleInterval` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `from_i32` and `as_str_name` are never used
[INFO] [stderr]   --> src/services/tinkoff_instruments/models/candle_interval.rs:36:12
[INFO] [stderr]    |
[INFO] [stderr] 35 | impl MyCandleInterval {
[INFO] [stderr]    | --------------------- associated items in this implementation
[INFO] [stderr] 36 |     pub fn from_i32(value: i32) -> Option<Self> {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 56 |     pub fn as_str_name(&self) -> &'static str {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `timestamp_to_datetime` is never used
[INFO] [stderr]   --> src/services/tinkoff_instruments/models/time_stamp.rs:47:8
[INFO] [stderr]    |
[INFO] [stderr] 47 | pub fn timestamp_to_datetime(ts: &Option<Timestamp>) -> Option<DateTime<Utc>> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `open_price`, `min_price_increment`, and `nominal_value` are never used
[INFO] [stderr]    --> src/services/tinkoff_instruments/models/share.rs:207:12
[INFO] [stderr]     |
[INFO] [stderr] 206 | impl DbTinkoffShare {
[INFO] [stderr]     | ------------------- methods in this implementation
[INFO] [stderr] 207 |     pub fn open_price(&self) -> f64 {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 211 |     pub fn min_price_increment(&self) -> f64 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 215 |     pub fn nominal_value(&self) -> f64 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `trigger_update` is never used
[INFO] [stderr]   --> src/services/tinkoff_candles/scheduler.rs:18:18
[INFO] [stderr]    |
[INFO] [stderr] 13 | impl TinkoffCandlesScheduler {
[INFO] [stderr]    | ---------------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 18 |     pub async fn trigger_update(&self) -> Result<usize, Box<dyn std::error::Error>> {
[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-candles` (bin "t-candles" test) generated 49 warnings (run `cargo fix --bin "t-candles" --tests` to apply 24 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/t_candles-77d328c97e341605)
[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' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-subscriber-0.3.19/src/fmt/mod.rs:517:14:
[INFO] [stdout] Unable to install global subscriber: SetGlobalDefaultError("a global default trace dispatcher has already been set")
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5bfa22c81662 - std::backtrace_rs::backtrace::libunwind::trace::h507910ea2af87506
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5bfa22c81662 - std::backtrace_rs::backtrace::trace_unsynchronized::hbabde69a364028b6
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5bfa22c81662 - std::sys::backtrace::_print_fmt::h72da4ea05d9c19c7
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5bfa22c81662 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::he17e4d1deb030513
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5bfa22caa113 - core::fmt::rt::Argument::fmt::h6eb34452b7bf7f3e
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/core/src/fmt/rt.rs:184:76
[INFO] [stdout]    5:     0x5bfa22caa113 - core::fmt::write::hb586d8faf4da872c
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/core/src/fmt/mod.rs:1481:21
[INFO] [stdout]    6:     0x5bfa22c7ed33 - std::io::default_write_fmt::h6aa08ecbfa48c5ff
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5bfa22c7ed33 - std::io::Write::write_fmt::hacff69e787d8280c
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/io/mod.rs:1914:13
[INFO] [stdout]    8:     0x5bfa22c814b2 - std::sys::backtrace::BacktraceLock::print::ha9ae06d9686ed6f5
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5bfa22c82a4c - std::panicking::default_hook::{{closure}}::h1e26c2dd6a86c552
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panicking.rs:300:22
[INFO] [stdout]   10:     0x5bfa22c828a2 - std::panicking::default_hook::ha087cd2c96e9dccb
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x5bfa229d5ad4 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hfc67e750ea60d79e
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/alloc/src/boxed.rs:1980:9
[INFO] [stdout]   12:     0x5bfa229d5ad4 - test::test_main::{{closure}}::h8bc5950b0281f6a8
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/test/src/lib.rs:136:21
[INFO] [stdout]   13:     0x5bfa22c834c3 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he82122b1f05fbb69
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/alloc/src/boxed.rs:1980:9
[INFO] [stdout]   14:     0x5bfa22c834c3 - std::panicking::rust_panic_with_hook::hb6297a615c41feb1
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x5bfa22c8319a - std::panicking::begin_panic_handler::{{closure}}::h331b749dc5aaed6d
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panicking.rs:706:13
[INFO] [stdout]   16:     0x5bfa22c81b59 - std::sys::backtrace::__rust_end_short_backtrace::had488ac7042f2d24
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   17:     0x5bfa22c82e2d - __rustc[df3c1e297e3414ab]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x5bfa2298c740 - core::panicking::panic_fmt::hbe33a1fea5c5feea
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x5bfa2298cbd6 - core::result::unwrap_failed::h61f9c98174e31ffe
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/core/src/result.rs:1704:5
[INFO] [stdout]   20:     0x5bfa229e8bdb - core::result::Result<T,E>::expect::h0aba8bf499515291
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/core/src/result.rs:1061:23
[INFO] [stdout]   21:     0x5bfa22998b05 - tracing_subscriber::fmt::SubscriberBuilder<N,E,F,W>::init::hbefd5dde35926101
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-subscriber-0.3.19/src/fmt/mod.rs:516:9
[INFO] [stdout]   22:     0x5bfa22997971 - t_candles::logger::config::init_logger::h792572275d66dd6e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/logger/config.rs:57:28
[INFO] [stdout]   23:     0x5bfa22997e12 - t_candles::logger::config::tests::test_init_logger::he3ed84167c627557
[INFO] [stdout]                                at /opt/rustwide/workdir/src/logger/config.rs:81:17
[INFO] [stdout]   24:     0x5bfa22997d47 - t_candles::logger::config::tests::test_init_logger::{{closure}}::h105ebe1b3590c037
[INFO] [stdout]                                at /opt/rustwide/workdir/src/logger/config.rs:78:26
[INFO] [stdout]   25:     0x5bfa22994626 - core::ops::function::FnOnce::call_once::he4e972c98d012374
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5bfa229db40b - core::ops::function::FnOnce::call_once::h9f27fbe475af7e00
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   27:     0x5bfa229db40b - test::__rust_begin_short_backtrace::h9bcfcf8eb616a474
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/test/src/lib.rs:638:18
[INFO] [stdout]   28:     0x5bfa229da41f - test::run_test_in_process::{{closure}}::hb976ca28ca432a94
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/test/src/lib.rs:661:60
[INFO] [stdout]   29:     0x5bfa229da41f - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h48efcb650f3b09f1
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x5bfa229da41f - std::panicking::try::do_call::hb33d0805d7d22799
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panicking.rs:589:40
[INFO] [stdout]   31:     0x5bfa229da41f - std::panicking::try::h3dba5fb1393795eb
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panicking.rs:552:19
[INFO] [stdout]   32:     0x5bfa229da41f - std::panic::catch_unwind::h172524697db16a3d
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panic.rs:359:14
[INFO] [stdout]   33:     0x5bfa229da41f - test::run_test_in_process::h0fdde63751df31c1
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/test/src/lib.rs:661:27
[INFO] [stdout]   34:     0x5bfa229da41f - test::run_test::{{closure}}::hcb298933802060ae
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/test/src/lib.rs:582:43
[INFO] [stdout]   35:     0x5bfa2299eb74 - test::run_test::{{closure}}::h531558d375c0c753
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/test/src/lib.rs:612:41
[INFO] [stdout]   36:     0x5bfa2299eb74 - std::sys::backtrace::__rust_begin_short_backtrace::h1c7e21874339ac4b
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   37:     0x5bfa229a240a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf36f474960f6b3bd
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   38:     0x5bfa229a240a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf7a3133f853835ff
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x5bfa229a240a - std::panicking::try::do_call::heaad6640209dda75
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panicking.rs:589:40
[INFO] [stdout]   40:     0x5bfa229a240a - std::panicking::try::h11ee8b72ee6fba6e
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panicking.rs:552:19
[INFO] [stdout]   41:     0x5bfa229a240a - std::panic::catch_unwind::h6b1b8a79a33133df
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panic.rs:359:14
[INFO] [stdout]   42:     0x5bfa229a240a - std::thread::Builder::spawn_unchecked_::{{closure}}::h6e3d3f6a0b8d9edc
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   43:     0x5bfa229a240a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hda16d6ccb84a4fd4
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   44:     0x5bfa22c8520b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5f5aabfc4e50f1ef
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/alloc/src/boxed.rs:1966:9
[INFO] [stdout]   45:     0x5bfa22c8520b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hd941fff5c0147baa
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/alloc/src/boxed.rs:1966:9
[INFO] [stdout]   46:     0x5bfa22c8520b - std::sys::pal::unix::thread::Thread::new::thread_start::h1a8b3433428bb7a3
[INFO] [stdout]                                at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/sys/pal/unix/thread.rs:109:17
[INFO] [stdout]   47:     0x76d2b6068aa4 - <unknown>
[INFO] [stdout]   48:     0x76d2b60f5a34 - clone
[INFO] [stdout]   49:                0x0 - <unknown>
[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.08s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin t-candles`
[INFO] running `Command { std: "docker" "inspect" "2a6ea14499327bfb7ed3ab25815645805c69c5439d9d31d1889ae4b3f51380e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a6ea14499327bfb7ed3ab25815645805c69c5439d9d31d1889ae4b3f51380e3", kill_on_drop: false }`
[INFO] [stdout] 2a6ea14499327bfb7ed3ab25815645805c69c5439d9d31d1889ae4b3f51380e3
