[INFO] cloning repository https://github.com/sub0xdai/artemis_
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sub0xdai/artemis_" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsub0xdai%2Fartemis_", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsub0xdai%2Fartemis_'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e33c559ef74cbd391baed673184c8fa174bd233e
[INFO] checking sub0xdai/artemis_ against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsub0xdai%2Fartemis_" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sub0xdai/artemis_
[INFO] finished tweaking git repo https://github.com/sub0xdai/artemis_
[INFO] tweaked toml for git repo https://github.com/sub0xdai/artemis_ written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sub0xdai/artemis_ on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sub0xdai/artemis_ 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e1d87d711e8fc921b5da102d5d67bd49c3d1806208eac3875f007a429a621ae9
[INFO] running `Command { std: "docker" "start" "e1d87d711e8fc921b5da102d5d67bd49c3d1806208eac3875f007a429a621ae9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e1d87d711e8fc921b5da102d5d67bd49c3d1806208eac3875f007a429a621ae9", 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" "e1d87d711e8fc921b5da102d5d67bd49c3d1806208eac3875f007a429a621ae9" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e1d87d711e8fc921b5da102d5d67bd49c3d1806208eac3875f007a429a621ae9", 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" "e1d87d711e8fc921b5da102d5d67bd49c3d1806208eac3875f007a429a621ae9" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]     Checking itoa v1.0.16
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]    Compiling ryu v1.0.21
[INFO] [stderr]    Compiling cc v1.2.50
[INFO] [stderr]     Checking rustls-pki-types v1.13.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking serde_json v1.0.145
[INFO] [stderr]     Checking webpki-roots v1.0.4
[INFO] [stderr]     Checking webpki-roots v0.26.11
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking signal-hook-registry v1.4.7
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking ff v0.13.1
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking k256 v0.13.4
[INFO] [stderr]    Compiling rustls v0.23.35
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling macro-string v0.1.4
[INFO] [stderr]    Compiling syn-solidity v1.5.1
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling derive_more-impl v2.1.0
[INFO] [stderr]    Compiling alloy-rlp-derive v0.3.12
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[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 tokio-macros v2.6.0
[INFO] [stderr]    Compiling auto_impl v1.3.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling num_enum_derive v0.7.5
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking rustls-webpki v0.103.8
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking num_enum v0.7.5
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking strum v0.27.2
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking derive_more v2.1.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking bytes v1.11.0
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking alloy-sol-type-parser v1.5.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking dashmap v6.1.0
[INFO] [stderr]     Checking alloy-rlp v0.3.12
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking ruint v1.17.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]    Compiling alloy-primitives v1.5.1
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking nybbles v0.4.6
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking tungstenite v0.28.0
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling alloy-json-abi v1.5.1
[INFO] [stderr]     Checking alloy-serde v1.1.3
[INFO] [stderr]     Checking alloy-eip2930 v0.2.3
[INFO] [stderr]     Checking alloy-eip7702 v0.6.3
[INFO] [stderr]     Checking alloy-eip2124 v0.2.0
[INFO] [stderr]     Checking alloy-trie v0.9.1
[INFO] [stderr]     Checking alloy-signer v1.1.3
[INFO] [stderr]     Checking alloy-chains v0.2.23
[INFO] [stderr]    Compiling alloy-sol-macro-input v1.5.1
[INFO] [stderr]    Compiling alloy-sol-macro-expander v1.5.1
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling serde_with_macros v3.16.1
[INFO] [stderr]    Compiling alloy-tx-macros v1.1.3
[INFO] [stderr]     Checking serde_with v3.16.1
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking tokio-tungstenite v0.28.0
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking hyper-util v0.1.19
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]    Compiling alloy-sol-macro v1.5.1
[INFO] [stderr]     Checking alloy-eips v1.1.3
[INFO] [stderr]     Checking alloy-sol-types v1.5.1
[INFO] [stderr]     Checking hyper-rustls v0.27.7
[INFO] [stderr]     Checking reqwest v0.12.26
[INFO] [stderr]     Checking alloy-consensus v1.1.3
[INFO] [stderr]     Checking alloy-network-primitives v1.1.3
[INFO] [stderr]     Checking alloy-consensus-any v1.1.3
[INFO] [stderr]     Checking alloy-json-rpc v1.1.3
[INFO] [stderr]     Checking alloy-dyn-abi v1.5.1
[INFO] [stderr]     Checking alloy-rpc-types-eth v1.1.3
[INFO] [stderr]     Checking alloy-transport v1.1.3
[INFO] [stderr]     Checking alloy-core v1.5.1
[INFO] [stderr]     Checking alloy-transport-http v1.1.3
[INFO] [stderr]     Checking alloy-rpc-client v1.1.3
[INFO] [stderr]     Checking alloy-rpc-types-any v1.1.3
[INFO] [stderr]     Checking alloy-rpc-types v1.1.3
[INFO] [stderr]     Checking alloy-network v1.1.3
[INFO] [stderr]     Checking alloy-provider v1.1.3
[INFO] [stderr]     Checking alloy-signer-local v1.1.3
[INFO] [stderr]     Checking alloy-contract v1.1.3
[INFO] [stderr]     Checking alloy v1.1.3
[INFO] [stderr]     Checking poly-arb-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `is_arb_opportunity` is never used
[INFO] [stdout]   --> src/engine.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn is_arb_opportunity(yes_ask: PriceMicros, no_ask: PriceMicros) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_profit` is never used
[INFO] [stdout]   --> src/engine.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn calculate_profit(yes_ask: PriceMicros, no_ask: PriceMicros) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `condition_id` is never read
[INFO] [stdout]   --> src/engine.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub struct MarketState {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 89 |     /// Market/condition identifier
[INFO] [stdout] 90 |     pub condition_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MarketState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `success`, `error_msg`, and `status` are never read
[INFO] [stdout]    --> src/sdk.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub struct OrderResponse {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] 150 |     #[serde(default)]
[INFO] [stdout] 151 |     pub success: bool,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub error_msg: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 156 |     #[serde(default)]
[INFO] [stdout] 157 |     pub status: Option<String>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OrderResponse` 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: constant `AUTH_DOMAIN_NAME` is never used
[INFO] [stdout]   --> src/signing.rs:29:7
[INFO] [stdout]    |
[INFO] [stdout] 29 | const AUTH_DOMAIN_NAME: &str = "ClobAuthDomain";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `NegRisk` is never constructed
[INFO] [stdout]   --> src/signing.rs:96:5
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub enum MarketType {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 95 |     Standard,
[INFO] [stdout] 96 |     NegRisk,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MarketType` 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: function `auth_domain` is never used
[INFO] [stdout]    --> src/signing.rs:128:8
[INFO] [stdout]     |
[INFO] [stdout] 128 | pub fn auth_domain() -> alloy::sol_types::Eip712Domain {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OrderValidationError` is never used
[INFO] [stdout]    --> src/signing.rs:138:10
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub enum OrderValidationError {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `signer`, `taker`, `signature_type`, `validate`, and `build_validated` are never used
[INFO] [stdout]    --> src/signing.rs:211:18
[INFO] [stdout]     |
[INFO] [stdout] 182 | impl OrderBuilder {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 211 |     pub const fn signer(mut self, signer: Address) -> Self {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 218 |     pub const fn taker(mut self, taker: Address) -> Self {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 260 |     pub const fn signature_type(mut self, sig_type: SignatureType) -> Self {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 269 |     pub fn validate(&self, current_time: u64) -> Result<(), OrderValidationError> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 311 |     pub fn build_validated(self, current_time: u64) -> Result<Order, OrderValidationError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `order_struct_hash` is never used
[INFO] [stdout]    --> src/signing.rs:340:8
[INFO] [stdout]     |
[INFO] [stdout] 340 | pub fn order_struct_hash(order: &Order) -> B256 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `order_signing_hash` is never used
[INFO] [stdout]    --> src/signing.rs:346:8
[INFO] [stdout]     |
[INFO] [stdout] 346 | pub fn order_signing_hash(order: &Order, domain: &alloy::sol_types::Eip712Domain) -> B256 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `ZERO` is never used
[INFO] [stdout]   --> src/types.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl PriceMicros {
[INFO] [stdout]    | ---------------- associated constant in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub const ZERO: Self = Self(0);
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `event_type`, `market`, `timestamp`, and `hash` are never read
[INFO] [stdout]   --> src/types.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct OrderBookMessage {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 86 |     pub event_type: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub market: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 90 |     #[serde(default)]
[INFO] [stdout] 91 |     pub timestamp: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 92 |     #[serde(default)]
[INFO] [stdout] 93 |     pub hash: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderBookMessage` 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: associated function `new` is never used
[INFO] [stdout]    --> src/types.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 107 | impl PriceLevel {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn new(price: impl Into<String>, size: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `asset_id` is never read
[INFO] [stdout]    --> src/types.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub struct OrderBook {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] 135 |     pub asset_id: String,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OrderBook` 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: method `is_valid` is never used
[INFO] [stdout]    --> src/types.rs:205:12
[INFO] [stdout]     |
[INFO] [stdout] 142 | impl OrderBook {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 205 |     pub fn is_valid(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `event_type`, `market`, and `timestamp` are never read
[INFO] [stdout]   --> src/ws.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub struct PriceChangeMessage {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 85 |     pub event_type: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub market: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 96 |     pub timestamp: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PriceChangeMessage` 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 `0` is never read
[INFO] [stdout]    --> src/ws.rs:125:20
[INFO] [stdout]     |
[INFO] [stdout] 125 |     LastTradePrice(serde_json::Value),
[INFO] [stdout]     |     -------------- ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `WsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 125 -     LastTradePrice(serde_json::Value),
[INFO] [stdout] 125 +     LastTradePrice(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/ws.rs:127:20
[INFO] [stdout]     |
[INFO] [stdout] 127 |     TickSizeChange(serde_json::Value),
[INFO] [stdout]     |     -------------- ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `WsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 127 -     TickSizeChange(serde_json::Value),
[INFO] [stdout] 127 +     TickSizeChange(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `with_reconnect_config`, `state`, and `stats` are never used
[INFO] [stdout]    --> src/ws.rs:207:12
[INFO] [stdout]     |
[INFO] [stdout] 192 | impl WsClient {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub fn with_reconnect_config(mut self, config: ReconnectConfig) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 214 |     pub const fn state(&self) -> ConnectionState {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 220 |     pub fn stats(&self) -> &WsStats {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `clone` that must be used
[INFO] [stdout]    --> src/ws.rs:414:13
[INFO] [stdout]     |
[INFO] [stdout] 414 |             self.stats.clone(); // Force stats update
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: cloning is often expensive and is not expected to have side effects
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 414 |             let _ = self.stats.clone(); // Force stats update
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rx`
[INFO] [stdout]    --> src/sdk.rs:817:18
[INFO] [stdout]     |
[INFO] [stdout] 817 |         let (tx, rx) = mpsc::channel::<TradeSignal>(16);
[INFO] [stdout]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_rx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/sdk.rs:820:13
[INFO] [stdout]     |
[INFO] [stdout] 820 |         let config = ExecutorConfig {
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `success`, `error_msg`, and `status` are never read
[INFO] [stdout]    --> src/sdk.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub struct OrderResponse {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] 150 |     #[serde(default)]
[INFO] [stdout] 151 |     pub success: bool,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub error_msg: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 156 |     #[serde(default)]
[INFO] [stdout] 157 |     pub status: Option<String>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OrderResponse` has derived impls for the traits `Clone` and `Debug`, but these are 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: methods `taker` and `build_validated` are never used
[INFO] [stdout]    --> src/signing.rs:218:18
[INFO] [stdout]     |
[INFO] [stdout] 182 | impl OrderBuilder {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 218 |     pub const fn taker(mut self, taker: Address) -> Self {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 311 |     pub fn build_validated(self, current_time: u64) -> Result<Order, OrderValidationError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `timestamp` and `hash` are never read
[INFO] [stdout]   --> src/types.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct OrderBookMessage {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub timestamp: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 92 |     #[serde(default)]
[INFO] [stdout] 93 |     pub hash: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderBookMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `market` and `timestamp` are never read
[INFO] [stdout]   --> src/ws.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub struct PriceChangeMessage {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub market: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 96 |     pub timestamp: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PriceChangeMessage` 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 `0` is never read
[INFO] [stdout]    --> src/ws.rs:127:20
[INFO] [stdout]     |
[INFO] [stdout] 127 |     TickSizeChange(serde_json::Value),
[INFO] [stdout]     |     -------------- ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `WsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 127 -     TickSizeChange(serde_json::Value),
[INFO] [stdout] 127 +     TickSizeChange(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `with_reconnect_config` is never used
[INFO] [stdout]    --> src/ws.rs:207:12
[INFO] [stdout]     |
[INFO] [stdout] 192 | impl WsClient {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub fn with_reconnect_config(mut self, config: ReconnectConfig) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `clone` that must be used
[INFO] [stdout]    --> src/ws.rs:414:13
[INFO] [stdout]     |
[INFO] [stdout] 414 |             self.stats.clone(); // Force stats update
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: cloning is often expensive and is not expected to have side effects
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 414 |             let _ = self.stats.clone(); // Force stats update
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 9`
[INFO] running `Command { std: "docker" "inspect" "e1d87d711e8fc921b5da102d5d67bd49c3d1806208eac3875f007a429a621ae9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e1d87d711e8fc921b5da102d5d67bd49c3d1806208eac3875f007a429a621ae9", kill_on_drop: false }`
[INFO] [stdout] e1d87d711e8fc921b5da102d5d67bd49c3d1806208eac3875f007a429a621ae9
