[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 master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 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-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/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-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kamilkn/some-exchange-connector on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fixnum v0.9.2
[INFO] [stderr]   Downloaded castaway v0.2.2
[INFO] [stderr]   Downloaded thread-id v4.2.1
[INFO] [stderr]   Downloaded derive_more v1.0.0-beta.6
[INFO] [stderr]   Downloaded derive_more-impl v1.0.0-beta.6
[INFO] [stderr]   Downloaded cc v1.0.100
[INFO] [stderr]   Downloaded compact_str v0.8.0-beta
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5abc622d0132a51fd3b790819ddecf34113ec036974d8576662a17fc375df620
[INFO] running `Command { std: "docker" "start" "-a" "5abc622d0132a51fd3b790819ddecf34113ec036974d8576662a17fc375df620", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5abc622d0132a51fd3b790819ddecf34113ec036974d8576662a17fc375df620", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5abc622d0132a51fd3b790819ddecf34113ec036974d8576662a17fc375df620", kill_on_drop: false }`
[INFO] [stdout] 5abc622d0132a51fd3b790819ddecf34113ec036974d8576662a17fc375df620
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7b40a00973f6516fd4269e38a32599ea064fd83b8e655b970e34f224fc2408e8
[INFO] running `Command { std: "docker" "start" "-a" "7b40a00973f6516fd4269e38a32599ea064fd83b8e655b970e34f224fc2408e8", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.68
[INFO] [stderr]    Compiling cc v1.0.100
[INFO] [stderr]    Compiling httparse v1.9.4
[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 futures-channel v0.3.30
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling destructure_traitobject v0.2.0
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling eyre v0.6.12
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling thread-id v4.2.1
[INFO] [stderr]    Compiling log-mdc v0.1.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling unsafe-any-ors v1.0.0
[INFO] [stderr]    Compiling typemap-ors v1.0.0
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling convert_case v0.6.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 serde v1.0.203
[INFO] [stderr]    Compiling derive_more v1.0.0-beta.6
[INFO] [stderr]    Compiling http-body-util v0.1.2
[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 hyper v1.3.1
[INFO] [stderr]    Compiling log4rs v1.3.0
[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 `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 `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 `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 `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 `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: 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<u16>) -> Self {
[INFO] [stdout]    |            ^^^
[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<R> {
[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<R> OkexResponse<R> {
[INFO] [stdout]    | ----------------------- method in this implementation
[INFO] [stdout] 14 |     pub fn into_result(self) -> Result<Vec<R>, OkexErrorResponse> {
[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: 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: 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 `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: 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: struct `OkexSubEvent` is never constructed
[INFO] [stdout]   --> src/adapters/okex/ws/model.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct OkexSubEvent<R> {
[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<R: Serialize> {
[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 <R: Serialize> WsRequest<R> {
[INFO] [stdout]     | -------------------------------- associated function in this implementation
[INFO] [stdout] 153 |     pub fn new_subscribe(channels: Vec<R>) -> Self {
[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: 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<impl ToCompactString>, config: OkexWsConnectionConfig) -> Result<Self> {
[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 `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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.59s
[INFO] running `Command { std: "docker" "inspect" "7b40a00973f6516fd4269e38a32599ea064fd83b8e655b970e34f224fc2408e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b40a00973f6516fd4269e38a32599ea064fd83b8e655b970e34f224fc2408e8", kill_on_drop: false }`
[INFO] [stdout] 7b40a00973f6516fd4269e38a32599ea064fd83b8e655b970e34f224fc2408e8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a2f492f3ac9cee83073120b0febbe8cb69a2daa25d7c39f562308930be44da06
[INFO] running `Command { std: "docker" "start" "-a" "a2f492f3ac9cee83073120b0febbe8cb69a2daa25d7c39f562308930be44da06", 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 `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 `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 `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 `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 `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] [stderr]    Compiling exchange-connector v0.1.0 (/opt/rustwide/workdir)
[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<u16>) -> Self {
[INFO] [stdout]    |            ^^^
[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<R> {
[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<R> OkexResponse<R> {
[INFO] [stdout]    | ----------------------- method in this implementation
[INFO] [stdout] 14 |     pub fn into_result(self) -> Result<Vec<R>, OkexErrorResponse> {
[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: 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: 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 `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: 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: struct `OkexSubEvent` is never constructed
[INFO] [stdout]   --> src/adapters/okex/ws/model.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct OkexSubEvent<R> {
[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<R: Serialize> {
[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 <R: Serialize> WsRequest<R> {
[INFO] [stdout]     | -------------------------------- associated function in this implementation
[INFO] [stdout] 153 |     pub fn new_subscribe(channels: Vec<R>) -> Self {
[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: 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<impl ToCompactString>, config: OkexWsConnectionConfig) -> Result<Self> {
[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 `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: 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]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[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] [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: 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<R> {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 37 |     pub event: EventType,
[INFO] [stdout] 38 |     arg: Option<R>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 39 |     code: Option<CompactString>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 40 |     msg: Option<CompactString>,
[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] 
[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<i64>,
[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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.83s
[INFO] running `Command { std: "docker" "inspect" "a2f492f3ac9cee83073120b0febbe8cb69a2daa25d7c39f562308930be44da06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2f492f3ac9cee83073120b0febbe8cb69a2daa25d7c39f562308930be44da06", kill_on_drop: false }`
[INFO] [stdout] a2f492f3ac9cee83073120b0febbe8cb69a2daa25d7c39f562308930be44da06
