[INFO] cloning repository https://github.com/Debens/accumulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Debens/accumulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDebens%2Faccumulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDebens%2Faccumulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac3f25b0fde028e015f267eb302c06cb28842b6f [INFO] checking Debens/accumulator/ac3f25b0fde028e015f267eb302c06cb28842b6f against master#59fd4ef94daa991e6797b5aa6127e824f3067def for pr-145108-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDebens%2Faccumulator" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Debens/accumulator [INFO] finished tweaking git repo https://github.com/Debens/accumulator [INFO] tweaked toml for git repo https://github.com/Debens/accumulator written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Debens/accumulator on toolchain 59fd4ef94daa991e6797b5aa6127e824f3067def [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+59fd4ef94daa991e6797b5aa6127e824f3067def" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Debens/accumulator 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" "+59fd4ef94daa991e6797b5aa6127e824f3067def" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-rustls v0.25.0 [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+59fd4ef94daa991e6797b5aa6127e824f3067def" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4095aed990912a1be8328c167f5fa28e73ba5fe8d8dac5b8a7939b9ab16eb5b7 [INFO] running `Command { std: "docker" "start" "-a" "4095aed990912a1be8328c167f5fa28e73ba5fe8d8dac5b8a7939b9ab16eb5b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4095aed990912a1be8328c167f5fa28e73ba5fe8d8dac5b8a7939b9ab16eb5b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4095aed990912a1be8328c167f5fa28e73ba5fe8d8dac5b8a7939b9ab16eb5b7", kill_on_drop: false }` [INFO] [stdout] 4095aed990912a1be8328c167f5fa28e73ba5fe8d8dac5b8a7939b9ab16eb5b7 [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+59fd4ef94daa991e6797b5aa6127e824f3067def" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc2426ebe48d9e965728ac1348b4a13b5b25dae43888944791c9b12395d4b4b5 [INFO] running `Command { std: "docker" "start" "-a" "fc2426ebe48d9e965728ac1348b4a13b5b25dae43888944791c9b12395d4b4b5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling cc v1.2.53 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling zmij v1.0.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking webpki-roots v1.0.5 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking ryu v1.0.22 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking clap_lex v0.7.7 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking clap_builder v4.5.54 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking clap v4.5.54 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking accumulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ExecutionVenue`, `ReportSender`, `dry_run::DryRunExecutionVenue`, `kraken_config::KrakenConfig`, and `kraken_venue::KrakenExecutionVenue` [INFO] [stdout] --> src/scenario/venues.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | execution::{ExecutionVenue, ReportSender, dry_run::DryRunExecutionVenue}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | kraken::{kraken_config::KrakenConfig, kraken_venue::KrakenExecutionVenue}, [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:42:56 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::scheduling::policies::min_interval_policy::{self, MinIntervalPolicy}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExecutionVenue`, `ReportSender`, `dry_run::DryRunExecutionVenue`, `kraken_config::KrakenConfig`, and `kraken_venue::KrakenExecutionVenue` [INFO] [stdout] --> src/scenario/venues.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | execution::{ExecutionVenue, ReportSender, dry_run::DryRunExecutionVenue}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | kraken::{kraken_config::KrakenConfig, kraken_venue::KrakenExecutionVenue}, [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:42:56 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::scheduling::policies::min_interval_policy::{self, MinIntervalPolicy}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_report` [INFO] [stdout] --> src/execution/dry_run.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | async fn spawn_reports(&self, on_report: ReportSender) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_report` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_report` [INFO] [stdout] --> src/execution/dry_run.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | async fn spawn_reports(&self, on_report: ReportSender) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_report` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instrument` [INFO] [stdout] --> src/execution/order_side_manager.rs:385:22 [INFO] [stdout] | [INFO] [stdout] 385 | fn generate_order_id(instrument: &Instrument, side: Side) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instrument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `side` [INFO] [stdout] --> src/execution/order_side_manager.rs:385:47 [INFO] [stdout] | [INFO] [stdout] 385 | fn generate_order_id(instrument: &Instrument, side: Side) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_side` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instrument` [INFO] [stdout] --> src/execution/order_side_manager.rs:385:22 [INFO] [stdout] | [INFO] [stdout] 385 | fn generate_order_id(instrument: &Instrument, side: Side) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instrument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `side` [INFO] [stdout] --> src/execution/order_side_manager.rs:385:47 [INFO] [stdout] | [INFO] [stdout] 385 | fn generate_order_id(instrument: &Instrument, side: Side) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_side` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instrument`, `quantity`, and `timestamp_ms` are never read [INFO] [stdout] --> src/events.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | Trade { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 6 | instrument: Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | price: Price, [INFO] [stdout] 8 | quantity: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | timestamp_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarketEvent` has derived impls for the traits `Clone` and `Debug`, but these are 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 `instrument` and `timestamp_ms` are never read [INFO] [stdout] --> src/events.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | TopOfBook { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 12 | instrument: Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | timestamp_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarketEvent` 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 `open_orders` is never used [INFO] [stdout] --> src/execution/mod.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait ExecutionVenue { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 24 | async fn execute(&self, actions: &[OrderAction]) -> Result<()>; [INFO] [stdout] 25 | async fn open_orders(&self, instrument: &Instrument) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_live_orders` is never used [INFO] [stdout] --> src/execution/order_manager.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl OrderManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn has_live_orders(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instrument` is never read [INFO] [stdout] --> src/execution/order_report.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | Placed { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 8 | order_id: String, [INFO] [stdout] 9 | instrument: Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instrument` is never read [INFO] [stdout] --> src/execution/order_report.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | Accepted { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 16 | order_id: String, [INFO] [stdout] 17 | instrument: Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderReport` 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: fields `instrument` and `reason` are never read [INFO] [stdout] --> src/execution/order_report.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | Rejected { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 24 | order_id: String, [INFO] [stdout] 25 | instrument: Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | side: Side, [INFO] [stdout] 27 | reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderReport` 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: fields `instrument` and `cum_quantity` are never read [INFO] [stdout] --> src/execution/order_report.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 30 | PartiallyFilled { [INFO] [stdout] | --------------- fields in this variant [INFO] [stdout] 31 | order_id: String, [INFO] [stdout] 32 | instrument: Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | cum_quantity: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderReport` 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: fields `instrument` and `cum_quantity` are never read [INFO] [stdout] --> src/execution/order_report.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | Filled { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 40 | order_id: String, [INFO] [stdout] 41 | instrument: Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | cum_quantity: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instrument` is never read [INFO] [stdout] --> src/execution/order_report.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 48 | Cancel { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 49 | order_id: String, [INFO] [stdout] 50 | instrument: Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instrument` is never read [INFO] [stdout] --> src/execution/order_report.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 54 | Cancelled { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 55 | order_id: String, [INFO] [stdout] 56 | instrument: Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderReport` 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: fields `order_id`, `instrument`, `side`, and `reason` are never read [INFO] [stdout] --> src/execution/order_report.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | CancelFailed { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 61 | order_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 62 | instrument: Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 63 | side: Side, [INFO] [stdout] | ^^^^ [INFO] [stdout] 64 | reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/execution/order_report.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | CancelledAll { [INFO] [stdout] | ------------ field in this variant [INFO] [stdout] 68 | count: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/execution/order_report.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | VenueError { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] 72 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderReport` 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 `state` is never used [INFO] [stdout] --> src/execution/order_side_manager.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl OrderSideManager { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 68 | pub fn state(&self) -> &OrderSideState { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `requested` is never read [INFO] [stdout] --> src/execution/types.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | Placing { order_id: String, requested: Quote }, [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `OrderSideState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `resting` is never read [INFO] [stdout] --> src/execution/types.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | Cancelling { order_id: String, resting: Quote }, [INFO] [stdout] | ---------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `OrderSideState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenOrder` is never constructed [INFO] [stdout] --> src/execution/types.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct OpenOrder { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `txid` and `descr` are never read [INFO] [stdout] --> src/kraken/kraken_client.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct AddOrderResult { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 207 | pub txid: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 208 | pub descr: AddOrderDescr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddOrderResult` 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 `order` is never read [INFO] [stdout] --> src/kraken/kraken_client.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct AddOrderDescr { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 213 | pub order: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddOrderDescr` 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 `spread` and `last_trade_price` are never used [INFO] [stdout] --> src/market/market_state.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl MarketState { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn spread(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn last_trade_price(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `half_spread` and `required` are never read [INFO] [stdout] --> src/risk/decision.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | InsufficientEdge { half_spread: f64, required: f64 }, [INFO] [stdout] | ---------------- ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RiskReason` 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: fields `side`, `exposure_quote`, and `max_exposure_in_quote` are never read [INFO] [stdout] --> src/risk/decision.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | ExposureLimit { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 32 | side: Side, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | exposure_quote: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 34 | max_exposure_in_quote: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RiskReason` 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: fields `asset`, `required`, and `available` are never read [INFO] [stdout] --> src/risk/decision.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | InsufficientInventory { [INFO] [stdout] | --------------------- fields in this variant [INFO] [stdout] 37 | asset: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | required: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | available: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RiskReason` 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 `name` is never used [INFO] [stdout] --> src/risk/engine.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait RiskCheck: Send + Sync { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 9 | fn name(&self) -> &'static str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `duration_since_last` is never read [INFO] [stdout] --> src/scheduling/types.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | TooSoon { duration_since_last: Duration }, [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SkipReason` 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: fields `best_bid` and `best_ask` are never read [INFO] [stdout] --> src/scheduling/types.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | NoMeaningfulChange { best_bid: f64, best_ask: f64 }, [INFO] [stdout] | ------------------ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SkipReason` 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: fields `start_hour` and `end_hour` are never read [INFO] [stdout] --> src/scheduling/types.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | OutOfTradingHours { start_hour: u8, end_hour: u8 }, [INFO] [stdout] | ----------------- ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SkipReason` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_exposure_in_quote` is never read [INFO] [stdout] --> src/strategy/strategies/trend_following.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct MakerOnlyTrendFollowingStrategy { [INFO] [stdout] | ------------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub max_exposure_in_quote: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MakerOnlyTrendFollowingStrategy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `mtm_quote`, and `exposure_quote` are never used [INFO] [stdout] --> src/types/inventory.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Inventory { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(base: f64, quote: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn mtm_quote(&self, mid: Price) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn exposure_quote(&self, mid: Price) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `none` is never used [INFO] [stdout] --> src/types/quote_target.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl QuoteTarget { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 10 | pub fn none() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `deviation_ticks` and `threshold_ticks` are never read [INFO] [stdout] --> src/types/quote_target.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | BelowEntryThreshold { [INFO] [stdout] | ------------------- fields in this variant [INFO] [stdout] 26 | deviation_ticks: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | threshold_ticks: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NoQuoteReason` 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: fields `slope_ticks` and `threshold_ticks` are never read [INFO] [stdout] --> src/types/quote_target.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | BelowTrendSlopeThreshold { [INFO] [stdout] | ------------------------ fields in this variant [INFO] [stdout] 30 | slope_ticks: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | threshold_ticks: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NoQuoteReason` 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: fields `instrument`, `quantity`, and `timestamp_ms` are never read [INFO] [stdout] --> src/events.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | Trade { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 6 | instrument: Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | price: Price, [INFO] [stdout] 8 | quantity: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | timestamp_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarketEvent` has derived impls for the traits `Clone` and `Debug`, but these are 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 `instrument` and `timestamp_ms` are never read [INFO] [stdout] --> src/events.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | TopOfBook { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 12 | instrument: Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | timestamp_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarketEvent` 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 `open_orders` is never used [INFO] [stdout] --> src/execution/mod.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait ExecutionVenue { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 24 | async fn execute(&self, actions: &[OrderAction]) -> Result<()>; [INFO] [stdout] 25 | async fn open_orders(&self, instrument: &Instrument) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_live_orders` is never used [INFO] [stdout] --> src/execution/order_manager.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl OrderManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn has_live_orders(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instrument` is never read [INFO] [stdout] --> src/execution/order_report.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | Placed { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 8 | order_id: String, [INFO] [stdout] 9 | instrument: Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instrument` is never read [INFO] [stdout] --> src/execution/order_report.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | Accepted { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 16 | order_id: String, [INFO] [stdout] 17 | instrument: Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderReport` 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: fields `instrument` and `reason` are never read [INFO] [stdout] --> src/execution/order_report.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | Rejected { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 24 | order_id: String, [INFO] [stdout] 25 | instrument: Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | side: Side, [INFO] [stdout] 27 | reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderReport` 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: fields `instrument` and `cum_quantity` are never read [INFO] [stdout] --> src/execution/order_report.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 30 | PartiallyFilled { [INFO] [stdout] | --------------- fields in this variant [INFO] [stdout] 31 | order_id: String, [INFO] [stdout] 32 | instrument: Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | cum_quantity: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderReport` 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: fields `instrument` and `cum_quantity` are never read [INFO] [stdout] --> src/execution/order_report.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | Filled { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 40 | order_id: String, [INFO] [stdout] 41 | instrument: Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | cum_quantity: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instrument` is never read [INFO] [stdout] --> src/execution/order_report.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 48 | Cancel { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 49 | order_id: String, [INFO] [stdout] 50 | instrument: Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instrument` is never read [INFO] [stdout] --> src/execution/order_report.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 54 | Cancelled { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 55 | order_id: String, [INFO] [stdout] 56 | instrument: Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderReport` 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: fields `order_id`, `instrument`, `side`, and `reason` are never read [INFO] [stdout] --> src/execution/order_report.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | CancelFailed { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 61 | order_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 62 | instrument: Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 63 | side: Side, [INFO] [stdout] | ^^^^ [INFO] [stdout] 64 | reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/execution/order_report.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | CancelledAll { [INFO] [stdout] | ------------ field in this variant [INFO] [stdout] 68 | count: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/execution/order_report.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | VenueError { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] 72 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderReport` 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 `state` is never used [INFO] [stdout] --> src/execution/order_side_manager.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl OrderSideManager { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 68 | pub fn state(&self) -> &OrderSideState { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `requested` is never read [INFO] [stdout] --> src/execution/types.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | Placing { order_id: String, requested: Quote }, [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `OrderSideState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `resting` is never read [INFO] [stdout] --> src/execution/types.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | Cancelling { order_id: String, resting: Quote }, [INFO] [stdout] | ---------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `OrderSideState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenOrder` is never constructed [INFO] [stdout] --> src/execution/types.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct OpenOrder { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `txid` and `descr` are never read [INFO] [stdout] --> src/kraken/kraken_client.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct AddOrderResult { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 207 | pub txid: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 208 | pub descr: AddOrderDescr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddOrderResult` 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 `order` is never read [INFO] [stdout] --> src/kraken/kraken_client.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct AddOrderDescr { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 213 | pub order: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddOrderDescr` 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 `spread` and `last_trade_price` are never used [INFO] [stdout] --> src/market/market_state.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl MarketState { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn spread(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn last_trade_price(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `half_spread` and `required` are never read [INFO] [stdout] --> src/risk/decision.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | InsufficientEdge { half_spread: f64, required: f64 }, [INFO] [stdout] | ---------------- ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RiskReason` 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: fields `side`, `exposure_quote`, and `max_exposure_in_quote` are never read [INFO] [stdout] --> src/risk/decision.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | ExposureLimit { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 32 | side: Side, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | exposure_quote: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 34 | max_exposure_in_quote: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RiskReason` 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: fields `asset`, `required`, and `available` are never read [INFO] [stdout] --> src/risk/decision.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | InsufficientInventory { [INFO] [stdout] | --------------------- fields in this variant [INFO] [stdout] 37 | asset: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | required: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | available: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RiskReason` 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 `name` is never used [INFO] [stdout] --> src/risk/engine.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait RiskCheck: Send + Sync { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 9 | fn name(&self) -> &'static str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `duration_since_last` is never read [INFO] [stdout] --> src/scheduling/types.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | TooSoon { duration_since_last: Duration }, [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SkipReason` 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: fields `best_bid` and `best_ask` are never read [INFO] [stdout] --> src/scheduling/types.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | NoMeaningfulChange { best_bid: f64, best_ask: f64 }, [INFO] [stdout] | ------------------ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SkipReason` 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: fields `start_hour` and `end_hour` are never read [INFO] [stdout] --> src/scheduling/types.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | OutOfTradingHours { start_hour: u8, end_hour: u8 }, [INFO] [stdout] | ----------------- ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SkipReason` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_exposure_in_quote` is never read [INFO] [stdout] --> src/strategy/strategies/trend_following.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct MakerOnlyTrendFollowingStrategy { [INFO] [stdout] | ------------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub max_exposure_in_quote: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MakerOnlyTrendFollowingStrategy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `mtm_quote`, and `exposure_quote` are never used [INFO] [stdout] --> src/types/inventory.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Inventory { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(base: f64, quote: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn mtm_quote(&self, mid: Price) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn exposure_quote(&self, mid: Price) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `none` is never used [INFO] [stdout] --> src/types/quote_target.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl QuoteTarget { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 10 | pub fn none() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `deviation_ticks` and `threshold_ticks` are never read [INFO] [stdout] --> src/types/quote_target.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | BelowEntryThreshold { [INFO] [stdout] | ------------------- fields in this variant [INFO] [stdout] 26 | deviation_ticks: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | threshold_ticks: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NoQuoteReason` 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: fields `slope_ticks` and `threshold_ticks` are never read [INFO] [stdout] --> src/types/quote_target.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | BelowTrendSlopeThreshold { [INFO] [stdout] | ------------------------ fields in this variant [INFO] [stdout] 30 | slope_ticks: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | threshold_ticks: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NoQuoteReason` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.88s [INFO] running `Command { std: "docker" "inspect" "fc2426ebe48d9e965728ac1348b4a13b5b25dae43888944791c9b12395d4b4b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc2426ebe48d9e965728ac1348b4a13b5b25dae43888944791c9b12395d4b4b5", kill_on_drop: false }` [INFO] [stdout] fc2426ebe48d9e965728ac1348b4a13b5b25dae43888944791c9b12395d4b4b5