[INFO] cloning repository https://github.com/0xnicholas/monoli-agent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xnicholas/monoli-agent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xnicholas%2Fmonoli-agent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xnicholas%2Fmonoli-agent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b328c30d0393b213d1dbb5e5e6589ae34bdb22f9 [INFO] linting 0xnicholas/monoli-agent against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xnicholas%2Fmonoli-agent" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 37% (1804/4803) Updating files: 38% (1826/4803) Updating files: 39% (1874/4803) Updating files: 40% (1922/4803) Updating files: 40% (1935/4803) Updating files: 41% (1970/4803) Updating files: 42% (2018/4803) Updating files: 42% (2059/4803) Updating files: 43% (2066/4803) Updating files: 44% (2114/4803) Updating files: 44% (2129/4803) Updating files: 45% (2162/4803) Updating files: 45% (2195/4803) Updating files: 46% (2210/4803) Updating files: 46% (2229/4803) Updating files: 46% (2232/4803) Updating files: 47% (2258/4803) Updating files: 48% (2306/4803) Updating files: 48% (2313/4803) Updating files: 49% (2354/4803) Updating files: 49% (2391/4803) Updating files: 50% (2402/4803) Updating files: 51% (2450/4803) Updating files: 52% (2498/4803) Updating files: 53% (2546/4803) Updating files: 54% (2594/4803) Updating files: 55% (2642/4803) Updating files: 56% (2690/4803) Updating files: 57% (2738/4803) Updating files: 57% (2744/4803) Updating files: 58% (2786/4803) Updating files: 59% (2834/4803) Updating files: 60% (2882/4803) Updating files: 61% (2930/4803) Updating files: 62% (2978/4803) Updating files: 63% (3026/4803) Updating files: 64% (3074/4803) Updating files: 65% (3122/4803) Updating files: 66% (3170/4803) Updating files: 67% (3219/4803) Updating files: 68% (3267/4803) Updating files: 69% (3315/4803) Updating files: 70% (3363/4803) Updating files: 71% (3411/4803) Updating files: 72% (3459/4803) Updating files: 73% (3507/4803) Updating files: 74% (3555/4803) Updating files: 75% (3603/4803) Updating files: 76% (3651/4803) Updating files: 76% (3675/4803) Updating files: 77% (3699/4803) Updating files: 78% (3747/4803) Updating files: 79% (3795/4803) Updating files: 80% (3843/4803) Updating files: 81% (3891/4803) Updating files: 82% (3939/4803) Updating files: 83% (3987/4803) Updating files: 84% (4035/4803) Updating files: 85% (4083/4803) Updating files: 86% (4131/4803) Updating files: 87% (4179/4803) Updating files: 88% (4227/4803) Updating files: 89% (4275/4803) Updating files: 90% (4323/4803) Updating files: 91% (4371/4803) Updating files: 92% (4419/4803) Updating files: 93% (4467/4803) Updating files: 93% (4483/4803) Updating files: 94% (4515/4803) Updating files: 95% (4563/4803) Updating files: 96% (4611/4803) Updating files: 97% (4659/4803) Updating files: 98% (4707/4803) Updating files: 99% (4755/4803) Updating files: 100% (4803/4803) Updating files: 100% (4803/4803), done. [INFO] started tweaking git repo https://github.com/0xnicholas/monoli-agent [INFO] finished tweaking git repo https://github.com/0xnicholas/monoli-agent [INFO] tweaked toml for git repo https://github.com/0xnicholas/monoli-agent written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/0xnicholas/monoli-agent on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/0xnicholas/monoli-agent 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-registry v0.6.1 [INFO] [stderr] Downloaded tokio-test v0.4.5 [INFO] [stderr] Downloaded tracing-appender v0.2.4 [INFO] [stderr] Downloaded system-configuration v0.7.0 [INFO] [stderr] Downloaded native-tls v0.2.18 [INFO] [stderr] Downloaded tokio-tungstenite v0.24.0 [INFO] [stderr] Downloaded rust-ini v0.20.0 [INFO] [stderr] Downloaded tungstenite v0.24.0 [INFO] [stderr] Downloaded config v0.14.1 [INFO] [stderr] Downloaded prometheus v0.13.4 [INFO] [stderr] Downloaded openssl-sys v0.9.112 [INFO] [stderr] Downloaded protobuf v2.28.0 [INFO] [stderr] Downloaded yaml-rust2 v0.8.1 [INFO] [stderr] Downloaded openssl v0.10.76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 751498b720f118983725ba74e1b3b1b4ef1b8199a3b3022bb6f380661d95829c [INFO] running `Command { std: "docker" "start" "-a" "751498b720f118983725ba74e1b3b1b4ef1b8199a3b3022bb6f380661d95829c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "751498b720f118983725ba74e1b3b1b4ef1b8199a3b3022bb6f380661d95829c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "751498b720f118983725ba74e1b3b1b4ef1b8199a3b3022bb6f380661d95829c", kill_on_drop: false }` [INFO] [stdout] 751498b720f118983725ba74e1b3b1b4ef1b8199a3b3022bb6f380661d95829c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d04bfcd278f04d25a687420979e4e2958e84697f26aa9b32deb1371601cc5da [INFO] running `Command { std: "docker" "start" "-a" "8d04bfcd278f04d25a687420979e4e2958e84697f26aa9b32deb1371601cc5da", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Compiling zerocopy v0.8.42 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling pest v2.8.6 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling uuid v1.22.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling pest_meta v2.8.6 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Compiling pest_derive v2.8.6 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking tracing-appender v0.2.4 [INFO] [stderr] Checking config v0.14.1 [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-test v0.4.5 [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 tower-http v0.5.2 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking monoli-agent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::models::ChatRequest` [INFO] [stdout] --> src/ws.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::models::ChatRequest; [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 imports: `Method` and `middleware::Next` [INFO] [stdout] --> src/rate_limit.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | http::{header, StatusCode, Method}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | middleware::Next, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::ChatRequest` [INFO] [stdout] --> src/ws.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::models::ChatRequest; [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 imports: `Method` and `middleware::Next` [INFO] [stdout] --> src/rate_limit.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | http::{header, StatusCode, Method}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | middleware::Next, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/backtest.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/backtest.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::config::StrategyConfig` [INFO] [stdout] --> src/strategy/scheduler.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::config::StrategyConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::config::StrategyConfig` [INFO] [stdout] --> src/strategy/scheduler.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::config::StrategyConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/auth.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | fn validate_token(token: &str) -> AuthContext { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/auth.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | fn validate_token(token: &str) -> AuthContext { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candle` [INFO] [stdout] --> src/backtest.rs:126:38 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn process_candle(&mut self, candle: &Candle) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_candle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candle` [INFO] [stdout] --> src/backtest.rs:126:38 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn process_candle(&mut self, candle: &Candle) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_candle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cache` is never read [INFO] [stdout] --> src/agent/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AgentService { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | cache: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentService` 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: fields `id` and `usage` are never read [INFO] [stdout] --> src/llm/mod.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct MiniMaxChatResponse { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 90 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 91 | choices: Vec, [INFO] [stdout] 92 | usage: MiniMaxUsage, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MiniMaxChatResponse` 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 `index` and `finish_reason` are never read [INFO] [stdout] --> src/llm/mod.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct MiniMaxChoice { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 98 | index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 99 | message: MiniMaxMessage, [INFO] [stdout] 100 | finish_reason: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MiniMaxChoice` 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 `prompt_tokens`, `completion_tokens`, and `total_tokens` are never read [INFO] [stdout] --> src/llm/mod.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 105 | struct MiniMaxUsage { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 106 | prompt_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 107 | completion_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | total_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MiniMaxUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `group_id` is never read [INFO] [stdout] --> src/llm/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct MiniMaxClient { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 113 | api_key: String, [INFO] [stdout] 114 | group_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoginResponse` is never constructed [INFO] [stdout] --> src/external/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct LoginResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthError` is never constructed [INFO] [stdout] --> src/auth.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | struct AuthError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/agent/mod.rs:52:61 [INFO] [stdout] | [INFO] [stdout] 52 | system_prompt: req.system_prompt.unwrap_or_else(|| default_system_prompt()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `default_system_prompt` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cache` is never read [INFO] [stdout] --> src/agent/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AgentService { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | cache: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentService` 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: fields `id` and `usage` are never read [INFO] [stdout] --> src/llm/mod.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct MiniMaxChatResponse { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 90 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 91 | choices: Vec, [INFO] [stdout] 92 | usage: MiniMaxUsage, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MiniMaxChatResponse` 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 `index` and `finish_reason` are never read [INFO] [stdout] --> src/llm/mod.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct MiniMaxChoice { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 98 | index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 99 | message: MiniMaxMessage, [INFO] [stdout] 100 | finish_reason: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MiniMaxChoice` 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 `prompt_tokens`, `completion_tokens`, and `total_tokens` are never read [INFO] [stdout] --> src/llm/mod.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 105 | struct MiniMaxUsage { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 106 | prompt_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 107 | completion_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | total_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MiniMaxUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `group_id` is never read [INFO] [stdout] --> src/llm/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct MiniMaxClient { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 113 | api_key: String, [INFO] [stdout] 114 | group_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoginResponse` is never constructed [INFO] [stdout] --> src/external/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct LoginResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthError` is never constructed [INFO] [stdout] --> src/auth.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | struct AuthError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/agent/mod.rs:52:61 [INFO] [stdout] | [INFO] [stdout] 52 | system_prompt: req.system_prompt.unwrap_or_else(|| default_system_prompt()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `default_system_prompt` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/agent/mod.rs:216:16 [INFO] [stdout] | [INFO] [stdout] 216 | } else if msg == "取消" || msg == "取消操作" || msg == "no" || msg == "cancel" { [INFO] [stdout] | ________________^ [INFO] [stdout] 217 | | if session.pending_confirmation.is_some() { [INFO] [stdout] 218 | | let response_text = "❌ 操作已取消。".to_string(); [INFO] [stdout] ... | [INFO] [stdout] 241 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 216 ~ } else if (msg == "取消" || msg == "取消操作" || msg == "no" || msg == "cancel") { [INFO] [stdout] 217 ~ && session.pending_confirmation.is_some() { [INFO] [stdout] 218 | let response_text = "❌ 操作已取消。".to_string(); [INFO] [stdout] ... [INFO] [stdout] 239 | return Ok((response_text, Some(session.id))); [INFO] [stdout] 240 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `AgentCache` [INFO] [stdout] --> src/agent/mod.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | / pub fn new() -> Self { [INFO] [stdout] 462 | | Self { [INFO] [stdout] 463 | | price: Arc::new(tokio::sync::RwLock::new(std::collections::HashMap::new())), [INFO] [stdout] 464 | | rate_limit: Arc::new(tokio::sync::RwLock::new(std::collections::HashMap::new())), [INFO] [stdout] 465 | | } [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 460 + impl Default for AgentCache { [INFO] [stdout] 461 + fn default() -> Self { [INFO] [stdout] 462 + Self::new() [INFO] [stdout] 463 + } [INFO] [stdout] 464 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/agent/mod.rs:216:16 [INFO] [stdout] | [INFO] [stdout] 216 | } else if msg == "取消" || msg == "取消操作" || msg == "no" || msg == "cancel" { [INFO] [stdout] | ________________^ [INFO] [stdout] 217 | | if session.pending_confirmation.is_some() { [INFO] [stdout] 218 | | let response_text = "❌ 操作已取消。".to_string(); [INFO] [stdout] ... | [INFO] [stdout] 241 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 216 ~ } else if (msg == "取消" || msg == "取消操作" || msg == "no" || msg == "cancel") { [INFO] [stdout] 217 ~ && session.pending_confirmation.is_some() { [INFO] [stdout] 218 | let response_text = "❌ 操作已取消。".to_string(); [INFO] [stdout] ... [INFO] [stdout] 239 | return Ok((response_text, Some(session.id))); [INFO] [stdout] 240 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `AgentCache` [INFO] [stdout] --> src/agent/mod.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | / pub fn new() -> Self { [INFO] [stdout] 462 | | Self { [INFO] [stdout] 463 | | price: Arc::new(tokio::sync::RwLock::new(std::collections::HashMap::new())), [INFO] [stdout] 464 | | rate_limit: Arc::new(tokio::sync::RwLock::new(std::collections::HashMap::new())), [INFO] [stdout] 465 | | } [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 460 + impl Default for AgentCache { [INFO] [stdout] 461 + fn default() -> Self { [INFO] [stdout] 462 + Self::new() [INFO] [stdout] 463 + } [INFO] [stdout] 464 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `&Box`. Consider using just `&T` [INFO] [stdout] --> src/skills/mod.rs:760:45 [INFO] [stdout] | [INFO] [stdout] 760 | pub fn get(&self, name: &str) -> Option<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&dyn SkillExecutor` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box [INFO] [stdout] = note: `#[warn(clippy::borrowed_box)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to use `&Box`. Consider using just `&T` [INFO] [stdout] --> src/skills/mod.rs:760:45 [INFO] [stdout] | [INFO] [stdout] 760 | pub fn get(&self, name: &str) -> Option<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&dyn SkillExecutor` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box [INFO] [stdout] = note: `#[warn(clippy::borrowed_box)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/metrics.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | pub static REGISTRY: Lazy = Lazy::new(|| Registry::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Registry::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/metrics.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | pub static REGISTRY: Lazy = Lazy::new(|| Registry::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Registry::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `SseState` [INFO] [stdout] --> src/sse.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / pub fn new() -> Self { [INFO] [stdout] 37 | | let (tx, _) = broadcast::channel(100); [INFO] [stdout] 38 | | Self { tx } [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 35 + impl Default for SseState { [INFO] [stdout] 36 + fn default() -> Self { [INFO] [stdout] 37 + Self::new() [INFO] [stdout] 38 + } [INFO] [stdout] 39 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `SseState` [INFO] [stdout] --> src/sse.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / pub fn new() -> Self { [INFO] [stdout] 37 | | let (tx, _) = broadcast::channel(100); [INFO] [stdout] 38 | | Self { tx } [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 35 + impl Default for SseState { [INFO] [stdout] 36 + fn default() -> Self { [INFO] [stdout] 37 + Self::new() [INFO] [stdout] 38 + } [INFO] [stdout] 39 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: stripping a prefix manually [INFO] [stdout] --> src/auth.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | let token = &auth[7..]; // Remove "Bearer " prefix [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the prefix was tested here [INFO] [stdout] --> src/auth.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | if auth.starts_with("Bearer ") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_strip [INFO] [stdout] = note: `#[warn(clippy::manual_strip)]` on by default [INFO] [stdout] help: try using the `strip_prefix` method [INFO] [stdout] | [INFO] [stdout] 71 ~ if let Some(token) = auth.strip_prefix("Bearer ") { [INFO] [stdout] 72 | // Extract token and validate [INFO] [stdout] 73 ~ // Remove "Bearer " prefix [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: stripping a prefix manually [INFO] [stdout] --> src/auth.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | let token = &auth[7..]; // Remove "Bearer " prefix [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the prefix was tested here [INFO] [stdout] --> src/auth.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | if auth.starts_with("Bearer ") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_strip [INFO] [stdout] = note: `#[warn(clippy::manual_strip)]` on by default [INFO] [stdout] help: try using the `strip_prefix` method [INFO] [stdout] | [INFO] [stdout] 71 ~ if let Some(token) = auth.strip_prefix("Bearer ") { [INFO] [stdout] 72 | // Extract token and validate [INFO] [stdout] 73 ~ // Remove "Bearer " prefix [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/grid_strategy.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / impl Default for GridStatus { [INFO] [stdout] 66 | | fn default() -> Self { [INFO] [stdout] 67 | | Self::Inactive [INFO] [stdout] 68 | | } [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 58 + #[derive(Default)] [INFO] [stdout] 59 | pub enum GridStatus { [INFO] [stdout] 60 ~ #[default] [INFO] [stdout] 61 ~ Inactive, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/grid_strategy.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / impl Default for GridStatus { [INFO] [stdout] 66 | | fn default() -> Self { [INFO] [stdout] 67 | | Self::Inactive [INFO] [stdout] 68 | | } [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 58 + #[derive(Default)] [INFO] [stdout] 59 | pub enum GridStatus { [INFO] [stdout] 60 ~ #[default] [INFO] [stdout] 61 ~ Inactive, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/arbitrage.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / impl Default for ArbitrageStatus { [INFO] [stdout] 89 | | fn default() -> Self { [INFO] [stdout] 90 | | Self::Inactive [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 82 + #[derive(Default)] [INFO] [stdout] 83 | pub enum ArbitrageStatus { [INFO] [stdout] 84 ~ #[default] [INFO] [stdout] 85 ~ Inactive, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/arbitrage.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / impl Default for ArbitrageStatus { [INFO] [stdout] 89 | | fn default() -> Self { [INFO] [stdout] 90 | | Self::Inactive [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 82 + #[derive(Default)] [INFO] [stdout] 83 | pub enum ArbitrageStatus { [INFO] [stdout] 84 ~ #[default] [INFO] [stdout] 85 ~ Inactive, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/notification.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / impl Default for TelegramConfig { [INFO] [stdout] 46 | | fn default() -> Self { [INFO] [stdout] 47 | | Self { [INFO] [stdout] 48 | | bot_token: String::new(), [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute [INFO] [stdout] | [INFO] [stdout] 39 + #[derive(Default)] [INFO] [stdout] 40 | pub struct TelegramConfig { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/notification.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / impl Default for TelegramConfig { [INFO] [stdout] 46 | | fn default() -> Self { [INFO] [stdout] 47 | | Self { [INFO] [stdout] 48 | | bot_token: String::new(), [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute [INFO] [stdout] | [INFO] [stdout] 39 + #[derive(Default)] [INFO] [stdout] 40 | pub struct TelegramConfig { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/backtest.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | / if pos.side != side { [INFO] [stdout] 139 | | // Closing position [INFO] [stdout] 140 | | let pnl = match pos.side { [INFO] [stdout] 141 | | PositionSide::Long => (price - pos.entry_price) * quantity, [INFO] [stdout] ... | [INFO] [stdout] 147 | | 0.0 [INFO] [stdout] 148 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] = note: `#[warn(clippy::collapsible_match)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 137 ~ Some(pos) [INFO] [stdout] 138 ~ if pos.side != side => { [INFO] [stdout] 139 | // Closing position [INFO] [stdout] ... [INFO] [stdout] 145 | pnl - commission [INFO] [stdout] 146 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/backtest.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | / if pos.side != side { [INFO] [stdout] 139 | | // Closing position [INFO] [stdout] 140 | | let pnl = match pos.side { [INFO] [stdout] 141 | | PositionSide::Long => (price - pos.entry_price) * quantity, [INFO] [stdout] ... | [INFO] [stdout] 147 | | 0.0 [INFO] [stdout] 148 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] = note: `#[warn(clippy::collapsible_match)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 137 ~ Some(pos) [INFO] [stdout] 138 ~ if pos.side != side => { [INFO] [stdout] 139 | // Closing position [INFO] [stdout] ... [INFO] [stdout] 145 | pnl - commission [INFO] [stdout] 146 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> src/strategy/manager.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | running.sort_by(|a, b| b.priority.cmp(&a.priority)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] = note: `#[warn(clippy::unnecessary_sort_by)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 141 - running.sort_by(|a, b| b.priority.cmp(&a.priority)); [INFO] [stdout] 141 + running.sort_by_key(|b| std::cmp::Reverse(b.priority)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/strategy/config.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / impl Default for StrategyType { [INFO] [stdout] 18 | | fn default() -> Self { [INFO] [stdout] 19 | | Self::Trend [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 9 + #[derive(Default)] [INFO] [stdout] 10 | pub enum StrategyType { [INFO] [stdout] 11 | Grid, // 网格策略 [INFO] [stdout] 12 | Arbitrage, // 套利策略 [INFO] [stdout] 13 ~ #[default] [INFO] [stdout] 14 ~ Trend, // 趋势策略 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/strategy/config.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / impl Default for StrategyStatus { [INFO] [stdout] 33 | | fn default() -> Self { [INFO] [stdout] 34 | | Self::Stopped [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 25 + #[derive(Default)] [INFO] [stdout] 26 | pub enum StrategyStatus { [INFO] [stdout] 27 ~ #[default] [INFO] [stdout] 28 ~ Stopped, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> src/strategy/manager.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | running.sort_by(|a, b| b.priority.cmp(&a.priority)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] = note: `#[warn(clippy::unnecessary_sort_by)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 141 - running.sort_by(|a, b| b.priority.cmp(&a.priority)); [INFO] [stdout] 141 + running.sort_by_key(|b| std::cmp::Reverse(b.priority)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/strategy/config.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / impl Default for StrategyType { [INFO] [stdout] 18 | | fn default() -> Self { [INFO] [stdout] 19 | | Self::Trend [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 9 + #[derive(Default)] [INFO] [stdout] 10 | pub enum StrategyType { [INFO] [stdout] 11 | Grid, // 网格策略 [INFO] [stdout] 12 | Arbitrage, // 套利策略 [INFO] [stdout] 13 ~ #[default] [INFO] [stdout] 14 ~ Trend, // 趋势策略 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/strategy/config.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / impl Default for StrategyStatus { [INFO] [stdout] 33 | | fn default() -> Self { [INFO] [stdout] 34 | | Self::Stopped [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 25 + #[derive(Default)] [INFO] [stdout] 26 | pub enum StrategyStatus { [INFO] [stdout] 27 ~ #[default] [INFO] [stdout] 28 ~ Stopped, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/risk/rule_engine.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / impl Default for RiskLevel { [INFO] [stdout] 17 | | fn default() -> Self { [INFO] [stdout] 18 | | Self::Low [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 9 + #[derive(Default)] [INFO] [stdout] 10 | pub enum RiskLevel { [INFO] [stdout] 11 ~ #[default] [INFO] [stdout] 12 ~ Low, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/strategy/config.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | assert_eq!(config.enabled, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] = note: `#[warn(clippy::bool_assert_comparison)]` on by default [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 120 - assert_eq!(config.enabled, true); [INFO] [stdout] 120 + assert!(config.enabled); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/risk/rule_engine.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / impl Default for RiskLevel { [INFO] [stdout] 17 | | fn default() -> Self { [INFO] [stdout] 18 | | Self::Low [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 9 + #[derive(Default)] [INFO] [stdout] 10 | pub enum RiskLevel { [INFO] [stdout] 11 ~ #[default] [INFO] [stdout] 12 ~ Low, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/auth.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | let valid_keys = vec![ [INFO] [stdout] | ______________________^ [INFO] [stdout] 50 | | "test-api-key", [INFO] [stdout] 51 | | "dev-api-key", [INFO] [stdout] 52 | | ]; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] = note: `#[warn(clippy::useless_vec)]` on by default [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 49 ~ let valid_keys = ["test-api-key", [INFO] [stdout] 50 ~ "dev-api-key"]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/auth.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | let valid_keys = vec![ [INFO] [stdout] | ______________________^ [INFO] [stdout] 50 | | "test-api-key", [INFO] [stdout] 51 | | "dev-api-key", [INFO] [stdout] 52 | | ]; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] = note: `#[warn(clippy::useless_vec)]` on by default [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 49 ~ let valid_keys = ["test-api-key", [INFO] [stdout] 50 ~ "dev-api-key"]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::time::Duration; [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: `self` [INFO] [stdout] --> src/main.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | rate_limit::{self, RateLimitState}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::time::Duration; [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: `self` [INFO] [stdout] --> src/main.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | rate_limit::{self, RateLimitState}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> tests/e2e_test.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | use reqwest; [INFO] [stdout] | ^^^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] = note: `#[warn(clippy::single_component_path_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AgentService`, `ChatRequest`, `CreateAgentRequest`, `LLMClient`, `MiniMaxClient`, and `PostgresAgentRepository` [INFO] [stdout] --> tests/integration_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | AgentService, CreateAgentRequest, ChatRequest, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 5 | SkillRegistry, PostgresAgentRepository, MiniMaxClient, LLMClient, [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: `uuid::Uuid` [INFO] [stdout] --> tests/integration_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field assignment outside of initializer for an instance created with Default::default() [INFO] [stdout] --> tests/coverage_tests.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | prefs.preferred_markets = vec!["BTC-PERP".to_string()]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: consider initializing the variable with `monoli_agent::UserPreferences { preferred_markets: vec!["BTC-PERP".to_string()], risk_tolerance: "moderate".to_string(), notification_enabled: true, ..Default::default() }` and removing relevant reassignments [INFO] [stdout] --> tests/coverage_tests.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let mut prefs = UserPreferences::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default [INFO] [stdout] = note: `#[warn(clippy::field_reassign_with_default)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agent_id` [INFO] [stdout] --> src/main.rs:240:11 [INFO] [stdout] | [INFO] [stdout] 240 | Path((agent_id, session_id)): Path<(String, String)>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_agent_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `true` [INFO] [stdout] --> tests/integration_test.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | assert!(true); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the assertion [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] = note: `#[warn(clippy::assertions_on_constants)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `true` [INFO] [stdout] --> tests/integration_test.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | assert!(true); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the assertion [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `true` [INFO] [stdout] --> tests/integration_test.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | assert!(true); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the assertion [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `true` [INFO] [stdout] --> tests/integration_test.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | assert!(true); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the assertion [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this assertion is always `true` [INFO] [stdout] --> tests/integration_test.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | assert!(true); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the assertion [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agent_id` [INFO] [stdout] --> src/main.rs:240:11 [INFO] [stdout] | [INFO] [stdout] 240 | Path((agent_id, session_id)): Path<(String, String)>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_agent_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> src/main.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 307 | let _registry = init_metrics(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] = note: `#[warn(clippy::let_unit_value)]` on by default [INFO] [stdout] help: omit the `let` binding [INFO] [stdout] | [INFO] [stdout] 307 - let _registry = init_metrics(); [INFO] [stdout] 307 + init_metrics(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this let-binding has unit value [INFO] [stdout] --> src/main.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 307 | let _registry = init_metrics(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stdout] = note: `#[warn(clippy::let_unit_value)]` on by default [INFO] [stdout] help: omit the `let` binding [INFO] [stdout] | [INFO] [stdout] 307 - let _registry = init_metrics(); [INFO] [stdout] 307 + init_metrics(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.18s [INFO] running `Command { std: "docker" "inspect" "8d04bfcd278f04d25a687420979e4e2958e84697f26aa9b32deb1371601cc5da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d04bfcd278f04d25a687420979e4e2958e84697f26aa9b32deb1371601cc5da", kill_on_drop: false }` [INFO] [stdout] 8d04bfcd278f04d25a687420979e4e2958e84697f26aa9b32deb1371601cc5da