[INFO] cloning repository https://github.com/SeitaHigashi/shirube [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SeitaHigashi/shirube" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSeitaHigashi%2Fshirube", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSeitaHigashi%2Fshirube'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dddb8b9dac6e0c7a0d08928c7fbf8bda0bac290d [INFO] checking SeitaHigashi/shirube against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSeitaHigashi%2Fshirube" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SeitaHigashi/shirube [INFO] finished tweaking git repo https://github.com/SeitaHigashi/shirube [INFO] tweaked toml for git repo https://github.com/SeitaHigashi/shirube written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SeitaHigashi/shirube on toolchain 52995a223f2919dd3e2e427231db90a257350ded [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SeitaHigashi/shirube 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" "+52995a223f2919dd3e2e427231db90a257350ded" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 3fdf913fa3a6737f4223d4384ff4777a953bc56570b08503cbf32d8e059a2692 [INFO] running `Command { std: "docker" "start" "3fdf913fa3a6737f4223d4384ff4777a953bc56570b08503cbf32d8e059a2692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fdf913fa3a6737f4223d4384ff4777a953bc56570b08503cbf32d8e059a2692", 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" "3fdf913fa3a6737f4223d4384ff4777a953bc56570b08503cbf32d8e059a2692" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fdf913fa3a6737f4223d4384ff4777a953bc56570b08503cbf32d8e059a2692", 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" "3fdf913fa3a6737f4223d4384ff4777a953bc56570b08503cbf32d8e059a2692" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling aws-lc-rs v1.16.3 [INFO] [stderr] Checking typenum v1.20.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling cc v1.2.61 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling rustls v0.23.40 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking ipnet v2.12.0 [INFO] [stderr] Checking webpki-roots v1.0.7 [INFO] [stderr] Checking rustix v1.1.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Checking iri-string v0.7.12 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking simd-adler32 v0.3.9 [INFO] [stderr] Checking console v0.16.3 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Checking filetime v0.2.27 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tokio v1.52.1 [INFO] [stderr] Checking unit-prefix v0.5.2 [INFO] [stderr] Checking unicase v2.9.0 [INFO] [stderr] Compiling rust_decimal v1.41.0 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Compiling self_update v0.44.0 [INFO] [stderr] Checking quick-xml v0.37.5 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking mediatype v0.19.20 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking uuid v1.23.1 [INFO] [stderr] Checking quick-xml v0.38.4 [INFO] [stderr] Checking indicatif v0.18.4 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking pin-project v1.1.11 [INFO] [stderr] Checking semver v1.0.28 [INFO] [stderr] Checking siphasher v1.0.2 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Compiling rust_decimal_macros v1.40.0 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling aws-lc-sys v0.40.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking xattr v1.6.1 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking feed-rs v2.3.1 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Checking tar v0.4.45 [INFO] [stderr] Checking self-replace v1.5.0 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking deadpool v0.12.3 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking tokio-test v0.4.5 [INFO] [stderr] Checking hyper v1.9.0 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking tokio-rusqlite v0.5.1 [INFO] [stderr] Checking rustls-webpki v0.103.13 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking wiremock v0.6.5 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.7.0 [INFO] [stderr] Checking tungstenite v0.23.0 [INFO] [stderr] Checking hyper-rustls v0.27.9 [INFO] [stderr] Checking reqwest v0.13.3 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking tokio-tungstenite v0.23.1 [INFO] [stderr] Checking shirube v0.1.102 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `OrderType` [INFO] [stdout] --> src/exchange/mock.rs:15:58 [INFO] [stdout] | [INFO] [stdout] 15 | order::{Order, OrderRequest, OrderSide, OrderStatus, OrderType}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `manager::RiskManager` [INFO] [stdout] --> src/risk/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use manager::RiskManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mock` [INFO] [stdout] --> src/signal/mod.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg(any(test, feature = "mock"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `mock` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/api/routes/news.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signal::Signal` [INFO] [stdout] --> src/api/routes/ticker.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::signal::Signal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OrderType` [INFO] [stdout] --> src/exchange/mock.rs:15:58 [INFO] [stdout] | [INFO] [stdout] 15 | order::{Order, OrderRequest, OrderSide, OrderStatus, OrderType}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mock` [INFO] [stdout] --> src/signal/mod.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg(any(test, feature = "mock"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `mock` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `candle_tx` is never read [INFO] [stdout] --> src/api/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub candle_tx: broadcast::Sender, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, 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: variants `Auth` and `ChannelClosed` are never constructed [INFO] [stdout] --> src/error.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Auth(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | ChannelClosed, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cancel_all_orders`, `get_orders`, `cancel_order`, `get_executions`, and `get_trading_commission` are never used [INFO] [stdout] --> src/exchange/mod.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait ExchangeClient: Send + Sync + 'static { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | async fn cancel_all_orders(&self, product_code: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | async fn get_orders( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | async fn cancel_order(&self, product_code: &str, acceptance_id: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | /// 自分の約定履歴を取得する(`GET /v1/me/getexecutions`)。 [INFO] [stdout] 31 | async fn get_executions( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | async fn get_trading_commission(&self, product_code: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CancelAllOrdersRequest` is never constructed [INFO] [stdout] --> src/exchange/bitflyer/models.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct CancelAllOrdersRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CancelOrderRequest` is never constructed [INFO] [stdout] --> src/exchange/bitflyer/models.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct CancelOrderRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RawMyExecution` is never constructed [INFO] [stdout] --> src/exchange/bitflyer/models.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | pub struct RawMyExecution { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RawTradingCommission` is never constructed [INFO] [stdout] --> src/exchange/bitflyer/models.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub struct RawTradingCommission { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/exchange/bitflyer/models.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 268 | pub struct ApiErrorBody { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 271 | pub data: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiErrorBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `delete_authenticated` and `post_authenticated_void` are never used [INFO] [stdout] --> src/exchange/bitflyer/rest.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 36 | impl BitFlyerRestClient { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | async fn delete_authenticated(&self, path: &str, body: &B) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | async fn post_authenticated_void(&self, path: &str, body: &B) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/exchange/mock.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl MockExchangeClient { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn with_fee(fee_pct: f64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn set_price(&self, price: Decimal) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn set_ticker(&self, ticker: Ticker) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn placed_orders(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn filled_trades(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn jpy_balance(&self) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn btc_balance(&self) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SENTIMENT_THRESHOLD` is never used [INFO] [stdout] --> src/news/scorer.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const SENTIMENT_THRESHOLD: f64 = 0.3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `news_weight` and `ta_weight` are never read [INFO] [stdout] --> src/news/scorer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct NewsScorer { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 12 | news_weight: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | ta_weight: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `combined_confidence`, and `sentiment_to_signal` are never used [INFO] [stdout] --> src/news/scorer.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl NewsScorer { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new(news_weight: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn combined_confidence(&self, ta_confidence: f64, sentiment: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn sentiment_to_signal(&self, sentiment: f64, price: Decimal) -> Signal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stop_loss_pct` is never read [INFO] [stdout] --> src/risk/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct RiskParams { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub stop_loss_pct: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RiskParams` 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: method `is_circuit_broken` is never used [INFO] [stdout] --> src/risk/manager.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl RiskManager { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn is_circuit_broken(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_effective`, `is_bullish`, and `is_bearish` are never used [INFO] [stdout] --> src/signal/mod.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl AllocationSignal { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn from_effective(target_pct: f64, confidence: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn is_bullish(&self) -> bool { self.target_pct > 0.5 } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 54 | pub fn is_bearish(&self) -> bool { self.target_pct < 0.5 } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/signal/mod.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 149 | pub trait Indicator: Send + Sync { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 156 | fn reset(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_zone` is never used [INFO] [stdout] --> src/signal/engine.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl SignalEngine { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn new_with_zone( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CandleRepository` is never constructed [INFO] [stdout] --> src/storage/candles.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CandleRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `upsert`, `upsert_batch`, `get_range`, `get_latest`, and `get_aggregated` are never used [INFO] [stdout] --> src/storage/candles.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl CandleRepository { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(conn: Connection) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub async fn upsert(&self, candle: &Candle) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn upsert_batch(&self, candles: &[Candle]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn get_range( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub async fn get_latest( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub async fn get_aggregated( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `row_to_candle` is never used [INFO] [stdout] --> src/storage/candles.rs:238:4 [INFO] [stdout] | [INFO] [stdout] 238 | fn row_to_candle(row: &rusqlite::Row<'_>) -> rusqlite::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open_in_memory`, `candles`, and `trades` are never used [INFO] [stdout] --> src/storage/db.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl Database { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn open_in_memory() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn candles(&self) -> CandleRepository { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn trades(&self) -> TradeRepository { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_by_acceptance_id` and `get_by_status` are never used [INFO] [stdout] --> src/storage/orders.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl OrderRepository { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub async fn get_by_acceptance_id(&self, acceptance_id: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub async fn get_by_status( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ltp_open` is never read [INFO] [stdout] --> src/storage/tickers.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct RawRow { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | ltp_open: Decimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_stored`, `insert_stored_batch`, and `latest` are never used [INFO] [stdout] --> src/storage/tickers.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 36 | impl TickerRepository { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub async fn insert_stored(&self, ticker: &StoredTicker) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub async fn insert_stored_batch(&self, tickers: &[StoredTicker]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub async fn latest(&self, product_code: &str, count: u32) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TradeRepository` is never constructed [INFO] [stdout] --> src/storage/trades.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TradeRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert_batch`, and `get_range` are never used [INFO] [stdout] --> src/storage/trades.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl TradeRepository { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(conn: Connection) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub async fn insert_batch(&self, trades: &[Trade]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub async fn get_range( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `row_to_trade` is never used [INFO] [stdout] --> src/storage/trades.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn row_to_trade(row: &rusqlite::Row<'_>) -> rusqlite::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyExecution` is never constructed [INFO] [stdout] --> src/types/market.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct MyExecution { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AutoUpdater` is never constructed [INFO] [stdout] --> src/updater/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AutoUpdater { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `check_and_update` are never used [INFO] [stdout] --> src/updater/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl AutoUpdater { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 20 | /// Create a new AutoUpdater targeting the given GitHub repository. [INFO] [stdout] 21 | pub fn new(owner: &'static str, repo: &'static str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn check_and_update(&self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_update_loop` is never used [INFO] [stdout] --> src/updater/mod.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn spawn_update_loop( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `re_exec` is never used [INFO] [stdout] --> src/updater/mod.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn re_exec() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/api/ws_handler.rs:143:54 [INFO] [stdout] | [INFO] [stdout] 143 | if sender.send(Message::Text(json.into())).await.is_err() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 143 - if sender.send(Message::Text(json.into())).await.is_err() { [INFO] [stdout] 143 + if sender.send(Message::Text(json)).await.is_err() { [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 143 - if sender.send(Message::Text(json.into())).await.is_err() { [INFO] [stdout] 143 + if sender.send(Message::Text(>::into(json))).await.is_err() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/api/ws_handler.rs:193:54 [INFO] [stdout] | [INFO] [stdout] 193 | if sender.send(Message::Text(json.into())).await.is_err() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 193 - if sender.send(Message::Text(json.into())).await.is_err() { [INFO] [stdout] 193 + if sender.send(Message::Text(json)).await.is_err() { [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 193 - if sender.send(Message::Text(json.into())).await.is_err() { [INFO] [stdout] 193 + if sender.send(Message::Text(>::into(json))).await.is_err() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/api/ws_handler.rs:255:54 [INFO] [stdout] | [INFO] [stdout] 255 | if sender.send(Message::Text(json.into())).await.is_err() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 255 - if sender.send(Message::Text(json.into())).await.is_err() { [INFO] [stdout] 255 + if sender.send(Message::Text(json)).await.is_err() { [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 255 - if sender.send(Message::Text(json.into())).await.is_err() { [INFO] [stdout] 255 + if sender.send(Message::Text(>::into(json))).await.is_err() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shirube` (bin "shirube") due to 3 previous errors; 36 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `candle_tx` is never read [INFO] [stdout] --> src/api/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub candle_tx: broadcast::Sender, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, 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: variants `Auth` and `ChannelClosed` are never constructed [INFO] [stdout] --> src/error.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Auth(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | ChannelClosed, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_orders` is never used [INFO] [stdout] --> src/exchange/mod.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait ExchangeClient: Send + Sync + 'static { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | async fn get_orders( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/exchange/bitflyer/models.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 268 | pub struct ApiErrorBody { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 271 | pub data: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiErrorBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_ws_server_that_closes` is never used [INFO] [stdout] --> src/exchange/bitflyer/ws.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 245 | async fn make_ws_server_that_closes() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/news/scorer.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl NewsScorer { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new(news_weight: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_bullish` and `is_bearish` are never used [INFO] [stdout] --> src/signal/mod.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl AllocationSignal { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn is_bullish(&self) -> bool { self.target_pct > 0.5 } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 54 | pub fn is_bearish(&self) -> bool { self.target_pct < 0.5 } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_zone` is never used [INFO] [stdout] --> src/signal/engine.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl SignalEngine { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn new_with_zone( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_aggregated` is never used [INFO] [stdout] --> src/storage/candles.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl CandleRepository { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | pub async fn get_aggregated( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ltp_open` is never read [INFO] [stdout] --> src/storage/tickers.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct RawRow { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | ltp_open: Decimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_stored` and `insert_stored_batch` are never used [INFO] [stdout] --> src/storage/tickers.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 36 | impl TickerRepository { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub async fn insert_stored(&self, ticker: &StoredTicker) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub async fn insert_stored_batch(&self, tickers: &[StoredTicker]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AutoUpdater` is never constructed [INFO] [stdout] --> src/updater/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AutoUpdater { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `check_and_update` are never used [INFO] [stdout] --> src/updater/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl AutoUpdater { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 20 | /// Create a new AutoUpdater targeting the given GitHub repository. [INFO] [stdout] 21 | pub fn new(owner: &'static str, repo: &'static str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn check_and_update(&self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_update_loop` is never used [INFO] [stdout] --> src/updater/mod.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn spawn_update_loop( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `re_exec` is never used [INFO] [stdout] --> src/updater/mod.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn re_exec() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/api/ws_handler.rs:143:54 [INFO] [stdout] | [INFO] [stdout] 143 | if sender.send(Message::Text(json.into())).await.is_err() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 143 - if sender.send(Message::Text(json.into())).await.is_err() { [INFO] [stdout] 143 + if sender.send(Message::Text(json)).await.is_err() { [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 143 - if sender.send(Message::Text(json.into())).await.is_err() { [INFO] [stdout] 143 + if sender.send(Message::Text(>::into(json))).await.is_err() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/api/ws_handler.rs:193:54 [INFO] [stdout] | [INFO] [stdout] 193 | if sender.send(Message::Text(json.into())).await.is_err() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 193 - if sender.send(Message::Text(json.into())).await.is_err() { [INFO] [stdout] 193 + if sender.send(Message::Text(json)).await.is_err() { [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 193 - if sender.send(Message::Text(json.into())).await.is_err() { [INFO] [stdout] 193 + if sender.send(Message::Text(>::into(json))).await.is_err() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/api/ws_handler.rs:255:54 [INFO] [stdout] | [INFO] [stdout] 255 | if sender.send(Message::Text(json.into())).await.is_err() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 255 - if sender.send(Message::Text(json.into())).await.is_err() { [INFO] [stdout] 255 + if sender.send(Message::Text(json)).await.is_err() { [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 255 - if sender.send(Message::Text(json.into())).await.is_err() { [INFO] [stdout] 255 + if sender.send(Message::Text(>::into(json))).await.is_err() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shirube` (bin "shirube" test) due to 3 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3fdf913fa3a6737f4223d4384ff4777a953bc56570b08503cbf32d8e059a2692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fdf913fa3a6737f4223d4384ff4777a953bc56570b08503cbf32d8e059a2692", kill_on_drop: false }` [INFO] [stdout] 3fdf913fa3a6737f4223d4384ff4777a953bc56570b08503cbf32d8e059a2692