[INFO] fetching crate luminengine 0.2.3... [INFO] testing luminengine-0.2.3 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate luminengine 0.2.3 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate luminengine 0.2.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate luminengine 0.2.3 [INFO] tweaked toml for crates.io crate luminengine 0.2.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate luminengine 0.2.3 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate luminengine 0.2.3 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89dc22c0917f98dee0073cb6a8f8189c519439eec5ac30590af1645a7597d92a [INFO] running `Command { std: "docker" "start" "-a" "89dc22c0917f98dee0073cb6a8f8189c519439eec5ac30590af1645a7597d92a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89dc22c0917f98dee0073cb6a8f8189c519439eec5ac30590af1645a7597d92a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89dc22c0917f98dee0073cb6a8f8189c519439eec5ac30590af1645a7597d92a", kill_on_drop: false }` [INFO] [stdout] 89dc22c0917f98dee0073cb6a8f8189c519439eec5ac30590af1645a7597d92a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b960cccb20038bdb1128b38296f53fe1b8c8697338c7d065776ac65cb8a5ef18 [INFO] running `Command { std: "docker" "start" "-a" "b960cccb20038bdb1128b38296f53fe1b8c8697338c7d065776ac65cb8a5ef18", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling atomic-plus v0.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling luminengine v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/orderbook/mod.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::{Duration, Instant}; [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: `current_qty` [INFO] [stdout] --> src/matcher/iceberg.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let current_qty = order.quantity.load(Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_qty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guard` [INFO] [stdout] --> src/matcher/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let guard = &epoch::pin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `processed_count` is assigned to, but never used [INFO] [stdout] --> src/orderbook/mod.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | let mut processed_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_processed_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `processed_count` is never read [INFO] [stdout] --> src/orderbook/mod.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | ... processed_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: unused variable: `i` [INFO] [stdout] --> src/orderbook/mod.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | for i in 0..num_processors { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_bid` [INFO] [stdout] --> src/orderbook/mod.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | is_bid: bool, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_bid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `OrderHandler::add_order` [INFO] [stdout] --> src/matcher/mod.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | / fn add_order( [INFO] [stdout] 110 | | &self, [INFO] [stdout] 111 | | order: Arc, [INFO] [stdout] 112 | | price: u64, [INFO] [stdout] 113 | | is_bid: bool, [INFO] [stdout] 114 | | engine: &MatchEngine, [INFO] [stdout] 115 | | ) -> Result<(), String>; [INFO] [stdout] | |____________________________^ method `OrderHandler::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `OrderHandler::process_matching` [INFO] [stdout] --> src/matcher/mod.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / fn process_matching( [INFO] [stdout] 119 | | &self, [INFO] [stdout] 120 | | engine: &MatchEngine, [INFO] [stdout] 121 | | bids: &OrderTree, [INFO] [stdout] 122 | | asks: &OrderTree, [INFO] [stdout] 123 | | symbol: &Arc, [INFO] [stdout] 124 | | ) -> Result<(), String>; [INFO] [stdout] | |____________________________^ method `OrderHandler::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PriceLevelMatcher` is more private than the item `MatchEngine::get_price_matchers` [INFO] [stdout] --> src/matcher/mod.rs:564:5 [INFO] [stdout] | [INFO] [stdout] 564 | / pub fn get_price_matchers( [INFO] [stdout] 565 | | &self, [INFO] [stdout] 566 | | ) -> parking_lot::RwLockReadGuard> { [INFO] [stdout] | |______________________________________________________________________^ method `MatchEngine::get_price_matchers` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `PriceLevelMatcher` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/matcher/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | struct PriceLevelMatcher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/day.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / fn add_order( [INFO] [stdout] 13 | | &self, [INFO] [stdout] 14 | | order: Arc, [INFO] [stdout] 15 | | price: u64, [INFO] [stdout] 16 | | is_bid: bool, [INFO] [stdout] 17 | | engine: &MatchEngine, [INFO] [stdout] 18 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/day.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / fn process_matching( [INFO] [stdout] 31 | | &self, [INFO] [stdout] 32 | | engine: &MatchEngine, [INFO] [stdout] 33 | | bids: &OrderTree, [INFO] [stdout] 34 | | asks: &OrderTree, [INFO] [stdout] 35 | | symbol: &Arc, [INFO] [stdout] 36 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/gtc.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / fn add_order( [INFO] [stdout] 14 | | &self, [INFO] [stdout] 15 | | order: Arc, [INFO] [stdout] 16 | | price: u64, [INFO] [stdout] 17 | | is_bid: bool, [INFO] [stdout] 18 | | engine: &MatchEngine, [INFO] [stdout] 19 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/gtc.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / fn process_matching( [INFO] [stdout] 28 | | &self, [INFO] [stdout] 29 | | engine: &MatchEngine, [INFO] [stdout] 30 | | bids: &OrderTree, [INFO] [stdout] 31 | | asks: &OrderTree, [INFO] [stdout] 32 | | symbol: &Arc, [INFO] [stdout] 33 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/iceberg.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / fn add_order( [INFO] [stdout] 16 | | &self, [INFO] [stdout] 17 | | order: Arc, [INFO] [stdout] 18 | | price: u64, [INFO] [stdout] 19 | | is_bid: bool, [INFO] [stdout] 20 | | engine: &MatchEngine, [INFO] [stdout] 21 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/iceberg.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / fn process_matching( [INFO] [stdout] 39 | | &self, [INFO] [stdout] 40 | | engine: &MatchEngine, [INFO] [stdout] 41 | | bids: &OrderTree, [INFO] [stdout] 42 | | asks: &OrderTree, [INFO] [stdout] 43 | | symbol: &Arc, [INFO] [stdout] 44 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/ioc_fok.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / fn add_order( [INFO] [stdout] 16 | | &self, [INFO] [stdout] 17 | | order: Arc, [INFO] [stdout] 18 | | _price: u64, [INFO] [stdout] 19 | | _is_bid: bool, [INFO] [stdout] 20 | | engine: &MatchEngine, [INFO] [stdout] 21 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/ioc_fok.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / fn process_matching( [INFO] [stdout] 28 | | &self, [INFO] [stdout] 29 | | engine: &MatchEngine, [INFO] [stdout] 30 | | bids: &OrderTree, [INFO] [stdout] 31 | | asks: &OrderTree, [INFO] [stdout] 32 | | symbol: &Arc, [INFO] [stdout] 33 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/limit.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / fn add_order( [INFO] [stdout] 16 | | &self, [INFO] [stdout] 17 | | order: Arc, [INFO] [stdout] 18 | | price: u64, [INFO] [stdout] 19 | | is_bid: bool, [INFO] [stdout] 20 | | engine: &MatchEngine, [INFO] [stdout] 21 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/limit.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / fn process_matching( [INFO] [stdout] 31 | | &self, [INFO] [stdout] 32 | | engine: &MatchEngine, [INFO] [stdout] 33 | | bids: &OrderTree, [INFO] [stdout] 34 | | asks: &OrderTree, [INFO] [stdout] 35 | | symbol: &Arc, [INFO] [stdout] 36 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `LimitOrderHandler::execute_match` [INFO] [stdout] --> src/matcher/limit.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | / pub fn execute_match( [INFO] [stdout] 185 | | &self, [INFO] [stdout] 186 | | engine: &MatchEngine, [INFO] [stdout] 187 | | aggressive: &Arc, [INFO] [stdout] ... | [INFO] [stdout] 194 | | is_cross: bool, [INFO] [stdout] 195 | | ) { [INFO] [stdout] | |_____^ method `LimitOrderHandler::execute_match` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `LimitOrderHandler::execute_cross_matching` [INFO] [stdout] --> src/matcher/limit.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | / pub fn execute_cross_matching( [INFO] [stdout] 246 | | &self, [INFO] [stdout] 247 | | engine: &MatchEngine, [INFO] [stdout] 248 | | bids: &OrderTree, [INFO] [stdout] ... | [INFO] [stdout] 252 | | best_ask: u64, [INFO] [stdout] 253 | | ) { [INFO] [stdout] | |_____^ method `LimitOrderHandler::execute_cross_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/market.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / fn add_order( [INFO] [stdout] 17 | | &self, [INFO] [stdout] 18 | | order: Arc, [INFO] [stdout] 19 | | _price: u64, [INFO] [stdout] 20 | | _is_bid: bool, [INFO] [stdout] 21 | | engine: &MatchEngine, [INFO] [stdout] 22 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/market.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / fn process_matching( [INFO] [stdout] 29 | | &self, [INFO] [stdout] 30 | | engine: &MatchEngine, [INFO] [stdout] 31 | | bids: &OrderTree, [INFO] [stdout] 32 | | asks: &OrderTree, [INFO] [stdout] 33 | | symbol: &Arc, [INFO] [stdout] 34 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/stop.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / fn add_order( [INFO] [stdout] 14 | | &self, [INFO] [stdout] 15 | | order: Arc, [INFO] [stdout] 16 | | _price: u64, [INFO] [stdout] 17 | | _is_bid: bool, [INFO] [stdout] 18 | | engine: &MatchEngine, [INFO] [stdout] 19 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/stop.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / fn process_matching( [INFO] [stdout] 26 | | &self, [INFO] [stdout] 27 | | engine: &MatchEngine, [INFO] [stdout] 28 | | bids: &OrderTree, [INFO] [stdout] 29 | | asks: &OrderTree, [INFO] [stdout] 30 | | symbol: &Arc, [INFO] [stdout] 31 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/stop_limit.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / fn add_order( [INFO] [stdout] 14 | | &self, [INFO] [stdout] 15 | | order: Arc, [INFO] [stdout] 16 | | _price: u64, [INFO] [stdout] 17 | | _is_bid: bool, [INFO] [stdout] 18 | | engine: &MatchEngine, [INFO] [stdout] 19 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/stop_limit.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / fn process_matching( [INFO] [stdout] 26 | | &self, [INFO] [stdout] 27 | | engine: &MatchEngine, [INFO] [stdout] 28 | | bids: &OrderTree, [INFO] [stdout] 29 | | asks: &OrderTree, [INFO] [stdout] 30 | | symbol: &Arc, [INFO] [stdout] 31 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `price` and `last_match_time` are never read [INFO] [stdout] --> src/matcher/mod.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 222 | struct PriceLevelMatcher { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 223 | price: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | last_match_time: Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PriceLevelMatcher` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/matcher/mod.rs:416:12 [INFO] [stdout] | [INFO] [stdout] 269 | impl MatchEngine { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 416 | pub fn execute_single_match( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | pub fn process_order(&self, order: Arc) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 527 | pub fn get_pending_limit_orders(&self) -> parking_lot::MutexGuard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn get_market_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | pub fn get_stop_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 542 | pub fn get_stop_limit_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 547 | pub fn get_immediate_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 552 | pub fn get_iceberg_orders( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 559 | pub fn get_day_orders(&self) -> parking_lot::MutexGuard> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 564 | pub fn get_price_matchers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 571 | pub fn is_running(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 576 | pub fn get_stats_ref(&self) -> &MatchStats { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_iceberg_order` is never used [INFO] [stdout] --> src/matcher/iceberg.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl IcebergOrderHandler { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | fn update_iceberg_order(&self, engine: &MatchEngine, order: &Arc, matched_qty: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:527:37 [INFO] [stdout] | [INFO] [stdout] 527 | pub fn get_pending_limit_orders(&self) -> parking_lot::MutexGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 527 | pub fn get_pending_limit_orders(&self) -> parking_lot::MutexGuard<'_, VecDeque> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:532:35 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn get_market_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 532 | pub fn get_market_order_queue(&self) -> parking_lot::MutexGuard<'_, VecDeque>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:537:33 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn get_stop_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 537 | pub fn get_stop_order_queue(&self) -> parking_lot::MutexGuard<'_, VecDeque>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:542:39 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn get_stop_limit_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 542 | pub fn get_stop_limit_order_queue(&self) -> parking_lot::MutexGuard<'_, VecDeque>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:547:38 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn get_immediate_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 547 | pub fn get_immediate_order_queue(&self) -> parking_lot::MutexGuard<'_, Vec>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 554 | ) -> parking_lot::MutexGuard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 554 | ) -> parking_lot::MutexGuard<'_, HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:559:27 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn get_day_orders(&self) -> parking_lot::MutexGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 559 | pub fn get_day_orders(&self) -> parking_lot::MutexGuard<'_, HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:565:9 [INFO] [stdout] | [INFO] [stdout] 565 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 566 | ) -> parking_lot::RwLockReadGuard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 566 | ) -> parking_lot::RwLockReadGuard<'_, HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.68s [INFO] running `Command { std: "docker" "inspect" "b960cccb20038bdb1128b38296f53fe1b8c8697338c7d065776ac65cb8a5ef18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b960cccb20038bdb1128b38296f53fe1b8c8697338c7d065776ac65cb8a5ef18", kill_on_drop: false }` [INFO] [stdout] b960cccb20038bdb1128b38296f53fe1b8c8697338c7d065776ac65cb8a5ef18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 811fe09de399cfa1728ca4c628833de7402973de8b3ad471aa35ec1b5b83ad38 [INFO] running `Command { std: "docker" "start" "-a" "811fe09de399cfa1728ca4c628833de7402973de8b3ad471aa35ec1b5b83ad38", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/orderbook/mod.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::{Duration, Instant}; [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: `current_qty` [INFO] [stdout] --> src/matcher/iceberg.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let current_qty = order.quantity.load(Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_qty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guard` [INFO] [stdout] --> src/matcher/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let guard = &epoch::pin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `processed_count` is assigned to, but never used [INFO] [stdout] --> src/orderbook/mod.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | let mut processed_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_processed_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `processed_count` is never read [INFO] [stdout] --> src/orderbook/mod.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | ... processed_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: unused variable: `i` [INFO] [stdout] --> src/orderbook/mod.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | for i in 0..num_processors { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_bid` [INFO] [stdout] --> src/orderbook/mod.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | is_bid: bool, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_bid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `OrderHandler::add_order` [INFO] [stdout] --> src/matcher/mod.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | / fn add_order( [INFO] [stdout] 110 | | &self, [INFO] [stdout] 111 | | order: Arc, [INFO] [stdout] 112 | | price: u64, [INFO] [stdout] 113 | | is_bid: bool, [INFO] [stdout] 114 | | engine: &MatchEngine, [INFO] [stdout] 115 | | ) -> Result<(), String>; [INFO] [stdout] | |____________________________^ method `OrderHandler::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `OrderHandler::process_matching` [INFO] [stdout] --> src/matcher/mod.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / fn process_matching( [INFO] [stdout] 119 | | &self, [INFO] [stdout] 120 | | engine: &MatchEngine, [INFO] [stdout] 121 | | bids: &OrderTree, [INFO] [stdout] 122 | | asks: &OrderTree, [INFO] [stdout] 123 | | symbol: &Arc, [INFO] [stdout] 124 | | ) -> Result<(), String>; [INFO] [stdout] | |____________________________^ method `OrderHandler::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PriceLevelMatcher` is more private than the item `MatchEngine::get_price_matchers` [INFO] [stdout] --> src/matcher/mod.rs:564:5 [INFO] [stdout] | [INFO] [stdout] 564 | / pub fn get_price_matchers( [INFO] [stdout] 565 | | &self, [INFO] [stdout] 566 | | ) -> parking_lot::RwLockReadGuard> { [INFO] [stdout] | |______________________________________________________________________^ method `MatchEngine::get_price_matchers` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `PriceLevelMatcher` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/matcher/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | struct PriceLevelMatcher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/day.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / fn add_order( [INFO] [stdout] 13 | | &self, [INFO] [stdout] 14 | | order: Arc, [INFO] [stdout] 15 | | price: u64, [INFO] [stdout] 16 | | is_bid: bool, [INFO] [stdout] 17 | | engine: &MatchEngine, [INFO] [stdout] 18 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/day.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / fn process_matching( [INFO] [stdout] 31 | | &self, [INFO] [stdout] 32 | | engine: &MatchEngine, [INFO] [stdout] 33 | | bids: &OrderTree, [INFO] [stdout] 34 | | asks: &OrderTree, [INFO] [stdout] 35 | | symbol: &Arc, [INFO] [stdout] 36 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/gtc.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / fn add_order( [INFO] [stdout] 14 | | &self, [INFO] [stdout] 15 | | order: Arc, [INFO] [stdout] 16 | | price: u64, [INFO] [stdout] 17 | | is_bid: bool, [INFO] [stdout] 18 | | engine: &MatchEngine, [INFO] [stdout] 19 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/gtc.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / fn process_matching( [INFO] [stdout] 28 | | &self, [INFO] [stdout] 29 | | engine: &MatchEngine, [INFO] [stdout] 30 | | bids: &OrderTree, [INFO] [stdout] 31 | | asks: &OrderTree, [INFO] [stdout] 32 | | symbol: &Arc, [INFO] [stdout] 33 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/iceberg.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / fn add_order( [INFO] [stdout] 16 | | &self, [INFO] [stdout] 17 | | order: Arc, [INFO] [stdout] 18 | | price: u64, [INFO] [stdout] 19 | | is_bid: bool, [INFO] [stdout] 20 | | engine: &MatchEngine, [INFO] [stdout] 21 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/iceberg.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / fn process_matching( [INFO] [stdout] 39 | | &self, [INFO] [stdout] 40 | | engine: &MatchEngine, [INFO] [stdout] 41 | | bids: &OrderTree, [INFO] [stdout] 42 | | asks: &OrderTree, [INFO] [stdout] 43 | | symbol: &Arc, [INFO] [stdout] 44 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/ioc_fok.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / fn add_order( [INFO] [stdout] 16 | | &self, [INFO] [stdout] 17 | | order: Arc, [INFO] [stdout] 18 | | _price: u64, [INFO] [stdout] 19 | | _is_bid: bool, [INFO] [stdout] 20 | | engine: &MatchEngine, [INFO] [stdout] 21 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/ioc_fok.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / fn process_matching( [INFO] [stdout] 28 | | &self, [INFO] [stdout] 29 | | engine: &MatchEngine, [INFO] [stdout] 30 | | bids: &OrderTree, [INFO] [stdout] 31 | | asks: &OrderTree, [INFO] [stdout] 32 | | symbol: &Arc, [INFO] [stdout] 33 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/limit.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / fn add_order( [INFO] [stdout] 16 | | &self, [INFO] [stdout] 17 | | order: Arc, [INFO] [stdout] 18 | | price: u64, [INFO] [stdout] 19 | | is_bid: bool, [INFO] [stdout] 20 | | engine: &MatchEngine, [INFO] [stdout] 21 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/limit.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / fn process_matching( [INFO] [stdout] 31 | | &self, [INFO] [stdout] 32 | | engine: &MatchEngine, [INFO] [stdout] 33 | | bids: &OrderTree, [INFO] [stdout] 34 | | asks: &OrderTree, [INFO] [stdout] 35 | | symbol: &Arc, [INFO] [stdout] 36 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `LimitOrderHandler::execute_match` [INFO] [stdout] --> src/matcher/limit.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | / pub fn execute_match( [INFO] [stdout] 185 | | &self, [INFO] [stdout] 186 | | engine: &MatchEngine, [INFO] [stdout] 187 | | aggressive: &Arc, [INFO] [stdout] ... | [INFO] [stdout] 194 | | is_cross: bool, [INFO] [stdout] 195 | | ) { [INFO] [stdout] | |_____^ method `LimitOrderHandler::execute_match` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `LimitOrderHandler::execute_cross_matching` [INFO] [stdout] --> src/matcher/limit.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | / pub fn execute_cross_matching( [INFO] [stdout] 246 | | &self, [INFO] [stdout] 247 | | engine: &MatchEngine, [INFO] [stdout] 248 | | bids: &OrderTree, [INFO] [stdout] ... | [INFO] [stdout] 252 | | best_ask: u64, [INFO] [stdout] 253 | | ) { [INFO] [stdout] | |_____^ method `LimitOrderHandler::execute_cross_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/market.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / fn add_order( [INFO] [stdout] 17 | | &self, [INFO] [stdout] 18 | | order: Arc, [INFO] [stdout] 19 | | _price: u64, [INFO] [stdout] 20 | | _is_bid: bool, [INFO] [stdout] 21 | | engine: &MatchEngine, [INFO] [stdout] 22 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/market.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / fn process_matching( [INFO] [stdout] 29 | | &self, [INFO] [stdout] 30 | | engine: &MatchEngine, [INFO] [stdout] 31 | | bids: &OrderTree, [INFO] [stdout] 32 | | asks: &OrderTree, [INFO] [stdout] 33 | | symbol: &Arc, [INFO] [stdout] 34 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/stop.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / fn add_order( [INFO] [stdout] 14 | | &self, [INFO] [stdout] 15 | | order: Arc, [INFO] [stdout] 16 | | _price: u64, [INFO] [stdout] 17 | | _is_bid: bool, [INFO] [stdout] 18 | | engine: &MatchEngine, [INFO] [stdout] 19 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/stop.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / fn process_matching( [INFO] [stdout] 26 | | &self, [INFO] [stdout] 27 | | engine: &MatchEngine, [INFO] [stdout] 28 | | bids: &OrderTree, [INFO] [stdout] 29 | | asks: &OrderTree, [INFO] [stdout] 30 | | symbol: &Arc, [INFO] [stdout] 31 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/stop_limit.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / fn add_order( [INFO] [stdout] 14 | | &self, [INFO] [stdout] 15 | | order: Arc, [INFO] [stdout] 16 | | _price: u64, [INFO] [stdout] 17 | | _is_bid: bool, [INFO] [stdout] 18 | | engine: &MatchEngine, [INFO] [stdout] 19 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/stop_limit.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / fn process_matching( [INFO] [stdout] 26 | | &self, [INFO] [stdout] 27 | | engine: &MatchEngine, [INFO] [stdout] 28 | | bids: &OrderTree, [INFO] [stdout] 29 | | asks: &OrderTree, [INFO] [stdout] 30 | | symbol: &Arc, [INFO] [stdout] 31 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `price` and `last_match_time` are never read [INFO] [stdout] --> src/matcher/mod.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 222 | struct PriceLevelMatcher { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 223 | price: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | last_match_time: Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PriceLevelMatcher` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/matcher/mod.rs:416:12 [INFO] [stdout] | [INFO] [stdout] 269 | impl MatchEngine { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 416 | pub fn execute_single_match( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | pub fn process_order(&self, order: Arc) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 527 | pub fn get_pending_limit_orders(&self) -> parking_lot::MutexGuard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn get_market_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | pub fn get_stop_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 542 | pub fn get_stop_limit_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 547 | pub fn get_immediate_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 552 | pub fn get_iceberg_orders( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 559 | pub fn get_day_orders(&self) -> parking_lot::MutexGuard> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 564 | pub fn get_price_matchers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 571 | pub fn is_running(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 576 | pub fn get_stats_ref(&self) -> &MatchStats { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_iceberg_order` is never used [INFO] [stdout] --> src/matcher/iceberg.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl IcebergOrderHandler { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | fn update_iceberg_order(&self, engine: &MatchEngine, order: &Arc, matched_qty: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:527:37 [INFO] [stdout] | [INFO] [stdout] 527 | pub fn get_pending_limit_orders(&self) -> parking_lot::MutexGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 527 | pub fn get_pending_limit_orders(&self) -> parking_lot::MutexGuard<'_, VecDeque> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:532:35 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn get_market_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 532 | pub fn get_market_order_queue(&self) -> parking_lot::MutexGuard<'_, VecDeque>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:537:33 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn get_stop_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 537 | pub fn get_stop_order_queue(&self) -> parking_lot::MutexGuard<'_, VecDeque>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:542:39 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn get_stop_limit_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 542 | pub fn get_stop_limit_order_queue(&self) -> parking_lot::MutexGuard<'_, VecDeque>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:547:38 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn get_immediate_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 547 | pub fn get_immediate_order_queue(&self) -> parking_lot::MutexGuard<'_, Vec>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling luminengine v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 554 | ) -> parking_lot::MutexGuard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 554 | ) -> parking_lot::MutexGuard<'_, HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:559:27 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn get_day_orders(&self) -> parking_lot::MutexGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 559 | pub fn get_day_orders(&self) -> parking_lot::MutexGuard<'_, HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:565:9 [INFO] [stdout] | [INFO] [stdout] 565 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 566 | ) -> parking_lot::RwLockReadGuard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 566 | ) -> parking_lot::RwLockReadGuard<'_, HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tests/order_test_2.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tests/basic_test.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tests/order_test_1.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> tests/basic_test.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::{Rng, thread_rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> tests/basic_test.rs:162:31 [INFO] [stdout] | [INFO] [stdout] 162 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> tests/basic_test.rs:390:31 [INFO] [stdout] | [INFO] [stdout] 390 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> tests/basic_test.rs:417:31 [INFO] [stdout] | [INFO] [stdout] 417 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> tests/order_test_2.rs:234:48 [INFO] [stdout] | [INFO] [stdout] 234 | let order_type = match rng.gen_range(0..100) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> tests/order_test_2.rs:246:44 [INFO] [stdout] | [INFO] [stdout] 246 | let direction = if rng.gen_bool(0.5) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> tests/order_test_2.rs:255:29 [INFO] [stdout] | [INFO] [stdout] 255 | rng.gen_range(100.0..200.0) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> tests/order_test_2.rs:258:40 [INFO] [stdout] | [INFO] [stdout] 258 | let quantity = rng.gen_range(1.0..1000.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stdout] --> tests/basic_test.rs:171:44 [INFO] [stdout] | [INFO] [stdout] 171 | let direction = if rng.gen_bool(0.5) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> tests/basic_test.rs:179:29 [INFO] [stdout] | [INFO] [stdout] 179 | rng.gen_range(45000.0..45500.0) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> tests/basic_test.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | rng.gen_range(45600.0..46000.0) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> tests/basic_test.rs:184:40 [INFO] [stdout] | [INFO] [stdout] 184 | let quantity = rng.gen_range(0.1..5.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> tests/basic_test.rs:393:37 [INFO] [stdout] | [INFO] [stdout] 393 | let price = rng.gen_range(45000.0..45200.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> tests/basic_test.rs:394:40 [INFO] [stdout] | [INFO] [stdout] 394 | let quantity = rng.gen_range(0.1..5.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> tests/basic_test.rs:420:37 [INFO] [stdout] | [INFO] [stdout] 420 | let price = rng.gen_range(45250.0..45500.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> tests/basic_test.rs:421:40 [INFO] [stdout] | [INFO] [stdout] 421 | let quantity = rng.gen_range(0.1..3.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> tests/order_test_2.rs:32:57 [INFO] [stdout] | [INFO] [stdout] 32 | orderbook_for_callback.set_match_callback(move |result| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors_gen` [INFO] [stdout] --> tests/order_test_2.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | let errors_gen = errors.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors_gen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread_id` [INFO] [stdout] --> tests/order_test_2.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | for thread_id in 0..num_processor_threads { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wait_start` [INFO] [stdout] --> tests/order_test_2.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | let wait_start = Instant::now(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wait_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wait_sec` [INFO] [stdout] --> tests/order_test_2.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | for wait_sec in 1..=10 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wait_sec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_screen` is never used [INFO] [stdout] --> tests/basic_test.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn clear_screen() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/orderbook/mod.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::{Duration, Instant}; [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: `current_qty` [INFO] [stdout] --> src/matcher/iceberg.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let current_qty = order.quantity.load(Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_qty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guard` [INFO] [stdout] --> src/matcher/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let guard = &epoch::pin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `processed_count` is assigned to, but never used [INFO] [stdout] --> src/orderbook/mod.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | let mut processed_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_processed_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `processed_count` is never read [INFO] [stdout] --> src/orderbook/mod.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | ... processed_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: unused variable: `i` [INFO] [stdout] --> src/orderbook/mod.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | for i in 0..num_processors { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_bid` [INFO] [stdout] --> src/orderbook/mod.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | is_bid: bool, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_bid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `OrderHandler::add_order` [INFO] [stdout] --> src/matcher/mod.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | / fn add_order( [INFO] [stdout] 110 | | &self, [INFO] [stdout] 111 | | order: Arc, [INFO] [stdout] 112 | | price: u64, [INFO] [stdout] 113 | | is_bid: bool, [INFO] [stdout] 114 | | engine: &MatchEngine, [INFO] [stdout] 115 | | ) -> Result<(), String>; [INFO] [stdout] | |____________________________^ method `OrderHandler::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `OrderHandler::process_matching` [INFO] [stdout] --> src/matcher/mod.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / fn process_matching( [INFO] [stdout] 119 | | &self, [INFO] [stdout] 120 | | engine: &MatchEngine, [INFO] [stdout] 121 | | bids: &OrderTree, [INFO] [stdout] 122 | | asks: &OrderTree, [INFO] [stdout] 123 | | symbol: &Arc, [INFO] [stdout] 124 | | ) -> Result<(), String>; [INFO] [stdout] | |____________________________^ method `OrderHandler::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PriceLevelMatcher` is more private than the item `MatchEngine::get_price_matchers` [INFO] [stdout] --> src/matcher/mod.rs:564:5 [INFO] [stdout] | [INFO] [stdout] 564 | / pub fn get_price_matchers( [INFO] [stdout] 565 | | &self, [INFO] [stdout] 566 | | ) -> parking_lot::RwLockReadGuard> { [INFO] [stdout] | |______________________________________________________________________^ method `MatchEngine::get_price_matchers` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `PriceLevelMatcher` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/matcher/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | struct PriceLevelMatcher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/day.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / fn add_order( [INFO] [stdout] 13 | | &self, [INFO] [stdout] 14 | | order: Arc, [INFO] [stdout] 15 | | price: u64, [INFO] [stdout] 16 | | is_bid: bool, [INFO] [stdout] 17 | | engine: &MatchEngine, [INFO] [stdout] 18 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/day.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / fn process_matching( [INFO] [stdout] 31 | | &self, [INFO] [stdout] 32 | | engine: &MatchEngine, [INFO] [stdout] 33 | | bids: &OrderTree, [INFO] [stdout] 34 | | asks: &OrderTree, [INFO] [stdout] 35 | | symbol: &Arc, [INFO] [stdout] 36 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/gtc.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / fn add_order( [INFO] [stdout] 14 | | &self, [INFO] [stdout] 15 | | order: Arc, [INFO] [stdout] 16 | | price: u64, [INFO] [stdout] 17 | | is_bid: bool, [INFO] [stdout] 18 | | engine: &MatchEngine, [INFO] [stdout] 19 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/gtc.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / fn process_matching( [INFO] [stdout] 28 | | &self, [INFO] [stdout] 29 | | engine: &MatchEngine, [INFO] [stdout] 30 | | bids: &OrderTree, [INFO] [stdout] 31 | | asks: &OrderTree, [INFO] [stdout] 32 | | symbol: &Arc, [INFO] [stdout] 33 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/iceberg.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / fn add_order( [INFO] [stdout] 16 | | &self, [INFO] [stdout] 17 | | order: Arc, [INFO] [stdout] 18 | | price: u64, [INFO] [stdout] 19 | | is_bid: bool, [INFO] [stdout] 20 | | engine: &MatchEngine, [INFO] [stdout] 21 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/iceberg.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / fn process_matching( [INFO] [stdout] 39 | | &self, [INFO] [stdout] 40 | | engine: &MatchEngine, [INFO] [stdout] 41 | | bids: &OrderTree, [INFO] [stdout] 42 | | asks: &OrderTree, [INFO] [stdout] 43 | | symbol: &Arc, [INFO] [stdout] 44 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/ioc_fok.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / fn add_order( [INFO] [stdout] 16 | | &self, [INFO] [stdout] 17 | | order: Arc, [INFO] [stdout] 18 | | _price: u64, [INFO] [stdout] 19 | | _is_bid: bool, [INFO] [stdout] 20 | | engine: &MatchEngine, [INFO] [stdout] 21 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/ioc_fok.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / fn process_matching( [INFO] [stdout] 28 | | &self, [INFO] [stdout] 29 | | engine: &MatchEngine, [INFO] [stdout] 30 | | bids: &OrderTree, [INFO] [stdout] 31 | | asks: &OrderTree, [INFO] [stdout] 32 | | symbol: &Arc, [INFO] [stdout] 33 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/limit.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / fn add_order( [INFO] [stdout] 16 | | &self, [INFO] [stdout] 17 | | order: Arc, [INFO] [stdout] 18 | | price: u64, [INFO] [stdout] 19 | | is_bid: bool, [INFO] [stdout] 20 | | engine: &MatchEngine, [INFO] [stdout] 21 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/limit.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / fn process_matching( [INFO] [stdout] 31 | | &self, [INFO] [stdout] 32 | | engine: &MatchEngine, [INFO] [stdout] 33 | | bids: &OrderTree, [INFO] [stdout] 34 | | asks: &OrderTree, [INFO] [stdout] 35 | | symbol: &Arc, [INFO] [stdout] 36 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `LimitOrderHandler::execute_match` [INFO] [stdout] --> src/matcher/limit.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | / pub fn execute_match( [INFO] [stdout] 185 | | &self, [INFO] [stdout] 186 | | engine: &MatchEngine, [INFO] [stdout] 187 | | aggressive: &Arc, [INFO] [stdout] ... | [INFO] [stdout] 194 | | is_cross: bool, [INFO] [stdout] 195 | | ) { [INFO] [stdout] | |_____^ method `LimitOrderHandler::execute_match` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `LimitOrderHandler::execute_cross_matching` [INFO] [stdout] --> src/matcher/limit.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | / pub fn execute_cross_matching( [INFO] [stdout] 246 | | &self, [INFO] [stdout] 247 | | engine: &MatchEngine, [INFO] [stdout] 248 | | bids: &OrderTree, [INFO] [stdout] ... | [INFO] [stdout] 252 | | best_ask: u64, [INFO] [stdout] 253 | | ) { [INFO] [stdout] | |_____^ method `LimitOrderHandler::execute_cross_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/market.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / fn add_order( [INFO] [stdout] 17 | | &self, [INFO] [stdout] 18 | | order: Arc, [INFO] [stdout] 19 | | _price: u64, [INFO] [stdout] 20 | | _is_bid: bool, [INFO] [stdout] 21 | | engine: &MatchEngine, [INFO] [stdout] 22 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/market.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / fn process_matching( [INFO] [stdout] 29 | | &self, [INFO] [stdout] 30 | | engine: &MatchEngine, [INFO] [stdout] 31 | | bids: &OrderTree, [INFO] [stdout] 32 | | asks: &OrderTree, [INFO] [stdout] 33 | | symbol: &Arc, [INFO] [stdout] 34 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/stop.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / fn add_order( [INFO] [stdout] 14 | | &self, [INFO] [stdout] 15 | | order: Arc, [INFO] [stdout] 16 | | _price: u64, [INFO] [stdout] 17 | | _is_bid: bool, [INFO] [stdout] 18 | | engine: &MatchEngine, [INFO] [stdout] 19 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/stop.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / fn process_matching( [INFO] [stdout] 26 | | &self, [INFO] [stdout] 27 | | engine: &MatchEngine, [INFO] [stdout] 28 | | bids: &OrderTree, [INFO] [stdout] 29 | | asks: &OrderTree, [INFO] [stdout] 30 | | symbol: &Arc, [INFO] [stdout] 31 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stdout] --> src/matcher/stop_limit.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / fn add_order( [INFO] [stdout] 14 | | &self, [INFO] [stdout] 15 | | order: Arc, [INFO] [stdout] 16 | | _price: u64, [INFO] [stdout] 17 | | _is_bid: bool, [INFO] [stdout] 18 | | engine: &MatchEngine, [INFO] [stdout] 19 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stdout] --> src/matcher/stop_limit.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / fn process_matching( [INFO] [stdout] 26 | | &self, [INFO] [stdout] 27 | | engine: &MatchEngine, [INFO] [stdout] 28 | | bids: &OrderTree, [INFO] [stdout] 29 | | asks: &OrderTree, [INFO] [stdout] 30 | | symbol: &Arc, [INFO] [stdout] 31 | | ) -> Result<(), String> { [INFO] [stdout] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/matcher/mod.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct MatchEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `price` and `last_match_time` are never read [INFO] [stdout] --> src/matcher/mod.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 222 | struct PriceLevelMatcher { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 223 | price: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | last_match_time: Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PriceLevelMatcher` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/matcher/mod.rs:416:12 [INFO] [stdout] | [INFO] [stdout] 269 | impl MatchEngine { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 416 | pub fn execute_single_match( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | pub fn process_order(&self, order: Arc) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 527 | pub fn get_pending_limit_orders(&self) -> parking_lot::MutexGuard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn get_market_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | pub fn get_stop_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 542 | pub fn get_stop_limit_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 547 | pub fn get_immediate_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 552 | pub fn get_iceberg_orders( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 559 | pub fn get_day_orders(&self) -> parking_lot::MutexGuard> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 564 | pub fn get_price_matchers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 571 | pub fn is_running(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 576 | pub fn get_stats_ref(&self) -> &MatchStats { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_iceberg_order` is never used [INFO] [stdout] --> src/matcher/iceberg.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl IcebergOrderHandler { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | fn update_iceberg_order(&self, engine: &MatchEngine, order: &Arc, matched_qty: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:527:37 [INFO] [stdout] | [INFO] [stdout] 527 | pub fn get_pending_limit_orders(&self) -> parking_lot::MutexGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 527 | pub fn get_pending_limit_orders(&self) -> parking_lot::MutexGuard<'_, VecDeque> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:532:35 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn get_market_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 532 | pub fn get_market_order_queue(&self) -> parking_lot::MutexGuard<'_, VecDeque>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:537:33 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn get_stop_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 537 | pub fn get_stop_order_queue(&self) -> parking_lot::MutexGuard<'_, VecDeque>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:542:39 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn get_stop_limit_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 542 | pub fn get_stop_limit_order_queue(&self) -> parking_lot::MutexGuard<'_, VecDeque>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:547:38 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn get_immediate_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 547 | pub fn get_immediate_order_queue(&self) -> parking_lot::MutexGuard<'_, Vec>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 554 | ) -> parking_lot::MutexGuard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 554 | ) -> parking_lot::MutexGuard<'_, HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:559:27 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn get_day_orders(&self) -> parking_lot::MutexGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 559 | pub fn get_day_orders(&self) -> parking_lot::MutexGuard<'_, HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:565:9 [INFO] [stdout] | [INFO] [stdout] 565 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 566 | ) -> parking_lot::RwLockReadGuard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 566 | ) -> parking_lot::RwLockReadGuard<'_, HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.23s [INFO] running `Command { std: "docker" "inspect" "811fe09de399cfa1728ca4c628833de7402973de8b3ad471aa35ec1b5b83ad38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "811fe09de399cfa1728ca4c628833de7402973de8b3ad471aa35ec1b5b83ad38", kill_on_drop: false }` [INFO] [stdout] 811fe09de399cfa1728ca4c628833de7402973de8b3ad471aa35ec1b5b83ad38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ec7c9e8a3900f7deb3978a450c380368222818ab56cc41e893cb8524ed5d49c7 [INFO] running `Command { std: "docker" "start" "-a" "ec7c9e8a3900f7deb3978a450c380368222818ab56cc41e893cb8524ed5d49c7", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Instant` [INFO] [stderr] --> src/orderbook/mod.rs:10:27 [INFO] [stderr] | [INFO] [stderr] 10 | use std::time::{Duration, Instant}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `current_qty` [INFO] [stderr] --> src/matcher/iceberg.rs:96:17 [INFO] [stderr] | [INFO] [stderr] 96 | let current_qty = order.quantity.load(Ordering::Relaxed); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_qty` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `guard` [INFO] [stderr] --> src/matcher/mod.rs:57:13 [INFO] [stderr] | [INFO] [stderr] 57 | let guard = &epoch::pin(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard` [INFO] [stderr] [INFO] [stderr] warning: variable `processed_count` is assigned to, but never used [INFO] [stderr] --> src/orderbook/mod.rs:87:21 [INFO] [stderr] | [INFO] [stderr] 87 | let mut processed_count = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_processed_count` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `processed_count` is never read [INFO] [stderr] --> src/orderbook/mod.rs:100:29 [INFO] [stderr] | [INFO] [stderr] 100 | ... processed_count += 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/orderbook/mod.rs:79:13 [INFO] [stderr] | [INFO] [stderr] 79 | for i in 0..num_processors { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `is_bid` [INFO] [stderr] --> src/orderbook/mod.rs:123:9 [INFO] [stderr] | [INFO] [stderr] 123 | is_bid: bool, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_bid` [INFO] [stderr] [INFO] [stderr] warning: type `MatchEngine` is more private than the item `OrderHandler::add_order` [INFO] [stderr] --> src/matcher/mod.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | / fn add_order( [INFO] [stderr] 110 | | &self, [INFO] [stderr] 111 | | order: Arc, [INFO] [stderr] 112 | | price: u64, [INFO] [stderr] 113 | | is_bid: bool, [INFO] [stderr] 114 | | engine: &MatchEngine, [INFO] [stderr] 115 | | ) -> Result<(), String>; [INFO] [stderr] | |____________________________^ method `OrderHandler::add_order` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/matcher/mod.rs:245:1 [INFO] [stderr] | [INFO] [stderr] 245 | pub(crate) struct MatchEngine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `MatchEngine` is more private than the item `OrderHandler::process_matching` [INFO] [stderr] --> src/matcher/mod.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | / fn process_matching( [INFO] [stderr] 119 | | &self, [INFO] [stderr] 120 | | engine: &MatchEngine, [INFO] [stderr] 121 | | bids: &OrderTree, [INFO] [stderr] 122 | | asks: &OrderTree, [INFO] [stderr] 123 | | symbol: &Arc, [INFO] [stderr] 124 | | ) -> Result<(), String>; [INFO] [stderr] | |____________________________^ method `OrderHandler::process_matching` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/matcher/mod.rs:245:1 [INFO] [stderr] | [INFO] [stderr] 245 | pub(crate) struct MatchEngine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `PriceLevelMatcher` is more private than the item `MatchEngine::get_price_matchers` [INFO] [stderr] --> src/matcher/mod.rs:564:5 [INFO] [stderr] | [INFO] [stderr] 564 | / pub fn get_price_matchers( [INFO] [stderr] 565 | | &self, [INFO] [stderr] 566 | | ) -> parking_lot::RwLockReadGuard> { [INFO] [stderr] | |______________________________________________________________________^ method `MatchEngine::get_price_matchers` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `PriceLevelMatcher` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/matcher/mod.rs:222:1 [INFO] [stderr] | [INFO] [stderr] 222 | struct PriceLevelMatcher { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stderr] --> src/matcher/day.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | / fn add_order( [INFO] [stderr] 13 | | &self, [INFO] [stderr] 14 | | order: Arc, [INFO] [stderr] 15 | | price: u64, [INFO] [stderr] 16 | | is_bid: bool, [INFO] [stderr] 17 | | engine: &MatchEngine, [INFO] [stderr] 18 | | ) -> Result<(), String> { [INFO] [stderr] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/matcher/mod.rs:245:1 [INFO] [stderr] | [INFO] [stderr] 245 | pub(crate) struct MatchEngine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stderr] --> src/matcher/day.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | / fn process_matching( [INFO] [stderr] 31 | | &self, [INFO] [stderr] 32 | | engine: &MatchEngine, [INFO] [stderr] 33 | | bids: &OrderTree, [INFO] [stderr] 34 | | asks: &OrderTree, [INFO] [stderr] 35 | | symbol: &Arc, [INFO] [stderr] 36 | | ) -> Result<(), String> { [INFO] [stderr] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/matcher/mod.rs:245:1 [INFO] [stderr] | [INFO] [stderr] 245 | pub(crate) struct MatchEngine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stderr] --> src/matcher/gtc.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / fn add_order( [INFO] [stderr] 14 | | &self, [INFO] [stderr] 15 | | order: Arc, [INFO] [stderr] 16 | | price: u64, [INFO] [stderr] 17 | | is_bid: bool, [INFO] [stderr] 18 | | engine: &MatchEngine, [INFO] [stderr] 19 | | ) -> Result<(), String> { [INFO] [stderr] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/matcher/mod.rs:245:1 [INFO] [stderr] | [INFO] [stderr] 245 | pub(crate) struct MatchEngine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stderr] --> src/matcher/gtc.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | / fn process_matching( [INFO] [stderr] 28 | | &self, [INFO] [stderr] 29 | | engine: &MatchEngine, [INFO] [stderr] 30 | | bids: &OrderTree, [INFO] [stderr] 31 | | asks: &OrderTree, [INFO] [stderr] 32 | | symbol: &Arc, [INFO] [stderr] 33 | | ) -> Result<(), String> { [INFO] [stderr] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/matcher/mod.rs:245:1 [INFO] [stderr] | [INFO] [stderr] 245 | pub(crate) struct MatchEngine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stderr] --> src/matcher/iceberg.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | / fn add_order( [INFO] [stderr] 16 | | &self, [INFO] [stderr] 17 | | order: Arc, [INFO] [stderr] 18 | | price: u64, [INFO] [stderr] 19 | | is_bid: bool, [INFO] [stderr] 20 | | engine: &MatchEngine, [INFO] [stderr] 21 | | ) -> Result<(), String> { [INFO] [stderr] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/matcher/mod.rs:245:1 [INFO] [stderr] | [INFO] [stderr] 245 | pub(crate) struct MatchEngine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stderr] --> src/matcher/iceberg.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | / fn process_matching( [INFO] [stderr] 39 | | &self, [INFO] [stderr] 40 | | engine: &MatchEngine, [INFO] [stderr] 41 | | bids: &OrderTree, [INFO] [stderr] 42 | | asks: &OrderTree, [INFO] [stderr] 43 | | symbol: &Arc, [INFO] [stderr] 44 | | ) -> Result<(), String> { [INFO] [stderr] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/matcher/mod.rs:245:1 [INFO] [stderr] | [INFO] [stderr] 245 | pub(crate) struct MatchEngine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stderr] --> src/matcher/ioc_fok.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | / fn add_order( [INFO] [stderr] 16 | | &self, [INFO] [stderr] 17 | | order: Arc, [INFO] [stderr] 18 | | _price: u64, [INFO] [stderr] 19 | | _is_bid: bool, [INFO] [stderr] 20 | | engine: &MatchEngine, [INFO] [stderr] 21 | | ) -> Result<(), String> { [INFO] [stderr] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/matcher/mod.rs:245:1 [INFO] [stderr] | [INFO] [stderr] 245 | pub(crate) struct MatchEngine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stderr] --> src/matcher/ioc_fok.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | / fn process_matching( [INFO] [stderr] 28 | | &self, [INFO] [stderr] 29 | | engine: &MatchEngine, [INFO] [stderr] 30 | | bids: &OrderTree, [INFO] [stderr] 31 | | asks: &OrderTree, [INFO] [stderr] 32 | | symbol: &Arc, [INFO] [stderr] 33 | | ) -> Result<(), String> { [INFO] [stderr] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/matcher/mod.rs:245:1 [INFO] [stderr] | [INFO] [stderr] 245 | pub(crate) struct MatchEngine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stderr] --> src/matcher/limit.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | / fn add_order( [INFO] [stderr] 16 | | &self, [INFO] [stderr] 17 | | order: Arc, [INFO] [stderr] 18 | | price: u64, [INFO] [stderr] 19 | | is_bid: bool, [INFO] [stderr] 20 | | engine: &MatchEngine, [INFO] [stderr] 21 | | ) -> Result<(), String> { [INFO] [stderr] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/matcher/mod.rs:245:1 [INFO] [stderr] | [INFO] [stderr] 245 | pub(crate) struct MatchEngine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stderr] --> src/matcher/limit.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | / fn process_matching( [INFO] [stderr] 31 | | &self, [INFO] [stderr] 32 | | engine: &MatchEngine, [INFO] [stderr] 33 | | bids: &OrderTree, [INFO] [stderr] 34 | | asks: &OrderTree, [INFO] [stderr] 35 | | symbol: &Arc, [INFO] [stderr] 36 | | ) -> Result<(), String> { [INFO] [stderr] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/matcher/mod.rs:245:1 [INFO] [stderr] | [INFO] [stderr] 245 | pub(crate) struct MatchEngine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `MatchEngine` is more private than the item `LimitOrderHandler::execute_match` [INFO] [stderr] --> src/matcher/limit.rs:184:5 [INFO] [stderr] | [INFO] [stderr] 184 | / pub fn execute_match( [INFO] [stderr] 185 | | &self, [INFO] [stderr] 186 | | engine: &MatchEngine, [INFO] [stderr] 187 | | aggressive: &Arc, [INFO] [stderr] ... | [INFO] [stderr] 194 | | is_cross: bool, [INFO] [stderr] 195 | | ) { [INFO] [stderr] | |_____^ method `LimitOrderHandler::execute_match` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/matcher/mod.rs:245:1 [INFO] [stderr] | [INFO] [stderr] 245 | pub(crate) struct MatchEngine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `MatchEngine` is more private than the item `LimitOrderHandler::execute_cross_matching` [INFO] [stderr] --> src/matcher/limit.rs:245:5 [INFO] [stderr] | [INFO] [stderr] 245 | / pub fn execute_cross_matching( [INFO] [stderr] 246 | | &self, [INFO] [stderr] 247 | | engine: &MatchEngine, [INFO] [stderr] 248 | | bids: &OrderTree, [INFO] [stderr] ... | [INFO] [stderr] 252 | | best_ask: u64, [INFO] [stderr] 253 | | ) { [INFO] [stderr] | |_____^ method `LimitOrderHandler::execute_cross_matching` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/matcher/mod.rs:245:1 [INFO] [stderr] | [INFO] [stderr] 245 | pub(crate) struct MatchEngine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stderr] --> src/matcher/market.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | / fn add_order( [INFO] [stderr] 17 | | &self, [INFO] [stderr] 18 | | order: Arc, [INFO] [stderr] 19 | | _price: u64, [INFO] [stderr] 20 | | _is_bid: bool, [INFO] [stderr] 21 | | engine: &MatchEngine, [INFO] [stderr] 22 | | ) -> Result<(), String> { [INFO] [stderr] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/matcher/mod.rs:245:1 [INFO] [stderr] | [INFO] [stderr] 245 | pub(crate) struct MatchEngine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stderr] --> src/matcher/market.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / fn process_matching( [INFO] [stderr] 29 | | &self, [INFO] [stderr] 30 | | engine: &MatchEngine, [INFO] [stderr] 31 | | bids: &OrderTree, [INFO] [stderr] 32 | | asks: &OrderTree, [INFO] [stderr] 33 | | symbol: &Arc, [INFO] [stderr] 34 | | ) -> Result<(), String> { [INFO] [stderr] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/matcher/mod.rs:245:1 [INFO] [stderr] | [INFO] [stderr] 245 | pub(crate) struct MatchEngine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stderr] --> src/matcher/stop.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / fn add_order( [INFO] [stderr] 14 | | &self, [INFO] [stderr] 15 | | order: Arc, [INFO] [stderr] 16 | | _price: u64, [INFO] [stderr] 17 | | _is_bid: bool, [INFO] [stderr] 18 | | engine: &MatchEngine, [INFO] [stderr] 19 | | ) -> Result<(), String> { [INFO] [stderr] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/matcher/mod.rs:245:1 [INFO] [stderr] | [INFO] [stderr] 245 | pub(crate) struct MatchEngine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stderr] --> src/matcher/stop.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / fn process_matching( [INFO] [stderr] 26 | | &self, [INFO] [stderr] 27 | | engine: &MatchEngine, [INFO] [stderr] 28 | | bids: &OrderTree, [INFO] [stderr] 29 | | asks: &OrderTree, [INFO] [stderr] 30 | | symbol: &Arc, [INFO] [stderr] 31 | | ) -> Result<(), String> { [INFO] [stderr] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/matcher/mod.rs:245:1 [INFO] [stderr] | [INFO] [stderr] 245 | pub(crate) struct MatchEngine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `MatchEngine` is more private than the item `::add_order` [INFO] [stderr] --> src/matcher/stop_limit.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / fn add_order( [INFO] [stderr] 14 | | &self, [INFO] [stderr] 15 | | order: Arc, [INFO] [stderr] 16 | | _price: u64, [INFO] [stderr] 17 | | _is_bid: bool, [INFO] [stderr] 18 | | engine: &MatchEngine, [INFO] [stderr] 19 | | ) -> Result<(), String> { [INFO] [stderr] | |___________________________^ method `::add_order` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/matcher/mod.rs:245:1 [INFO] [stderr] | [INFO] [stderr] 245 | pub(crate) struct MatchEngine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `MatchEngine` is more private than the item `::process_matching` [INFO] [stderr] --> src/matcher/stop_limit.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / fn process_matching( [INFO] [stderr] 26 | | &self, [INFO] [stderr] 27 | | engine: &MatchEngine, [INFO] [stderr] 28 | | bids: &OrderTree, [INFO] [stderr] 29 | | asks: &OrderTree, [INFO] [stderr] 30 | | symbol: &Arc, [INFO] [stderr] 31 | | ) -> Result<(), String> { [INFO] [stderr] | |___________________________^ method `::process_matching` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `MatchEngine` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/matcher/mod.rs:245:1 [INFO] [stderr] | [INFO] [stderr] 245 | pub(crate) struct MatchEngine { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `price` and `last_match_time` are never read [INFO] [stderr] --> src/matcher/mod.rs:223:5 [INFO] [stderr] | [INFO] [stderr] 222 | struct PriceLevelMatcher { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 223 | price: u64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 228 | last_match_time: Instant, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PriceLevelMatcher` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/matcher/mod.rs:416:12 [INFO] [stderr] | [INFO] [stderr] 269 | impl MatchEngine { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 416 | pub fn execute_single_match( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 498 | pub fn process_order(&self, order: Arc) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 527 | pub fn get_pending_limit_orders(&self) -> parking_lot::MutexGuard> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 532 | pub fn get_market_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 537 | pub fn get_stop_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 542 | pub fn get_stop_limit_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 547 | pub fn get_immediate_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 552 | pub fn get_iceberg_orders( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 559 | pub fn get_day_orders(&self) -> parking_lot::MutexGuard> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 564 | pub fn get_price_matchers( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 571 | pub fn is_running(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 576 | pub fn get_stats_ref(&self) -> &MatchStats { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `update_iceberg_order` is never used [INFO] [stderr] --> src/matcher/iceberg.rs:112:8 [INFO] [stderr] | [INFO] [stderr] 54 | impl IcebergOrderHandler { [INFO] [stderr] | ------------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 112 | fn update_iceberg_order(&self, engine: &MatchEngine, order: &Arc, matched_qty: f64) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/matcher/mod.rs:527:37 [INFO] [stderr] | [INFO] [stderr] 527 | pub fn get_pending_limit_orders(&self) -> parking_lot::MutexGuard> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 527 | pub fn get_pending_limit_orders(&self) -> parking_lot::MutexGuard<'_, VecDeque> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/matcher/mod.rs:532:35 [INFO] [stderr] | [INFO] [stderr] 532 | pub fn get_market_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 532 | pub fn get_market_order_queue(&self) -> parking_lot::MutexGuard<'_, VecDeque>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/matcher/mod.rs:537:33 [INFO] [stderr] | [INFO] [stderr] 537 | pub fn get_stop_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 537 | pub fn get_stop_order_queue(&self) -> parking_lot::MutexGuard<'_, VecDeque>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/matcher/mod.rs:542:39 [INFO] [stderr] | [INFO] [stderr] 542 | pub fn get_stop_limit_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 542 | pub fn get_stop_limit_order_queue(&self) -> parking_lot::MutexGuard<'_, VecDeque>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/matcher/mod.rs:547:38 [INFO] [stderr] | [INFO] [stderr] 547 | pub fn get_immediate_order_queue(&self) -> parking_lot::MutexGuard>> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 547 | pub fn get_immediate_order_queue(&self) -> parking_lot::MutexGuard<'_, Vec>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/matcher/mod.rs:553:9 [INFO] [stderr] | [INFO] [stderr] 553 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 554 | ) -> parking_lot::MutexGuard> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 554 | ) -> parking_lot::MutexGuard<'_, HashMap> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/matcher/mod.rs:559:27 [INFO] [stderr] | [INFO] [stderr] 559 | pub fn get_day_orders(&self) -> parking_lot::MutexGuard> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 559 | pub fn get_day_orders(&self) -> parking_lot::MutexGuard<'_, HashMap> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/matcher/mod.rs:565:9 [INFO] [stderr] | [INFO] [stderr] 565 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 566 | ) -> parking_lot::RwLockReadGuard> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 566 | ) -> parking_lot::RwLockReadGuard<'_, HashMap> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `luminengine` (lib) generated 39 warnings (run `cargo fix --lib -p luminengine` to apply 13 suggestions) [INFO] [stderr] warning: `luminengine` (lib test) generated 39 warnings (39 duplicates) [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> tests/order_test_2.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stderr] --> tests/order_test_2.rs:234:48 [INFO] [stderr] | [INFO] [stderr] 234 | let order_type = match rng.gen_range(0..100) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stderr] --> tests/order_test_2.rs:246:44 [INFO] [stderr] | [INFO] [stderr] 246 | let direction = if rng.gen_bool(0.5) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stderr] --> tests/order_test_2.rs:255:29 [INFO] [stderr] | [INFO] [stderr] 255 | rng.gen_range(100.0..200.0) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stderr] --> tests/order_test_2.rs:258:40 [INFO] [stderr] | [INFO] [stderr] 258 | let quantity = rng.gen_range(1.0..1000.0); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> tests/order_test_2.rs:32:57 [INFO] [stderr] | [INFO] [stderr] 32 | orderbook_for_callback.set_match_callback(move |result| { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `errors_gen` [INFO] [stderr] --> tests/order_test_2.rs:217:13 [INFO] [stderr] | [INFO] [stderr] 217 | let errors_gen = errors.clone(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors_gen` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `thread_id` [INFO] [stderr] --> tests/order_test_2.rs:306:13 [INFO] [stderr] | [INFO] [stderr] 306 | for thread_id in 0..num_processor_threads { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `wait_start` [INFO] [stderr] --> tests/order_test_2.rs:342:13 [INFO] [stderr] | [INFO] [stderr] 342 | let wait_start = Instant::now(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wait_start` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `wait_sec` [INFO] [stderr] --> tests/order_test_2.rs:347:13 [INFO] [stderr] | [INFO] [stderr] 347 | for wait_sec in 1..=10 { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wait_sec` [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] running 0 tests [INFO] [stderr] warning: unused import: `super::*` [INFO] [stdout] [INFO] [stderr] --> tests/basic_test.rs:9:9 [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 9 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stderr] --> tests/basic_test.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | use rand::{Rng, thread_rng}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stderr] --> tests/basic_test.rs:162:31 [INFO] [stderr] | [INFO] [stderr] 162 | let mut rng = thread_rng(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stderr] --> tests/basic_test.rs:390:31 [INFO] [stderr] | [INFO] [stderr] 390 | let mut rng = thread_rng(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stderr] --> tests/basic_test.rs:417:31 [INFO] [stderr] | [INFO] [stderr] 417 | let mut rng = thread_rng(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool` [INFO] [stderr] --> tests/basic_test.rs:171:44 [INFO] [stderr] | [INFO] [stderr] 171 | let direction = if rng.gen_bool(0.5) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stderr] --> tests/basic_test.rs:179:29 [INFO] [stderr] | [INFO] [stderr] 179 | rng.gen_range(45000.0..45500.0) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stderr] --> tests/basic_test.rs:181:29 [INFO] [stderr] | [INFO] [stderr] 181 | rng.gen_range(45600.0..46000.0) [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stdout] running 5 tests [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stderr] --> tests/basic_test.rs:184:40 [INFO] [stderr] | [INFO] [stderr] 184 | let quantity = rng.gen_range(0.1..5.0); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stderr] --> tests/basic_test.rs:393:37 [INFO] [stderr] | [INFO] [stderr] 393 | let price = rng.gen_range(45000.0..45200.0); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stderr] --> tests/basic_test.rs:394:40 [INFO] [stderr] | [INFO] [stderr] 394 | let quantity = rng.gen_range(0.1..5.0); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stderr] --> tests/basic_test.rs:420:37 [INFO] [stderr] | [INFO] [stderr] 420 | let price = rng.gen_range(45250.0..45500.0); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stderr] --> tests/basic_test.rs:421:40 [INFO] [stderr] | [INFO] [stderr] 421 | let quantity = rng.gen_range(0.1..3.0); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `clear_screen` is never used [INFO] [stderr] --> tests/basic_test.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | fn clear_screen() { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> tests/order_test_1.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `luminengine` (test "order_test_2") generated 10 warnings (run `cargo fix --test "order_test_2" -p luminengine` to apply 6 suggestions) [INFO] [stderr] warning: `luminengine` (test "basic_test") generated 14 warnings (run `cargo fix --test "basic_test" -p luminengine` to apply 1 suggestion) [INFO] [stderr] warning: `luminengine` (test "order_test_1") generated 1 warning (run `cargo fix --test "order_test_1" -p luminengine` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/luminengine-e3ddac032e8a13e7) [INFO] [stderr] Running tests/basic_test.rs (/opt/rustwide/target/debug/deps/basic_test-709295944a674e1a) [INFO] [stdout] test basic_test::test_orderbook_simplest ... ok [INFO] [stdout] test basic_test::test_orderbook_basic_operations ... FAILED [INFO] [stdout] test basic_test::test_orderbook_concurrent_access ... ok [INFO] [stdout] test basic_test::test_orderbook_realtime_async_display ... ok [INFO] [stderr] error: test failed, to rerun pass `--test basic_test` [INFO] [stdout] test basic_test::test_orderbook_realtime_display ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- basic_test::test_orderbook_basic_operations stdout ---- [INFO] [stdout] 🔧 Testing order book basic operations... [INFO] [stdout] 📝 Test 1: Adding buy order [INFO] [stdout] 📝 Test 2: Adding sell order [INFO] [stdout] 📝 Test 3: Finding order [INFO] [stdout] [INFO] [stdout] thread 'basic_test::test_orderbook_basic_operations' (17) panicked at tests/basic_test.rs:75:9: [INFO] [stdout] Failed to find order [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f8931a34bca - std[e72de78501789eb0]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5f8931a34bca - std[e72de78501789eb0]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5f8931a34bca - std[e72de78501789eb0]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5f8931a34bca - <::print::DisplayBacktrace as core[6aaeda2c7ad07a48]::fmt::Display>::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5f8931a497da - ::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5f8931a497da - core[6aaeda2c7ad07a48]::fmt::write [INFO] [stdout] 6: 0x5f8931a39472 - std[e72de78501789eb0]::io::default_write_fmt::> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5f8931a39472 - as std[e72de78501789eb0]::io::Write>::write_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5f8931a1302f - ::print [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5f8931a1302f - std[e72de78501789eb0]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5f8931a2c599 - std[e72de78501789eb0]::panicking::default_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5f893192084c - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x5f893192084c - test[4f12b380f1fb68c5]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5f8931a2c752 - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x5f8931a2c752 - std[e72de78501789eb0]::panicking::panic_with_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5f8931a1311a - std[e72de78501789eb0]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:691:13 [INFO] [stdout] 16: 0x5f8931a0a939 - std[e72de78501789eb0]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5f8931a13dfd - __rustc[78a4cf188af856fc]::rust_begin_unwind [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5f8931a49f6c - core[6aaeda2c7ad07a48]::panicking::panic_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5f89318cf103 - basic_test[39665c9ecaa2d74e]::basic_test::test_orderbook_basic_operations [INFO] [stdout] at /opt/rustwide/workdir/tests/basic_test.rs:75:9 [INFO] [stdout] 20: 0x5f89318ca677 - basic_test[39665c9ecaa2d74e]::basic_test::test_orderbook_basic_operations::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/tests/basic_test.rs:54:41 [INFO] [stdout] 21: 0x5f89318da166 - >::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x5f893191492b - core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5f893191492b - test[4f12b380f1fb68c5]::__rust_begin_short_backtrace::, fn() -> core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:663:18 [INFO] [stdout] 24: 0x5f893192131b - test[4f12b380f1fb68c5]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:74 [INFO] [stdout] 25: 0x5f893192131b - as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 26: 0x5f893192131b - std[e72de78501789eb0]::panicking::catch_unwind::do_call::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 27: 0x5f893192131b - std[e72de78501789eb0]::panicking::catch_unwind::, core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 28: 0x5f893192131b - std[e72de78501789eb0]::panic::catch_unwind::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 29: 0x5f893192131b - test[4f12b380f1fb68c5]::run_test_in_process [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:27 [INFO] [stdout] 30: 0x5f893192131b - test[4f12b380f1fb68c5]::run_test::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:607:43 [INFO] [stdout] 31: 0x5f893191ca34 - test[4f12b380f1fb68c5]::run_test::{closure#1} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:637:41 [INFO] [stdout] 32: 0x5f893191ca34 - std[e72de78501789eb0]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 33: 0x5f8931923f22 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 34: 0x5f8931923f22 - ::{closure#1}::{closure#0}> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 35: 0x5f8931923f22 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 36: 0x5f8931923f22 - std[e72de78501789eb0]::panicking::catch_unwind::<(), core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 37: 0x5f8931923f22 - std[e72de78501789eb0]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 38: 0x5f8931923f22 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 39: 0x5f8931923f22 - ::{closure#1} as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x5f8931a33e5f - + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 41: 0x5f8931a33e5f - ::new::thread_start [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 42: 0x70dc541f5aa4 - [INFO] [stdout] 43: 0x70dc54282a64 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] basic_test::test_orderbook_basic_operations [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 12.14s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ec7c9e8a3900f7deb3978a450c380368222818ab56cc41e893cb8524ed5d49c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec7c9e8a3900f7deb3978a450c380368222818ab56cc41e893cb8524ed5d49c7", kill_on_drop: false }` [INFO] [stdout] ec7c9e8a3900f7deb3978a450c380368222818ab56cc41e893cb8524ed5d49c7