[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] checking JuSoyer/dydx_arbitrage against try#c86ec274072509d26d0ee52682a0c94ed012ed89 for pr-153027
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuSoyer%2Fdydx_arbitrage" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JuSoyer/dydx_arbitrage on toolchain c86ec274072509d26d0ee52682a0c94ed012ed89
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "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" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/junta/dydx-v3-rust`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking JuSoyer/dydx_arbitrage against try#c86ec274072509d26d0ee52682a0c94ed012ed89 for pr-153027
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuSoyer%2Fdydx_arbitrage" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JuSoyer/dydx_arbitrage on toolchain c86ec274072509d26d0ee52682a0c94ed012ed89
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "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" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded openssl-sys v0.9.93
[INFO] [stderr]   Downloaded web3-async-native-tls v0.4.0
[INFO] [stderr]   Downloaded tokio-test v0.4.3
[INFO] [stderr]   Downloaded cpufeatures v0.2.10
[INFO] [stderr]   Downloaded readonly v0.2.11
[INFO] [stderr]   Downloaded web3 v0.19.0
[INFO] [stderr]   Downloaded parity-scale-codec-derive v3.6.5
[INFO] [stderr]   Downloaded parity-scale-codec v3.6.5
[INFO] [stderr]   Downloaded serde v1.0.189
[INFO] [stderr]   Downloaded tokio-util v0.7.9
[INFO] [stderr]   Downloaded serde_derive v1.0.189
[INFO] [stderr]   Downloaded reqwest v0.11.22
[INFO] [stderr]   Downloaded openssl v0.10.57
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e8696084de36c06ff5c817089ae6f2b80a9d987705b97c47ba13990746057b0e
[INFO] running `Command { std: "docker" "start" "-a" "e8696084de36c06ff5c817089ae6f2b80a9d987705b97c47ba13990746057b0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e8696084de36c06ff5c817089ae6f2b80a9d987705b97c47ba13990746057b0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8696084de36c06ff5c817089ae6f2b80a9d987705b97c47ba13990746057b0e", kill_on_drop: false }`
[INFO] [stdout] e8696084de36c06ff5c817089ae6f2b80a9d987705b97c47ba13990746057b0e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eca70c1bcf59ce440c61d57aa3d6cb17de36e2b014b7eb7000c917a8cc9dac72
[INFO] running `Command { std: "docker" "start" "-a" "eca70c1bcf59ce440c61d57aa3d6cb17de36e2b014b7eb7000c917a8cc9dac72", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]     Checking smallvec v1.11.1
[INFO] [stderr]     Checking memchr v2.6.4
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling serde v1.0.189
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]     Checking futures-sink v0.3.28
[INFO] [stderr]    Compiling target-lexicon v0.12.12
[INFO] [stderr]     Checking futures-io v0.3.28
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling openssl v0.10.57
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking percent-encoding v2.3.0
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]     Checking cpufeatures v0.2.10
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking rlp v0.5.2
[INFO] [stderr]     Checking form_urlencoded v1.2.0
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking unicode-bidi v0.3.13
[INFO] [stderr]     Checking impl-rlp v0.3.0
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]    Compiling thiserror v1.0.50
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]     Checking uint v0.9.5
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]     Checking base64 v0.21.4
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking sha1_smol v1.0.0
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking ipnet v2.8.0
[INFO] [stderr]     Checking keccak v0.1.4
[INFO] [stderr]     Checking sha-1 v0.9.8
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking sha1 v0.6.1
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking parking_lot_core v0.9.9
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]    Compiling pyo3-build-config v0.16.6
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]    Compiling indoc v1.0.9
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking unindent v0.1.11
[INFO] [stderr]     Checking iana-time-zone v0.1.58
[INFO] [stderr]     Checking headers v0.3.9
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling hex-literal v0.3.4
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking futures-timer v3.0.2
[INFO] [stderr]    Compiling openssl-sys v0.9.93
[INFO] [stderr]    Compiling secp256k1-sys v0.8.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking url v2.4.1
[INFO] [stderr]     Checking chrono v0.4.31
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling pyo3-ffi v0.16.6
[INFO] [stderr]    Compiling pyo3 v0.16.6
[INFO] [stderr]     Checking fixed-hash v0.8.0
[INFO] [stderr]     Checking regex-automata v0.4.3
[INFO] [stderr]     Checking regex v1.10.2
[INFO] [stderr]    Compiling serde_derive v1.0.189
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[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 readonly v0.2.11
[INFO] [stderr]    Compiling pyo3-macros-backend v0.16.6
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]     Checking tokio v1.33.0
[INFO] [stderr]     Checking pin-project v1.1.3
[INFO] [stderr]     Checking secp256k1 v0.27.0
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling pyo3-macros v0.16.6
[INFO] [stderr]     Checking futures-executor v0.3.28
[INFO] [stderr]     Checking futures v0.3.28
[INFO] [stderr]     Checking soketto v0.7.1
[INFO] [stderr]     Checking tokio-util v0.7.9
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tokio-stream v0.1.14
[INFO] [stderr]     Checking web3-async-native-tls v0.4.0
[INFO] [stderr]     Checking tokio-test v0.4.3
[INFO] [stderr]     Checking h2 v0.3.21
[INFO] [stderr]     Checking impl-serde v0.4.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking primitive-types v0.12.2
[INFO] [stderr]     Checking ethbloom v0.13.0
[INFO] [stderr]     Checking jsonrpc-core v18.0.0
[INFO] [stderr]     Checking ethereum-types v0.14.1
[INFO] [stderr]     Checking ethabi v18.0.0
[INFO] [stderr]     Checking hyper v0.14.27
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.22
[INFO] [stderr]     Checking web3 v0.19.0
[INFO] [stderr]     Checking dydx-v3-rust v0.2.3 (https://github.com/junta/dydx-v3-rust#fa5773cf)
[INFO] [stderr]     Checking 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 32.16s
[INFO] running `Command { std: "docker" "inspect" "eca70c1bcf59ce440c61d57aa3d6cb17de36e2b014b7eb7000c917a8cc9dac72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eca70c1bcf59ce440c61d57aa3d6cb17de36e2b014b7eb7000c917a8cc9dac72", kill_on_drop: false }`
[INFO] [stdout] eca70c1bcf59ce440c61d57aa3d6cb17de36e2b014b7eb7000c917a8cc9dac72
