[INFO] cloning repository https://github.com/rob-DEV/match-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rob-DEV/match-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frob-DEV%2Fmatch-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frob-DEV%2Fmatch-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9a5dc820ddc91b87d9ff65a5d58fc61b9c1aaf7 [INFO] checking rob-DEV/match-engine against master#518b428304e0008859cb1fd81d1ac20efb2a064a for pr-138961-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frob-DEV%2Fmatch-engine" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rob-DEV/match-engine [INFO] finished tweaking git repo https://github.com/rob-DEV/match-engine [INFO] tweaked toml for git repo https://github.com/rob-DEV/match-engine written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rob-DEV/match-engine on toolchain 518b428304e0008859cb1fd81d1ac20efb2a064a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+518b428304e0008859cb1fd81d1ac20efb2a064a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rob-DEV/match-engine 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" "+518b428304e0008859cb1fd81d1ac20efb2a064a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-tungstenite v0.28.0 [INFO] [stderr] Downloaded sqlx-rt v0.5.13 [INFO] [stderr] Downloaded rand_core v0.9.2 [INFO] [stderr] Downloaded fefix_derive v0.7.0 [INFO] [stderr] Downloaded atoi v0.4.0 [INFO] [stderr] Downloaded crc-catalog v1.1.1 [INFO] [stderr] Downloaded indoc v1.0.9 [INFO] [stderr] Downloaded crc v2.1.0 [INFO] [stderr] Downloaded roxmltree v0.14.1 [INFO] [stderr] Downloaded minstant v0.1.7 [INFO] [stderr] Downloaded tungstenite v0.28.0 [INFO] [stderr] Downloaded axum v0.8.7 [INFO] [stderr] Downloaded sqlx v0.5.13 [INFO] [stderr] Downloaded bitvec v0.18.5 [INFO] [stderr] Downloaded quick-xml v0.22.0 [INFO] [stderr] Downloaded cc v1.2.15 [INFO] [stderr] Downloaded sqlx-core v0.5.13 [INFO] [stderr] Downloaded hashlink v0.7.0 [INFO] [stderr] Downloaded sqlx-macros v0.5.13 [INFO] [stderr] Downloaded axum-core v0.5.5 [INFO] [stderr] Downloaded core_affinity v0.8.3 [INFO] [stderr] Downloaded serde_path_to_error v0.1.20 [INFO] [stderr] Downloaded fefix v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+518b428304e0008859cb1fd81d1ac20efb2a064a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5174cdd7dab6c20a71b54f20917cd591fcc5529f62c621afcbd4c11d5af25be2 [INFO] running `Command { std: "docker" "start" "-a" "5174cdd7dab6c20a71b54f20917cd591fcc5529f62c621afcbd4c11d5af25be2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5174cdd7dab6c20a71b54f20917cd591fcc5529f62c621afcbd4c11d5af25be2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5174cdd7dab6c20a71b54f20917cd591fcc5529f62c621afcbd4c11d5af25be2", kill_on_drop: false }` [INFO] [stdout] 5174cdd7dab6c20a71b54f20917cd591fcc5529f62c621afcbd4c11d5af25be2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+518b428304e0008859cb1fd81d1ac20efb2a064a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51beef0fb433022d7a60d38a8d5b38a56283dc357df472d41e89ce29b8f9e4b7 [INFO] running `Command { std: "docker" "start" "-a" "51beef0fb433022d7a60d38a8d5b38a56283dc357df472d41e89ce29b8f9e4b7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking rand_core v0.9.2 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling roxmltree v0.14.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling strum_macros v0.22.0 [INFO] [stderr] Checking minstant v0.1.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling strum v0.22.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling fefix v0.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking core_affinity v0.8.3 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking axum-core v0.5.5 [INFO] [stderr] Checking tungstenite v0.28.0 [INFO] [stderr] Checking bitvec v0.18.5 [INFO] [stderr] Compiling fefix_derive v0.7.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Checking recorder v0.1.0 (/opt/rustwide/workdir/recorder) [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking engine v0.1.0 (/opt/rustwide/workdir/engine) [INFO] [stdout] warning: unused import: `crate::algorithm::match_strategy::MatchStrategy` [INFO] [stdout] --> engine/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::algorithm::match_strategy::MatchStrategy; [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: `std::error::Error` [INFO] [stdout] --> engine/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::algorithm::match_strategy::MatchStrategy` [INFO] [stdout] --> engine/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::algorithm::match_strategy::MatchStrategy; [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: `std::error::Error` [INFO] [stdout] --> engine/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `num_executions` is assigned to, but never used [INFO] [stdout] --> engine/src/algorithm/pro_rata_match_strategy.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut num_executions: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_num_executions` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `book_side` [INFO] [stdout] --> engine/src/algorithm/pro_rata_match_strategy.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | let (book_side, opposite_book_side) = match order.side { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_book_side` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `num_executions` is never read [INFO] [stdout] --> engine/src/algorithm/pro_rata_match_strategy.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | num_executions += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cycles_per_second` is assigned to, but never used [INFO] [stdout] --> engine/src/engine/match_engine.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut cycles_per_second = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_cycles_per_second` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cycles_per_second` is never read [INFO] [stdout] --> engine/src/engine/match_engine.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | cycles_per_second += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cycles_per_second` is never read [INFO] [stdout] --> engine/src/engine/match_engine.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | cycles_per_second = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `adjust_qty`, `volume`, and `num_orders` are never used [INFO] [stdout] --> engine/src/book/price_level.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl PriceLevel { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> PriceLevel { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn adjust_qty(&mut self, qty: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn volume(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn num_orders(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `engine_config` and `shutdown` are never read [INFO] [stdout] --> engine/src/engine/match_server.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct MatchServer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 14 | engine_config: EngineConfig, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | shutdown: AtomicBool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instrument`, `instrument_id`, and `match_strategy` are never read [INFO] [stdout] --> engine/src/engine/engine_config.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct EngineConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub instrument: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub instrument_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub match_strategy: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EngineConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `num_executions` is assigned to, but never used [INFO] [stdout] --> engine/src/algorithm/pro_rata_match_strategy.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut num_executions: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_num_executions` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `book_side` [INFO] [stdout] --> engine/src/algorithm/pro_rata_match_strategy.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | let (book_side, opposite_book_side) = match order.side { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_book_side` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `num_executions` is never read [INFO] [stdout] --> engine/src/algorithm/pro_rata_match_strategy.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | num_executions += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cycles_per_second` is assigned to, but never used [INFO] [stdout] --> engine/src/engine/match_engine.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut cycles_per_second = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_cycles_per_second` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cycles_per_second` is never read [INFO] [stdout] --> engine/src/engine/match_engine.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | cycles_per_second += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cycles_per_second` is never read [INFO] [stdout] --> engine/src/engine/match_engine.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | cycles_per_second = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `adjust_qty`, `volume`, and `num_orders` are never used [INFO] [stdout] --> engine/src/book/price_level.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl PriceLevel { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> PriceLevel { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn adjust_qty(&mut self, qty: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn volume(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn num_orders(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `engine_config` and `shutdown` are never read [INFO] [stdout] --> engine/src/engine/match_server.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct MatchServer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 14 | engine_config: EngineConfig, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | shutdown: AtomicBool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instrument`, `instrument_id`, and `match_strategy` are never read [INFO] [stdout] --> engine/src/engine/engine_config.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct EngineConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub instrument: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub instrument_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub match_strategy: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EngineConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking tokio-tungstenite v0.28.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking hyper-util v0.1.18 [INFO] [stderr] Checking axum v0.8.7 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.5.13 [INFO] [stderr] Checking market-data v0.1.0 (/opt/rustwide/workdir/market-data) [INFO] [stderr] Checking oe-api v0.1.0 (/opt/rustwide/workdir/oe-api) [INFO] [stdout] warning: unused import: `common::types::order::TimeInForce` [INFO] [stdout] --> oe-api/src/api_spec/request.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use common::types::order::TimeInForce; [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: `tokio::sync::broadcast` [INFO] [stdout] --> oe-api/src/ws_client_stream.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::sync::broadcast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::response::IntoResponse` [INFO] [stdout] --> oe-api/src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> oe-api/src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::AsyncWriteExt` [INFO] [stdout] --> oe-api/src/main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::{io::AsyncWriteExt, sync::mpsc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::types::order::TimeInForce` [INFO] [stdout] --> oe-api/src/api_spec/request.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use common::types::order::TimeInForce; [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: `tokio::sync::broadcast` [INFO] [stdout] --> oe-api/src/ws_client_stream.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::sync::broadcast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::response::IntoResponse` [INFO] [stdout] --> oe-api/src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> oe-api/src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::AsyncWriteExt` [INFO] [stdout] --> oe-api/src/main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::{io::AsyncWriteExt, sync::mpsc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> market-data/src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::{Deserialize, Serialize}; [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: `Deserialize` and `Serialize` [INFO] [stdout] --> market-data/src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::{Deserialize, Serialize}; [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 variable: `socket` [INFO] [stdout] --> oe-api/src/ws_client_stream.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | ws.on_upgrade(move |socket| async move { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> oe-api/src/ws_client_stream.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | State(state): State>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_id` [INFO] [stdout] --> oe-api/src/ws_client_stream.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | client_id: axum::extract::Path, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connected_client_state` is never read [INFO] [stdout] --> oe-api/src/app_state.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 9 | pub tx_oe_api_queue: mpsc::Sender, [INFO] [stdout] 10 | pub connected_client_state: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> oe-api/src/ws_client_stream.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | ws.on_upgrade(move |socket| async move { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> oe-api/src/ws_client_stream.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | State(state): State>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_id` [INFO] [stdout] --> oe-api/src/ws_client_stream.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | client_id: axum::extract::Path, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connected_client_state` is never read [INFO] [stdout] --> oe-api/src/app_state.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 9 | pub tx_oe_api_queue: mpsc::Sender, [INFO] [stdout] 10 | pub connected_client_state: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `emit_l1`, `emit_l2`, `emit_recent_trades`, and `order_count` are never used [INFO] [stdout] --> market-data/src/market_data_book.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl MarketDataBook { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn emit_l1(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn emit_l2(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn emit_recent_trades(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn order_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> market-data/src/market_event.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl L1 { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 11 | pub fn default() -> L1 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> market-data/src/market_event.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl L2 { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 39 | pub fn default() -> L2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `emit_l1`, `emit_l2`, `emit_recent_trades`, and `order_count` are never used [INFO] [stdout] --> market-data/src/market_data_book.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl MarketDataBook { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn emit_l1(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn emit_l2(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn emit_recent_trades(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn order_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> market-data/src/market_event.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl L1 { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 11 | pub fn default() -> L1 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> market-data/src/market_event.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl L2 { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 39 | pub fn default() -> L2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sqlx-macros v0.5.13 [INFO] [stderr] Checking sqlx v0.5.13 [INFO] [stderr] Checking market-gateway v0.1.0 (/opt/rustwide/workdir/market-gateway) [INFO] [stderr] Checking oe-client v0.1.0 (/opt/rustwide/workdir/oe-client) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> market-gateway/src/client_state.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut engine_message_tx = inbound_engine_message_tx.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> market-gateway/src/process/engine_msg_out_receiver.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 24 | / loop { [INFO] [stdout] 25 | | let session_data = session_data_tx.clone(); [INFO] [stdout] 26 | | [INFO] [stdout] 27 | | if let Some(outbound_engine_message) = multicast_receiver.try_recv() { [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 85 | [INFO] [stdout] 86 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_addr` [INFO] [stdout] --> market-gateway/src/client_state.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | let (stream, client_addr) = connection; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> oe-client/src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mut count = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> oe-client/src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | count += 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> oe-client/src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut tcp_stream = TcpStream::connect("127.0.0.1:3001") [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> oe-client/src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mut count = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> oe-client/src/main.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | .map_err(|e| "Failed to connect to the market-gateway server") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MarketOrder` is never constructed [INFO] [stdout] --> market-gateway/src/message.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum GatewayMessage { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 5 | LimitOrder(OrderRequest), [INFO] [stdout] 6 | MarketOrder(OrderRequest), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fix_encoder` is never read [INFO] [stdout] --> market-gateway/src/parser.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MessageConverter { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 11 | fix_decoder: Decoder, [INFO] [stdout] 12 | fix_encoder: Encoder, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> oe-client/src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | count += 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> oe-client/src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut tcp_stream = TcpStream::connect("127.0.0.1:3001") [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> oe-client/src/main.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | .map_err(|e| "Failed to connect to the market-gateway server") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> market-gateway/src/client_state.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut engine_message_tx = inbound_engine_message_tx.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> market-gateway/src/process/engine_msg_out_receiver.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 24 | / loop { [INFO] [stdout] 25 | | let session_data = session_data_tx.clone(); [INFO] [stdout] 26 | | [INFO] [stdout] 27 | | if let Some(outbound_engine_message) = multicast_receiver.try_recv() { [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 85 | [INFO] [stdout] 86 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_addr` [INFO] [stdout] --> market-gateway/src/client_state.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | let (stream, client_addr) = connection; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MarketOrder` is never constructed [INFO] [stdout] --> market-gateway/src/message.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum GatewayMessage { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 5 | LimitOrder(OrderRequest), [INFO] [stdout] 6 | MarketOrder(OrderRequest), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fix_encoder` is never read [INFO] [stdout] --> market-gateway/src/parser.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MessageConverter { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 11 | fix_decoder: Decoder, [INFO] [stdout] 12 | fix_encoder: Encoder, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0, sqlx-core v0.5.13 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "51beef0fb433022d7a60d38a8d5b38a56283dc357df472d41e89ce29b8f9e4b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51beef0fb433022d7a60d38a8d5b38a56283dc357df472d41e89ce29b8f9e4b7", kill_on_drop: false }` [INFO] [stdout] 51beef0fb433022d7a60d38a8d5b38a56283dc357df472d41e89ce29b8f9e4b7