[INFO] cloning repository https://github.com/GeStanley/coinbase-connector
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GeStanley/coinbase-connector" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeStanley%2Fcoinbase-connector", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeStanley%2Fcoinbase-connector'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 11407999f02a7a6cea0edbc7cbf620d8069af377
[INFO] testing GeStanley/coinbase-connector against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeStanley%2Fcoinbase-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] validating manifest of git repo https://github.com/GeStanley/coinbase-connector on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/GeStanley/coinbase-connector
[INFO] finished tweaking git repo https://github.com/GeStanley/coinbase-connector
[INFO] tweaked toml for git repo https://github.com/GeStanley/coinbase-connector written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/GeStanley/coinbase-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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: dependencies.actix-web.feature
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded actix-web-actors v4.3.0
[INFO] [stderr]   Downloaded jwtk v0.3.0
[INFO] [stderr]   Downloaded actix-tls v3.3.0
[INFO] [stderr]   Downloaded awc v3.4.0
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0ee592c9c7a911533a3fb384ae39648064b306568b9699e485e7f197ea8d5871
[INFO] running `Command { std: "docker" "start" "-a" "0ee592c9c7a911533a3fb384ae39648064b306568b9699e485e7f197ea8d5871", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0ee592c9c7a911533a3fb384ae39648064b306568b9699e485e7f197ea8d5871", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ee592c9c7a911533a3fb384ae39648064b306568b9699e485e7f197ea8d5871", kill_on_drop: false }`
[INFO] [stdout] 0ee592c9c7a911533a3fb384ae39648064b306568b9699e485e7f197ea8d5871
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a669e3e1ab95c056eb478441a75b75623e2400a33900c81fca2ea3a69092ec36
[INFO] running `Command { std: "docker" "start" "-a" "a669e3e1ab95c056eb478441a75b75623e2400a33900c81fca2ea3a69092ec36", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: dependencies.actix-web.feature
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling local-waker v0.1.4
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling indexmap v2.2.5
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling jobserver v0.1.28
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling socket2 v0.5.6
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling cc v1.0.90
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling bytestring v1.3.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling zstd-safe v7.0.0
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling actix-service v2.0.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling encoding_rs v0.8.33
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling miniz_oxide v0.7.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling time-macros v0.2.17
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling brotli-decompressor v2.5.1
[INFO] [stderr]    Compiling openssl-sys v0.9.101
[INFO] [stderr]    Compiling zstd-sys v2.0.9+zstd.1.5.5
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling zerocopy v0.7.32
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling darling_core v0.20.8
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling brotli v3.4.0
[INFO] [stderr]    Compiling time v0.3.34
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling regex v1.10.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling tokio-openssl v0.6.4
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling utf8parse v0.2.1
[INFO] [stderr]    Compiling anstyle-parse v0.2.3
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling crossbeam-channel v0.5.12
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling bigdecimal v0.4.3
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling anstyle v1.0.6
[INFO] [stderr]    Compiling anstyle-query v1.0.2
[INFO] [stderr]    Compiling impl-more v0.1.6
[INFO] [stderr]    Compiling colorchoice v1.0.0
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling anstream v0.6.13
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling actix-router v0.5.2
[INFO] [stderr]    Compiling darling_macro v0.20.8
[INFO] [stderr]    Compiling actix_derive v0.6.1
[INFO] [stderr]    Compiling env_filter v0.1.0
[INFO] [stderr]    Compiling pure-rust-locales v0.8.1
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling tokio v1.36.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling env_logger v0.11.3
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling darling v0.20.8
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling serde_with_macros v3.7.0
[INFO] [stderr]    Compiling actix-web-codegen v4.2.2
[INFO] [stderr]    Compiling chrono v0.4.37
[INFO] [stderr]    Compiling zstd v0.13.0
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling actix-rt v2.9.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling actix-server v2.3.0
[INFO] [stderr]    Compiling h2 v0.3.25
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling actix v0.13.3
[INFO] [stderr]    Compiling actix-tls v3.3.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_with v3.7.0
[INFO] [stderr]    Compiling uuid v1.8.0
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling actix-http v3.6.0
[INFO] [stderr]    Compiling actix-web v4.5.1
[INFO] [stderr]    Compiling awc v3.4.0
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling jwtk v0.3.0
[INFO] [stderr]    Compiling actix-web-actors v4.3.0
[INFO] [stderr]    Compiling coinbase-connector v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::any::Any;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::RngCore`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use rand::RngCore;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Message`, `Recipient`
[INFO] [stdout]  --> src/coinbase/api/websocket.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix::{Message, Recipient};
[INFO] [stdout]   |             ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/coinbase/api/websocket.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncContext`, `WrapFuture`
[INFO] [stdout]  --> src/coinbase/coinbase_ws.rs:3:42
[INFO] [stdout]   |
[INFO] [stdout] 3 | use actix::{Actor, ActorFutureExt, Addr, AsyncContext, Context, Handler, WrapFuture};
[INFO] [stdout]   |                                          ^^^^^^^^^^^^                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ProtocolError`
[INFO] [stdout]  --> src/coinbase/coinbase_ws.rs:5:36
[INFO] [stdout]   |
[INFO] [stdout] 5 | use actix_http::ws::{Codec, Frame, ProtocolError};
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Client`
[INFO] [stdout]  --> src/coinbase/coinbase_ws.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 7 | use awc::{BoxedSocket, Client};
[INFO] [stdout]   |                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/main.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let res = match connection
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `now`
[INFO] [stdout]   --> src/coinbase/jwt/token.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let now = SystemTime::now().duration_since(UNIX_EPOCH).unwrap();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_now`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `now`
[INFO] [stdout]   --> src/coinbase/jwt/token.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let now = SystemTime::now().duration_since(UNIX_EPOCH).unwrap();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_now`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uri`
[INFO] [stdout]   --> src/coinbase/jwt/token.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let uri = "GET api.coinbase.com/api/v3/brokerage/accounts";
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_uri`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:50:16
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let (_res, mut connection) = match Client::builder().max_http_version(awc::http::Version::HTTP_11).finish()
[INFO] [stdout]    |                ----^^^^^^^^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `update`
[INFO] [stdout]    --> src/coinbase/coinbase_api.rs:107:41
[INFO] [stdout]     |
[INFO] [stdout] 107 | ...                   let update = &event.updates;
[INFO] [stdout]     |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `update`
[INFO] [stdout]    --> src/coinbase/coinbase_api.rs:121:41
[INFO] [stdout]     |
[INFO] [stdout] 121 | ...                   let update = &event.updates;
[INFO] [stdout]     |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ActorFutureExt`
[INFO] [stdout]  --> src/coinbase/coinbase_ws.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use actix::{Actor, ActorFutureExt, Addr, AsyncContext, Context, Handler, WrapFuture};
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FutureExt`
[INFO] [stdout]  --> src/coinbase/coinbase_ws.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use futures_util::{FutureExt, SinkExt, StreamExt};
[INFO] [stdout]   |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamExt`
[INFO] [stdout]  --> src/coinbase/coinbase_ws.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 | use futures_util::{FutureExt, SinkExt, StreamExt};
[INFO] [stdout]   |                                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `update`
[INFO] [stdout]   --> src/coinbase/coinbase_ws.rs:64:33
[INFO] [stdout]    |
[INFO] [stdout] 64 | ...                   let update = &event.updates;
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `update`
[INFO] [stdout]   --> src/coinbase/coinbase_ws.rs:68:33
[INFO] [stdout]    |
[INFO] [stdout] 68 | ...                   let update = &event.updates;
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/coinbase/coinbase_ws.rs:87:27
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn started(&mut self, ctx: &mut Self::Context) {
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/coinbase/coinbase_ws.rs:137:50
[INFO] [stdout]     |
[INFO] [stdout] 137 |     fn handle(&mut self, _msg: WebsocketConnect, ctx: &mut Self::Context) -> Self::Result {
[INFO] [stdout]     |                                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/coinbase/coinbase_ws.rs:176:51
[INFO] [stdout]     |
[INFO] [stdout] 176 |     fn handle(&mut self, msg: WebsocketSubscribe, ctx: &mut Self::Context) -> Self::Result {
[INFO] [stdout]     |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/coinbase/feed.rs:50:27
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn started(&mut self, ctx: &mut Self::Context) {
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> src/coinbase/feed.rs:58:26
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn handle(&mut self, msg: Connect, _ctx: &mut Context<Self>) -> Self::Result {
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> src/coinbase/feed.rs:66:26
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn handle(&mut self, msg: MarketDataSnapshot, _ctx: &mut Context<Self>) -> Self::Result {
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> src/coinbase/feed.rs:74:26
[INFO] [stdout]    |
[INFO] [stdout] 74 |     fn handle(&mut self, msg: MarketDataUpdate, _ctx: &mut Context<Self>) -> Self::Result {
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/coinbase/jwt/token.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct JwtSignatureConfig {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 12 |     key_name: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 13 |     key_secret: String,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 14 |     typ: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 15 |     alg: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 16 |     kid: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 17 |     nonce: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     sub: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 19 |     iss: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 20 |     nbf: Duration,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 21 |     exp: Duration,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 22 |     aud: Vec<String>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 23 |     uri: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Conn` is never constructed
[INFO] [stdout]  --> src/coinbase/websocket_feed.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Conn {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/coinbase/websocket_feed.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Conn {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(lobby: Addr<Lobby>) -> Conn {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `data`, and `hb` are never read
[INFO] [stdout]   --> src/coinbase/coinbase_ws.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct CoinbaseConn {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 34 |     key: CoinbaseCloudApiV2,
[INFO] [stdout] 35 |     id: Uuid,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 36 |     data: Addr<CoinbaseMarketData>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 37 |     hb: Instant,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `default` is never used
[INFO] [stdout]   --> src/coinbase/coinbase_ws.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl CoinbaseConn {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 42 |     pub fn default(key: CoinbaseCloudApiV2, data: Addr<CoinbaseMarketData>, frame: Framed<BoxedSocket, Codec>) -> CoinbaseConn {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `handle_frame` is never used
[INFO] [stdout]   --> src/coinbase/coinbase_ws.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl CoinbaseConn {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 54 |     fn handle_frame(&self, frame: Frame) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `order_book` is never read
[INFO] [stdout]   --> src/coinbase/feed.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct CoinbaseMarketData {
[INFO] [stdout]    |            ------------------ field in this struct
[INFO] [stdout] 37 |     order_book: Book,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `side`, `time`, `price`, and `quantity` are never read
[INFO] [stdout]   --> src/marketdata/order_book.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub struct Order {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 8  |     pub side: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 9  |     pub time: DateTime<Utc>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 10 |     pub price: BigDecimal,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 11 |     pub quantity: BigDecimal,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/marketdata/order_book.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Order {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn new(side : &str, price: &str, quantity: &str, timestamp: DateTime<Utc>) -> Order {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `product`, `bids`, and `offers` are never read
[INFO] [stdout]   --> src/marketdata/order_book.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Book {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 26 |     pub product: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 27 |     pub bids: BTreeMap<BigDecimal, Order>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 28 |     pub offers: BTreeMap<BigDecimal, Order>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `insert_update` is never used
[INFO] [stdout]   --> src/marketdata/order_book.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl Book {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 42 |     pub fn insert_update(&mut self, side: &str, price: &str, quantity: &str, timestamp: DateTime<Utc>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `principalType` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     principalType: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `principal_type`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `publicKey` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     publicKey: String,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to snake case: `public_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `privateKey` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub privateKey: String,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `private_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `createTime` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     createTime: String,
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to snake case: `create_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `projectId` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     projectId: String,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to snake case: `project_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `allowedIps` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     allowedIps: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to snake case: `allowed_ips`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `keyType` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     keyType: String,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `key_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `legacyScopes` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     legacyScopes: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `legacy_scopes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `createdByUserId` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     createdByUserId: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `created_by_user_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `createdByUserMongoId` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     createdByUserMongoId: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `created_by_user_mongo_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `privateKey` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub privateKey: String,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `private_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 51 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.37s
[INFO] running `Command { std: "docker" "inspect" "a669e3e1ab95c056eb478441a75b75623e2400a33900c81fca2ea3a69092ec36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a669e3e1ab95c056eb478441a75b75623e2400a33900c81fca2ea3a69092ec36", kill_on_drop: false }`
[INFO] [stdout] a669e3e1ab95c056eb478441a75b75623e2400a33900c81fca2ea3a69092ec36
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5a7b328bc6a604eec00d5c9a7dbe23c38ba9c4bf8aa0b85fe6d9bd4683aaa09b
[INFO] running `Command { std: "docker" "start" "-a" "5a7b328bc6a604eec00d5c9a7dbe23c38ba9c4bf8aa0b85fe6d9bd4683aaa09b", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: dependencies.actix-web.feature
[INFO] [stderr]    Compiling coinbase-connector v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::any::Any;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::RngCore`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use rand::RngCore;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Message`, `Recipient`
[INFO] [stdout]  --> src/coinbase/api/websocket.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix::{Message, Recipient};
[INFO] [stdout]   |             ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/coinbase/api/websocket.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncContext`, `WrapFuture`
[INFO] [stdout]  --> src/coinbase/coinbase_ws.rs:3:42
[INFO] [stdout]   |
[INFO] [stdout] 3 | use actix::{Actor, ActorFutureExt, Addr, AsyncContext, Context, Handler, WrapFuture};
[INFO] [stdout]   |                                          ^^^^^^^^^^^^                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ProtocolError`
[INFO] [stdout]  --> src/coinbase/coinbase_ws.rs:5:36
[INFO] [stdout]   |
[INFO] [stdout] 5 | use actix_http::ws::{Codec, Frame, ProtocolError};
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Client`
[INFO] [stdout]  --> src/coinbase/coinbase_ws.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 7 | use awc::{BoxedSocket, Client};
[INFO] [stdout]   |                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Order`
[INFO] [stdout]   --> src/marketdata.rs:14:47
[INFO] [stdout]    |
[INFO] [stdout] 14 |     use crate::marketdata::order_book::{Book, Order};
[INFO] [stdout]    |                                               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/main.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let res = match connection
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `now`
[INFO] [stdout]   --> src/coinbase/jwt/token.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let now = SystemTime::now().duration_since(UNIX_EPOCH).unwrap();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_now`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `now`
[INFO] [stdout]   --> src/coinbase/jwt/token.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let now = SystemTime::now().duration_since(UNIX_EPOCH).unwrap();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_now`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uri`
[INFO] [stdout]   --> src/coinbase/jwt/token.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let uri = "GET api.coinbase.com/api/v3/brokerage/accounts";
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_uri`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:50:16
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let (_res, mut connection) = match Client::builder().max_http_version(awc::http::Version::HTTP_11).finish()
[INFO] [stdout]    |                ----^^^^^^^^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `update`
[INFO] [stdout]    --> src/coinbase/coinbase_api.rs:107:41
[INFO] [stdout]     |
[INFO] [stdout] 107 | ...                   let update = &event.updates;
[INFO] [stdout]     |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `update`
[INFO] [stdout]    --> src/coinbase/coinbase_api.rs:121:41
[INFO] [stdout]     |
[INFO] [stdout] 121 | ...                   let update = &event.updates;
[INFO] [stdout]     |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ActorFutureExt`
[INFO] [stdout]  --> src/coinbase/coinbase_ws.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use actix::{Actor, ActorFutureExt, Addr, AsyncContext, Context, Handler, WrapFuture};
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FutureExt`
[INFO] [stdout]  --> src/coinbase/coinbase_ws.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use futures_util::{FutureExt, SinkExt, StreamExt};
[INFO] [stdout]   |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamExt`
[INFO] [stdout]  --> src/coinbase/coinbase_ws.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 | use futures_util::{FutureExt, SinkExt, StreamExt};
[INFO] [stdout]   |                                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `update`
[INFO] [stdout]   --> src/coinbase/coinbase_ws.rs:64:33
[INFO] [stdout]    |
[INFO] [stdout] 64 | ...                   let update = &event.updates;
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `update`
[INFO] [stdout]   --> src/coinbase/coinbase_ws.rs:68:33
[INFO] [stdout]    |
[INFO] [stdout] 68 | ...                   let update = &event.updates;
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/coinbase/coinbase_ws.rs:87:27
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn started(&mut self, ctx: &mut Self::Context) {
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/coinbase/coinbase_ws.rs:137:50
[INFO] [stdout]     |
[INFO] [stdout] 137 |     fn handle(&mut self, _msg: WebsocketConnect, ctx: &mut Self::Context) -> Self::Result {
[INFO] [stdout]     |                                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/coinbase/coinbase_ws.rs:176:51
[INFO] [stdout]     |
[INFO] [stdout] 176 |     fn handle(&mut self, msg: WebsocketSubscribe, ctx: &mut Self::Context) -> Self::Result {
[INFO] [stdout]     |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/coinbase/feed.rs:50:27
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn started(&mut self, ctx: &mut Self::Context) {
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> src/coinbase/feed.rs:58:26
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn handle(&mut self, msg: Connect, _ctx: &mut Context<Self>) -> Self::Result {
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> src/coinbase/feed.rs:66:26
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn handle(&mut self, msg: MarketDataSnapshot, _ctx: &mut Context<Self>) -> Self::Result {
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> src/coinbase/feed.rs:74:26
[INFO] [stdout]    |
[INFO] [stdout] 74 |     fn handle(&mut self, msg: MarketDataUpdate, _ctx: &mut Context<Self>) -> Self::Result {
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/coinbase/jwt/token.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct JwtSignatureConfig {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 12 |     key_name: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 13 |     key_secret: String,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 14 |     typ: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 15 |     alg: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 16 |     kid: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 17 |     nonce: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     sub: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 19 |     iss: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 20 |     nbf: Duration,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 21 |     exp: Duration,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 22 |     aud: Vec<String>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 23 |     uri: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Conn` is never constructed
[INFO] [stdout]  --> src/coinbase/websocket_feed.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Conn {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/coinbase/websocket_feed.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Conn {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(lobby: Addr<Lobby>) -> Conn {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `data`, and `hb` are never read
[INFO] [stdout]   --> src/coinbase/coinbase_ws.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct CoinbaseConn {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 34 |     key: CoinbaseCloudApiV2,
[INFO] [stdout] 35 |     id: Uuid,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 36 |     data: Addr<CoinbaseMarketData>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 37 |     hb: Instant,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `default` is never used
[INFO] [stdout]   --> src/coinbase/coinbase_ws.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl CoinbaseConn {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 42 |     pub fn default(key: CoinbaseCloudApiV2, data: Addr<CoinbaseMarketData>, frame: Framed<BoxedSocket, Codec>) -> CoinbaseConn {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `handle_frame` is never used
[INFO] [stdout]   --> src/coinbase/coinbase_ws.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl CoinbaseConn {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 54 |     fn handle_frame(&self, frame: Frame) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `order_book` is never read
[INFO] [stdout]   --> src/coinbase/feed.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct CoinbaseMarketData {
[INFO] [stdout]    |            ------------------ field in this struct
[INFO] [stdout] 37 |     order_book: Book,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `side` and `time` are never read
[INFO] [stdout]  --> src/marketdata/order_book.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Order {
[INFO] [stdout]   |            ----- fields in this struct
[INFO] [stdout] 8 |     pub side: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 9 |     pub time: DateTime<Utc>,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `product` is never read
[INFO] [stdout]   --> src/marketdata/order_book.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Book {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 26 |     pub product: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `principalType` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     principalType: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `principal_type`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `publicKey` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     publicKey: String,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to snake case: `public_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `privateKey` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub privateKey: String,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `private_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `createTime` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     createTime: String,
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to snake case: `create_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `projectId` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     projectId: String,
[INFO] [stdout]    |     ^^^^^^^^^ help: convert the identifier to snake case: `project_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `allowedIps` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     allowedIps: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to snake case: `allowed_ips`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `keyType` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     keyType: String,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `key_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `legacyScopes` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     legacyScopes: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `legacy_scopes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `createdByUserId` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     createdByUserId: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `created_by_user_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `createdByUserMongoId` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     createdByUserMongoId: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `created_by_user_mongo_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `privateKey` should have a snake case name
[INFO] [stdout]   --> src/coinbase/coinbase_api.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub privateKey: String,
[INFO] [stdout]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `private_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 50 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.99s
[INFO] running `Command { std: "docker" "inspect" "5a7b328bc6a604eec00d5c9a7dbe23c38ba9c4bf8aa0b85fe6d9bd4683aaa09b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a7b328bc6a604eec00d5c9a7dbe23c38ba9c4bf8aa0b85fe6d9bd4683aaa09b", kill_on_drop: false }`
[INFO] [stdout] 5a7b328bc6a604eec00d5c9a7dbe23c38ba9c4bf8aa0b85fe6d9bd4683aaa09b
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9b184594e915fee24864efcea93cab117384316f85f7e14260e9e6f0ac93aab6
[INFO] running `Command { std: "docker" "start" "-a" "9b184594e915fee24864efcea93cab117384316f85f7e14260e9e6f0ac93aab6", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: dependencies.actix-web.feature
[INFO] [stderr] warning: unused import: `std::any::Any`
[INFO] [stderr]  --> src/main.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::any::Any;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::error::Error`
[INFO] [stderr]  --> src/main.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::error::Error;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::io::Read`
[INFO] [stderr]  --> src/main.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::io::Read;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rand::RngCore`
[INFO] [stderr]   --> src/main.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use rand::RngCore;
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stderr]   --> src/main.rs:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 | use serde::{Deserialize, Serialize};
[INFO] [stderr]    |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Message`, `Recipient`
[INFO] [stderr]  --> src/coinbase/api/websocket.rs:1:13
[INFO] [stderr]   |
[INFO] [stderr] 1 | use actix::{Message, Recipient};
[INFO] [stderr]   |             ^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `uuid::Uuid`
[INFO] [stderr]  --> src/coinbase/api/websocket.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use uuid::Uuid;
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `AsyncContext`, `WrapFuture`
[INFO] [stderr]  --> src/coinbase/coinbase_ws.rs:3:42
[INFO] [stderr]   |
[INFO] [stderr] 3 | use actix::{Actor, ActorFutureExt, Addr, AsyncContext, Context, Handler, WrapFuture};
[INFO] [stderr]   |                                          ^^^^^^^^^^^^                    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ProtocolError`
[INFO] [stderr]  --> src/coinbase/coinbase_ws.rs:5:36
[INFO] [stderr]   |
[INFO] [stderr] 5 | use actix_http::ws::{Codec, Frame, ProtocolError};
[INFO] [stderr]   |                                    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Client`
[INFO] [stderr]  --> src/coinbase/coinbase_ws.rs:7:24
[INFO] [stderr]   |
[INFO] [stderr] 7 | use awc::{BoxedSocket, Client};
[INFO] [stderr]   |                        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Order`
[INFO] [stderr]   --> src/marketdata.rs:14:47
[INFO] [stderr]    |
[INFO] [stderr] 14 |     use crate::marketdata::order_book::{Book, Order};
[INFO] [stderr]    |                                               ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `res`
[INFO] [stderr]   --> src/main.rs:99:9
[INFO] [stderr]    |
[INFO] [stderr] 99 |     let res = match connection
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `now`
[INFO] [stderr]   --> src/coinbase/jwt/token.rs:47:9
[INFO] [stderr]    |
[INFO] [stderr] 47 |     let now = SystemTime::now().duration_since(UNIX_EPOCH).unwrap();
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_now`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `now`
[INFO] [stderr]   --> src/coinbase/jwt/token.rs:75:9
[INFO] [stderr]    |
[INFO] [stderr] 75 |     let now = SystemTime::now().duration_since(UNIX_EPOCH).unwrap();
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_now`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `uri`
[INFO] [stderr]   --> src/coinbase/jwt/token.rs:77:9
[INFO] [stderr]    |
[INFO] [stderr] 77 |     let uri = "GET api.coinbase.com/api/v3/brokerage/accounts";
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_uri`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/coinbase/coinbase_api.rs:50:16
[INFO] [stderr]    |
[INFO] [stderr] 50 |     let (_res, mut connection) = match Client::builder().max_http_version(awc::http::Version::HTTP_11).finish()
[INFO] [stderr]    |                ----^^^^^^^^^^
[INFO] [stderr]    |                |
[INFO] [stderr]    |                help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `update`
[INFO] [stderr]    --> src/coinbase/coinbase_api.rs:107:41
[INFO] [stderr]     |
[INFO] [stderr] 107 | ...                   let update = &event.updates;
[INFO] [stderr]     |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `update`
[INFO] [stderr]    --> src/coinbase/coinbase_api.rs:121:41
[INFO] [stderr]     |
[INFO] [stderr] 121 | ...                   let update = &event.updates;
[INFO] [stderr]     |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ActorFutureExt`
[INFO] [stderr]  --> src/coinbase/coinbase_ws.rs:3:20
[INFO] [stderr]   |
[INFO] [stderr] 3 | use actix::{Actor, ActorFutureExt, Addr, AsyncContext, Context, Handler, WrapFuture};
[INFO] [stderr]   |                    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `FutureExt`
[INFO] [stderr]  --> src/coinbase/coinbase_ws.rs:9:20
[INFO] [stderr]   |
[INFO] [stderr] 9 | use futures_util::{FutureExt, SinkExt, StreamExt};
[INFO] [stderr]   |                    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `StreamExt`
[INFO] [stderr]  --> src/coinbase/coinbase_ws.rs:9:40
[INFO] [stderr]   |
[INFO] [stderr] 9 | use futures_util::{FutureExt, SinkExt, StreamExt};
[INFO] [stderr]   |                                        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `update`
[INFO] [stderr]   --> src/coinbase/coinbase_ws.rs:64:33
[INFO] [stderr]    |
[INFO] [stderr] 64 | ...                   let update = &event.updates;
[INFO] [stderr]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `update`
[INFO] [stderr]   --> src/coinbase/coinbase_ws.rs:68:33
[INFO] [stderr]    |
[INFO] [stderr] 68 | ...                   let update = &event.updates;
[INFO] [stderr]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/coinbase/coinbase_ws.rs:87:27
[INFO] [stderr]    |
[INFO] [stderr] 87 |     fn started(&mut self, ctx: &mut Self::Context) {
[INFO] [stderr]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]    --> src/coinbase/coinbase_ws.rs:137:50
[INFO] [stderr]     |
[INFO] [stderr] 137 |     fn handle(&mut self, _msg: WebsocketConnect, ctx: &mut Self::Context) -> Self::Result {
[INFO] [stderr]     |                                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]    --> src/coinbase/coinbase_ws.rs:176:51
[INFO] [stderr]     |
[INFO] [stderr] 176 |     fn handle(&mut self, msg: WebsocketSubscribe, ctx: &mut Self::Context) -> Self::Result {
[INFO] [stderr]     |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/coinbase/feed.rs:50:27
[INFO] [stderr]    |
[INFO] [stderr] 50 |     fn started(&mut self, ctx: &mut Self::Context) {
[INFO] [stderr]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `msg`
[INFO] [stderr]   --> src/coinbase/feed.rs:58:26
[INFO] [stderr]    |
[INFO] [stderr] 58 |     fn handle(&mut self, msg: Connect, _ctx: &mut Context<Self>) -> Self::Result {
[INFO] [stderr]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `msg`
[INFO] [stderr]   --> src/coinbase/feed.rs:66:26
[INFO] [stderr]    |
[INFO] [stderr] 66 |     fn handle(&mut self, msg: MarketDataSnapshot, _ctx: &mut Context<Self>) -> Self::Result {
[INFO] [stderr]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `msg`
[INFO] [stderr]   --> src/coinbase/feed.rs:74:26
[INFO] [stderr]    |
[INFO] [stderr] 74 |     fn handle(&mut self, msg: MarketDataUpdate, _ctx: &mut Context<Self>) -> Self::Result {
[INFO] [stderr]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stderr] 
[INFO] [stderr] warning: multiple fields are never read
[INFO] [stderr]   --> src/coinbase/jwt/token.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub struct JwtSignatureConfig {
[INFO] [stderr]    |            ------------------ fields in this struct
[INFO] [stderr] 12 |     key_name: String,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 13 |     key_secret: String,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 14 |     typ: String,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 15 |     alg: String,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 16 |     kid: String,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 17 |     nonce: String,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 18 |     sub: String,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 19 |     iss: String,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 20 |     nbf: Duration,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 21 |     exp: Duration,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 22 |     aud: Vec<String>,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 23 |     uri: String,
[INFO] [stderr]    |     ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Conn` is never constructed
[INFO] [stderr]  --> src/coinbase/websocket_feed.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct Conn {
[INFO] [stderr]   |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/coinbase/websocket_feed.rs:14:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | impl Conn {
[INFO] [stderr]    | --------- associated function in this implementation
[INFO] [stderr] 14 |     pub fn new(lobby: Addr<Lobby>) -> Conn {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `id`, `data`, and `hb` are never read
[INFO] [stderr]   --> src/coinbase/coinbase_ws.rs:35:5
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub struct CoinbaseConn {
[INFO] [stderr]    |            ------------ fields in this struct
[INFO] [stderr] 34 |     key: CoinbaseCloudApiV2,
[INFO] [stderr] 35 |     id: Uuid,
[INFO] [stderr]    |     ^^
[INFO] [stderr] 36 |     data: Addr<CoinbaseMarketData>,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 37 |     hb: Instant,
[INFO] [stderr]    |     ^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `default` is never used
[INFO] [stderr]   --> src/coinbase/coinbase_ws.rs:42:12
[INFO] [stderr]    |
[INFO] [stderr] 41 | impl CoinbaseConn {
[INFO] [stderr]    | ----------------- associated function in this implementation
[INFO] [stderr] 42 |     pub fn default(key: CoinbaseCloudApiV2, data: Addr<CoinbaseMarketData>, frame: Framed<BoxedSocket, Codec>) -> CoinbaseConn {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `handle_frame` is never used
[INFO] [stderr]   --> src/coinbase/coinbase_ws.rs:54:8
[INFO] [stderr]    |
[INFO] [stderr] 53 | impl CoinbaseConn {
[INFO] [stderr]    | ----------------- method in this implementation
[INFO] [stderr] 54 |     fn handle_frame(&self, frame: Frame) {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `order_book` is never read
[INFO] [stderr]   --> src/coinbase/feed.rs:37:5
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub struct CoinbaseMarketData {
[INFO] [stderr]    |            ------------------ field in this struct
[INFO] [stderr] 37 |     order_book: Book,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `side` and `time` are never read
[INFO] [stderr]  --> src/marketdata/order_book.rs:8:9
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct Order {
[INFO] [stderr]   |            ----- fields in this struct
[INFO] [stderr] 8 |     pub side: String,
[INFO] [stderr]   |         ^^^^
[INFO] [stderr] 9 |     pub time: DateTime<Utc>,
[INFO] [stderr]   |         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `product` is never read
[INFO] [stderr]   --> src/marketdata/order_book.rs:26:9
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub struct Book {
[INFO] [stderr]    |            ---- field in this struct
[INFO] [stderr] 26 |     pub product: String,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `principalType` should have a snake case name
[INFO] [stderr]   --> src/coinbase/coinbase_api.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 |     principalType: String,
[INFO] [stderr]    |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `principal_type`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `publicKey` should have a snake case name
[INFO] [stderr]   --> src/coinbase/coinbase_api.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 |     publicKey: String,
[INFO] [stderr]    |     ^^^^^^^^^ help: convert the identifier to snake case: `public_key`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `privateKey` should have a snake case name
[INFO] [stderr]   --> src/coinbase/coinbase_api.rs:21:9
[INFO] [stderr]    |
[INFO] [stderr] 21 |     pub privateKey: String,
[INFO] [stderr]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `private_key`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `createTime` should have a snake case name
[INFO] [stderr]   --> src/coinbase/coinbase_api.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 |     createTime: String,
[INFO] [stderr]    |     ^^^^^^^^^^ help: convert the identifier to snake case: `create_time`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `projectId` should have a snake case name
[INFO] [stderr]   --> src/coinbase/coinbase_api.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 |     projectId: String,
[INFO] [stderr]    |     ^^^^^^^^^ help: convert the identifier to snake case: `project_id`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `allowedIps` should have a snake case name
[INFO] [stderr]   --> src/coinbase/coinbase_api.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 |     allowedIps: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^^^^ help: convert the identifier to snake case: `allowed_ips`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `keyType` should have a snake case name
[INFO] [stderr]   --> src/coinbase/coinbase_api.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr] 27 |     keyType: String,
[INFO] [stderr]    |     ^^^^^^^ help: convert the identifier to snake case: `key_type`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `legacyScopes` should have a snake case name
[INFO] [stderr]   --> src/coinbase/coinbase_api.rs:29:5
[INFO] [stderr]    |
[INFO] [stderr] 29 |     legacyScopes: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `legacy_scopes`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `createdByUserId` should have a snake case name
[INFO] [stderr]   --> src/coinbase/coinbase_api.rs:30:5
[INFO] [stderr]    |
[INFO] [stderr] 30 |     createdByUserId: String,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `created_by_user_id`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `createdByUserMongoId` should have a snake case name
[INFO] [stderr]   --> src/coinbase/coinbase_api.rs:31:5
[INFO] [stderr]    |
[INFO] [stderr] 31 |     createdByUserMongoId: String,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `created_by_user_mongo_id`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `privateKey` should have a snake case name
[INFO] [stderr]   --> src/coinbase/coinbase_api.rs:37:9
[INFO] [stderr]    |
[INFO] [stderr] 37 |     pub privateKey: String,
[INFO] [stderr]    |         ^^^^^^^^^^ help: convert the identifier to snake case: `private_key`
[INFO] [stderr] 
[INFO] [stderr] warning: `coinbase-connector` (bin "coinbase-connector" test) generated 50 warnings (run `cargo fix --bin "coinbase-connector" --tests` to apply 12 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/coinbase_connector-687c706a085af18a)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test marketdata::tests::test_market_data_insert ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "9b184594e915fee24864efcea93cab117384316f85f7e14260e9e6f0ac93aab6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b184594e915fee24864efcea93cab117384316f85f7e14260e9e6f0ac93aab6", kill_on_drop: false }`
[INFO] [stdout] 9b184594e915fee24864efcea93cab117384316f85f7e14260e9e6f0ac93aab6
