[INFO] cloning repository https://github.com/fintech-llc-jp/exch-sim-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fintech-llc-jp/exch-sim-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffintech-llc-jp%2Fexch-sim-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffintech-llc-jp%2Fexch-sim-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a175e05a1991de1673cbfd031b02091f6d455674
[INFO] checking fintech-llc-jp/exch-sim-rust against master#df1ae0f7dd168513de2d89beb2cb7a95d4fdc118 for pr-159343
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffintech-llc-jp%2Fexch-sim-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/fintech-llc-jp/exch-sim-rust
[INFO] finished tweaking git repo https://github.com/fintech-llc-jp/exch-sim-rust
[INFO] tweaked toml for git repo https://github.com/fintech-llc-jp/exch-sim-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fintech-llc-jp/exch-sim-rust on toolchain df1ae0f7dd168513de2d89beb2cb7a95d4fdc118
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/fintech-llc-jp/exch-sim-rust 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" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rust-ini v0.20.0
[INFO] [stderr]   Downloaded fragile v2.0.1
[INFO] [stderr]   Downloaded mockall v0.12.1
[INFO] [stderr]   Downloaded config v0.14.1
[INFO] [stderr]   Downloaded mockall_derive v0.12.1
[INFO] [stderr]   Downloaded blowfish v0.9.1
[INFO] [stderr]   Downloaded bcrypt v0.15.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d0c0055124f8adb5cc3cd8e0e568a94708b1922a289e92d6f7210b67381f05d8
[INFO] running `Command { std: "docker" "start" "d0c0055124f8adb5cc3cd8e0e568a94708b1922a289e92d6f7210b67381f05d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d0c0055124f8adb5cc3cd8e0e568a94708b1922a289e92d6f7210b67381f05d8", 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" "d0c0055124f8adb5cc3cd8e0e568a94708b1922a289e92d6f7210b67381f05d8" "/opt/rustwide/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d0c0055124f8adb5cc3cd8e0e568a94708b1922a289e92d6f7210b67381f05d8", 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" "d0c0055124f8adb5cc3cd8e0e568a94708b1922a289e92d6f7210b67381f05d8" "/opt/rustwide/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.104
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling find-msvc-tools v0.1.6
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking bytes v1.11.0
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling serde_json v1.0.148
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling cc v1.2.51
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking zmij v1.0.0
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking indexmap v2.12.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling pest v2.8.4
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling pest_meta v2.8.4
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]     Checking winnow v0.7.14
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking arraydeque v0.5.1
[INFO] [stderr]     Checking yaml-rust2 v0.8.1
[INFO] [stderr]     Checking rust-ini v0.20.0
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking pathdiff v0.2.3
[INFO] [stderr]     Checking bcrypt v0.15.1
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking predicates-core v1.0.9
[INFO] [stderr]     Checking termtree v0.5.1
[INFO] [stderr]     Checking predicates v3.1.3
[INFO] [stderr]     Checking fragile v2.0.1
[INFO] [stderr]     Checking downcast v0.11.0
[INFO] [stderr]     Checking predicates-tree v1.0.12
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling pest_generator v2.8.4
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling pest_derive v2.8.4
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]    Compiling mockall_derive v0.12.1
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]     Checking tungstenite v0.24.0
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking ron v0.8.1
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking mockall v0.12.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking tungstenite v0.21.0
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tokio-tungstenite v0.24.0
[INFO] [stderr]     Checking tokio-tungstenite v0.21.0
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking config v0.14.1
[INFO] [stderr]     Checking hyper-util v0.1.19
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]    Compiling sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking exch-sim-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/websocket/bitflyer.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::Execution`
[INFO] [stdout]  --> src/api/executions.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::Execution;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/api/executions.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/websocket/bitflyer.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OrdStatus`
[INFO] [stdout]    --> src/market_board/board.rs:839:25
[INFO] [stdout]     |
[INFO] [stdout] 839 |     use crate::models::{OrdStatus, OrdType, Side, TimeInForce};
[INFO] [stdout]     |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::Execution`
[INFO] [stdout]  --> src/api/executions.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::Execution;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/api/executions.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/position/manager.rs:128:21
[INFO] [stdout]     |
[INFO] [stdout] 128 |                 let mut user_queues = self.fifo_queues
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/position/manager.rs:145:21
[INFO] [stdout]     |
[INFO] [stdout] 145 |                 let mut user_queues = self.fifo_queues
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/position/manager.rs:167:21
[INFO] [stdout]     |
[INFO] [stdout] 167 |                 let mut user_queues = self.fifo_queues
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/position/manager.rs:184:21
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 let mut user_queues = self.fifo_queues
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/position/manager.rs:128:21
[INFO] [stdout]     |
[INFO] [stdout] 128 |                 let mut user_queues = self.fifo_queues
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/position/manager.rs:145:21
[INFO] [stdout]     |
[INFO] [stdout] 145 |                 let mut user_queues = self.fifo_queues
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/position/manager.rs:167:21
[INFO] [stdout]     |
[INFO] [stdout] 167 |                 let mut user_queues = self.fifo_queues
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/position/manager.rs:184:21
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 let mut user_queues = self.fifo_queues
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/websocket/bitflyer.rs:257:33
[INFO] [stdout]     |
[INFO] [stdout] 257 |     fn map_symbol(symbol: &str, config: &Config) -> Result<String> {
[INFO] [stdout]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `price`
[INFO] [stdout]   --> src/order/order.rs:77:55
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn update_execution(&mut self, exec_qty: i64, price: i64) {
[INFO] [stdout]    |                                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_price`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_pages`
[INFO] [stdout]    --> src/api/executions.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |     let total_pages = ((total_count as f64) / (params.size as f64)).ceil() as i32;
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_pages`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JsonRpcResponse` is never constructed
[INFO] [stdout]   --> src/websocket/bitflyer.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct JsonRpcResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `method` is never read
[INFO] [stdout]   --> src/websocket/bitflyer.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct BoardMessage {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] 24 |     #[serde(default)]
[INFO] [stdout] 25 |     method: Option<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BoardMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SubscribeRequest` is never constructed
[INFO] [stdout]   --> src/websocket/gmo.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct SubscribeRequest {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/websocket/bitflyer.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitflyer::BitflyerWebSocketClient`
[INFO] [stdout]  --> src/websocket/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use bitflyer::BitflyerWebSocketClient;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gmo::GmoWebSocketClient`
[INFO] [stdout]  --> src/websocket/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use gmo::GmoWebSocketClient;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `board::MarketBoard`
[INFO] [stdout]  --> src/market_board/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use board::MarketBoard;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `manager::MarketBoardManager`
[INFO] [stdout]  --> src/market_board/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use manager::MarketBoardManager;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `service::OrderService`
[INFO] [stdout]  --> src/order/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use service::OrderService;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `manager::PositionManager`
[INFO] [stdout]  --> src/position/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use manager::PositionManager;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `position::Position`
[INFO] [stdout]  --> src/position/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use position::Position;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FifoMatch`, `FifoPositionQueue`, and `OpenPosition`
[INFO] [stdout]  --> src/position/mod.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use fifo::{FifoPositionQueue, FifoMatch, OpenPosition};
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::Execution`
[INFO] [stdout]  --> src/api/executions.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::Execution;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/api/executions.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/websocket/bitflyer.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitflyer::BitflyerWebSocketClient`
[INFO] [stdout]  --> src/websocket/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use bitflyer::BitflyerWebSocketClient;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gmo::GmoWebSocketClient`
[INFO] [stdout]  --> src/websocket/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use gmo::GmoWebSocketClient;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OrdStatus`
[INFO] [stdout]    --> src/market_board/board.rs:839:25
[INFO] [stdout]     |
[INFO] [stdout] 839 |     use crate::models::{OrdStatus, OrdType, Side, TimeInForce};
[INFO] [stdout]     |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `board::MarketBoard`
[INFO] [stdout]  --> src/market_board/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use board::MarketBoard;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `manager::MarketBoardManager`
[INFO] [stdout]  --> src/market_board/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use manager::MarketBoardManager;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `service::OrderService`
[INFO] [stdout]  --> src/order/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use service::OrderService;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `manager::PositionManager`
[INFO] [stdout]  --> src/position/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use manager::PositionManager;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `position::Position`
[INFO] [stdout]  --> src/position/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use position::Position;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FifoMatch`, `FifoPositionQueue`, and `OpenPosition`
[INFO] [stdout]  --> src/position/mod.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use fifo::{FifoPositionQueue, FifoMatch, OpenPosition};
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::Execution`
[INFO] [stdout]  --> src/api/executions.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::Execution;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/api/executions.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/position/manager.rs:128:21
[INFO] [stdout]     |
[INFO] [stdout] 128 |                 let mut user_queues = self.fifo_queues
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/position/manager.rs:145:21
[INFO] [stdout]     |
[INFO] [stdout] 145 |                 let mut user_queues = self.fifo_queues
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/position/manager.rs:167:21
[INFO] [stdout]     |
[INFO] [stdout] 167 |                 let mut user_queues = self.fifo_queues
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/position/manager.rs:184:21
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 let mut user_queues = self.fifo_queues
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/position/manager.rs:128:21
[INFO] [stdout]     |
[INFO] [stdout] 128 |                 let mut user_queues = self.fifo_queues
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/position/manager.rs:145:21
[INFO] [stdout]     |
[INFO] [stdout] 145 |                 let mut user_queues = self.fifo_queues
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/position/manager.rs:167:21
[INFO] [stdout]     |
[INFO] [stdout] 167 |                 let mut user_queues = self.fifo_queues
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/position/manager.rs:184:21
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 let mut user_queues = self.fifo_queues
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/websocket/bitflyer.rs:257:33
[INFO] [stdout]     |
[INFO] [stdout] 257 |     fn map_symbol(symbol: &str, config: &Config) -> Result<String> {
[INFO] [stdout]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exec_qty`
[INFO] [stdout]     --> src/market_board/board.rs:1730:29
[INFO] [stdout]      |
[INFO] [stdout] 1730 |         let (matched_entry, exec_qty) = &matching_orders[0];
[INFO] [stdout]      |                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exec_qty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `asks`
[INFO] [stdout]     --> src/market_board/board.rs:1912:13
[INFO] [stdout]      |
[INFO] [stdout] 1912 |         let asks = vec![(14729036.0, 0.1)];
[INFO] [stdout]      |             ^^^^ help: if this is intentional, prefix it with an underscore: `_asks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `price`
[INFO] [stdout]   --> src/order/order.rs:77:55
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn update_execution(&mut self, exec_qty: i64, price: i64) {
[INFO] [stdout]    |                                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_price`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_pages`
[INFO] [stdout]    --> src/api/executions.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |     let total_pages = ((total_count as f64) / (params.size as f64)).ceil() as i32;
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_pages`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JsonRpcResponse` is never constructed
[INFO] [stdout]   --> src/websocket/bitflyer.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct JsonRpcResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `method` is never read
[INFO] [stdout]   --> src/websocket/bitflyer.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct BoardMessage {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] 24 |     #[serde(default)]
[INFO] [stdout] 25 |     method: Option<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BoardMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SubscribeRequest` is never constructed
[INFO] [stdout]   --> src/websocket/gmo.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct SubscribeRequest {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/websocket/bitflyer.rs:257:33
[INFO] [stdout]     |
[INFO] [stdout] 257 |     fn map_symbol(symbol: &str, config: &Config) -> Result<String> {
[INFO] [stdout]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `price`
[INFO] [stdout]   --> src/order/order.rs:77:55
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn update_execution(&mut self, exec_qty: i64, price: i64) {
[INFO] [stdout]    |                                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_price`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_pages`
[INFO] [stdout]    --> src/api/executions.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |     let total_pages = ((total_count as f64) / (params.size as f64)).ceil() as i32;
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_pages`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Order` is never constructed
[INFO] [stdout]   --> src/models.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Order {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Database` is never used
[INFO] [stdout]   --> src/database/mod.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub type Database = DatabaseImpl;
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `query_recent_executions` and `query_trade_history_by_cl_ord_id` are never used
[INFO] [stdout]   --> src/database/trait_.rs:8:14
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub trait DatabaseTrait: Send + Sync {
[INFO] [stdout]    |           ------------- methods in this trait
[INFO] [stdout]  7 |     async fn insert_execution(&self, execution: &Execution) -> Result<()>;
[INFO] [stdout]  8 |     async fn query_recent_executions(&self, from_time: DateTime<Utc>) -> Result<Vec<Execution>>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     async fn query_trade_history_by_cl_ord_id(&self, cl_ord_id: &str) -> Result<Vec<TradeHistory>>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pool` is never used
[INFO] [stdout]   --> src/database/impl_.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl DatabaseImpl {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn pool(&self) -> &PgPool {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JsonRpcResponse` is never constructed
[INFO] [stdout]   --> src/websocket/bitflyer.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct JsonRpcResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `method` is never read
[INFO] [stdout]   --> src/websocket/bitflyer.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct BoardMessage {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] 24 |     #[serde(default)]
[INFO] [stdout] 25 |     method: Option<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BoardMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SubscribeRequest` is never constructed
[INFO] [stdout]   --> src/websocket/gmo.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct SubscribeRequest {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/market_board/board.rs:48:12
[INFO] [stdout]     |
[INFO] [stdout]  35 | impl MarketBoard {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  48 |     pub fn get_symbol(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  52 |     pub fn get_bid(&self, index: usize) -> Option<(i64, i64)> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  60 |     pub fn get_ask(&self, index: usize) -> Option<(i64, i64)> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 223 |     pub fn get_order(&self, cl_ord_id: &str) -> Option<&OrderEntry> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 405 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 410 |     pub fn get_bid_order_board_levels(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 415 |     pub fn get_ask_order_board_levels(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 420 |     pub fn get_bid_entry_board_levels(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 425 |     pub fn get_ask_entry_board_levels(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_snapshot` and `get_available_symbols` are never used
[INFO] [stdout]    --> src/market_board/manager.rs:349:18
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl MarketBoardManager {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 349 |     pub async fn get_snapshot(
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 362 |     pub async fn get_available_symbols(&self) -> Vec<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `symbol`, `price`, and `quantity` are never read
[INFO] [stdout]   --> src/order/order.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Order {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  9 |     pub symbol: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub price: Option<f64>, // None for market orders
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 13 |     pub quantity: f64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Order` 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 `is_flat`, `is_long_position`, and `is_short_position` are never used
[INFO] [stdout]    --> src/position/position.rs:141:12
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl Position {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn is_flat(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn is_long_position(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 149 |     pub fn is_short_position(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timestamp` is never read
[INFO] [stdout]  --> src/position/fifo.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct OpenPosition {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9 |     pub timestamp: DateTime<Utc>,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `OpenPosition` 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 `matched_quantity` is never read
[INFO] [stdout]   --> src/position/fifo.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct FifoMatch {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 15 |     pub open_exec_id: String,
[INFO] [stdout] 16 |     pub matched_quantity: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FifoMatch` 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 `get_remaining_quantity` and `is_empty` are never used
[INFO] [stdout]    --> src/position/fifo.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout]  24 | impl FifoPositionQueue {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn get_remaining_quantity(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ExecutionsByOrderQuery` is never constructed
[INFO] [stdout]   --> src/api/executions.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct ExecutionsByOrderQuery {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `require_role` is never used
[INFO] [stdout]   --> src/middleware/auth.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn require_role(required_role: &str) -> impl Fn(&AuthState) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/websocket/bitflyer.rs:257:33
[INFO] [stdout]     |
[INFO] [stdout] 257 |     fn map_symbol(symbol: &str, config: &Config) -> Result<String> {
[INFO] [stdout]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exec_qty`
[INFO] [stdout]     --> src/market_board/board.rs:1730:29
[INFO] [stdout]      |
[INFO] [stdout] 1730 |         let (matched_entry, exec_qty) = &matching_orders[0];
[INFO] [stdout]      |                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exec_qty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `asks`
[INFO] [stdout]     --> src/market_board/board.rs:1912:13
[INFO] [stdout]      |
[INFO] [stdout] 1912 |         let asks = vec![(14729036.0, 0.1)];
[INFO] [stdout]      |             ^^^^ help: if this is intentional, prefix it with an underscore: `_asks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `price`
[INFO] [stdout]   --> src/order/order.rs:77:55
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn update_execution(&mut self, exec_qty: i64, price: i64) {
[INFO] [stdout]    |                                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_price`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_pages`
[INFO] [stdout]    --> src/api/executions.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |     let total_pages = ((total_count as f64) / (params.size as f64)).ceil() as i32;
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_pages`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Order` is never constructed
[INFO] [stdout]   --> src/models.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Order {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Database` is never used
[INFO] [stdout]   --> src/database/mod.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub type Database = DatabaseImpl;
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `query_recent_executions` and `query_trade_history_by_cl_ord_id` are never used
[INFO] [stdout]   --> src/database/trait_.rs:8:14
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub trait DatabaseTrait: Send + Sync {
[INFO] [stdout]    |           ------------- methods in this trait
[INFO] [stdout]  7 |     async fn insert_execution(&self, execution: &Execution) -> Result<()>;
[INFO] [stdout]  8 |     async fn query_recent_executions(&self, from_time: DateTime<Utc>) -> Result<Vec<Execution>>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     async fn query_trade_history_by_cl_ord_id(&self, cl_ord_id: &str) -> Result<Vec<TradeHistory>>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pool` is never used
[INFO] [stdout]   --> src/database/impl_.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl DatabaseImpl {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn pool(&self) -> &PgPool {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `query_recent_executions` and `query_trade_history_by_cl_ord_id` are never used
[INFO] [stdout]   --> src/database/mock.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub trait MockDatabaseTrait: Send + Sync {
[INFO] [stdout]    |           ----------------- methods in this trait
[INFO] [stdout] 18 |     async fn insert_execution(&self, execution: &Execution) -> Result<()>;
[INFO] [stdout] 19 |     async fn query_recent_executions(&self, from_time: DateTime<Utc>) -> Result<Vec<Execution>>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     async fn query_trade_history_by_cl_ord_id(&self, cl_ord_id: &str) -> Result<Vec<TradeHistory>>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JsonRpcResponse` is never constructed
[INFO] [stdout]   --> src/websocket/bitflyer.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct JsonRpcResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `method` is never read
[INFO] [stdout]   --> src/websocket/bitflyer.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct BoardMessage {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] 24 |     #[serde(default)]
[INFO] [stdout] 25 |     method: Option<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BoardMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SubscribeRequest` is never constructed
[INFO] [stdout]   --> src/websocket/gmo.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct SubscribeRequest {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/market_board/board.rs:48:12
[INFO] [stdout]     |
[INFO] [stdout]  35 | impl MarketBoard {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  48 |     pub fn get_symbol(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  52 |     pub fn get_bid(&self, index: usize) -> Option<(i64, i64)> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  60 |     pub fn get_ask(&self, index: usize) -> Option<(i64, i64)> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 405 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 410 |     pub fn get_bid_order_board_levels(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 415 |     pub fn get_ask_order_board_levels(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 420 |     pub fn get_bid_entry_board_levels(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 425 |     pub fn get_ask_entry_board_levels(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_snapshot` and `get_available_symbols` are never used
[INFO] [stdout]    --> src/market_board/manager.rs:349:18
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl MarketBoardManager {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 349 |     pub async fn get_snapshot(
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 362 |     pub async fn get_available_symbols(&self) -> Vec<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `symbol`, `price`, and `quantity` are never read
[INFO] [stdout]   --> src/order/order.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Order {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  9 |     pub symbol: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub price: Option<f64>, // None for market orders
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 13 |     pub quantity: f64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Order` 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 `timestamp` is never read
[INFO] [stdout]  --> src/position/fifo.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct OpenPosition {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9 |     pub timestamp: DateTime<Utc>,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `OpenPosition` 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 `matched_quantity` is never read
[INFO] [stdout]   --> src/position/fifo.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct FifoMatch {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 15 |     pub open_exec_id: String,
[INFO] [stdout] 16 |     pub matched_quantity: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FifoMatch` 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 `get_remaining_quantity` and `is_empty` are never used
[INFO] [stdout]    --> src/position/fifo.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout]  24 | impl FifoPositionQueue {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn get_remaining_quantity(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ExecutionsByOrderQuery` is never constructed
[INFO] [stdout]   --> src/api/executions.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct ExecutionsByOrderQuery {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `require_role` is never used
[INFO] [stdout]   --> src/middleware/auth.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn require_role(required_role: &str) -> impl Fn(&AuthState) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "d0c0055124f8adb5cc3cd8e0e568a94708b1922a289e92d6f7210b67381f05d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0c0055124f8adb5cc3cd8e0e568a94708b1922a289e92d6f7210b67381f05d8", kill_on_drop: false }`
[INFO] [stdout] d0c0055124f8adb5cc3cd8e0e568a94708b1922a289e92d6f7210b67381f05d8
