[INFO] cloning repository https://github.com/mohitrakh/stock
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mohitrakh/stock" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmohitrakh%2Fstock", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmohitrakh%2Fstock'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 80f95dc7f75e2c432a1710a2a4723777c15db1c7
[INFO] checking mohitrakh/stock against 65b20a97de33e9e59992793a144aef2950c48c76 for pr-154715
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmohitrakh%2Fstock" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mohitrakh/stock
[INFO] finished tweaking git repo https://github.com/mohitrakh/stock
[INFO] tweaked toml for git repo https://github.com/mohitrakh/stock written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mohitrakh/stock on toolchain 65b20a97de33e9e59992793a144aef2950c48c76
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mohitrakh/stock 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" "+65b20a97de33e9e59992793a144aef2950c48c76" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a573c185a267dd2890b8946047b8b61973e9088d335c4c1c09ba3689c7b234d8
[INFO] running `Command { std: "docker" "start" "a573c185a267dd2890b8946047b8b61973e9088d335c4c1c09ba3689c7b234d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a573c185a267dd2890b8946047b8b61973e9088d335c4c1c09ba3689c7b234d8", kill_on_drop: false }`
[INFO] running `Command { std: "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" "a573c185a267dd2890b8946047b8b61973e9088d335c4c1c09ba3689c7b234d8" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a573c185a267dd2890b8946047b8b61973e9088d335c4c1c09ba3689c7b234d8", kill_on_drop: false }`
[INFO] running `Command { std: "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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a573c185a267dd2890b8946047b8b61973e9088d335c4c1c09ba3689c7b234d8" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]     Checking typenum v1.20.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]     Checking const-oid v0.9.6
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling zerocopy v0.8.50
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]     Checking itoa v1.0.18
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking base64ct v1.8.3
[INFO] [stderr]    Compiling libm v0.2.16
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]     Checking pin-project-lite v0.2.17
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]     Checking bytes v1.11.1
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling litemap v0.8.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]     Checking pem-rfc7468 v0.7.0
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]     Checking cpufeatures v0.2.17
[INFO] [stderr]     Checking once_cell v1.21.4
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]     Checking memchr v2.8.1
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]     Checking base16ct v0.2.0
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking socket2 v0.6.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking mio v1.2.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling tinyvec v1.11.0
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]     Checking ff v0.13.1
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]    Compiling webpki-roots v1.0.6
[INFO] [stderr]     Checking http v1.4.1
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]    Compiling crc-catalog v2.5.0
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking hybrid-array v0.4.12
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling uuid v1.23.1
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling num-conv v0.2.2
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling num-bigint-dig v0.8.6
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]    Compiling time-macros v0.2.27
[INFO] [stderr]     Checking deranged v0.5.8
[INFO] [stderr]     Checking crypto-common v0.2.2
[INFO] [stderr]     Checking inout v0.2.2
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking tower-layer v0.3.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking cipher v0.5.2
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking ryu v1.0.23
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking blowfish v0.10.0
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking matchit v0.8.4
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zeroize_derive v1.4.3
[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.6
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling rustls-webpki v0.103.9
[INFO] [stderr]     Checking der v0.7.10
[INFO] [stderr]     Checking bcrypt v0.19.1
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking simple_asn1 v0.6.4
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking rfc6979 v0.4.0
[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]     Checking spki v0.7.3
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking pkcs1 v0.7.5
[INFO] [stderr]     Checking ed25519-dalek v2.2.0
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking primeorder v0.13.6
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]     Checking p384 v0.13.1
[INFO] [stderr]     Checking p256 v0.13.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking rsa v0.9.10
[INFO] [stderr]     Checking jsonwebtoken v10.4.0
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]     Checking hyper v1.10.1
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking axum v0.8.9
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking stock v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `event_log` is never used
[INFO] [stdout]   --> src/exchange/runtime.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl ExchangeRuntime {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn event_log(&self) -> &[EventEnvelope] {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_id` and `amount` are never read
[INFO] [stdout]  --> src/types/exchange_event.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 |     FundsDeposited { user_id: String, amount: u64 },
[INFO] [stdout]   |     --------------   ^^^^^^^          ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ExchangeEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `order_id` and `seq_num` are never read
[INFO] [stdout]  --> src/types/exchange_event.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 |     OrderAccepted { order_id: String, seq_num: u64 },
[INFO] [stdout]   |     -------------   ^^^^^^^^          ^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ExchangeEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `order_id` and `reason` are never read
[INFO] [stdout]   --> src/types/exchange_event.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 |     OrderRejected { order_id: String, reason: String },
[INFO] [stdout]    |     -------------   ^^^^^^^^          ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ExchangeEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `order_id` and `seq_num` are never read
[INFO] [stdout]   --> src/types/exchange_event.rs:11:21
[INFO] [stdout]    |
[INFO] [stdout] 11 |     OrderCanceled { order_id: String, seq_num: u64 },
[INFO] [stdout]    |     -------------   ^^^^^^^^          ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ExchangeEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `execution` is never read
[INFO] [stdout]   --> src/types/exchange_event.rs:12:24
[INFO] [stdout]    |
[INFO] [stdout] 12 |     ExecutionCreated { execution: Execution },
[INFO] [stdout]    |     ----------------   ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ExchangeEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `seq_num` and `event` are never read
[INFO] [stdout]   --> src/types/exchange_event.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct EventEnvelope {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 17 |     pub seq_num: u64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 18 |     pub event: ExchangeEvent,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EventEnvelope` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `best_bid_ask`, `is_resting`, and `get_order_leaves` are never used
[INFO] [stdout]    --> src/types/matching_engine.rs:70:12
[INFO] [stdout]     |
[INFO] [stdout]  14 | impl MatchingEngine {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  70 |     pub fn best_bid_ask(&self, symbol: &str) -> Option<((f64, u32), (f64, u32))> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn is_resting(&self, order_id: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn get_order_leaves(&self, order_id: &str) -> Option<u32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `best_bid` and `best_ask` are never used
[INFO] [stdout]   --> src/types/order_book.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl OrderBook {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn best_bid(&self) -> Option<(f64, u32)> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn best_ask(&self) -> Option<(f64, u32)> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_state` and `subscribe` are never used
[INFO] [stdout]    --> src/types/order_manager.rs:273:12
[INFO] [stdout]     |
[INFO] [stdout]  49 | impl OrderManager {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 273 |     pub fn get_state(&self, order_id: &str) -> Option<OrderState> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 277 |     pub fn subscribe<F: Fn(Execution) + Send + Sync + 'static>(&mut self, callback: F) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `price` is never read
[INFO] [stdout]  --> src/types/price_level.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct PriceLevel {
[INFO] [stdout]   |            ---------- field in this struct
[INFO] [stdout] 7 |     pub price: f64,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PriceLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `peek_front`, `pop_front`, and `total_quantity` are never used
[INFO] [stdout]   --> src/types/price_level.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl PriceLevel {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn peek_front(&self) -> Option<&Order> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn pop_front(&mut self) -> Option<Order> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub fn total_quantity(&self) -> u32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_limit` and `check_and_record` are never used
[INFO] [stdout]   --> src/types/risk_manager.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl RiskManager {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn set_limit(&mut self, user_id: String, symbol: String, limit: u64) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn check_and_record(&mut self, order: &Order) -> Result<(), RiskError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `execution_id`, `symbol`, and `timestamp` are never read
[INFO] [stdout]    --> src/types/types.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub struct Execution {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 102 |     pub execution_id: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub symbol: String,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub timestamp: f64,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Execution` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Overflow` is never constructed
[INFO] [stdout]    --> src/types/types.rs:125:5
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub enum WalletError {
[INFO] [stdout]     |          ----------- variant in this enum
[INFO] [stdout] 124 |     InsufficientFunds,
[INFO] [stdout] 125 |     Overflow,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `WalletError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `balance`, `locked`, `available`, and `commit_fill` are never used
[INFO] [stdout]   --> src/types/wallet.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Wallet {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn balance(&self, user_id: &str) -> u64 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn locked(&self, user_id: &str) -> u64 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn available(&self, user_id: &str) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub fn commit_fill(
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BalancedResponse` is never constructed
[INFO] [stdout]   --> src/controllers/exchange_controller.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct BalancedResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `best_bid_ask` and `get_order_leaves` are never used
[INFO] [stdout]    --> src/types/matching_engine.rs:70:12
[INFO] [stdout]     |
[INFO] [stdout]  14 | impl MatchingEngine {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  70 |     pub fn best_bid_ask(&self, symbol: &str) -> Option<((f64, u32), (f64, u32))> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn get_order_leaves(&self, order_id: &str) -> Option<u32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `best_bid` and `best_ask` are never used
[INFO] [stdout]   --> src/types/order_book.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl OrderBook {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn best_bid(&self) -> Option<(f64, u32)> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn best_ask(&self) -> Option<(f64, u32)> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `subscribe` is never used
[INFO] [stdout]    --> src/types/order_manager.rs:277:12
[INFO] [stdout]     |
[INFO] [stdout]  49 | impl OrderManager {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 277 |     pub fn subscribe<F: Fn(Execution) + Send + Sync + 'static>(&mut self, callback: F) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `price` is never read
[INFO] [stdout]  --> src/types/price_level.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct PriceLevel {
[INFO] [stdout]   |            ---------- field in this struct
[INFO] [stdout] 7 |     pub price: f64,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PriceLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `peek_front`, `pop_front`, and `total_quantity` are never used
[INFO] [stdout]   --> src/types/price_level.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl PriceLevel {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn peek_front(&self) -> Option<&Order> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn pop_front(&mut self) -> Option<Order> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub fn total_quantity(&self) -> u32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check_and_record` is never used
[INFO] [stdout]   --> src/types/risk_manager.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl RiskManager {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn check_and_record(&mut self, order: &Order) -> Result<(), RiskError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `execution_id`, `symbol`, and `timestamp` are never read
[INFO] [stdout]    --> src/types/types.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub struct Execution {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 102 |     pub execution_id: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub symbol: String,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub timestamp: f64,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Execution` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Overflow` is never constructed
[INFO] [stdout]    --> src/types/types.rs:125:5
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub enum WalletError {
[INFO] [stdout]     |          ----------- variant in this enum
[INFO] [stdout] 124 |     InsufficientFunds,
[INFO] [stdout] 125 |     Overflow,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `WalletError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `commit_fill` is never used
[INFO] [stdout]   --> src/types/wallet.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Wallet {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub fn commit_fill(
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BalancedResponse` is never constructed
[INFO] [stdout]   --> src/controllers/exchange_controller.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct BalancedResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s
[INFO] running `Command { std: "docker" "inspect" "a573c185a267dd2890b8946047b8b61973e9088d335c4c1c09ba3689c7b234d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a573c185a267dd2890b8946047b8b61973e9088d335c4c1c09ba3689c7b234d8", kill_on_drop: false }`
[INFO] [stdout] a573c185a267dd2890b8946047b8b61973e9088d335c4c1c09ba3689c7b234d8
