[INFO] cloning repository https://github.com/kavs1123/rust-crypto-matching-engine [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kavs1123/rust-crypto-matching-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkavs1123%2Frust-crypto-matching-engine"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkavs1123%2Frust-crypto-matching-engine'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f34edb443057a4ec9b5186d7c8c7900520eb38ab [INFO] testing kavs1123/rust-crypto-matching-engine against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkavs1123%2Frust-crypto-matching-engine" "/workspace/builds/worker-2-tc2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kavs1123/rust-crypto-matching-engine [INFO] finished tweaking git repo https://github.com/kavs1123/rust-crypto-matching-engine [INFO] tweaked toml for git repo https://github.com/kavs1123/rust-crypto-matching-engine written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kavs1123/rust-crypto-matching-engine on toolchain 1.101.0-beta.1 [INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"` [INFO] crate git repo https://github.com/kavs1123/rust-crypto-matching-engine already has a lockfile, it will not be regenerated [INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"` [INFO] [stdout] f77a3d1f32dac60e351636c04b951e9d29c71fa35936688f8130e4187ec1ef52 [INFO] running `"docker" "start" "f77a3d1f32dac60e351636c04b951e9d29c71fa35936688f8130e4187ec1ef52"` [INFO] running `"docker" "inspect" "f77a3d1f32dac60e351636c04b951e9d29c71fa35936688f8130e4187ec1ef52"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f77a3d1f32dac60e351636c04b951e9d29c71fa35936688f8130e4187ec1ef52" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"` [INFO] running `"docker" "inspect" "f77a3d1f32dac60e351636c04b951e9d29c71fa35936688f8130e4187ec1ef52"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f77a3d1f32dac60e351636c04b951e9d29c71fa35936688f8130e4187ec1ef52" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling typenum v1.20.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling data-encoding v2.11.0 [INFO] [stderr] Compiling rust_decimal v1.42.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling arc-swap v1.9.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling uuid v1.23.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling rust_decimal_macros v1.40.0 [INFO] [stderr] Compiling tokio v1.52.3 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling redis v0.27.6 [INFO] [stderr] Compiling crypto-matching-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `is_active` and `limit_price` are never used [INFO] [stdout] --> src/domain/order.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 149 | impl Order { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn is_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn limit_price(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cancel_order` and `spread` are never used [INFO] [stdout] --> src/engine/orderbook.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl OrderBook { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn cancel_order(&mut self, order_id: Uuid) -> EngineResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 542 | pub fn spread(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `OrderNotFound`, `NoLiquidity`, and `OrderNotActive` are never constructed [INFO] [stdout] --> src/error.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum EngineError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | OrderNotFound { order_id: Uuid }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | NoLiquidity { order_id: Uuid }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | OrderNotActive { order_id: Uuid, status: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EngineError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `redis` [INFO] [stderr] --> Cargo.toml:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | [dependencies.redis] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `redis` [INFO] [stderr] warning: unused dependency `tokio-tungstenite` [INFO] [stderr] --> Cargo.toml:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | tokio-tungstenite = "0.24" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tokio-tungstenite` [INFO] [stderr] warning: `crypto-matching-engine` (manifest) generated 2 warnings [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 21s [INFO] running `"docker" "inspect" "f77a3d1f32dac60e351636c04b951e9d29c71fa35936688f8130e4187ec1ef52"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f77a3d1f32dac60e351636c04b951e9d29c71fa35936688f8130e4187ec1ef52" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"` [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling typenum v1.20.0 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling data-encoding v2.11.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tokio v1.52.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling rayon v1.12.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling arc-swap v1.9.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling clap v4.6.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling uuid v1.23.1 [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling rust_decimal v1.42.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling tokio-test v0.4.5 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling redis v0.27.6 [INFO] [stderr] Compiling crypto-matching-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `is_active` and `limit_price` are never used [INFO] [stdout] --> src/domain/order.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 149 | impl Order { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn is_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn limit_price(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NoLiquidity` and `OrderNotActive` are never constructed [INFO] [stdout] --> src/error.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum EngineError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | NoLiquidity { order_id: Uuid }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | OrderNotActive { order_id: Uuid, status: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EngineError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `criterion` [INFO] [stderr] --> Cargo.toml:41:19 [INFO] [stderr] | [INFO] [stderr] 41 | [dev-dependencies.criterion] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `criterion` [INFO] [stderr] warning: unused dependency `redis` [INFO] [stderr] --> Cargo.toml:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | [dependencies.redis] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `redis` [INFO] [stderr] warning: unused dependency `tokio-test` [INFO] [stderr] --> Cargo.toml:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | tokio-test = "0.4" [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tokio-test` [INFO] [stderr] warning: unused dependency `tokio-tungstenite` [INFO] [stderr] --> Cargo.toml:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | tokio-tungstenite = "0.24" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tokio-tungstenite` [INFO] [stderr] warning: `crypto-matching-engine` (manifest) generated 4 warnings [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 22s [INFO] running `"docker" "inspect" "f77a3d1f32dac60e351636c04b951e9d29c71fa35936688f8130e4187ec1ef52"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f77a3d1f32dac60e351636c04b951e9d29c71fa35936688f8130e4187ec1ef52" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"` [INFO] [stderr] warning: methods `is_active` and `limit_price` are never used [INFO] [stderr] --> src/domain/order.rs:180:12 [INFO] [stderr] | [INFO] [stderr] 149 | impl Order { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 180 | pub fn is_active(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 186 | pub fn limit_price(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variants `NoLiquidity` and `OrderNotActive` are never constructed [INFO] [stderr] --> src/error.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub enum EngineError { [INFO] [stderr] | ----------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 22 | NoLiquidity { order_id: Uuid }, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | OrderNotActive { order_id: Uuid, status: String }, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `EngineError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `crypto-matching-engine` (bin "crypto-matching-engine" test) generated 2 warnings [INFO] [stderr] warning: unused dependency `criterion` [INFO] [stderr] --> Cargo.toml:41:19 [INFO] [stderr] | [INFO] [stderr] 41 | [dev-dependencies.criterion] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `criterion` [INFO] [stderr] warning: unused dependency `redis` [INFO] [stderr] --> Cargo.toml:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | [dependencies.redis] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `redis` [INFO] [stderr] warning: unused dependency `tokio-test` [INFO] [stderr] --> Cargo.toml:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | tokio-test = "0.4" [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tokio-test` [INFO] [stderr] warning: unused dependency `tokio-tungstenite` [INFO] [stderr] --> Cargo.toml:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | tokio-tungstenite = "0.24" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tokio-tungstenite` [INFO] [stderr] warning: `crypto-matching-engine` (manifest) generated 4 warnings [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.32s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/build/crypto-matching-engine/a1fb4739a69ec2b2/out/crypto_matching_engine-a1fb4739a69ec2b2) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test engine::orderbook::tests::test_exact_match_produces_single_trade ... ok [INFO] [stdout] test engine::orderbook::tests::test_limit_order_rests_when_no_contra_side ... ok [INFO] [stdout] test engine::orderbook::tests::test_partial_fill_taker_smaller_than_maker ... ok [INFO] [stdout] test engine::orderbook::tests::test_multi_level_sweep ... ok [INFO] [stdout] test engine::orderbook::tests::test_partial_fill_taker_larger_than_maker ... ok [INFO] [stdout] test engine::orderbook::tests::test_price_priority_best_price_first ... ok [INFO] [stdout] test engine::orderbook::tests::test_symbol_mismatch_rejected ... ok [INFO] [stdout] test engine::orderbook::tests::test_trade_executes_at_maker_price ... ok [INFO] [stdout] test engine::orderbook::tests::test_spread_calculation ... ok [INFO] [stdout] test engine::orderbook::tests::test_market_order_residual_is_dropped ... ok [INFO] [stdout] test engine::orderbook::tests::test_cancel_nonexistent_order_fails ... ok [INFO] [stdout] test engine::orderbook::tests::test_multiple_fills_at_same_level ... ok [INFO] [stdout] test engine::orderbook::tests::test_sell_side_matching ... ok [INFO] [stdout] test engine::orderbook::tests::test_fifo_same_price_level ... ok [INFO] [stdout] test engine::orderbook::tests::test_market_order_on_empty_book ... ok [INFO] [stdout] test engine::orderbook::tests::test_market_order_sweeps_multiple_levels ... ok [INFO] [stdout] test engine::orderbook::tests::test_non_crossing_limit_order_rests ... ok [INFO] [stdout] test engine::orderbook::tests::test_cancel_resting_order ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] running `"docker" "inspect" "f77a3d1f32dac60e351636c04b951e9d29c71fa35936688f8130e4187ec1ef52"` [INFO] running `"docker" "rm" "-f" "f77a3d1f32dac60e351636c04b951e9d29c71fa35936688f8130e4187ec1ef52"` [INFO] [stdout] f77a3d1f32dac60e351636c04b951e9d29c71fa35936688f8130e4187ec1ef52