[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 34f4a807e2d84184fff4e42d4539092569b6fcd6 for pr-164081 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsub0xdai%2Fartemis_" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sub0xdai/artemis_ on toolchain 34f4a807e2d84184fff4e42d4539092569b6fcd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+34f4a807e2d84184fff4e42d4539092569b6fcd6" "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" "+34f4a807e2d84184fff4e42d4539092569b6fcd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded reqwest v0.12.26 [INFO] [stderr] Downloaded alloy v1.1.3 [INFO] [stderr] Downloaded alloy-primitives v1.5.1 [INFO] [stderr] Downloaded alloy-transport v1.1.3 [INFO] [stderr] Downloaded pest v2.8.4 [INFO] [stderr] Downloaded alloy-sol-macro v1.5.1 [INFO] [stderr] Downloaded serde_with_macros v3.16.1 [INFO] [stderr] Downloaded serde_with v3.16.1 [INFO] [stderr] Downloaded alloy-sol-type-parser v1.5.1 [INFO] [stderr] Downloaded alloy-signer v1.1.3 [INFO] [stderr] Downloaded alloy-signer-local v1.1.3 [INFO] [stderr] Downloaded syn-solidity v1.5.1 [INFO] [stderr] Downloaded alloy-serde v1.1.3 [INFO] [stderr] Downloaded schemars v1.1.0 [INFO] [stderr] Downloaded alloy-rpc-types-eth v1.1.3 [INFO] [stderr] Downloaded alloy-consensus-any v1.1.3 [INFO] [stderr] Downloaded alloy-network-primitives v1.1.3 [INFO] [stderr] Downloaded alloy-dyn-abi v1.5.1 [INFO] [stderr] Downloaded alloy-tx-macros v1.1.3 [INFO] [stderr] Downloaded alloy-rpc-types-any v1.1.3 [INFO] [stderr] Downloaded alloy-json-rpc v1.1.3 [INFO] [stderr] Downloaded alloy-sol-types v1.5.1 [INFO] [stderr] Downloaded alloy-eips v1.1.3 [INFO] [stderr] Downloaded alloy-consensus v1.1.3 [INFO] [stderr] Downloaded alloy-rpc-types v1.1.3 [INFO] [stderr] Downloaded alloy-sol-macro-input v1.5.1 [INFO] [stderr] Downloaded alloy-network v1.1.3 [INFO] [stderr] Downloaded alloy-core v1.5.1 [INFO] [stderr] Downloaded rapidhash v4.2.0 [INFO] [stderr] Downloaded alloy-rpc-client v1.1.3 [INFO] [stderr] Downloaded alloy-chains v0.2.23 [INFO] [stderr] Downloaded alloy-sol-macro-expander v1.5.1 [INFO] [stderr] Downloaded alloy-transport-http v1.1.3 [INFO] [stderr] Downloaded alloy-genesis v1.1.3 [INFO] [stderr] Downloaded alloy-provider v1.1.3 [INFO] [stderr] Downloaded alloy-contract v1.1.3 [INFO] [stderr] Downloaded alloy-json-abi v1.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 641c9ae72fdad703dfceaa849ecff9d7f7b65af36bdc4dc4438fff8d06f95a3e [INFO] running `Command { std: "docker" "start" "641c9ae72fdad703dfceaa849ecff9d7f7b65af36bdc4dc4438fff8d06f95a3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "641c9ae72fdad703dfceaa849ecff9d7f7b65af36bdc4dc4438fff8d06f95a3e", 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" "641c9ae72fdad703dfceaa849ecff9d7f7b65af36bdc4dc4438fff8d06f95a3e" "/opt/rustwide/cargo-home/bin/cargo" "+34f4a807e2d84184fff4e42d4539092569b6fcd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "641c9ae72fdad703dfceaa849ecff9d7f7b65af36bdc4dc4438fff8d06f95a3e", 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" "641c9ae72fdad703dfceaa849ecff9d7f7b65af36bdc4dc4438fff8d06f95a3e" "/opt/rustwide/cargo-home/bin/cargo" "+34f4a807e2d84184fff4e42d4539092569b6fcd6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Checking itoa v1.0.16 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking generic-array v0.14.9 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling derive_more-impl v2.1.0 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling alloy-rlp-derive v0.3.12 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Checking alloy-rlp v0.3.12 [INFO] [stderr] Compiling ryu v1.0.21 [INFO] [stderr] Checking ruint v1.17.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling syn-solidity v1.5.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Compiling cc v1.2.50 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling alloy-sol-type-parser v1.5.1 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking derive_more v2.1.0 [INFO] [stderr] Checking alloy-primitives v1.5.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking alloy-json-abi v1.5.1 [INFO] [stderr] Checking rustls-pki-types v1.13.2 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Checking crc v3.4.0 [INFO] [stderr] Compiling serde_with_macros v3.16.1 [INFO] [stderr] Checking alloy-eip7702 v0.6.3 [INFO] [stderr] Checking alloy-serde v1.1.3 [INFO] [stderr] Checking alloy-eip2124 v0.2.0 [INFO] [stderr] Checking alloy-eip2930 v0.2.3 [INFO] [stderr] Checking nybbles v0.4.6 [INFO] [stderr] Compiling alloy-tx-macros v1.1.3 [INFO] [stderr] Checking alloy-trie v0.9.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Compiling alloy-sol-macro-input v1.5.1 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.5.1 [INFO] [stderr] Checking serde_with v3.16.1 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking webpki-roots v1.0.4 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.103.8 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking alloy-signer v1.1.3 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking alloy-eips v1.1.3 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking num_enum v0.7.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Compiling alloy-sol-macro v1.5.1 [INFO] [stderr] Checking alloy-consensus v1.1.3 [INFO] [stderr] Checking alloy-sol-types v1.5.1 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking alloy-chains v0.2.23 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking tungstenite v0.28.0 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.26 [INFO] [stderr] Checking tokio-tungstenite v0.28.0 [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-rpc-types-eth v1.1.3 [INFO] [stderr] Checking alloy-dyn-abi v1.5.1 [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, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 156 | #[serde(default)] [INFO] [stdout] 157 | pub status: Option, [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 { [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, size: impl Into) -> 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::(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, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 156 | #[serde(default)] [INFO] [stdout] 157 | pub status: Option, [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 { [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 54s [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 1` [INFO] running `Command { std: "docker" "inspect" "641c9ae72fdad703dfceaa849ecff9d7f7b65af36bdc4dc4438fff8d06f95a3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "641c9ae72fdad703dfceaa849ecff9d7f7b65af36bdc4dc4438fff8d06f95a3e", kill_on_drop: false }` [INFO] [stdout] 641c9ae72fdad703dfceaa849ecff9d7f7b65af36bdc4dc4438fff8d06f95a3e