[INFO] cloning repository https://github.com/kamilkn/some-exchange-connector [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kamilkn/some-exchange-connector" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamilkn%2Fsome-exchange-connector", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamilkn%2Fsome-exchange-connector'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62e9cbf9838c586b1c210f4b797433a072436674 [INFO] building kamilkn/some-exchange-connector against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamilkn%2Fsome-exchange-connector" "/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/kamilkn/some-exchange-connector [INFO] finished tweaking git repo https://github.com/kamilkn/some-exchange-connector [INFO] tweaked toml for git repo https://github.com/kamilkn/some-exchange-connector written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kamilkn/some-exchange-connector on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kamilkn/some-exchange-connector 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 314b8b04f4def80f1297deb5cb4e823b897d558c7bd44827e973842d19641453 [INFO] running `Command { std: "docker" "start" "-a" "314b8b04f4def80f1297deb5cb4e823b897d558c7bd44827e973842d19641453", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "314b8b04f4def80f1297deb5cb4e823b897d558c7bd44827e973842d19641453", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "314b8b04f4def80f1297deb5cb4e823b897d558c7bd44827e973842d19641453", kill_on_drop: false }` [INFO] [stdout] 314b8b04f4def80f1297deb5cb4e823b897d558c7bd44827e973842d19641453 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d97d32e9a6ab1b9f7bd3a5ad02f84ca87137aad6ff263ef4552fb353da820a9 [INFO] running `Command { std: "docker" "start" "-a" "1d97d32e9a6ab1b9f7bd3a5ad02f84ca87137aad6ff263ef4552fb353da820a9", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.100 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling thread-id v4.2.1 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling castaway v0.2.2 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling derive_more-impl v1.0.0-beta.6 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling derive_more v1.0.0-beta.6 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling fixnum v0.9.2 [INFO] [stderr] Compiling compact_str v0.8.0-beta [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling log4rs v1.3.0 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling exchange-connector v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `OkexPollerConfig` is never constructed [INFO] [stdout] --> src/adapters/okex/rest/config.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct OkexPollerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexResponse` is never constructed [INFO] [stdout] --> src/adapters/okex/rest/response.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OkexResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_result` is never used [INFO] [stdout] --> src/adapters/okex/rest/response.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl OkexResponse { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 14 | pub fn into_result(self) -> Result, OkexErrorResponse> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OkexWsMessage` is never used [INFO] [stdout] --> src/adapters/okex/ws/model.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum OkexWsMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexWsConnectionConfig` is never constructed [INFO] [stdout] --> src/adapters/okex/ws/config.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct OkexWsConnectionConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetOrderBook` is never constructed [INFO] [stdout] --> src/adapters/okex/rest/endpoint.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GetOrderBook; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexStream` is never constructed [INFO] [stdout] --> src/adapters/okex/ws/stream.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OkexStream { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OkexStreamKind` is never used [INFO] [stdout] --> src/adapters/okex/ws/stream.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum OkexStreamKind { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexWsCombinedMessage` is never constructed [INFO] [stdout] --> src/adapters/okex/ws/model.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct OkexWsCombinedMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexOrderBookSnapshot` is never constructed [INFO] [stdout] --> src/adapters/okex/rest/model.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct OkexOrderBookSnapshot { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexExchangePoller` is never constructed [INFO] [stdout] --> src/adapters/okex/rest/poller.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct OkexExchangePoller { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_config` are never used [INFO] [stdout] --> src/adapters/okex/rest/poller.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl OkexExchangePoller { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 41 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn with_config(config: OkexPollerConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexSingleLot` is never constructed [INFO] [stdout] --> src/adapters/okex/rest/model.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct OkexSingleLot { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexWsConnection` is never constructed [INFO] [stdout] --> src/adapters/okex/ws/connection.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct OkexWsConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetOrderBookRequest` is never constructed [INFO] [stdout] --> src/adapters/okex/rest/request.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct GetOrderBookRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OkexWsDataMessage` is never used [INFO] [stdout] --> src/adapters/okex/ws/model.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum OkexWsDataMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `ping_task` are never used [INFO] [stdout] --> src/adapters/okex/ws/connection.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl OkexWsConnection { [INFO] [stdout] | --------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn new(tickers: Vec, config: OkexWsConnectionConfig) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | async fn ping_task(tx: Sender<()>, frequency: u64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexErrorResponse` is never constructed [INFO] [stdout] --> src/adapters/okex/rest/error.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OkexErrorResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/adapters/okex/rest/request.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl GetOrderBookRequest { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 15 | pub fn new(symbol: CompactString, limit: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexSubEvent` is never constructed [INFO] [stdout] --> src/adapters/okex/ws/model.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct OkexSubEvent { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stream` is never constructed [INFO] [stdout] --> src/adapters/okex/ws/model.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Stream { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventType` is never used [INFO] [stdout] --> src/adapters/okex/ws/model.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum EventType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexOrderBookSnapshot` is never constructed [INFO] [stdout] --> src/adapters/okex/ws/model.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct OkexOrderBookSnapshot { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_internal_snapshot` is never used [INFO] [stdout] --> src/adapters/okex/ws/model.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl OkexOrderBookSnapshot { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 82 | pub fn to_internal_snapshot(&self, symbol: CompactString) -> L2Snapshot { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexBookLevel` is never constructed [INFO] [stdout] --> src/adapters/okex/ws/model.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct OkexBookLevel { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_md` and `to_single_lot` are never used [INFO] [stdout] --> src/adapters/okex/ws/model.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl OkexBookLevel { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 110 | pub fn to_md( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn to_single_lot(&self) -> SingleLot { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WsRequest` is never constructed [INFO] [stdout] --> src/adapters/okex/ws/model.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct WsRequest { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_subscribe` is never used [INFO] [stdout] --> src/adapters/okex/ws/model.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 152 | impl WsRequest { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 153 | pub fn new_subscribe(channels: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.28s [INFO] running `Command { std: "docker" "inspect" "1d97d32e9a6ab1b9f7bd3a5ad02f84ca87137aad6ff263ef4552fb353da820a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d97d32e9a6ab1b9f7bd3a5ad02f84ca87137aad6ff263ef4552fb353da820a9", kill_on_drop: false }` [INFO] [stdout] 1d97d32e9a6ab1b9f7bd3a5ad02f84ca87137aad6ff263ef4552fb353da820a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44a0e846d7c5ebdaf9d11cb2a00b3628ef04dff8019f7c6092652563aa68b599 [INFO] running `Command { std: "docker" "start" "-a" "44a0e846d7c5ebdaf9d11cb2a00b3628ef04dff8019f7c6092652563aa68b599", kill_on_drop: false }` [INFO] [stdout] warning: struct `OkexPollerConfig` is never constructed [INFO] [stdout] --> src/adapters/okex/rest/config.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct OkexPollerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexResponse` is never constructed [INFO] [stdout] --> src/adapters/okex/rest/response.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OkexResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_result` is never used [INFO] [stdout] --> src/adapters/okex/rest/response.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl OkexResponse { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 14 | pub fn into_result(self) -> Result, OkexErrorResponse> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OkexWsMessage` is never used [INFO] [stdout] --> src/adapters/okex/ws/model.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum OkexWsMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexWsConnectionConfig` is never constructed [INFO] [stdout] --> src/adapters/okex/ws/config.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct OkexWsConnectionConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetOrderBook` is never constructed [INFO] [stdout] --> src/adapters/okex/rest/endpoint.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GetOrderBook; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexStream` is never constructed [INFO] [stdout] --> src/adapters/okex/ws/stream.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OkexStream { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OkexStreamKind` is never used [INFO] [stdout] --> src/adapters/okex/ws/stream.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum OkexStreamKind { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexWsCombinedMessage` is never constructed [INFO] [stdout] --> src/adapters/okex/ws/model.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct OkexWsCombinedMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexOrderBookSnapshot` is never constructed [INFO] [stdout] --> src/adapters/okex/rest/model.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct OkexOrderBookSnapshot { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexExchangePoller` is never constructed [INFO] [stdout] --> src/adapters/okex/rest/poller.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct OkexExchangePoller { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_config` are never used [INFO] [stdout] --> src/adapters/okex/rest/poller.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl OkexExchangePoller { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 41 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn with_config(config: OkexPollerConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexSingleLot` is never constructed [INFO] [stdout] --> src/adapters/okex/rest/model.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct OkexSingleLot { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexWsConnection` is never constructed [INFO] [stdout] --> src/adapters/okex/ws/connection.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct OkexWsConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetOrderBookRequest` is never constructed [INFO] [stdout] --> src/adapters/okex/rest/request.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct GetOrderBookRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OkexWsDataMessage` is never used [INFO] [stdout] --> src/adapters/okex/ws/model.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum OkexWsDataMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `ping_task` are never used [INFO] [stdout] --> src/adapters/okex/ws/connection.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl OkexWsConnection { [INFO] [stdout] | --------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn new(tickers: Vec, config: OkexWsConnectionConfig) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | async fn ping_task(tx: Sender<()>, frequency: u64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexErrorResponse` is never constructed [INFO] [stdout] --> src/adapters/okex/rest/error.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OkexErrorResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/adapters/okex/rest/request.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl GetOrderBookRequest { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 15 | pub fn new(symbol: CompactString, limit: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexSubEvent` is never constructed [INFO] [stdout] --> src/adapters/okex/ws/model.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct OkexSubEvent { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stream` is never constructed [INFO] [stdout] --> src/adapters/okex/ws/model.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Stream { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventType` is never used [INFO] [stdout] --> src/adapters/okex/ws/model.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum EventType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OkexOrderBookSnapshot` is never constructed [INFO] [stdout] --> src/adapters/okex/ws/model.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct OkexOrderBookSnapshot { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_internal_snapshot` is never used [INFO] [stdout] --> src/adapters/okex/ws/model.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl OkexOrderBookSnapshot { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 82 | pub fn to_internal_snapshot(&self, symbol: CompactString) -> L2Snapshot { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling exchange-connector v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `OkexBookLevel` is never constructed [INFO] [stdout] --> src/adapters/okex/ws/model.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct OkexBookLevel { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_md` and `to_single_lot` are never used [INFO] [stdout] --> src/adapters/okex/ws/model.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl OkexBookLevel { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 110 | pub fn to_md( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn to_single_lot(&self) -> SingleLot { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WsRequest` is never constructed [INFO] [stdout] --> src/adapters/okex/ws/model.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct WsRequest { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_subscribe` is never used [INFO] [stdout] --> src/adapters/okex/ws/model.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 152 | impl WsRequest { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 153 | pub fn new_subscribe(channels: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `arg`, `code`, `msg`, and `conn_id` are never read [INFO] [stdout] --> src/adapters/okex/ws/model.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct OkexSubEvent { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 37 | pub event: EventType, [INFO] [stdout] 38 | arg: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | code: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | msg: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | #[serde(rename = "connId")] [INFO] [stdout] 42 | conn_id: CompactString, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OkexSubEvent` 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: associated function `with_config` is never used [INFO] [stdout] --> src/adapters/okex/rest/poller.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl OkexExchangePoller { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn with_config(config: OkexPollerConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channel_tickers_amount` is never read [INFO] [stdout] --> src/adapters/okex/ws/config.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct OkexWsConnectionConfig { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 6 | pub channel_tickers_amount: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OkexWsConnectionConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `checksum` is never read [INFO] [stdout] --> src/adapters/okex/ws/model.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct OkexOrderBookSnapshot { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | checksum: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OkexOrderBookSnapshot` 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 `deprecated` and `orders_number` are never read [INFO] [stdout] --> src/adapters/okex/ws/model.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct OkexBookLevel { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | pub deprecated: CompactString, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 106 | pub orders_number: CompactString, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OkexBookLevel` 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 `ts` is never read [INFO] [stdout] --> src/adapters/okex/rest/model.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct OkexOrderBookSnapshot { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | ts: CompactString [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `OkexOrderBookSnapshot` 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 `deprecated` and `orders_number` are never read [INFO] [stdout] --> src/adapters/okex/rest/model.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct OkexSingleLot { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | deprecated: CompactString, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | /// the number of orders at the price. [INFO] [stdout] 40 | orders_number: CompactString, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OkexSingleLot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.37s [INFO] running `Command { std: "docker" "inspect" "44a0e846d7c5ebdaf9d11cb2a00b3628ef04dff8019f7c6092652563aa68b599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44a0e846d7c5ebdaf9d11cb2a00b3628ef04dff8019f7c6092652563aa68b599", kill_on_drop: false }` [INFO] [stdout] 44a0e846d7c5ebdaf9d11cb2a00b3628ef04dff8019f7c6092652563aa68b599