[INFO] cloning repository https://github.com/vitordhers/arbitrage_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vitordhers/arbitrage_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitordhers%2Farbitrage_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitordhers%2Farbitrage_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 089cb11dbe1bad261f3865c6a4d6e8a963e487ea [INFO] checking vitordhers/arbitrage_bot against master#f21fbac535ab2c3bc50db20547f4d48477357103 for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitordhers%2Farbitrage_bot" "/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/vitordhers/arbitrage_bot [INFO] finished tweaking git repo https://github.com/vitordhers/arbitrage_bot [INFO] tweaked toml for git repo https://github.com/vitordhers/arbitrage_bot written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vitordhers/arbitrage_bot on toolchain f21fbac535ab2c3bc50db20547f4d48477357103 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vitordhers/arbitrage_bot 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" "+f21fbac535ab2c3bc50db20547f4d48477357103" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 090cf0fd73cf96ed20ae7d7857c3af7da7f8d2b61664455e2d2703c146c53d80 [INFO] running `Command { std: "docker" "start" "-a" "090cf0fd73cf96ed20ae7d7857c3af7da7f8d2b61664455e2d2703c146c53d80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "090cf0fd73cf96ed20ae7d7857c3af7da7f8d2b61664455e2d2703c146c53d80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "090cf0fd73cf96ed20ae7d7857c3af7da7f8d2b61664455e2d2703c146c53d80", kill_on_drop: false }` [INFO] [stdout] 090cf0fd73cf96ed20ae7d7857c3af7da7f8d2b61664455e2d2703c146c53d80 [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" "-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d83aad591d44e0789b8c59827168442dacca261ef334a6d4e09ffd75d36f1a9 [INFO] running `Command { std: "docker" "start" "-a" "9d83aad591d44e0789b8c59827168442dacca261ef334a6d4e09ffd75d36f1a9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking once_cell v1.20.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Checking rustls-pki-types v1.9.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.8 [INFO] [stderr] Checking arbirtrage_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `result` [INFO] [stdout] --> src/main.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, result, time::Duration}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `result` [INFO] [stdout] --> src/main.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, result, time::Duration}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bid_price` [INFO] [stdout] --> src/main.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | let (ask_price, bid_price, qty, symbol, costs) = match action { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bid_price` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/main.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | async fn short_binance(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qty` [INFO] [stdout] --> src/main.rs:206:40 [INFO] [stdout] | [INFO] [stdout] 206 | async fn short_binance(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_qty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `price` [INFO] [stdout] --> src/main.rs:206:50 [INFO] [stdout] | [INFO] [stdout] 206 | async fn short_binance(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/main.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | async fn long_binance(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qty` [INFO] [stdout] --> src/main.rs:211:39 [INFO] [stdout] | [INFO] [stdout] 211 | async fn long_binance(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_qty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `price` [INFO] [stdout] --> src/main.rs:211:49 [INFO] [stdout] | [INFO] [stdout] 211 | async fn long_binance(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/main.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 216 | async fn short_mb(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qty` [INFO] [stdout] --> src/main.rs:216:35 [INFO] [stdout] | [INFO] [stdout] 216 | async fn short_mb(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_qty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `price` [INFO] [stdout] --> src/main.rs:216:45 [INFO] [stdout] | [INFO] [stdout] 216 | async fn short_mb(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/main.rs:221:18 [INFO] [stdout] | [INFO] [stdout] 221 | async fn long_mb(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qty` [INFO] [stdout] --> src/main.rs:221:34 [INFO] [stdout] | [INFO] [stdout] 221 | async fn long_mb(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_qty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `price` [INFO] [stdout] --> src/main.rs:221:44 [INFO] [stdout] | [INFO] [stdout] 221 | async fn long_mb(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bid_price` [INFO] [stdout] --> src/main.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | let (ask_price, bid_price, qty, symbol, costs) = match action { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bid_price` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/main.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | async fn short_binance(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qty` [INFO] [stdout] --> src/main.rs:206:40 [INFO] [stdout] | [INFO] [stdout] 206 | async fn short_binance(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_qty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `price` [INFO] [stdout] --> src/main.rs:206:50 [INFO] [stdout] | [INFO] [stdout] 206 | async fn short_binance(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/main.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | async fn long_binance(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qty` [INFO] [stdout] --> src/main.rs:211:39 [INFO] [stdout] | [INFO] [stdout] 211 | async fn long_binance(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_qty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `price` [INFO] [stdout] --> src/main.rs:211:49 [INFO] [stdout] | [INFO] [stdout] 211 | async fn long_binance(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/main.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 216 | async fn short_mb(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qty` [INFO] [stdout] --> src/main.rs:216:35 [INFO] [stdout] | [INFO] [stdout] 216 | async fn short_mb(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_qty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `price` [INFO] [stdout] --> src/main.rs:216:45 [INFO] [stdout] | [INFO] [stdout] 216 | async fn short_mb(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/main.rs:221:18 [INFO] [stdout] | [INFO] [stdout] 221 | async fn long_mb(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qty` [INFO] [stdout] --> src/main.rs:221:34 [INFO] [stdout] | [INFO] [stdout] 221 | async fn long_mb(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_qty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `price` [INFO] [stdout] --> src/main.rs:221:44 [INFO] [stdout] | [INFO] [stdout] 221 | async fn long_mb(symbol: Symbol, qty: f64, price: f64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_update_id` is never read [INFO] [stdout] --> src/main.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 310 | struct BinanceOrderBookData { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 311 | #[serde(rename = "lastUpdateId")] [INFO] [stdout] 312 | pub last_update_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinanceOrderBookData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/main.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 318 | struct MBOrderBookData { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 319 | pub timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MBOrderBookData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `USDTBRL` and `ETHBRL` are never constructed [INFO] [stdout] --> src/main.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 333 | enum Symbol { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 336 | USDTBRL, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 337 | ETHBRL, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_update_id` is never read [INFO] [stdout] --> src/main.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 310 | struct BinanceOrderBookData { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 311 | #[serde(rename = "lastUpdateId")] [INFO] [stdout] 312 | pub last_update_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinanceOrderBookData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/main.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 318 | struct MBOrderBookData { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 319 | pub timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MBOrderBookData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `USDTBRL` and `ETHBRL` are never constructed [INFO] [stdout] --> src/main.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 333 | enum Symbol { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 336 | USDTBRL, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 337 | ETHBRL, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.51s [INFO] running `Command { std: "docker" "inspect" "9d83aad591d44e0789b8c59827168442dacca261ef334a6d4e09ffd75d36f1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d83aad591d44e0789b8c59827168442dacca261ef334a6d4e09ffd75d36f1a9", kill_on_drop: false }` [INFO] [stdout] 9d83aad591d44e0789b8c59827168442dacca261ef334a6d4e09ffd75d36f1a9