[INFO] cloning repository https://github.com/JuSoyer/dydx_arbitrage
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JuSoyer/dydx_arbitrage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuSoyer%2Fdydx_arbitrage", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuSoyer%2Fdydx_arbitrage'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1eef96e1dc636aa25add3ebfaba289e9f60c58e3
[INFO] testing JuSoyer/dydx_arbitrage/1eef96e1dc636aa25add3ebfaba289e9f60c58e3 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuSoyer%2Fdydx_arbitrage" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JuSoyer/dydx_arbitrage
[INFO] finished tweaking git repo https://github.com/JuSoyer/dydx_arbitrage
[INFO] tweaked toml for git repo https://github.com/JuSoyer/dydx_arbitrage written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JuSoyer/dydx_arbitrage on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JuSoyer/dydx_arbitrage 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/junta/dydx-v3-rust`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded web3-async-native-tls v0.4.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.69
[INFO] [stderr]   Downloaded smallvec v1.11.1
[INFO] [stderr]   Downloaded thiserror v1.0.50
[INFO] [stderr]   Downloaded secp256k1 v0.27.0
[INFO] [stderr]   Downloaded url v2.4.1
[INFO] [stderr]   Downloaded tokio-test v0.4.3
[INFO] [stderr]   Downloaded ethbloom v0.13.0
[INFO] [stderr]   Downloaded hex-literal v0.3.4
[INFO] [stderr]   Downloaded num-traits v0.2.17
[INFO] [stderr]   Downloaded iana-time-zone v0.1.58
[INFO] [stderr]   Downloaded pyo3-macros-backend v0.16.6
[INFO] [stderr]   Downloaded hashbrown v0.14.2
[INFO] [stderr]   Downloaded serde v1.0.189
[INFO] [stderr]   Downloaded headers v0.3.9
[INFO] [stderr]   Downloaded reqwest v0.11.22
[INFO] [stderr]   Downloaded openssl-sys v0.9.93
[INFO] [stderr]   Downloaded rustix v0.38.20
[INFO] [stderr]   Downloaded tokio-util v0.7.9
[INFO] [stderr]   Downloaded unindent v0.1.11
[INFO] [stderr]   Downloaded sha1_smol v1.0.0
[INFO] [stderr]   Downloaded impl-trait-for-tuples v0.2.2
[INFO] [stderr]   Downloaded pyo3-ffi v0.16.6
[INFO] [stderr]   Downloaded readonly v0.2.11
[INFO] [stderr]   Downloaded ethabi v18.0.0
[INFO] [stderr]   Downloaded byte-slice-cast v1.2.2
[INFO] [stderr]   Downloaded indexmap v2.0.2
[INFO] [stderr]   Downloaded impl-rlp v0.3.0
[INFO] [stderr]   Downloaded jsonrpc-core v18.0.0
[INFO] [stderr]   Downloaded rustc-hex v2.1.0
[INFO] [stderr]   Downloaded rlp v0.5.2
[INFO] [stderr]   Downloaded sha-1 v0.9.8
[INFO] [stderr]   Downloaded tokio v1.33.0
[INFO] [stderr]   Downloaded indoc v1.0.9
[INFO] [stderr]   Downloaded target-lexicon v0.12.12
[INFO] [stderr]   Downloaded pyo3-build-config v0.16.6
[INFO] [stderr]   Downloaded secp256k1-sys v0.8.1
[INFO] [stderr]   Downloaded winnow v0.5.17
[INFO] [stderr]   Downloaded pyo3-macros v0.16.6
[INFO] [stderr]   Downloaded keccak v0.1.4
[INFO] [stderr]   Downloaded fixed-hash v0.8.0
[INFO] [stderr]   Downloaded base64 v0.21.4
[INFO] [stderr]   Downloaded parity-scale-codec-derive v3.6.5
[INFO] [stderr]   Downloaded pyo3 v0.16.6
[INFO] [stderr]   Downloaded parity-scale-codec v3.6.5
[INFO] [stderr]   Downloaded impl-codec v0.6.0
[INFO] [stderr]   Downloaded impl-serde v0.4.0
[INFO] [stderr]   Downloaded chrono v0.4.31
[INFO] [stderr]   Downloaded serde_derive v1.0.189
[INFO] [stderr]   Downloaded semver v1.0.20
[INFO] [stderr]   Downloaded cpufeatures v0.2.10
[INFO] [stderr]   Downloaded primitive-types v0.12.2
[INFO] [stderr]   Downloaded uint v0.9.5
[INFO] [stderr]   Downloaded ethereum-types v0.14.1
[INFO] [stderr]   Downloaded opaque-debug v0.3.0
[INFO] [stderr]   Downloaded soketto v0.7.1
[INFO] [stderr]   Downloaded openssl v0.10.57
[INFO] [stderr]   Downloaded errno v0.3.5
[INFO] [stderr]   Downloaded thiserror-impl v1.0.50
[INFO] [stderr]   Downloaded syn v2.0.38
[INFO] [stderr]   Downloaded sha1 v0.6.1
[INFO] [stderr]   Downloaded headers-core v0.2.0
[INFO] [stderr]   Downloaded object v0.32.1
[INFO] [stderr]   Downloaded web3 v0.19.0
[INFO] [stderr]   Downloaded linux-raw-sys v0.4.10
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 54d42f6c534f23b590371a05cc569806fa38943c44fc964f18de6bef47d14824
[INFO] running `Command { std: "docker" "start" "-a" "54d42f6c534f23b590371a05cc569806fa38943c44fc964f18de6bef47d14824", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "54d42f6c534f23b590371a05cc569806fa38943c44fc964f18de6bef47d14824", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "54d42f6c534f23b590371a05cc569806fa38943c44fc964f18de6bef47d14824", kill_on_drop: false }`
[INFO] [stdout] 54d42f6c534f23b590371a05cc569806fa38943c44fc964f18de6bef47d14824
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ebbc9ae2050ac8cf893228f592ab33b9338cfc5e7c11f0283ce32bd3b15be649
[INFO] running `Command { std: "docker" "start" "-a" "ebbc9ae2050ac8cf893228f592ab33b9338cfc5e7c11f0283ce32bd3b15be649", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling smallvec v1.11.1
[INFO] [stderr]    Compiling memchr v2.6.4
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling serde v1.0.189
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling futures-io v0.3.28
[INFO] [stderr]    Compiling target-lexicon v0.12.12
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling openssl v0.10.57
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling rustc-hex v2.1.0
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling pyo3-build-config v0.16.6
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling cpufeatures v0.2.10
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling form_urlencoded v1.2.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling rlp v0.5.2
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling impl-rlp v0.3.0
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling fixed-hash v0.8.0
[INFO] [stderr]    Compiling thiserror v1.0.50
[INFO] [stderr]    Compiling uint v0.9.5
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling base64 v0.21.4
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling encoding_rs v0.8.33
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling sha1_smol v1.0.0
[INFO] [stderr]    Compiling keccak v0.1.4
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling ipnet v2.8.0
[INFO] [stderr]    Compiling url v2.4.1
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling sha1 v0.6.1
[INFO] [stderr]    Compiling sha-1 v0.9.8
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling headers-core v0.2.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.58
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling unindent v0.1.11
[INFO] [stderr]    Compiling indoc v1.0.9
[INFO] [stderr]    Compiling chrono v0.4.31
[INFO] [stderr]    Compiling headers v0.3.9
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling futures-timer v3.0.2
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling hex-literal v0.3.4
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling openssl-sys v0.9.93
[INFO] [stderr]    Compiling secp256k1-sys v0.8.1
[INFO] [stderr]    Compiling pyo3-macros-backend v0.16.6
[INFO] [stderr]    Compiling pyo3-ffi v0.16.6
[INFO] [stderr]    Compiling pyo3 v0.16.6
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling secp256k1 v0.27.0
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.189
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.50
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling pyo3-macros v0.16.6
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling tokio v1.33.0
[INFO] [stderr]    Compiling readonly v0.2.11
[INFO] [stderr]    Compiling async-stream v0.3.5
[INFO] [stderr]    Compiling pin-project v1.1.3
[INFO] [stderr]    Compiling tokio-util v0.7.9
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.14
[INFO] [stderr]    Compiling web3-async-native-tls v0.4.0
[INFO] [stderr]    Compiling tokio-test v0.4.3
[INFO] [stderr]    Compiling h2 v0.3.21
[INFO] [stderr]    Compiling futures-executor v0.3.28
[INFO] [stderr]    Compiling futures v0.3.28
[INFO] [stderr]    Compiling soketto v0.7.1
[INFO] [stderr]    Compiling impl-serde v0.4.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling ethbloom v0.13.0
[INFO] [stderr]    Compiling primitive-types v0.12.2
[INFO] [stderr]    Compiling jsonrpc-core v18.0.0
[INFO] [stderr]    Compiling ethereum-types v0.14.1
[INFO] [stderr]    Compiling ethabi v18.0.0
[INFO] [stderr]    Compiling hyper v0.14.27
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.22
[INFO] [stderr]    Compiling web3 v0.19.0
[INFO] [stderr]    Compiling dydx-v3-rust v0.2.3 (https://github.com/junta/dydx-v3-rust#fa5773cf)
[INFO] [stderr]    Compiling stat_arbitrage_bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `web3::transports::Http`
[INFO] [stdout]  --> src/connection.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use web3::transports::Http;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web3::Web3`
[INFO] [stdout]  --> src/connection.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use web3::Web3;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connect_dydx` is never used
[INFO] [stdout]   --> src/connection.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub async fn connect_dydx() {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MODE` is never used
[INFO] [stdout]  --> src/config.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const MODE: &str = "PRODUCTION";
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ABORT_ALL_POSITIONS` is never used
[INFO] [stdout]  --> src/config.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const ABORT_ALL_POSITIONS: bool = true;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FIND_COINTEGRATED` is never used
[INFO] [stdout]  --> src/config.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const FIND_COINTEGRATED: bool = true;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MANAGE_EXITS` is never used
[INFO] [stdout]   --> src/config.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const MANAGE_EXITS: bool = true;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PLACE_TRADES` is never used
[INFO] [stdout]   --> src/config.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const PLACE_TRADES: bool = true;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RESOLUTION` is never used
[INFO] [stdout]   --> src/config.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub const RESOLUTION: &str = "1HOUR";
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WINDOW` is never used
[INFO] [stdout]   --> src/config.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const WINDOW: i32 = 21;
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_HALF_LIFE` is never used
[INFO] [stdout]   --> src/config.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub const MAX_HALF_LIFE: i32 = 24;
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ZSCORE_THRESH` is never used
[INFO] [stdout]   --> src/config.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const ZSCORE_THRESH: f64 = 1.5;
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USD_PER_TRADE` is never used
[INFO] [stdout]   --> src/config.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const USD_PER_TRADE: f64 = 100.0;
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USD_MIN_COLLATERAL` is never used
[INFO] [stdout]   --> src/config.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub const USD_MIN_COLLATERAL: f64 = 1000.0;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CLOSE_AT_ZSCORE_CROSS` is never used
[INFO] [stdout]   --> src/config.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub const CLOSE_AT_ZSCORE_CROSS: bool = true;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ETHEREUM_ADDRESS` is never used
[INFO] [stdout]   --> src/config.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub const ETHEREUM_ADDRESS: &str = "0xe164984904Edf45A2920cc42C381fef8289BC8b2";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_PROVIDER_MAINNET` is never used
[INFO] [stdout]   --> src/config.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub const HTTP_PROVIDER_MAINNET: &str = "https://eth-mainnet.g.alchemy.com/v2/4-RE_XGYtMijHNgxIzFqhURHfSihtMi_";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_PROVIDER_TESTNET` is never used
[INFO] [stdout]   --> src/config.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub const HTTP_PROVIDER_TESTNET: &str = "https://eth-goerli.g.alchemy.com/v2/d7L05eT6Dpf8eRbySjjebzV0WzozVMlh";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `API_HOST_MAINNET` is never used
[INFO] [stdout]   --> src/config.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub const API_HOST_MAINNET: &str = "https://api.dydx.exchange";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `API_HOST_GOERLI` is never used
[INFO] [stdout]   --> src/config.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub const API_HOST_GOERLI: &str = "https://api.stage.dydx.exchange";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `api_host_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn api_host_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `api_host_testnet` is never used
[INFO] [stdout]   --> src/config.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn api_host_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stark_private_key_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn stark_private_key_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_key_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn dydx_api_key_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_secret_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn dydx_api_secret_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_passphrase_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn dydx_api_passphrase_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stark_private_key_testnet` is never used
[INFO] [stdout]   --> src/config.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn stark_private_key_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_key_testnet` is never used
[INFO] [stdout]   --> src/config.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn dydx_api_key_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_secret_testnet` is never used
[INFO] [stdout]   --> src/config.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn dydx_api_secret_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_passphrase_testnet` is never used
[INFO] [stdout]   --> src/config.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn dydx_api_passphrase_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `http_provider_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub fn http_provider_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `http_provider_testnet` is never used
[INFO] [stdout]   --> src/config.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn http_provider_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stark_private_key` is never used
[INFO] [stdout]   --> src/config.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub fn stark_private_key() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_key` is never used
[INFO] [stdout]   --> src/config.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub fn dydx_api_key() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_secret` is never used
[INFO] [stdout]    --> src/config.rs:104:8
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub fn dydx_api_secret() -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_passphrase` is never used
[INFO] [stdout]    --> src/config.rs:112:8
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub fn dydx_api_passphrase() -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `host` is never used
[INFO] [stdout]    --> src/config.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub fn host() -> Option<String> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `http_provider` is never used
[INFO] [stdout]    --> src/config.rs:132:8
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub fn http_provider() -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web3::transports::Http`
[INFO] [stdout]  --> src/connection.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use web3::transports::Http;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web3::Web3`
[INFO] [stdout]  --> src/connection.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use web3::Web3;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ABORT_ALL_POSITIONS` is never used
[INFO] [stdout]  --> src/config.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const ABORT_ALL_POSITIONS: bool = true;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FIND_COINTEGRATED` is never used
[INFO] [stdout]  --> src/config.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const FIND_COINTEGRATED: bool = true;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MANAGE_EXITS` is never used
[INFO] [stdout]   --> src/config.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const MANAGE_EXITS: bool = true;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PLACE_TRADES` is never used
[INFO] [stdout]   --> src/config.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const PLACE_TRADES: bool = true;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RESOLUTION` is never used
[INFO] [stdout]   --> src/config.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub const RESOLUTION: &str = "1HOUR";
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WINDOW` is never used
[INFO] [stdout]   --> src/config.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const WINDOW: i32 = 21;
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_HALF_LIFE` is never used
[INFO] [stdout]   --> src/config.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub const MAX_HALF_LIFE: i32 = 24;
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ZSCORE_THRESH` is never used
[INFO] [stdout]   --> src/config.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const ZSCORE_THRESH: f64 = 1.5;
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USD_PER_TRADE` is never used
[INFO] [stdout]   --> src/config.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const USD_PER_TRADE: f64 = 100.0;
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USD_MIN_COLLATERAL` is never used
[INFO] [stdout]   --> src/config.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub const USD_MIN_COLLATERAL: f64 = 1000.0;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CLOSE_AT_ZSCORE_CROSS` is never used
[INFO] [stdout]   --> src/config.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub const CLOSE_AT_ZSCORE_CROSS: bool = true;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ETHEREUM_ADDRESS` is never used
[INFO] [stdout]   --> src/config.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub const ETHEREUM_ADDRESS: &str = "0xe164984904Edf45A2920cc42C381fef8289BC8b2";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_PROVIDER_MAINNET` is never used
[INFO] [stdout]   --> src/config.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub const HTTP_PROVIDER_MAINNET: &str = "https://eth-mainnet.g.alchemy.com/v2/4-RE_XGYtMijHNgxIzFqhURHfSihtMi_";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_PROVIDER_TESTNET` is never used
[INFO] [stdout]   --> src/config.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub const HTTP_PROVIDER_TESTNET: &str = "https://eth-goerli.g.alchemy.com/v2/d7L05eT6Dpf8eRbySjjebzV0WzozVMlh";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `API_HOST_MAINNET` is never used
[INFO] [stdout]   --> src/config.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub const API_HOST_MAINNET: &str = "https://api.dydx.exchange";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `API_HOST_GOERLI` is never used
[INFO] [stdout]   --> src/config.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub const API_HOST_GOERLI: &str = "https://api.stage.dydx.exchange";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `api_host_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn api_host_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `api_host_testnet` is never used
[INFO] [stdout]   --> src/config.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn api_host_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `http_provider_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub fn http_provider_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `http_provider_testnet` is never used
[INFO] [stdout]   --> src/config.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn http_provider_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `host` is never used
[INFO] [stdout]    --> src/config.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub fn host() -> Option<String> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `http_provider` is never used
[INFO] [stdout]    --> src/config.rs:132:8
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub fn http_provider() -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 53s
[INFO] running `Command { std: "docker" "inspect" "ebbc9ae2050ac8cf893228f592ab33b9338cfc5e7c11f0283ce32bd3b15be649", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ebbc9ae2050ac8cf893228f592ab33b9338cfc5e7c11f0283ce32bd3b15be649", kill_on_drop: false }`
[INFO] [stdout] ebbc9ae2050ac8cf893228f592ab33b9338cfc5e7c11f0283ce32bd3b15be649
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0e57147037f53374d05982bc365e5b6c4a5cf17ee6dafbbaf3e1238a8bc390d6
[INFO] running `Command { std: "docker" "start" "-a" "0e57147037f53374d05982bc365e5b6c4a5cf17ee6dafbbaf3e1238a8bc390d6", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `web3::transports::Http`
[INFO] [stdout]  --> src/connection.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use web3::transports::Http;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web3::Web3`
[INFO] [stdout]  --> src/connection.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use web3::Web3;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connect_dydx` is never used
[INFO] [stdout]   --> src/connection.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub async fn connect_dydx() {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MODE` is never used
[INFO] [stdout]  --> src/config.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const MODE: &str = "PRODUCTION";
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ABORT_ALL_POSITIONS` is never used
[INFO] [stdout]  --> src/config.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const ABORT_ALL_POSITIONS: bool = true;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FIND_COINTEGRATED` is never used
[INFO] [stdout]  --> src/config.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const FIND_COINTEGRATED: bool = true;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MANAGE_EXITS` is never used
[INFO] [stdout]   --> src/config.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const MANAGE_EXITS: bool = true;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PLACE_TRADES` is never used
[INFO] [stdout]   --> src/config.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const PLACE_TRADES: bool = true;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RESOLUTION` is never used
[INFO] [stdout]   --> src/config.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub const RESOLUTION: &str = "1HOUR";
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WINDOW` is never used
[INFO] [stdout]   --> src/config.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const WINDOW: i32 = 21;
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_HALF_LIFE` is never used
[INFO] [stdout]   --> src/config.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub const MAX_HALF_LIFE: i32 = 24;
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ZSCORE_THRESH` is never used
[INFO] [stdout]   --> src/config.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const ZSCORE_THRESH: f64 = 1.5;
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USD_PER_TRADE` is never used
[INFO] [stdout]   --> src/config.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const USD_PER_TRADE: f64 = 100.0;
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USD_MIN_COLLATERAL` is never used
[INFO] [stdout]   --> src/config.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub const USD_MIN_COLLATERAL: f64 = 1000.0;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CLOSE_AT_ZSCORE_CROSS` is never used
[INFO] [stdout]   --> src/config.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub const CLOSE_AT_ZSCORE_CROSS: bool = true;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ETHEREUM_ADDRESS` is never used
[INFO] [stdout]   --> src/config.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub const ETHEREUM_ADDRESS: &str = "0xe164984904Edf45A2920cc42C381fef8289BC8b2";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_PROVIDER_MAINNET` is never used
[INFO] [stdout]   --> src/config.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub const HTTP_PROVIDER_MAINNET: &str = "https://eth-mainnet.g.alchemy.com/v2/4-RE_XGYtMijHNgxIzFqhURHfSihtMi_";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_PROVIDER_TESTNET` is never used
[INFO] [stdout]   --> src/config.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub const HTTP_PROVIDER_TESTNET: &str = "https://eth-goerli.g.alchemy.com/v2/d7L05eT6Dpf8eRbySjjebzV0WzozVMlh";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `API_HOST_MAINNET` is never used
[INFO] [stdout]   --> src/config.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub const API_HOST_MAINNET: &str = "https://api.dydx.exchange";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `API_HOST_GOERLI` is never used
[INFO] [stdout]   --> src/config.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub const API_HOST_GOERLI: &str = "https://api.stage.dydx.exchange";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `api_host_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn api_host_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `api_host_testnet` is never used
[INFO] [stdout]   --> src/config.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn api_host_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stark_private_key_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn stark_private_key_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_key_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn dydx_api_key_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_secret_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn dydx_api_secret_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_passphrase_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn dydx_api_passphrase_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stark_private_key_testnet` is never used
[INFO] [stdout]   --> src/config.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn stark_private_key_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_key_testnet` is never used
[INFO] [stdout]   --> src/config.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn dydx_api_key_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_secret_testnet` is never used
[INFO] [stdout]   --> src/config.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn dydx_api_secret_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_passphrase_testnet` is never used
[INFO] [stdout]   --> src/config.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn dydx_api_passphrase_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `http_provider_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub fn http_provider_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `http_provider_testnet` is never used
[INFO] [stdout]   --> src/config.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn http_provider_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stark_private_key` is never used
[INFO] [stdout]   --> src/config.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub fn stark_private_key() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_key` is never used
[INFO] [stdout]   --> src/config.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub fn dydx_api_key() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_secret` is never used
[INFO] [stdout]    --> src/config.rs:104:8
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub fn dydx_api_secret() -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_passphrase` is never used
[INFO] [stdout]    --> src/config.rs:112:8
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub fn dydx_api_passphrase() -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `host` is never used
[INFO] [stdout]    --> src/config.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub fn host() -> Option<String> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling stat_arbitrage_bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `http_provider` is never used
[INFO] [stdout]    --> src/config.rs:132:8
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub fn http_provider() -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web3::transports::Http`
[INFO] [stdout]  --> src/connection.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use web3::transports::Http;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web3::Web3`
[INFO] [stdout]  --> src/connection.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use web3::Web3;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web3::transports::Http`
[INFO] [stdout]  --> src/connection.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use web3::transports::Http;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web3::Web3`
[INFO] [stdout]  --> src/connection.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use web3::Web3;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connect_dydx` is never used
[INFO] [stdout]   --> src/connection.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub async fn connect_dydx() {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MODE` is never used
[INFO] [stdout]  --> src/config.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const MODE: &str = "PRODUCTION";
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ABORT_ALL_POSITIONS` is never used
[INFO] [stdout]  --> src/config.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const ABORT_ALL_POSITIONS: bool = true;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FIND_COINTEGRATED` is never used
[INFO] [stdout]  --> src/config.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const FIND_COINTEGRATED: bool = true;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MANAGE_EXITS` is never used
[INFO] [stdout]   --> src/config.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const MANAGE_EXITS: bool = true;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PLACE_TRADES` is never used
[INFO] [stdout]   --> src/config.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const PLACE_TRADES: bool = true;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RESOLUTION` is never used
[INFO] [stdout]   --> src/config.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub const RESOLUTION: &str = "1HOUR";
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WINDOW` is never used
[INFO] [stdout]   --> src/config.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const WINDOW: i32 = 21;
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_HALF_LIFE` is never used
[INFO] [stdout]   --> src/config.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub const MAX_HALF_LIFE: i32 = 24;
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ZSCORE_THRESH` is never used
[INFO] [stdout]   --> src/config.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const ZSCORE_THRESH: f64 = 1.5;
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USD_PER_TRADE` is never used
[INFO] [stdout]   --> src/config.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const USD_PER_TRADE: f64 = 100.0;
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USD_MIN_COLLATERAL` is never used
[INFO] [stdout]   --> src/config.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub const USD_MIN_COLLATERAL: f64 = 1000.0;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CLOSE_AT_ZSCORE_CROSS` is never used
[INFO] [stdout]   --> src/config.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub const CLOSE_AT_ZSCORE_CROSS: bool = true;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ETHEREUM_ADDRESS` is never used
[INFO] [stdout]   --> src/config.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub const ETHEREUM_ADDRESS: &str = "0xe164984904Edf45A2920cc42C381fef8289BC8b2";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_PROVIDER_MAINNET` is never used
[INFO] [stdout]   --> src/config.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub const HTTP_PROVIDER_MAINNET: &str = "https://eth-mainnet.g.alchemy.com/v2/4-RE_XGYtMijHNgxIzFqhURHfSihtMi_";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_PROVIDER_TESTNET` is never used
[INFO] [stdout]   --> src/config.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub const HTTP_PROVIDER_TESTNET: &str = "https://eth-goerli.g.alchemy.com/v2/d7L05eT6Dpf8eRbySjjebzV0WzozVMlh";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `API_HOST_MAINNET` is never used
[INFO] [stdout]   --> src/config.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub const API_HOST_MAINNET: &str = "https://api.dydx.exchange";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `API_HOST_GOERLI` is never used
[INFO] [stdout]   --> src/config.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub const API_HOST_GOERLI: &str = "https://api.stage.dydx.exchange";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `api_host_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn api_host_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `api_host_testnet` is never used
[INFO] [stdout]   --> src/config.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn api_host_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stark_private_key_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn stark_private_key_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_key_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn dydx_api_key_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_secret_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn dydx_api_secret_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_passphrase_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn dydx_api_passphrase_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stark_private_key_testnet` is never used
[INFO] [stdout]   --> src/config.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn stark_private_key_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_key_testnet` is never used
[INFO] [stdout]   --> src/config.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn dydx_api_key_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_secret_testnet` is never used
[INFO] [stdout]   --> src/config.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn dydx_api_secret_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_passphrase_testnet` is never used
[INFO] [stdout]   --> src/config.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn dydx_api_passphrase_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `http_provider_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub fn http_provider_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `http_provider_testnet` is never used
[INFO] [stdout]   --> src/config.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn http_provider_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stark_private_key` is never used
[INFO] [stdout]   --> src/config.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub fn stark_private_key() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_key` is never used
[INFO] [stdout]   --> src/config.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub fn dydx_api_key() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_secret` is never used
[INFO] [stdout]    --> src/config.rs:104:8
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub fn dydx_api_secret() -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dydx_api_passphrase` is never used
[INFO] [stdout]    --> src/config.rs:112:8
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub fn dydx_api_passphrase() -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `host` is never used
[INFO] [stdout]    --> src/config.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub fn host() -> Option<String> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `http_provider` is never used
[INFO] [stdout]    --> src/config.rs:132:8
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub fn http_provider() -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ABORT_ALL_POSITIONS` is never used
[INFO] [stdout]  --> src/config.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const ABORT_ALL_POSITIONS: bool = true;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FIND_COINTEGRATED` is never used
[INFO] [stdout]  --> src/config.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const FIND_COINTEGRATED: bool = true;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MANAGE_EXITS` is never used
[INFO] [stdout]   --> src/config.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const MANAGE_EXITS: bool = true;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PLACE_TRADES` is never used
[INFO] [stdout]   --> src/config.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const PLACE_TRADES: bool = true;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RESOLUTION` is never used
[INFO] [stdout]   --> src/config.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub const RESOLUTION: &str = "1HOUR";
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WINDOW` is never used
[INFO] [stdout]   --> src/config.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const WINDOW: i32 = 21;
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_HALF_LIFE` is never used
[INFO] [stdout]   --> src/config.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub const MAX_HALF_LIFE: i32 = 24;
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ZSCORE_THRESH` is never used
[INFO] [stdout]   --> src/config.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const ZSCORE_THRESH: f64 = 1.5;
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USD_PER_TRADE` is never used
[INFO] [stdout]   --> src/config.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const USD_PER_TRADE: f64 = 100.0;
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USD_MIN_COLLATERAL` is never used
[INFO] [stdout]   --> src/config.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub const USD_MIN_COLLATERAL: f64 = 1000.0;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CLOSE_AT_ZSCORE_CROSS` is never used
[INFO] [stdout]   --> src/config.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub const CLOSE_AT_ZSCORE_CROSS: bool = true;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ETHEREUM_ADDRESS` is never used
[INFO] [stdout]   --> src/config.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub const ETHEREUM_ADDRESS: &str = "0xe164984904Edf45A2920cc42C381fef8289BC8b2";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_PROVIDER_MAINNET` is never used
[INFO] [stdout]   --> src/config.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub const HTTP_PROVIDER_MAINNET: &str = "https://eth-mainnet.g.alchemy.com/v2/4-RE_XGYtMijHNgxIzFqhURHfSihtMi_";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HTTP_PROVIDER_TESTNET` is never used
[INFO] [stdout]   --> src/config.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub const HTTP_PROVIDER_TESTNET: &str = "https://eth-goerli.g.alchemy.com/v2/d7L05eT6Dpf8eRbySjjebzV0WzozVMlh";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `API_HOST_MAINNET` is never used
[INFO] [stdout]   --> src/config.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub const API_HOST_MAINNET: &str = "https://api.dydx.exchange";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `API_HOST_GOERLI` is never used
[INFO] [stdout]   --> src/config.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub const API_HOST_GOERLI: &str = "https://api.stage.dydx.exchange";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `api_host_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn api_host_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `api_host_testnet` is never used
[INFO] [stdout]   --> src/config.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn api_host_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `http_provider_mainnet` is never used
[INFO] [stdout]   --> src/config.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub fn http_provider_mainnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `http_provider_testnet` is never used
[INFO] [stdout]   --> src/config.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn http_provider_testnet() -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `host` is never used
[INFO] [stdout]    --> src/config.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub fn host() -> Option<String> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `http_provider` is never used
[INFO] [stdout]    --> src/config.rs:132:8
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub fn http_provider() -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.05s
[INFO] running `Command { std: "docker" "inspect" "0e57147037f53374d05982bc365e5b6c4a5cf17ee6dafbbaf3e1238a8bc390d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e57147037f53374d05982bc365e5b6c4a5cf17ee6dafbbaf3e1238a8bc390d6", kill_on_drop: false }`
[INFO] [stdout] 0e57147037f53374d05982bc365e5b6c4a5cf17ee6dafbbaf3e1238a8bc390d6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c68b7bfc5617cd51a4fbb247cce50c9c2800ca6335220155b7cfb5dbbbea853f
[INFO] running `Command { std: "docker" "start" "-a" "c68b7bfc5617cd51a4fbb247cce50c9c2800ca6335220155b7cfb5dbbbea853f", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `web3::transports::Http`
[INFO] [stderr]  --> src/connection.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use web3::transports::Http;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `web3::Web3`
[INFO] [stderr]  --> src/connection.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use web3::Web3;
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `connect_dydx` is never used
[INFO] [stderr]   --> src/connection.rs:12:14
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub async fn connect_dydx() {
[INFO] [stderr]    |              ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MODE` is never used
[INFO] [stderr]  --> src/config.rs:4:11
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub const MODE: &str = "PRODUCTION";
[INFO] [stderr]   |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `ABORT_ALL_POSITIONS` is never used
[INFO] [stderr]  --> src/config.rs:6:11
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub const ABORT_ALL_POSITIONS: bool = true;
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `FIND_COINTEGRATED` is never used
[INFO] [stderr]  --> src/config.rs:8:11
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub const FIND_COINTEGRATED: bool = true;
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MANAGE_EXITS` is never used
[INFO] [stderr]   --> src/config.rs:10:11
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub const MANAGE_EXITS: bool = true;
[INFO] [stderr]    |           ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `PLACE_TRADES` is never used
[INFO] [stderr]   --> src/config.rs:12:11
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub const PLACE_TRADES: bool = true;
[INFO] [stderr]    |           ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `RESOLUTION` is never used
[INFO] [stderr]   --> src/config.rs:14:11
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub const RESOLUTION: &str = "1HOUR";
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `WINDOW` is never used
[INFO] [stderr]   --> src/config.rs:16:11
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub const WINDOW: i32 = 21;
[INFO] [stderr]    |           ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MAX_HALF_LIFE` is never used
[INFO] [stderr]   --> src/config.rs:18:11
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub const MAX_HALF_LIFE: i32 = 24;
[INFO] [stderr]    |           ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `ZSCORE_THRESH` is never used
[INFO] [stderr]   --> src/config.rs:19:11
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub const ZSCORE_THRESH: f64 = 1.5;
[INFO] [stderr]    |           ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `USD_PER_TRADE` is never used
[INFO] [stderr]   --> src/config.rs:20:11
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub const USD_PER_TRADE: f64 = 100.0;
[INFO] [stderr]    |           ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `USD_MIN_COLLATERAL` is never used
[INFO] [stderr]   --> src/config.rs:21:11
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub const USD_MIN_COLLATERAL: f64 = 1000.0;
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CLOSE_AT_ZSCORE_CROSS` is never used
[INFO] [stderr]   --> src/config.rs:23:11
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub const CLOSE_AT_ZSCORE_CROSS: bool = true;
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `ETHEREUM_ADDRESS` is never used
[INFO] [stderr]   --> src/config.rs:25:11
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub const ETHEREUM_ADDRESS: &str = "0xe164984904Edf45A2920cc42C381fef8289BC8b2";
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `HTTP_PROVIDER_MAINNET` is never used
[INFO] [stderr]   --> src/config.rs:27:11
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub const HTTP_PROVIDER_MAINNET: &str = "https://eth-mainnet.g.alchemy.com/v2/4-RE_XGYtMijHNgxIzFqhURHfSihtMi_";
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `HTTP_PROVIDER_TESTNET` is never used
[INFO] [stderr]   --> src/config.rs:28:11
[INFO] [stderr]    |
[INFO] [stderr] 28 | pub const HTTP_PROVIDER_TESTNET: &str = "https://eth-goerli.g.alchemy.com/v2/d7L05eT6Dpf8eRbySjjebzV0WzozVMlh";
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `API_HOST_MAINNET` is never used
[INFO] [stderr]   --> src/config.rs:30:11
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub const API_HOST_MAINNET: &str = "https://api.dydx.exchange";
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `API_HOST_GOERLI` is never used
[INFO] [stderr]   --> src/config.rs:31:11
[INFO] [stderr]    |
[INFO] [stderr] 31 | pub const API_HOST_GOERLI: &str = "https://api.stage.dydx.exchange";
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `api_host_mainnet` is never used
[INFO] [stderr]   --> src/config.rs:37:8
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub fn api_host_mainnet() -> Option<String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `api_host_testnet` is never used
[INFO] [stderr]   --> src/config.rs:41:8
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub fn api_host_testnet() -> Option<String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `stark_private_key_mainnet` is never used
[INFO] [stderr]   --> src/config.rs:45:8
[INFO] [stderr]    |
[INFO] [stderr] 45 | pub fn stark_private_key_mainnet() -> Option<String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `dydx_api_key_mainnet` is never used
[INFO] [stderr]   --> src/config.rs:49:8
[INFO] [stderr]    |
[INFO] [stderr] 49 | pub fn dydx_api_key_mainnet() -> Option<String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `dydx_api_secret_mainnet` is never used
[INFO] [stderr]   --> src/config.rs:53:8
[INFO] [stderr]    |
[INFO] [stderr] 53 | pub fn dydx_api_secret_mainnet() -> Option<String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `dydx_api_passphrase_mainnet` is never used
[INFO] [stderr]   --> src/config.rs:57:8
[INFO] [stderr]    |
[INFO] [stderr] 57 | pub fn dydx_api_passphrase_mainnet() -> Option<String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `stark_private_key_testnet` is never used
[INFO] [stderr]   --> src/config.rs:62:8
[INFO] [stderr]    |
[INFO] [stderr] 62 | pub fn stark_private_key_testnet() -> Option<String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `dydx_api_key_testnet` is never used
[INFO] [stderr]   --> src/config.rs:66:8
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub fn dydx_api_key_testnet() -> Option<String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `dydx_api_secret_testnet` is never used
[INFO] [stderr]   --> src/config.rs:70:8
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub fn dydx_api_secret_testnet() -> Option<String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `dydx_api_passphrase_testnet` is never used
[INFO] [stderr]   --> src/config.rs:74:8
[INFO] [stderr]    |
[INFO] [stderr] 74 | pub fn dydx_api_passphrase_testnet() -> Option<String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `http_provider_mainnet` is never used
[INFO] [stderr]   --> src/config.rs:78:8
[INFO] [stderr]    |
[INFO] [stderr] 78 | pub fn http_provider_mainnet() -> Option<String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `http_provider_testnet` is never used
[INFO] [stderr]   --> src/config.rs:82:8
[INFO] [stderr]    |
[INFO] [stderr] 82 | pub fn http_provider_testnet() -> Option<String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `stark_private_key` is never used
[INFO] [stderr]   --> src/config.rs:88:8
[INFO] [stderr]    |
[INFO] [stderr] 88 | pub fn stark_private_key() -> Option<String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `dydx_api_key` is never used
[INFO] [stderr]   --> src/config.rs:96:8
[INFO] [stderr]    |
[INFO] [stderr] 96 | pub fn dydx_api_key() -> Option<String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `dydx_api_secret` is never used
[INFO] [stderr]    --> src/config.rs:104:8
[INFO] [stderr]     |
[INFO] [stderr] 104 | pub fn dydx_api_secret() -> Option<String> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `dydx_api_passphrase` is never used
[INFO] [stderr]    --> src/config.rs:112:8
[INFO] [stderr]     |
[INFO] [stderr] 112 | pub fn dydx_api_passphrase() -> Option<String> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `host` is never used
[INFO] [stderr]    --> src/config.rs:123:8
[INFO] [stderr]     |
[INFO] [stderr] 123 | pub fn host() -> Option<String> {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `http_provider` is never used
[INFO] [stderr]    --> src/config.rs:132:8
[INFO] [stderr]     |
[INFO] [stderr] 132 | pub fn http_provider() -> Option<String> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `stat_arbitrage_bot` (lib) generated 38 warnings (run `cargo fix --lib -p stat_arbitrage_bot` to apply 2 suggestions)
[INFO] [stderr] warning: `stat_arbitrage_bot` (lib test) generated 38 warnings (38 duplicates)
[INFO] [stderr] warning: constant `ABORT_ALL_POSITIONS` is never used
[INFO] [stderr]  --> src/config.rs:6:11
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub const ABORT_ALL_POSITIONS: bool = true;
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `stat_arbitrage_bot` (bin "stat_arbitrage_bot" test) generated 24 warnings (23 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stat_arbitrage_bot-409b6fe3b22f612a)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/stat_arbitrage_bot-a21fb99920485a24)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests stat_arbitrage_bot
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c68b7bfc5617cd51a4fbb247cce50c9c2800ca6335220155b7cfb5dbbbea853f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c68b7bfc5617cd51a4fbb247cce50c9c2800ca6335220155b7cfb5dbbbea853f", kill_on_drop: false }`
[INFO] [stdout] c68b7bfc5617cd51a4fbb247cce50c9c2800ca6335220155b7cfb5dbbbea853f
