[INFO] cloning repository https://github.com/Koogich1/rust_crypto
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Koogich1/rust_crypto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKoogich1%2Frust_crypto", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKoogich1%2Frust_crypto'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4624d89eca6b0df5e48678f45ee212345f7e09ad
[INFO] checking Koogich1/rust_crypto against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKoogich1%2Frust_crypto" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/Koogich1/rust_crypto
[INFO] finished tweaking git repo https://github.com/Koogich1/rust_crypto
[INFO] tweaked toml for git repo https://github.com/Koogich1/rust_crypto written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Koogich1/rust_crypto on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Koogich1/rust_crypto 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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4034c6555bf06bee191105f6bd4b15c9f61a1346ddca3d3d93742350570649e6
[INFO] running `Command { std: "docker" "start" "4034c6555bf06bee191105f6bd4b15c9f61a1346ddca3d3d93742350570649e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4034c6555bf06bee191105f6bd4b15c9f61a1346ddca3d3d93742350570649e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4034c6555bf06bee191105f6bd4b15c9f61a1346ddca3d3d93742350570649e6" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4034c6555bf06bee191105f6bd4b15c9f61a1346ddca3d3d93742350570649e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4034c6555bf06bee191105f6bd4b15c9f61a1346ddca3d3d93742350570649e6" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.23
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking bitflags v2.11.0
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking socket2 v0.6.2
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]    Compiling zerocopy v0.8.39
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling getrandom v0.4.1
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]     Checking regex-syntax v0.8.9
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking tower-layer v0.3.3
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling anyhow v1.0.101
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]     Checking indexmap v2.13.0
[INFO] [stderr]     Checking ipnet v2.11.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling erased-serde v0.4.9
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling syn v2.0.115
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking nibble_vec v0.1.0
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling pq-sys v0.7.5
[INFO] [stderr]    Compiling bigdecimal v0.4.10
[INFO] [stderr]     Checking endian-type v0.1.2
[INFO] [stderr]    Compiling typetag v0.2.21
[INFO] [stderr]     Checking openssl-probe v0.2.1
[INFO] [stderr]     Checking fid-rs v0.1.1
[INFO] [stderr]     Checking unicode-width v0.1.14
[INFO] [stderr]    Compiling num-conv v0.2.0
[INFO] [stderr]    Compiling diesel_derives v2.3.7
[INFO] [stderr]     Checking nix v0.23.2
[INFO] [stderr]     Checking louds-rs v0.4.0
[INFO] [stderr]    Compiling time-macros v0.2.27
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]     Checking deranged v0.5.6
[INFO] [stderr]     Checking radix_trie v0.2.1
[INFO] [stderr]     Checking dirs-next v2.0.0
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.7
[INFO] [stderr]     Checking unicode-linebreak v0.1.5
[INFO] [stderr]     Checking smawk v0.3.2
[INFO] [stderr]     Checking inventory v0.3.21
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking clap_builder v4.5.58
[INFO] [stderr]    Compiling serde_spanned v1.0.4
[INFO] [stderr]    Compiling toml_datetime v0.7.5+spec-1.1.0
[INFO] [stderr]     Checking textwrap v0.15.2
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.34
[INFO] [stderr]     Checking uuid v1.21.0
[INFO] [stderr]     Checking fd-lock v3.0.13
[INFO] [stderr]    Compiling toml_parser v1.0.9+spec-1.1.0
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking r2d2 v0.8.10
[INFO] [stderr]     Checking trie-rs v0.1.1
[INFO] [stderr]     Checking octseq v0.4.0
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking yansi v1.0.1
[INFO] [stderr]    Compiling toml v0.9.12+spec-1.1.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking downcast-rs v2.0.2
[INFO] [stderr]     Checking matchit v0.8.4
[INFO] [stderr]     Checking iri-string v0.7.10
[INFO] [stderr]     Checking rustls-pki-types v1.14.0
[INFO] [stderr]     Checking pretty_assertions v1.4.1
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking const_format v0.2.35
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking nu-ansi-term v0.50.3
[INFO] [stderr]     Checking bytesize v2.3.1
[INFO] [stderr]     Checking dotenvy v0.15.7
[INFO] [stderr]    Compiling rustyline-derive v0.6.0
[INFO] [stderr]     Checking clap v4.5.58
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking rustyline v9.1.2
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling diesel_table_macro_syntax v0.3.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling const-str-proc-macro v0.5.7
[INFO] [stderr]    Compiling typetag-impl v0.2.21
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling expect-json-macros v1.9.0
[INFO] [stderr]     Checking const-str v0.5.7
[INFO] [stderr]     Checking tokio v1.49.0
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking easy-repl v0.2.1
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking rust-multipart-rfc7578_2 v0.8.0
[INFO] [stderr]     Checking reserve-port v2.3.0
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling dsl_auto_type v0.2.0
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking chrono v0.4.43
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking email_address v0.2.9
[INFO] [stderr]     Checking migrations_internals v2.3.0
[INFO] [stderr]    Compiling migrations_macros v2.3.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking expect-json v1.9.0
[INFO] [stderr]     Checking routecore v0.4.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]     Checking diesel v2.3.6
[INFO] [stderr]     Checking routes v0.1.0
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking axum v0.8.8
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking axum-test v18.7.0
[INFO] [stderr]     Checking diesel_migrations v2.3.1
[INFO] [stderr]     Checking crypto-aggregator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `bybit_service`
[INFO] [stdout]   --> src/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let bybit_service = BybitHistoricalService::new(bybit_pool);
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bybit_service`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Message` is never constructed
[INFO] [stdout]   --> src/main.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Message {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CoinGeckoPrice` is never constructed
[INFO] [stdout]  --> src/services/coingecko.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct CoinGeckoPrice {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CoinGeckoResponse` is never used
[INFO] [stdout]   --> src/services/coingecko.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub type CoinGeckoResponse = HashMap<String, CoinGeckoPrice>;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `symbol_to_coingecko_id` is never used
[INFO] [stdout]   --> src/services/coingecko.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn symbol_to_coingecko_id(symbol: &str) -> Option<&'static str> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fetch_prices` is never used
[INFO] [stdout]   --> src/services/coingecko.rs:50:14
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub async fn fetch_prices(symbols: &[&str]) -> Result<CoinGeckoResponse, reqwest::Error> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_COINS` is never used
[INFO] [stdout]   --> src/services/price_aggregator.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const DEFAULT_COINS: &[(&str, &str, i32)] = &[
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_coins` is never used
[INFO] [stdout]   --> src/services/price_aggregator.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn init_coins(pool: &Arc<DbPool>) -> Result<(), diesel::result::Error> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_price_aggregator` is never used
[INFO] [stdout]   --> src/services/price_aggregator.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn start_price_aggregator(pool: Arc<DbPool>) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BybitApiKline` is never constructed
[INFO] [stdout]   --> src/bybit/service.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct BybitApiKline {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `api_key`, `secret`, `base_url`, and `rate_limit_ms` are never read
[INFO] [stdout]   --> src/bybit/service.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct BybitConfig {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 29 |     pub api_key: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 30 |     pub secret: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 31 |     pub base_url: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 32 |     pub rate_limit_ms: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `client`, `config`, and `pool` are never read
[INFO] [stdout]   --> src/bybit/service.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct BybitHistoricalService {
[INFO] [stdout]    |            ---------------------- fields in this struct
[INFO] [stdout] 48 |     client: reqwest::Client,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 49 |     config: BybitConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 50 |     pool: BybitDbPool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `fetch_history`, `parse_kline_array`, `save_klines`, and `backfill_symbol` are never used
[INFO] [stdout]    --> src/bybit/service.rs:66:18
[INFO] [stdout]     |
[INFO] [stdout]  53 | impl BybitHistoricalService {
[INFO] [stdout]     | --------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub async fn fetch_history(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     fn parse_kline_array(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn save_klines(&self, symbol: &str, interval: &str, klines: &[BybitApiKline]) -> Result<usize, Box<dyn std::error::Error + ...
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 184 |     pub async fn backfill_symbol(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bybit_service`
[INFO] [stdout]   --> src/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let bybit_service = BybitHistoricalService::new(bybit_pool);
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bybit_service`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Message` is never constructed
[INFO] [stdout]   --> src/main.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Message {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CoinGeckoPrice` is never constructed
[INFO] [stdout]  --> src/services/coingecko.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct CoinGeckoPrice {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CoinGeckoResponse` is never used
[INFO] [stdout]   --> src/services/coingecko.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub type CoinGeckoResponse = HashMap<String, CoinGeckoPrice>;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `symbol_to_coingecko_id` is never used
[INFO] [stdout]   --> src/services/coingecko.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn symbol_to_coingecko_id(symbol: &str) -> Option<&'static str> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fetch_prices` is never used
[INFO] [stdout]   --> src/services/coingecko.rs:50:14
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub async fn fetch_prices(symbols: &[&str]) -> Result<CoinGeckoResponse, reqwest::Error> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_COINS` is never used
[INFO] [stdout]   --> src/services/price_aggregator.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const DEFAULT_COINS: &[(&str, &str, i32)] = &[
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_coins` is never used
[INFO] [stdout]   --> src/services/price_aggregator.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn init_coins(pool: &Arc<DbPool>) -> Result<(), diesel::result::Error> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_price_aggregator` is never used
[INFO] [stdout]   --> src/services/price_aggregator.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn start_price_aggregator(pool: Arc<DbPool>) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BybitApiKline` is never constructed
[INFO] [stdout]   --> src/bybit/service.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct BybitApiKline {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `api_key`, `secret`, `base_url`, and `rate_limit_ms` are never read
[INFO] [stdout]   --> src/bybit/service.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct BybitConfig {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 29 |     pub api_key: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 30 |     pub secret: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 31 |     pub base_url: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 32 |     pub rate_limit_ms: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `client`, `config`, and `pool` are never read
[INFO] [stdout]   --> src/bybit/service.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct BybitHistoricalService {
[INFO] [stdout]    |            ---------------------- fields in this struct
[INFO] [stdout] 48 |     client: reqwest::Client,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 49 |     config: BybitConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 50 |     pool: BybitDbPool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `fetch_history`, `parse_kline_array`, `save_klines`, and `backfill_symbol` are never used
[INFO] [stdout]    --> src/bybit/service.rs:66:18
[INFO] [stdout]     |
[INFO] [stdout]  53 | impl BybitHistoricalService {
[INFO] [stdout]     | --------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub async fn fetch_history(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     fn parse_kline_array(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn save_klines(&self, symbol: &str, interval: &str, klines: &[BybitApiKline]) -> Result<usize, Box<dyn std::error::Error + ...
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 184 |     pub async fn backfill_symbol(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s
[INFO] running `Command { std: "docker" "inspect" "4034c6555bf06bee191105f6bd4b15c9f61a1346ddca3d3d93742350570649e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4034c6555bf06bee191105f6bd4b15c9f61a1346ddca3d3d93742350570649e6", kill_on_drop: false }`
[INFO] [stdout] 4034c6555bf06bee191105f6bd4b15c9f61a1346ddca3d3d93742350570649e6
