[INFO] cloning repository https://github.com/toBeUrself/future-tools
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/toBeUrself/future-tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtoBeUrself%2Ffuture-tools", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtoBeUrself%2Ffuture-tools'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 27aaad42b1975e2c9c564be4e917deed73cf71d3
[INFO] checking toBeUrself/future-tools against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtoBeUrself%2Ffuture-tools" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/toBeUrself/future-tools
[INFO] finished tweaking git repo https://github.com/toBeUrself/future-tools
[INFO] tweaked toml for git repo https://github.com/toBeUrself/future-tools written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/toBeUrself/future-tools on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/toBeUrself/future-tools 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded openssl-sys v0.9.97
[INFO] [stderr]   Downloaded tokio v1.35.0
[INFO] [stderr]   Downloaded syn v2.0.41
[INFO] [stderr]   Downloaded openssl v0.10.61
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 82c8ec0cc823cee1f2bd0180ba7b8cbbd0b4dfab8f06319f1e9c8a72d5ce0143
[INFO] running `Command { std: "docker" "start" "-a" "82c8ec0cc823cee1f2bd0180ba7b8cbbd0b4dfab8f06319f1e9c8a72d5ce0143", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "82c8ec0cc823cee1f2bd0180ba7b8cbbd0b4dfab8f06319f1e9c8a72d5ce0143", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82c8ec0cc823cee1f2bd0180ba7b8cbbd0b4dfab8f06319f1e9c8a72d5ce0143", kill_on_drop: false }`
[INFO] [stdout] 82c8ec0cc823cee1f2bd0180ba7b8cbbd0b4dfab8f06319f1e9c8a72d5ce0143
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 96e2a8b0aa4b2d4aa45a0daa3e30d1e0acec6befbbfbd7bf8a562ac3bceb17e9
[INFO] running `Command { std: "docker" "start" "-a" "96e2a8b0aa4b2d4aa45a0daa3e30d1e0acec6befbbfbd7bf8a562ac3bceb17e9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling futures-core v0.3.29
[INFO] [stderr]    Compiling futures-task v0.3.29
[INFO] [stderr]    Compiling futures-util v0.3.29
[INFO] [stderr]    Compiling openssl v0.10.61
[INFO] [stderr]     Checking http v0.2.11
[INFO] [stderr]     Checking memchr v2.6.4
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]    Compiling futures-channel v0.3.29
[INFO] [stderr]     Checking futures-io v0.3.29
[INFO] [stderr]     Checking futures-sink v0.3.29
[INFO] [stderr]     Checking indexmap v2.1.0
[INFO] [stderr]     Checking unicode-bidi v0.3.14
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]     Checking base64 v0.21.5
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.41
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking mio v0.8.10
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking tokio v1.35.0
[INFO] [stderr]    Compiling openssl-sys v0.9.97
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.193
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking h2 v0.3.22
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper v0.14.27
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.22
[INFO] [stderr]     Checking xt-future-tools v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `crossed_float_profit`
[INFO] [stdout]    --> src/services/account.rs:147:11
[INFO] [stdout]     |
[INFO] [stdout] 147 |       let crossed_float_profit = 0.0;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_crossed_float_profit`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/services/account.rs:150:19
[INFO] [stdout]     |
[INFO] [stdout] 150 |           symbol: s,
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ps`
[INFO] [stdout]    --> src/services/account.rs:151:26
[INFO] [stdout]     |
[INFO] [stdout] 151 |           position_side: ps,
[INFO] [stdout]     |                          ^^ help: if this is intentional, prefix it with an underscore: `_ps`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entry_price`
[INFO] [stdout]    --> src/services/account.rs:153:11
[INFO] [stdout]     |
[INFO] [stdout] 153 |           entry_price,
[INFO] [stdout]     |           ^^^^^^^^^^^ help: try ignoring the field: `entry_price: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ct`
[INFO] [stdout]    --> src/services/account.rs:155:26
[INFO] [stdout]     |
[INFO] [stdout] 155 |           contract_type: ct,
[INFO] [stdout]     |                          ^^ help: if this is intentional, prefix it with an underscore: `_ct`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cbase`
[INFO] [stdout]   --> src/main.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let cbase = "/dapi";
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_cbase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `balance`
[INFO] [stdout]   --> src/main.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let balance = get_account_balance(&services, GET_BALANCE_DETAIL)?;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `positions`
[INFO] [stdout]   --> src/main.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let positions = get_account_positions(&services, GET_POSITION_LIST)?;
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_positions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `crossed_float_profit`
[INFO] [stdout]    --> src/services/account.rs:147:11
[INFO] [stdout]     |
[INFO] [stdout] 147 |       let crossed_float_profit = 0.0;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_crossed_float_profit`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/services/account.rs:150:19
[INFO] [stdout]     |
[INFO] [stdout] 150 |           symbol: s,
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ps`
[INFO] [stdout]    --> src/services/account.rs:151:26
[INFO] [stdout]     |
[INFO] [stdout] 151 |           position_side: ps,
[INFO] [stdout]     |                          ^^ help: if this is intentional, prefix it with an underscore: `_ps`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entry_price`
[INFO] [stdout]    --> src/services/account.rs:153:11
[INFO] [stdout]     |
[INFO] [stdout] 153 |           entry_price,
[INFO] [stdout]     |           ^^^^^^^^^^^ help: try ignoring the field: `entry_price: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ct`
[INFO] [stdout]    --> src/services/account.rs:155:26
[INFO] [stdout]     |
[INFO] [stdout] 155 |           contract_type: ct,
[INFO] [stdout]     |                          ^^ help: if this is intentional, prefix it with an underscore: `_ct`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cbase`
[INFO] [stdout]   --> src/main.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let cbase = "/dapi";
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_cbase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `balance`
[INFO] [stdout]   --> src/main.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let balance = get_account_balance(&services, GET_BALANCE_DETAIL)?;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `positions`
[INFO] [stdout]   --> src/main.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let positions = get_account_positions(&services, GET_POSITION_LIST)?;
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_positions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.44s
[INFO] running `Command { std: "docker" "inspect" "96e2a8b0aa4b2d4aa45a0daa3e30d1e0acec6befbbfbd7bf8a562ac3bceb17e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96e2a8b0aa4b2d4aa45a0daa3e30d1e0acec6befbbfbd7bf8a562ac3bceb17e9", kill_on_drop: false }`
[INFO] [stdout] 96e2a8b0aa4b2d4aa45a0daa3e30d1e0acec6befbbfbd7bf8a562ac3bceb17e9
