[INFO] cloning repository https://github.com/vinicius98s/bot-crypto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vinicius98s/bot-crypto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinicius98s%2Fbot-crypto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinicius98s%2Fbot-crypto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb4e96b24fefd6733f01cb5b6c9de627f023620e [INFO] testing vinicius98s/bot-crypto against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinicius98s%2Fbot-crypto" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vinicius98s/bot-crypto [INFO] finished tweaking git repo https://github.com/vinicius98s/bot-crypto [INFO] tweaked toml for git repo https://github.com/vinicius98s/bot-crypto written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vinicius98s/bot-crypto on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vinicius98s/bot-crypto already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded digest v0.10.1 [INFO] [stderr] Downloaded sha2 v0.10.1 [INFO] [stderr] Downloaded security-framework v2.6.0 [INFO] [stderr] Downloaded hmac v0.12.0 [INFO] [stderr] Downloaded tokio v1.16.1 [INFO] [stderr] Downloaded reqwest v0.11.9 [INFO] [stderr] Downloaded security-framework-sys v2.6.0 [INFO] [stderr] Downloaded crypto-common v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1223354cd275a82bd766b03cfc890c71632b7790e6df18180e9be69b6a77e9ca [INFO] running `Command { std: "docker" "start" "-a" "1223354cd275a82bd766b03cfc890c71632b7790e6df18180e9be69b6a77e9ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1223354cd275a82bd766b03cfc890c71632b7790e6df18180e9be69b6a77e9ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1223354cd275a82bd766b03cfc890c71632b7790e6df18180e9be69b6a77e9ca", kill_on_drop: false }` [INFO] [stdout] 1223354cd275a82bd766b03cfc890c71632b7790e6df18180e9be69b6a77e9ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58ed5501fb8a631e8c045bfa8fcca1a3f5780348b16c81d3070621ac9c757440 [INFO] running `Command { std: "docker" "start" "-a" "58ed5501fb8a631e8c045bfa8fcca1a3f5780348b16c81d3070621ac9c757440", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling hmac v0.12.0 [INFO] [stderr] Compiling sha2 v0.10.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling serde-hjson v0.9.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling config v0.11.0 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling bot-crypto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `asset` and `value` are never read [INFO] [stdout] --> src/binance.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | asset: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | value: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `buying_asset` and `min_sell_profit` are never read [INFO] [stdout] --> src/settings.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Settings { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | pub tracked_assets: Vec, [INFO] [stdout] 7 | pub buying_asset: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 8 | pub min_sell_profit: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.91s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "58ed5501fb8a631e8c045bfa8fcca1a3f5780348b16c81d3070621ac9c757440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58ed5501fb8a631e8c045bfa8fcca1a3f5780348b16c81d3070621ac9c757440", kill_on_drop: false }` [INFO] [stdout] 58ed5501fb8a631e8c045bfa8fcca1a3f5780348b16c81d3070621ac9c757440 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb9b3e1973d8e5405173c14b167f201f0f405d42b280df186a2fd37db5de8a07 [INFO] running `Command { std: "docker" "start" "-a" "fb9b3e1973d8e5405173c14b167f201f0f405d42b280df186a2fd37db5de8a07", kill_on_drop: false }` [INFO] [stderr] Compiling bot-crypto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `asset` and `value` are never read [INFO] [stdout] --> src/binance.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | asset: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | value: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `buying_asset` and `min_sell_profit` are never read [INFO] [stdout] --> src/settings.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Settings { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | pub tracked_assets: Vec, [INFO] [stdout] 7 | pub buying_asset: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 8 | pub min_sell_profit: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "fb9b3e1973d8e5405173c14b167f201f0f405d42b280df186a2fd37db5de8a07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb9b3e1973d8e5405173c14b167f201f0f405d42b280df186a2fd37db5de8a07", kill_on_drop: false }` [INFO] [stdout] fb9b3e1973d8e5405173c14b167f201f0f405d42b280df186a2fd37db5de8a07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f0e1c2588829a244302d2d97928fe169b222e49f098055b310803f654a52ad20 [INFO] running `Command { std: "docker" "start" "-a" "f0e1c2588829a244302d2d97928fe169b222e49f098055b310803f654a52ad20", kill_on_drop: false }` [INFO] [stderr] warning: fields `asset` and `value` are never read [INFO] [stderr] --> src/binance.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Position { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 13 | asset: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 14 | value: f64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Position` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `buying_asset` and `min_sell_profit` are never read [INFO] [stderr] --> src/settings.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Settings { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 6 | pub tracked_assets: Vec, [INFO] [stderr] 7 | pub buying_asset: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 8 | pub min_sell_profit: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Settings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `bot-crypto` (bin "bot-crypto" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bot_crypto-7104de8187b9c774) [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" "f0e1c2588829a244302d2d97928fe169b222e49f098055b310803f654a52ad20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0e1c2588829a244302d2d97928fe169b222e49f098055b310803f654a52ad20", kill_on_drop: false }` [INFO] [stdout] f0e1c2588829a244302d2d97928fe169b222e49f098055b310803f654a52ad20