[INFO] cloning repository https://github.com/davidsiska-vega/vega_mm_bot_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidsiska-vega/vega_mm_bot_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidsiska-vega%2Fvega_mm_bot_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidsiska-vega%2Fvega_mm_bot_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e5273932c749d5d3e4919eeae550d3b0d31b1e00
[INFO] checking davidsiska-vega/vega_mm_bot_rust against master#4b9792692fbb675174d4d2082e7c37b2bc930e71 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidsiska-vega%2Fvega_mm_bot_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/davidsiska-vega/vega_mm_bot_rust
[INFO] finished tweaking git repo https://github.com/davidsiska-vega/vega_mm_bot_rust
[INFO] tweaked toml for git repo https://github.com/davidsiska-vega/vega_mm_bot_rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/davidsiska-vega/vega_mm_bot_rust on toolchain 4b9792692fbb675174d4d2082e7c37b2bc930e71
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/davidsiska-vega/vega_mm_bot_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" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/jeremyletang/vega-rust-sdk`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tonic-build v0.10.2
[INFO] [stderr]   Downloaded prost-build v0.12.6
[INFO] [stderr]   Downloaded tempfile v3.12.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.86
[INFO] [stderr]   Downloaded colorchoice v1.0.2
[INFO] [stderr]   Downloaded tokio-io-timeout v1.2.0
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.93
[INFO] [stderr]   Downloaded prost v0.12.6
[INFO] [stderr]   Downloaded rustls-pki-types v1.8.0
[INFO] [stderr]   Downloaded clap_derive v4.5.13
[INFO] [stderr]   Downloaded cpufeatures v0.2.13
[INFO] [stderr]   Downloaded tokio-macros v2.4.0
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.93
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.93
[INFO] [stderr]   Downloaded autotools v0.2.7
[INFO] [stderr]   Downloaded anstyle-wincon v3.0.4
[INFO] [stderr]   Downloaded clap_lex v0.7.2
[INFO] [stderr]   Downloaded multimap v0.10.0
[INFO] [stderr]   Downloaded anstyle v1.0.8
[INFO] [stderr]   Downloaded anstyle-query v1.1.1
[INFO] [stderr]   Downloaded hyper-timeout v0.4.1
[INFO] [stderr]   Downloaded lru v0.12.4
[INFO] [stderr]   Downloaded ct-codecs v1.1.1
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.43
[INFO] [stderr]   Downloaded security-framework-sys v2.11.1
[INFO] [stderr]   Downloaded prost-types v0.12.6
[INFO] [stderr]   Downloaded prost-derive v0.12.6
[INFO] [stderr]   Downloaded ed25519-compact v2.1.1
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.93
[INFO] [stderr]   Downloaded native-tls v0.2.12
[INFO] [stderr]   Downloaded rustls-pemfile v2.1.3
[INFO] [stderr]   Downloaded anstream v0.6.15
[INFO] [stderr]   Downloaded async-trait v0.1.81
[INFO] [stderr]   Downloaded anstyle-parse v0.2.5
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.93
[INFO] [stderr]   Downloaded prettyplease v0.2.20
[INFO] [stderr]   Downloaded js-sys v0.3.70
[INFO] [stderr]   Downloaded axum-core v0.3.4
[INFO] [stderr]   Downloaded httparse v1.9.4
[INFO] [stderr]   Downloaded tokio-rustls v0.26.0
[INFO] [stderr]   Downloaded addr2line v0.22.0
[INFO] [stderr]   Downloaded rustversion v1.0.17
[INFO] [stderr]   Downloaded url v2.5.2
[INFO] [stderr]   Downloaded hyper-util v0.1.7
[INFO] [stderr]   Downloaded clap v4.5.16
[INFO] [stderr]   Downloaded miniz_oxide v0.7.4
[INFO] [stderr]   Downloaded hyper-rustls v0.27.2
[INFO] [stderr]   Downloaded serde_derive v1.0.208
[INFO] [stderr]   Downloaded tungstenite v0.18.0
[INFO] [stderr]   Downloaded bytes v1.7.1
[INFO] [stderr]   Downloaded indexmap v2.4.0
[INFO] [stderr]   Downloaded tonic v0.10.2
[INFO] [stderr]   Downloaded backtrace v0.3.73
[INFO] [stderr]   Downloaded cc v1.1.13
[INFO] [stderr]   Downloaded serde v1.0.208
[INFO] [stderr]   Downloaded openssl-sys v0.9.103
[INFO] [stderr]   Downloaded mio v1.0.2
[INFO] [stderr]   Downloaded syn v2.0.75
[INFO] [stderr]   Downloaded axum v0.6.20
[INFO] [stderr]   Downloaded serde_json v1.0.125
[INFO] [stderr]   Downloaded h2 v0.4.6
[INFO] [stderr]   Downloaded hyper v0.14.30
[INFO] [stderr]   Downloaded hyper v1.4.1
[INFO] [stderr]   Downloaded clap_builder v4.5.15
[INFO] [stderr]   Downloaded reqwest v0.12.7
[INFO] [stderr]   Downloaded rustls-webpki v0.102.6
[INFO] [stderr]   Downloaded regex v1.10.6
[INFO] [stderr]   Downloaded gimli v0.29.0
[INFO] [stderr]   Downloaded openssl v0.10.66
[INFO] [stderr]   Downloaded regex-syntax v0.8.4
[INFO] [stderr]   Downloaded object v0.36.3
[INFO] [stderr]   Downloaded rustls v0.23.12
[INFO] [stderr]   Downloaded regex-automata v0.4.7
[INFO] [stderr]   Downloaded web-sys v0.3.70
[INFO] [stderr]   Downloaded petgraph v0.6.5
[INFO] [stderr]   Downloaded libc v0.2.158
[INFO] [stderr]   Downloaded tokio v1.39.3
[INFO] [stderr]   Downloaded protobuf-src v1.1.0+21.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4b3506dbc66129aa1bd3ec7670a5b3a5afda8664aa88694052caeca1898aefac
[INFO] running `Command { std: "docker" "start" "-a" "4b3506dbc66129aa1bd3ec7670a5b3a5afda8664aa88694052caeca1898aefac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4b3506dbc66129aa1bd3ec7670a5b3a5afda8664aa88694052caeca1898aefac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b3506dbc66129aa1bd3ec7670a5b3a5afda8664aa88694052caeca1898aefac", kill_on_drop: false }`
[INFO] [stdout] 4b3506dbc66129aa1bd3ec7670a5b3a5afda8664aa88694052caeca1898aefac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 451522201beab2d1930363d030756671db082bf19ce17a9c3d1f579c71c364df
[INFO] running `Command { std: "docker" "start" "-a" "451522201beab2d1930363d030756671db082bf19ce17a9c3d1f579c71c364df", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking bytes v1.7.1
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]    Compiling cc v1.1.13
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking allocator-api2 v0.2.18
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling syn v2.0.75
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling serde v1.0.208
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking tower-layer v0.3.3
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling prettyplease v0.2.20
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking tinyvec v1.8.0
[INFO] [stderr]    Compiling autotools v0.2.7
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling indexmap v2.4.0
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]    Compiling protobuf-src v1.1.0+21.5
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]    Compiling multimap v0.10.0
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]    Compiling tempfile v3.12.0
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking cpufeatures v0.2.13
[INFO] [stderr]     Checking anstyle-parse v0.2.5
[INFO] [stderr]    Compiling regex v1.10.6
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]     Checking anstyle-query v1.1.1
[INFO] [stderr]     Checking anstyle v1.0.8
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling prost-derive v0.12.6
[INFO] [stderr]     Checking tokio v1.39.3
[INFO] [stderr]    Compiling serde_derive v1.0.208
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling prost v0.12.6
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling prost-types v0.12.6
[INFO] [stderr]    Compiling async-trait v0.1.81
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling prost-build v0.12.6
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]     Checking colorchoice v1.0.2
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling serde_json v1.0.125
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking tokio-io-timeout v1.2.0
[INFO] [stderr]    Compiling tonic-build v0.10.2
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking h2 v0.4.6
[INFO] [stderr]     Checking tokio-stream v0.1.15
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking crypto-mac v0.11.0
[INFO] [stderr]     Checking anstream v0.6.15
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking keccak v0.1.5
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking opaque-debug v0.3.1
[INFO] [stderr]     Checking ct-codecs v1.1.1
[INFO] [stderr]     Checking rustls-pki-types v1.8.0
[INFO] [stderr]     Checking bitcoin_hashes v0.11.0
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking clap_lex v0.7.2
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking clap_builder v4.5.15
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking rustls-pemfile v2.1.3
[INFO] [stderr]     Checking ed25519-compact v2.1.1
[INFO] [stderr]     Checking hyper v1.4.1
[INFO] [stderr]     Checking bip39 v2.0.0
[INFO] [stderr]     Checking hyper v0.14.30
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking hmac v0.11.0
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling clap_derive v4.5.13
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking sync_wrapper v1.0.1
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking hyper-util v0.1.7
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking tungstenite v0.18.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking pretty_env_logger v0.4.0
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking lru v0.12.4
[INFO] [stderr]     Checking reqwest v0.12.7
[INFO] [stderr]     Checking clap v4.5.16
[INFO] [stderr]     Checking hyper-timeout v0.4.1
[INFO] [stderr]     Checking tonic v0.10.2
[INFO] [stderr]    Compiling vega_protobufs v0.1.0 (https://github.com/jeremyletang/vega-rust-sdk#39772a10)
[INFO] [stderr]     Checking vega_crypto v0.1.0 (https://github.com/jeremyletang/vega-rust-sdk#39772a10)
[INFO] [stderr]     Checking basic_mm_bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Arg`
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use clap::{Arg, Parser};
[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: `error`
[INFO] [stdout]  --> src/bybit_feed.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use log::{error, info};
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Arg`
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use clap::{Arg, Parser};
[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: `error`
[INFO] [stdout]  --> src/bybit_feed.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use log::{error, info};
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::Error`
[INFO] [stdout]  --> src/bybit_feed.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use reqwest::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::Error`
[INFO] [stdout]  --> src/bybit_feed.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use reqwest::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures_util::lock::MutexGuard as FuturesUtilsMutexGuard`
[INFO] [stdout]  --> src/strategy2.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use futures_util::lock::MutexGuard as FuturesUtilsMutexGuard;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vega_protobufs::vega::events::v1::ExpiredOrders`
[INFO] [stdout]  --> src/strategy2.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use vega_protobufs::vega::events::v1::ExpiredOrders;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures_util::lock::MutexGuard as FuturesUtilsMutexGuard`
[INFO] [stdout]  --> src/strategy2.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use futures_util::lock::MutexGuard as FuturesUtilsMutexGuard;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/strategy2.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vega_protobufs::vega::events::v1::ExpiredOrders`
[INFO] [stdout]  --> src/strategy2.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use vega_protobufs::vega::events::v1::ExpiredOrders;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::Thread`
[INFO] [stdout]  --> src/strategy2.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::thread::Thread;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_traits::cast::FromPrimitive`
[INFO] [stdout]  --> src/strategy2.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use num_traits::cast::FromPrimitive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]   --> src/strategy2.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use rand::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/strategy2.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::Thread`
[INFO] [stdout]  --> src/strategy2.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::thread::Thread;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_traits::cast::FromPrimitive`
[INFO] [stdout]  --> src/strategy2.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use num_traits::cast::FromPrimitive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]   --> src/strategy2.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use rand::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LiquidityProvisionAmendment`, `LiquidityProvisionCancellation`, and `LiquidityProvisionSubmission`
[INFO] [stdout]   --> src/strategy2.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         LiquidityProvisionSubmission,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 24 |         LiquidityProvisionAmendment,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 25 |         LiquidityProvisionCancellation,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Position`
[INFO] [stdout]   --> src/strategy2.rs:31:35
[INFO] [stdout]    |
[INFO] [stdout] 31 | use vega_protobufs::vega::{Asset, Position};
[INFO] [stdout]    |                                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LiquidityProvisionAmendment`, `LiquidityProvisionCancellation`, and `LiquidityProvisionSubmission`
[INFO] [stdout]   --> src/strategy2.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         LiquidityProvisionSubmission,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 24 |         LiquidityProvisionAmendment,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 25 |         LiquidityProvisionCancellation,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vega_protobufs::vega::MarketData`
[INFO] [stdout]   --> src/strategy2.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use vega_protobufs::vega::MarketData;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Position`
[INFO] [stdout]   --> src/strategy2.rs:31:35
[INFO] [stdout]    |
[INFO] [stdout] 31 | use vega_protobufs::vega::{Asset, Position};
[INFO] [stdout]    |                                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vega_store2`
[INFO] [stdout]   --> src/strategy2.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 | use crate::{Config, vega_store2};
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vega_protobufs::vega::MarketData`
[INFO] [stdout]   --> src/strategy2.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use vega_protobufs::vega::MarketData;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vega_store2`
[INFO] [stdout]   --> src/strategy2.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 | use crate::{Config, vega_store2};
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/strategy2.rs:37:30
[INFO] [stdout]    |
[INFO] [stdout] 37 | use crate::estimate_params::{self, estimate_lambda2, estimate_kappa};
[INFO] [stdout]    |                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/strategy2.rs:37:30
[INFO] [stdout]    |
[INFO] [stdout] 37 | use crate::estimate_params::{self, estimate_lambda2, estimate_kappa};
[INFO] [stdout]    |                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures_util::lock::MutexGuard as FuturesUtilsMutexGuard`
[INFO] [stdout]  --> src/liquidity_vega.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use futures_util::lock::MutexGuard as FuturesUtilsMutexGuard;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures_util::lock::MutexGuard as FuturesUtilsMutexGuard`
[INFO] [stdout]  --> src/liquidity_vega.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use futures_util::lock::MutexGuard as FuturesUtilsMutexGuard;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_traits::ToPrimitive`
[INFO] [stdout]  --> src/liquidity_vega.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num_traits::ToPrimitive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vega_protobufs::vega::events::v1::ExpiredOrders`
[INFO] [stdout]  --> src/liquidity_vega.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use vega_protobufs::vega::events::v1::ExpiredOrders;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_traits::ToPrimitive`
[INFO] [stdout]  --> src/liquidity_vega.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num_traits::ToPrimitive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/liquidity_vega.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH`
[INFO] [stdout]  --> src/liquidity_vega.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::{SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vega_protobufs::vega::events::v1::ExpiredOrders`
[INFO] [stdout]  --> src/liquidity_vega.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use vega_protobufs::vega::events::v1::ExpiredOrders;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_bigint::BigUint`
[INFO] [stdout]  --> src/liquidity_vega.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use num_bigint::BigUint;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/liquidity_vega.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_traits::cast::FromPrimitive`
[INFO] [stdout]  --> src/liquidity_vega.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use num_traits::cast::FromPrimitive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/liquidity_vega.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH`
[INFO] [stdout]  --> src/liquidity_vega.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::{SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time`
[INFO] [stdout]   --> src/liquidity_vega.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::time;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_bigint::BigUint`
[INFO] [stdout]  --> src/liquidity_vega.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use num_bigint::BigUint;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_traits::cast::FromPrimitive`
[INFO] [stdout]  --> src/liquidity_vega.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use num_traits::cast::FromPrimitive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BatchMarketInstructions`, `Market`, `OrderCancellation`, `OrderSubmission`, `Side`, `TimeInForce`, `Type`, and `instrument::Product`
[INFO] [stdout]   --> src/liquidity_vega.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         BatchMarketInstructions, 
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |         OrderCancellation, 
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |         OrderSubmission,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     instrument::Product,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     order::{TimeInForce, Type},
[INFO] [stdout]    |             ^^^^^^^^^^^  ^^^^
[INFO] [stdout] 27 |     Market, Side
[INFO] [stdout]    |     ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Asset` and `Position`
[INFO] [stdout]   --> src/liquidity_vega.rs:29:28
[INFO] [stdout]    |
[INFO] [stdout] 29 | use vega_protobufs::vega::{Asset, Position};
[INFO] [stdout]    |                            ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/liquidity_vega.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vega_protobufs::vega::MarketData`
[INFO] [stdout]   --> src/liquidity_vega.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use vega_protobufs::vega::MarketData;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time`
[INFO] [stdout]   --> src/liquidity_vega.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::time;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vega_store2`
[INFO] [stdout]   --> src/liquidity_vega.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 33 | use crate::{Config, vega_store2};
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::opt_offsets`
[INFO] [stdout]   --> src/liquidity_vega.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use crate::opt_offsets;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `estimate_kappa`, `estimate_lambda2`, and `self`
[INFO] [stdout]   --> src/liquidity_vega.rs:35:30
[INFO] [stdout]    |
[INFO] [stdout] 35 | use crate::estimate_params::{self, estimate_lambda2, estimate_kappa};
[INFO] [stdout]    |                              ^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BatchMarketInstructions`, `Market`, `OrderCancellation`, `OrderSubmission`, `Side`, `TimeInForce`, `Type`, and `instrument::Product`
[INFO] [stdout]   --> src/liquidity_vega.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         BatchMarketInstructions, 
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |         OrderCancellation, 
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |         OrderSubmission,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     instrument::Product,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     order::{TimeInForce, Type},
[INFO] [stdout]    |             ^^^^^^^^^^^  ^^^^
[INFO] [stdout] 27 |     Market, Side
[INFO] [stdout]    |     ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Asset` and `Position`
[INFO] [stdout]   --> src/liquidity_vega.rs:29:28
[INFO] [stdout]    |
[INFO] [stdout] 29 | use vega_protobufs::vega::{Asset, Position};
[INFO] [stdout]    |                            ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vega_protobufs::vega::MarketData`
[INFO] [stdout]   --> src/liquidity_vega.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use vega_protobufs::vega::MarketData;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vega_store2`
[INFO] [stdout]   --> src/liquidity_vega.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 33 | use crate::{Config, vega_store2};
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::opt_offsets`
[INFO] [stdout]   --> src/liquidity_vega.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use crate::opt_offsets;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]  --> src/opt_offsets.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use log::info;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `estimate_kappa`, `estimate_lambda2`, and `self`
[INFO] [stdout]   --> src/liquidity_vega.rs:35:30
[INFO] [stdout]    |
[INFO] [stdout] 35 | use crate::estimate_params::{self, estimate_lambda2, estimate_kappa};
[INFO] [stdout]    |                              ^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vega_protobufs::vega::Trade`
[INFO] [stdout]  --> src/estimate_params.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use vega_protobufs::vega::Trade;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]  --> src/opt_offsets.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use log::info;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/opt_offsets.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vega_protobufs::vega::Trade`
[INFO] [stdout]  --> src/estimate_params.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use vega_protobufs::vega::Trade;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vega_protobufs::vega::trade`
[INFO] [stdout]  --> src/estimate_params.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use vega_protobufs::vega::trade;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vega_store2::VegaStore`
[INFO] [stdout]  --> src/estimate_params.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::vega_store2::VegaStore;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/estimate_params.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |         if (init_t - t.timestamp >= ONE_MINUTE) {
[INFO] [stdout]    |            ^                                  ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 29 -         if (init_t - t.timestamp >= ONE_MINUTE) {
[INFO] [stdout] 29 +         if init_t - t.timestamp >= ONE_MINUTE  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vega_protobufs::vega::trade`
[INFO] [stdout]  --> src/estimate_params.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use vega_protobufs::vega::trade;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vega_store2::VegaStore`
[INFO] [stdout]  --> src/estimate_params.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::vega_store2::VegaStore;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/estimate_params.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |         if (init_t - t.timestamp >= ONE_MINUTE) {
[INFO] [stdout]    |            ^                                  ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 29 -         if (init_t - t.timestamp >= ONE_MINUTE) {
[INFO] [stdout] 29 +         if init_t - t.timestamp >= ONE_MINUTE  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
[INFO] [stdout]   --> src/bybit_feed.rs:72:53
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 let naive_datetime = NaiveDateTime::from_timestamp((order_book.time/1000) as i64, 0);
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
[INFO] [stdout]   --> src/bybit_feed.rs:72:53
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 let naive_datetime = NaiveDateTime::from_timestamp((order_book.time/1000) as i64, 0);
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
[INFO] [stdout]    --> src/vega_store2.rs:344:41
[INFO] [stdout]     |
[INFO] [stdout] 344 |     let naive_datetime = NaiveDateTime::from_timestamp(seconds as i64, nanoseconds as u32);
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]    --> src/vega_store2.rs:347:49
[INFO] [stdout]     |
[INFO] [stdout] 347 |     let utc_datetime: DateTime<Utc> = DateTime::from_utc(naive_datetime, Utc);
[INFO] [stdout]     |                                                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
[INFO] [stdout]    --> src/vega_store2.rs:344:41
[INFO] [stdout]     |
[INFO] [stdout] 344 |     let naive_datetime = NaiveDateTime::from_timestamp(seconds as i64, nanoseconds as u32);
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]    --> src/vega_store2.rs:347:49
[INFO] [stdout]     |
[INFO] [stdout] 347 |     let utc_datetime: DateTime<Utc> = DateTime::from_utc(naive_datetime, Utc);
[INFO] [stdout]     |                                                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> src/strategy2.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let d = Decimals::new(&mkt, &asset);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base`
[INFO] [stdout]    --> src/strategy2.rs:127:27
[INFO] [stdout]     |
[INFO] [stdout] 127 |         MarketAsset::Spot(base, _quote) => store.lock().unwrap().get_asset(_quote),
[INFO] [stdout]     |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_base`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/strategy2.rs:712:5
[INFO] [stdout]     |
[INFO] [stdout] 712 |     i: u64,
[INFO] [stdout]     |     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> src/liquidity_vega.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let d = Decimals::new(&mkt, &asset);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pubkey`
[INFO] [stdout]    --> src/vega_store2.rs:311:5
[INFO] [stdout]     |
[INFO] [stdout] 311 |     pubkey: String,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pubkey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `position_factor`
[INFO] [stdout]   --> src/opt_offsets.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     position_factor: f64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position_factor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> src/strategy2.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let d = Decimals::new(&mkt, &asset);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base`
[INFO] [stdout]    --> src/strategy2.rs:127:27
[INFO] [stdout]     |
[INFO] [stdout] 127 |         MarketAsset::Spot(base, _quote) => store.lock().unwrap().get_asset(_quote),
[INFO] [stdout]     |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_base`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/strategy2.rs:712:5
[INFO] [stdout]     |
[INFO] [stdout] 712 |     i: u64,
[INFO] [stdout]     |     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> src/liquidity_vega.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let d = Decimals::new(&mkt, &asset);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:257:13
[INFO] [stdout]     |
[INFO] [stdout] 257 |         let mut rng = rand::thread_rng();
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]    --> src/main.rs:257:13
[INFO] [stdout]     |
[INFO] [stdout] 257 |         let mut rng = rand::thread_rng();
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `retCode`, `retMsg`, and `retExtInfo` are never read
[INFO] [stdout]   --> src/bybit_feed.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct ApiResponse {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 12 |     retCode: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 13 |     retMsg: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 14 |     result: ResultData,
[INFO] [stdout] 15 |     retExtInfo: serde_json::Value,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `s`, `ts`, `u`, `seq`, and `cts` are never read
[INFO] [stdout]   --> src/bybit_feed.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct ResultData {
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] 21 |     s: String,
[INFO] [stdout]    |     ^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     ts: u64,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 25 |     u: u64,
[INFO] [stdout]    |     ^
[INFO] [stdout] 26 |     seq: u64,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 27 |     cts: u64,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ResultData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_order_size_mm_linear` is never used
[INFO] [stdout]    --> src/strategy2.rs:695:4
[INFO] [stdout]     |
[INFO] [stdout] 695 | fn get_order_size_mm_linear(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `position_decimal_places`, `price_decimal_places`, and `asset_decimal_places` are never read
[INFO] [stdout]    --> src/strategy2.rs:753:5
[INFO] [stdout]     |
[INFO] [stdout] 752 | pub struct Decimals {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] 753 |     position_decimal_places: i64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 754 |     price_decimal_places: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 755 |     asset_decimal_places: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `from_asset_precision`, `from_market_price_precision`, `from_market_position_precision`, `to_market_price_precision`, and `to_market_position_precision` are never used
[INFO] [stdout]    --> src/strategy2.rs:773:8
[INFO] [stdout]     |
[INFO] [stdout] 761 | impl Decimals {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 773 |     fn from_asset_precision(&self, amount: f64) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 777 |     fn from_market_price_precision(&self, price: f64) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 781 |     fn from_market_position_precision(&self, position: f64) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 785 |     fn to_market_price_precision(&self, price: f64) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 789 |     fn to_market_position_precision(&self, position: f64) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_assets` is never used
[INFO] [stdout]    --> src/vega_store2.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout]  41 | impl VegaStore {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn get_assets(&self) -> Vec<Asset> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `estimate_lambda` is never used
[INFO] [stdout]   --> src/estimate_params.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn estimate_lambda(initial_lambd: f64, 
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BuySellUnsure` is never used
[INFO] [stdout]    --> src/estimate_params.rs:118:10
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub enum BuySellUnsure {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `trade_is_buy` is never used
[INFO] [stdout]    --> src/estimate_params.rs:124:8
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub fn trade_is_buy(t: TradeStat) -> BuySellUnsure {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_trades_unif` is never used
[INFO] [stdout]    --> src/estimate_params.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout] 138 |     pub fn generate_trades_unif(start_t: u64, end_t: u64, num_trades: u64) -> Vec<TradeStat> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `retCode` should have a snake case name
[INFO] [stdout]   --> src/bybit_feed.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     retCode: i32,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `ret_code`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `retMsg` should have a snake case name
[INFO] [stdout]   --> src/bybit_feed.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     retMsg: String,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `ret_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `retExtInfo` should have a snake case name
[INFO] [stdout]   --> src/bybit_feed.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     retExtInfo: serde_json::Value,
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to snake case: `ret_ext_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pubkey`
[INFO] [stdout]    --> src/vega_store2.rs:311:5
[INFO] [stdout]     |
[INFO] [stdout] 311 |     pubkey: String,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pubkey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `position_factor`
[INFO] [stdout]   --> src/opt_offsets.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     position_factor: f64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position_factor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ask_offset`
[INFO] [stdout]    --> src/opt_offsets.rs:125:14
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let (ask_offset, submit_asks, bid_offset, submit_bids) =
[INFO] [stdout]     |              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ask_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ask_offset`
[INFO] [stdout]    --> src/opt_offsets.rs:136:14
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let (ask_offset, submit_asks, bid_offset, submit_bids) =
[INFO] [stdout]     |              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ask_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bid_offset`
[INFO] [stdout]    --> src/opt_offsets.rs:147:39
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let (ask_offset, submit_asks, bid_offset, submit_bids) =
[INFO] [stdout]     |                                       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bid_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bid_offset`
[INFO] [stdout]    --> src/opt_offsets.rs:158:39
[INFO] [stdout]     |
[INFO] [stdout] 158 |         let (ask_offset, submit_asks, bid_offset, submit_bids) =
[INFO] [stdout]     |                                       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bid_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lambd`
[INFO] [stdout]    --> src/estimate_params.rs:160:13
[INFO] [stdout]     |
[INFO] [stdout] 160 |         let lambd = estimate_lambda(1.0, &empty_trades_vec);
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_lambd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:257:13
[INFO] [stdout]     |
[INFO] [stdout] 257 |         let mut rng = rand::thread_rng();
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]    --> src/main.rs:257:13
[INFO] [stdout]     |
[INFO] [stdout] 257 |         let mut rng = rand::thread_rng();
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `retCode`, `retMsg`, and `retExtInfo` are never read
[INFO] [stdout]   --> src/bybit_feed.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct ApiResponse {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 12 |     retCode: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 13 |     retMsg: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 14 |     result: ResultData,
[INFO] [stdout] 15 |     retExtInfo: serde_json::Value,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `s`, `ts`, `u`, `seq`, and `cts` are never read
[INFO] [stdout]   --> src/bybit_feed.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct ResultData {
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] 21 |     s: String,
[INFO] [stdout]    |     ^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     ts: u64,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 25 |     u: u64,
[INFO] [stdout]    |     ^
[INFO] [stdout] 26 |     seq: u64,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 27 |     cts: u64,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ResultData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_order_size_mm_linear` is never used
[INFO] [stdout]    --> src/strategy2.rs:695:4
[INFO] [stdout]     |
[INFO] [stdout] 695 | fn get_order_size_mm_linear(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `position_decimal_places`, `price_decimal_places`, and `asset_decimal_places` are never read
[INFO] [stdout]    --> src/strategy2.rs:753:5
[INFO] [stdout]     |
[INFO] [stdout] 752 | pub struct Decimals {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] 753 |     position_decimal_places: i64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 754 |     price_decimal_places: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 755 |     asset_decimal_places: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `from_asset_precision`, `from_market_price_precision`, `from_market_position_precision`, `to_market_price_precision`, and `to_market_position_precision` are never used
[INFO] [stdout]    --> src/strategy2.rs:773:8
[INFO] [stdout]     |
[INFO] [stdout] 761 | impl Decimals {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 773 |     fn from_asset_precision(&self, amount: f64) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 777 |     fn from_market_price_precision(&self, price: f64) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 781 |     fn from_market_position_precision(&self, position: f64) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 785 |     fn to_market_price_precision(&self, price: f64) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 789 |     fn to_market_position_precision(&self, position: f64) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_assets` is never used
[INFO] [stdout]    --> src/vega_store2.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout]  41 | impl VegaStore {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn get_assets(&self) -> Vec<Asset> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BuySellUnsure` is never used
[INFO] [stdout]    --> src/estimate_params.rs:118:10
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub enum BuySellUnsure {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `trade_is_buy` is never used
[INFO] [stdout]    --> src/estimate_params.rs:124:8
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub fn trade_is_buy(t: TradeStat) -> BuySellUnsure {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `retCode` should have a snake case name
[INFO] [stdout]   --> src/bybit_feed.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     retCode: i32,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `ret_code`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `retMsg` should have a snake case name
[INFO] [stdout]   --> src/bybit_feed.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     retMsg: String,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `ret_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `retExtInfo` should have a snake case name
[INFO] [stdout]   --> src/bybit_feed.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     retExtInfo: serde_json::Value,
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to snake case: `ret_ext_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 17s
[INFO] running `Command { std: "docker" "inspect" "451522201beab2d1930363d030756671db082bf19ce17a9c3d1f579c71c364df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "451522201beab2d1930363d030756671db082bf19ce17a9c3d1f579c71c364df", kill_on_drop: false }`
[INFO] [stdout] 451522201beab2d1930363d030756671db082bf19ce17a9c3d1f579c71c364df
