[INFO] cloning repository https://github.com/mcvnh/ratio-noti [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mcvnh/ratio-noti" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcvnh%2Fratio-noti", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcvnh%2Fratio-noti'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0a3f938148f72a78e5922cd6f6eced9bd0d43d7 [INFO] testing mcvnh/ratio-noti against 1.97.0-beta.1 for beta-1.97-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcvnh%2Fratio-noti" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mcvnh/ratio-noti [INFO] finished tweaking git repo https://github.com/mcvnh/ratio-noti [INFO] tweaked toml for git repo https://github.com/mcvnh/ratio-noti written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mcvnh/ratio-noti on toolchain 1.97.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mcvnh/ratio-noti 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" "+1.97.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c636a09efb533ffd29f0e88013c723e3f453311f0d33333ffc868694c72bcd73 [INFO] running `Command { std: "docker" "start" "-a" "c636a09efb533ffd29f0e88013c723e3f453311f0d33333ffc868694c72bcd73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c636a09efb533ffd29f0e88013c723e3f453311f0d33333ffc868694c72bcd73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c636a09efb533ffd29f0e88013c723e3f453311f0d33333ffc868694c72bcd73", kill_on_drop: false }` [INFO] [stdout] c636a09efb533ffd29f0e88013c723e3f453311f0d33333ffc868694c72bcd73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd9e46cfffb75c6ef367956a904c911e5c2fc942277960e61f6501efc90377a3 [INFO] running `Command { std: "docker" "start" "-a" "dd9e46cfffb75c6ef367956a904c911e5c2fc942277960e61f6501efc90377a3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling pest v2.8.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling rc-box v1.3.0 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling takecell v0.1.1 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling rustls-pki-types v1.13.0 [INFO] [stderr] Compiling jiff v0.2.16 [INFO] [stderr] Compiling clap_builder v4.5.51 [INFO] [stderr] Compiling pest_meta v2.8.3 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling teloxide-macros v0.8.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling pest_generator v2.8.3 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling pest_derive v2.8.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling clap v4.5.51 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling dptree v0.3.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling teloxide-core v0.10.1 [INFO] [stderr] Compiling teloxide v0.13.0 [INFO] [stderr] Compiling ratio-noti v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `last_update_id` is never read [INFO] [stdout] --> src/binance.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct OrderBook { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 20 | #[serde(rename = "lastUpdateId")] [INFO] [stdout] 21 | pub last_update_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderBook` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_prices` and `get_order_books` are never used [INFO] [stdout] --> src/binance.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 41 | impl BinanceClient { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub async fn get_prices(&self, symbols: &[String]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub async fn get_order_books(&self, symbols: &[String], limit: u32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `pair_name` are never read [INFO] [stdout] --> src/database.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RatioRecord { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 11 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | pub pair_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RatioRecord` 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: field `id` is never read [INFO] [stdout] --> src/database.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AlertRecord { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 23 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlertRecord` 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: struct `VolumeRatioRecord` is never constructed [INFO] [stdout] --> src/database.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct VolumeRatioRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_volume_ratio`, `get_ratio_history_range`, and `cleanup_old_records` are never used [INFO] [stdout] --> src/database.rs:205:18 [INFO] [stdout] | [INFO] [stdout] 46 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 205 | pub async fn insert_volume_ratio( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub async fn get_ratio_history_range( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub async fn cleanup_old_records(&self, days: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send_message` and `send_slippage_analysis` are never used [INFO] [stdout] --> src/telegram.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl TelegramNotifier { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub async fn send_message(&self, message: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub async fn send_slippage_analysis(&self, analysis: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 57s [INFO] running `Command { std: "docker" "inspect" "dd9e46cfffb75c6ef367956a904c911e5c2fc942277960e61f6501efc90377a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd9e46cfffb75c6ef367956a904c911e5c2fc942277960e61f6501efc90377a3", kill_on_drop: false }` [INFO] [stdout] dd9e46cfffb75c6ef367956a904c911e5c2fc942277960e61f6501efc90377a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3be335873724d9e86a63544403d1d84362f52694631f110f6c26a20e7165c96d [INFO] running `Command { std: "docker" "start" "-a" "3be335873724d9e86a63544403d1d84362f52694631f110f6c26a20e7165c96d", kill_on_drop: false }` [INFO] [stderr] Compiling ratio-noti v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `last_update_id` is never read [INFO] [stdout] --> src/binance.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct OrderBook { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 20 | #[serde(rename = "lastUpdateId")] [INFO] [stdout] 21 | pub last_update_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderBook` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_prices` and `get_order_books` are never used [INFO] [stdout] --> src/binance.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 41 | impl BinanceClient { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub async fn get_prices(&self, symbols: &[String]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub async fn get_order_books(&self, symbols: &[String], limit: u32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `pair_name` are never read [INFO] [stdout] --> src/database.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RatioRecord { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 11 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | pub pair_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RatioRecord` 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: field `id` is never read [INFO] [stdout] --> src/database.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AlertRecord { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 23 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlertRecord` 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: struct `VolumeRatioRecord` is never constructed [INFO] [stdout] --> src/database.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct VolumeRatioRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_volume_ratio`, `get_ratio_history_range`, and `cleanup_old_records` are never used [INFO] [stdout] --> src/database.rs:205:18 [INFO] [stdout] | [INFO] [stdout] 46 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 205 | pub async fn insert_volume_ratio( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub async fn get_ratio_history_range( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub async fn cleanup_old_records(&self, days: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send_message` and `send_slippage_analysis` are never used [INFO] [stdout] --> src/telegram.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl TelegramNotifier { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub async fn send_message(&self, message: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub async fn send_slippage_analysis(&self, analysis: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.55s [INFO] running `Command { std: "docker" "inspect" "3be335873724d9e86a63544403d1d84362f52694631f110f6c26a20e7165c96d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3be335873724d9e86a63544403d1d84362f52694631f110f6c26a20e7165c96d", kill_on_drop: false }` [INFO] [stdout] 3be335873724d9e86a63544403d1d84362f52694631f110f6c26a20e7165c96d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fc5126aa3e8e3fbd794741b1d62420ae329416b93ae1485ab11a133c8b8dd549 [INFO] running `Command { std: "docker" "start" "-a" "fc5126aa3e8e3fbd794741b1d62420ae329416b93ae1485ab11a133c8b8dd549", kill_on_drop: false }` [INFO] [stderr] warning: field `last_update_id` is never read [INFO] [stderr] --> src/binance.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct OrderBook { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 20 | #[serde(rename = "lastUpdateId")] [INFO] [stderr] 21 | pub last_update_id: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OrderBook` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `get_prices` and `get_order_books` are never used [INFO] [stderr] --> src/binance.rs:125:18 [INFO] [stderr] | [INFO] [stderr] 41 | impl BinanceClient { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 125 | pub async fn get_prices(&self, symbols: &[String]) -> Result> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 146 | pub async fn get_order_books(&self, symbols: &[String], limit: u32) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `id` and `pair_name` are never read [INFO] [stderr] --> src/database.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct RatioRecord { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 11 | pub id: i64, [INFO] [stderr] | ^^ [INFO] [stderr] 12 | pub pair_name: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RatioRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/database.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct AlertRecord { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 23 | pub id: i64, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `AlertRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `VolumeRatioRecord` is never constructed [INFO] [stderr] --> src/database.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct VolumeRatioRecord { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `insert_volume_ratio`, `get_ratio_history_range`, and `cleanup_old_records` are never used [INFO] [stderr] --> src/database.rs:205:18 [INFO] [stderr] | [INFO] [stderr] 46 | impl Database { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 205 | pub async fn insert_volume_ratio( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 283 | pub async fn get_ratio_history_range( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 430 | pub async fn cleanup_old_records(&self, days: i64) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `send_message` and `send_slippage_analysis` are never used [INFO] [stderr] --> src/telegram.rs:19:18 [INFO] [stderr] | [INFO] [stderr] 10 | impl TelegramNotifier { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 19 | pub async fn send_message(&self, message: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | pub async fn send_slippage_analysis(&self, analysis: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ratio-noti` (bin "ratio-noti" test) generated 7 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ratio_noti-d026462e605efd85) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fc5126aa3e8e3fbd794741b1d62420ae329416b93ae1485ab11a133c8b8dd549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc5126aa3e8e3fbd794741b1d62420ae329416b93ae1485ab11a133c8b8dd549", kill_on_drop: false }` [INFO] [stdout] fc5126aa3e8e3fbd794741b1d62420ae329416b93ae1485ab11a133c8b8dd549