[INFO] cloning repository https://github.com/Golden-Lighting-Star/Engine-Test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Golden-Lighting-Star/Engine-Test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGolden-Lighting-Star%2FEngine-Test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGolden-Lighting-Star%2FEngine-Test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07fcbf5540fc022c017d059e23a61519ad291e7a [INFO] checking Golden-Lighting-Star/Engine-Test against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGolden-Lighting-Star%2FEngine-Test" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Golden-Lighting-Star/Engine-Test on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Golden-Lighting-Star/Engine-Test [INFO] finished tweaking git repo https://github.com/Golden-Lighting-Star/Engine-Test [INFO] tweaked toml for git repo https://github.com/Golden-Lighting-Star/Engine-Test written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Golden-Lighting-Star/Engine-Test 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tungstenite v0.16.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.16.1 [INFO] [stderr] Downloaded aws-smithy-query v0.33.1 [INFO] [stderr] Downloaded urlencoding v1.3.3 [INFO] [stderr] Downloaded aws-smithy-xml v0.33.1 [INFO] [stderr] Downloaded tower-layer v0.3.1 [INFO] [stderr] Downloaded sha2 v0.10.0 [INFO] [stderr] Downloaded aws-endpoint v0.3.0 [INFO] [stderr] Downloaded bytes-utils v0.1.1 [INFO] [stderr] Downloaded aws-smithy-json v0.33.1 [INFO] [stderr] Downloaded serde v1.0.133 [INFO] [stderr] Downloaded xmlparser v0.13.3 [INFO] [stderr] Downloaded aws-sdk-sts v0.3.0 [INFO] [stderr] Downloaded hmac v0.12.0 [INFO] [stderr] Downloaded aws-config v0.3.0 [INFO] [stderr] Downloaded time v0.3.5 [INFO] [stderr] Downloaded reqwest v0.11.8 [INFO] [stderr] Downloaded h2 v0.3.9 [INFO] [stderr] Downloaded tower v0.4.11 [INFO] [stderr] Downloaded syn v1.0.84 [INFO] [stderr] Downloaded aws-sdk-secretsmanager v0.3.0 [INFO] [stderr] Downloaded rdkafka v0.25.0 [INFO] [stderr] Downloaded serde_json v1.0.74 [INFO] [stderr] Downloaded serde_derive v1.0.133 [INFO] [stderr] Downloaded aws-smithy-client v0.33.1 [INFO] [stderr] Downloaded aws-smithy-http v0.33.1 [INFO] [stderr] Downloaded quote v1.0.14 [INFO] [stderr] Downloaded tokio v1.15.0 [INFO] [stderr] Downloaded aws-http v0.3.0 [INFO] [stderr] Downloaded aws-sig-auth v0.3.0 [INFO] [stderr] Downloaded aws-smithy-http-tower v0.33.1 [INFO] [stderr] Downloaded aws-smithy-async v0.33.1 [INFO] [stderr] Downloaded aws-types v0.3.0 [INFO] [stderr] Downloaded rdkafka-sys v3.0.0+1.6.0 [INFO] [stderr] Downloaded aws-smithy-types v0.33.1 [INFO] [stderr] Downloaded aws-sigv4 v0.3.0 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db1d0b6814902ee533de7e1dd258304d0830c6612f80d38ad10e66d7b829bf94 [INFO] running `Command { std: "docker" "start" "-a" "db1d0b6814902ee533de7e1dd258304d0830c6612f80d38ad10e66d7b829bf94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db1d0b6814902ee533de7e1dd258304d0830c6612f80d38ad10e66d7b829bf94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db1d0b6814902ee533de7e1dd258304d0830c6612f80d38ad10e66d7b829bf94", kill_on_drop: false }` [INFO] [stdout] db1d0b6814902ee533de7e1dd258304d0830c6612f80d38ad10e66d7b829bf94 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1afa209fa6527226302a4030d8fafb5775e4209756e98f1697af07930606bd1 [INFO] running `Command { std: "docker" "start" "-a" "e1afa209fa6527226302a4030d8fafb5775e4209756e98f1697af07930606bd1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Checking bytes-utils v0.1.1 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking time v0.3.5 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling aws-types v0.3.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking fastrand v1.6.0 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking xmlparser v0.13.3 [INFO] [stderr] Checking aws-smithy-types v0.33.1 [INFO] [stderr] Checking urlencoding v1.3.3 [INFO] [stderr] Compiling rdkafka-sys v3.0.0+1.6.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking aws-smithy-query v0.33.1 [INFO] [stderr] Checking crypto-common v0.1.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.10.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking aws-smithy-json v0.33.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking digest v0.10.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking sha2 v0.10.0 [INFO] [stderr] Checking hmac v0.12.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Checking aws-smithy-xml v0.33.1 [INFO] [stderr] Checking tungstenite v0.16.0 [INFO] [stderr] Compiling num_enum_derive v0.5.6 [INFO] [stderr] Checking num_enum v0.5.6 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking aws-smithy-async v0.33.1 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tower v0.4.11 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-tungstenite v0.16.1 [INFO] [stderr] Checking h2 v0.3.9 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking rdkafka v0.25.0 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking aws-smithy-http v0.33.1 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.8 [INFO] [stderr] Checking aws-sigv4 v0.3.0 [INFO] [stderr] Checking aws-smithy-http-tower v0.33.1 [INFO] [stderr] Checking aws-http v0.3.0 [INFO] [stderr] Checking aws-endpoint v0.3.0 [INFO] [stderr] Checking aws-smithy-client v0.33.1 [INFO] [stderr] Checking aws-sig-auth v0.3.0 [INFO] [stderr] Checking aws-sdk-sts v0.3.0 [INFO] [stderr] Checking aws-sdk-secretsmanager v0.3.0 [INFO] [stderr] Checking aws-config v0.3.0 [INFO] [stderr] Checking engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Ftx` and `build` [INFO] [stdout] --> src/main.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::ftx::{build, Ftx}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ftx` and `build` [INFO] [stdout] --> src/main.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::ftx::{build, Ftx}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/ftx.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/ftx.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/ftx.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/ftx.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OrderbookItem` [INFO] [stdout] --> src/ftx.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::exchanges::{Exchange, Market, OrderbookItem, OrderbookSnapshot}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OrderbookItem` [INFO] [stdout] --> src/ftx.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::exchanges::{Exchange, Market, OrderbookItem, OrderbookSnapshot}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/ftx.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 100 | / loop { [INFO] [stdout] 101 | | tokio::select! { [INFO] [stdout] 102 | | m = read.next() => { [INFO] [stdout] 103 | | upd = SystemTime::now(); [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 113 | [INFO] [stdout] 114 | println!("{}: finished orderbook loop", id.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/ftx.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 100 | / loop { [INFO] [stdout] 101 | | tokio::select! { [INFO] [stdout] 102 | | m = read.next() => { [INFO] [stdout] 103 | | upd = SystemTime::now(); [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 113 | [INFO] [stdout] 114 | println!("{}: finished orderbook loop", id.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/ftx.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | ... let msg = m.unwrap().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/ftx.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | ... let msg = m.unwrap().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_active` is never used [INFO] [stdout] --> src/exchanges.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Exchange { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 14 | fn get_id(&self) -> String; [INFO] [stdout] 15 | fn is_active(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `size`, and `price` are never read [INFO] [stdout] --> src/exchanges.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct OrderbookItem { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 22 | pub id: i128, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | pub size: Value, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | pub price: Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderbookItem` 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: fields `asks`, `bids`, `updated_at`, and `received_at` are never read [INFO] [stdout] --> src/exchanges.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct OrderbookSnapshot { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 29 | pub asks: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | pub bids: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | pub updated_at: u128, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | pub received_at: u128, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderbookSnapshot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `head` is never used [INFO] [stdout] --> src/exchanges.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl OrderbookSnapshot { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 36 | // Will be used later - DO NOT REMOVE THIS!!! [INFO] [stdout] 37 | pub fn head(&self) -> OrderbookSnapshot { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `snapshot` is never read [INFO] [stdout] --> src/ftx.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Ftx { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | snapshot: Arc>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ftx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_active` is never used [INFO] [stdout] --> src/exchanges.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Exchange { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 14 | fn get_id(&self) -> String; [INFO] [stdout] 15 | fn is_active(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `size`, and `price` are never read [INFO] [stdout] --> src/exchanges.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct OrderbookItem { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 22 | pub id: i128, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | pub size: Value, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | pub price: Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderbookItem` 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: fields `asks`, `bids`, `updated_at`, and `received_at` are never read [INFO] [stdout] --> src/exchanges.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct OrderbookSnapshot { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 29 | pub asks: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | pub bids: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | pub updated_at: u128, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | pub received_at: u128, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderbookSnapshot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `head` is never used [INFO] [stdout] --> src/exchanges.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl OrderbookSnapshot { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 36 | // Will be used later - DO NOT REMOVE THIS!!! [INFO] [stdout] 37 | pub fn head(&self) -> OrderbookSnapshot { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `snapshot` is never read [INFO] [stdout] --> src/ftx.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Ftx { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | snapshot: Arc>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ftx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.19s [INFO] running `Command { std: "docker" "inspect" "e1afa209fa6527226302a4030d8fafb5775e4209756e98f1697af07930606bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1afa209fa6527226302a4030d8fafb5775e4209756e98f1697af07930606bd1", kill_on_drop: false }` [INFO] [stdout] e1afa209fa6527226302a4030d8fafb5775e4209756e98f1697af07930606bd1 [INFO] checking Golden-Lighting-Star/Engine-Test against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGolden-Lighting-Star%2FEngine-Test" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Golden-Lighting-Star/Engine-Test on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Golden-Lighting-Star/Engine-Test [INFO] finished tweaking git repo https://github.com/Golden-Lighting-Star/Engine-Test [INFO] tweaked toml for git repo https://github.com/Golden-Lighting-Star/Engine-Test written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Golden-Lighting-Star/Engine-Test 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39e7ee402ad073c949f625b2cba0c476ec533be40166f13dc1ec6523c3d9dae9 [INFO] running `Command { std: "docker" "start" "-a" "39e7ee402ad073c949f625b2cba0c476ec533be40166f13dc1ec6523c3d9dae9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39e7ee402ad073c949f625b2cba0c476ec533be40166f13dc1ec6523c3d9dae9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39e7ee402ad073c949f625b2cba0c476ec533be40166f13dc1ec6523c3d9dae9", kill_on_drop: false }` [INFO] [stdout] 39e7ee402ad073c949f625b2cba0c476ec533be40166f13dc1ec6523c3d9dae9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 709b9578db3b5f230746486ffa71ea77dc9114742ee9e5f9ef6e6850b6d0baac [INFO] running `Command { std: "docker" "start" "-a" "709b9578db3b5f230746486ffa71ea77dc9114742ee9e5f9ef6e6850b6d0baac", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking bytes-utils v0.1.1 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking time v0.3.5 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling aws-types v0.3.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Checking fastrand v1.6.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking xmlparser v0.13.3 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking aws-smithy-types v0.33.1 [INFO] [stderr] Checking urlencoding v1.3.3 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling rdkafka-sys v3.0.0+1.6.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking aws-smithy-query v0.33.1 [INFO] [stderr] Checking aws-smithy-json v0.33.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking block-buffer v0.10.0 [INFO] [stderr] Checking crypto-common v0.1.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking digest v0.10.1 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking hmac v0.12.0 [INFO] [stderr] Checking sha2 v0.10.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking aws-smithy-xml v0.33.1 [INFO] [stderr] Checking tungstenite v0.16.0 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Compiling num_enum_derive v0.5.6 [INFO] [stderr] Checking num_enum v0.5.6 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking aws-smithy-async v0.33.1 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tower v0.4.11 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-tungstenite v0.16.1 [INFO] [stderr] Checking h2 v0.3.9 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking rdkafka v0.25.0 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking aws-smithy-http v0.33.1 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.8 [INFO] [stderr] Checking aws-smithy-http-tower v0.33.1 [INFO] [stderr] Checking aws-sigv4 v0.3.0 [INFO] [stderr] Checking aws-endpoint v0.3.0 [INFO] [stderr] Checking aws-http v0.3.0 [INFO] [stderr] Checking aws-smithy-client v0.33.1 [INFO] [stderr] Checking aws-sig-auth v0.3.0 [INFO] [stderr] Checking aws-sdk-sts v0.3.0 [INFO] [stderr] Checking aws-sdk-secretsmanager v0.3.0 [INFO] [stderr] Checking aws-config v0.3.0 [INFO] [stderr] Checking engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Ftx` and `build` [INFO] [stdout] --> src/main.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::ftx::{build, Ftx}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ftx` and `build` [INFO] [stdout] --> src/main.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::ftx::{build, Ftx}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/ftx.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/ftx.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/ftx.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/ftx.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OrderbookItem` [INFO] [stdout] --> src/ftx.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::exchanges::{Exchange, Market, OrderbookItem, OrderbookSnapshot}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OrderbookItem` [INFO] [stdout] --> src/ftx.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::exchanges::{Exchange, Market, OrderbookItem, OrderbookSnapshot}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/ftx.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 100 | / loop { [INFO] [stdout] 101 | | tokio::select! { [INFO] [stdout] 102 | | m = read.next() => { [INFO] [stdout] 103 | | upd = SystemTime::now(); [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 113 | [INFO] [stdout] 114 | println!("{}: finished orderbook loop", id.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/ftx.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 100 | / loop { [INFO] [stdout] 101 | | tokio::select! { [INFO] [stdout] 102 | | m = read.next() => { [INFO] [stdout] 103 | | upd = SystemTime::now(); [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 113 | [INFO] [stdout] 114 | println!("{}: finished orderbook loop", id.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/ftx.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | ... let msg = m.unwrap().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/ftx.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | ... let msg = m.unwrap().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_active` is never used [INFO] [stdout] --> src/exchanges.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Exchange { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 14 | fn get_id(&self) -> String; [INFO] [stdout] 15 | fn is_active(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `size`, and `price` are never read [INFO] [stdout] --> src/exchanges.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct OrderbookItem { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 22 | pub id: i128, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | pub size: Value, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | pub price: Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderbookItem` 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: fields `asks`, `bids`, `updated_at`, and `received_at` are never read [INFO] [stdout] --> src/exchanges.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct OrderbookSnapshot { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 29 | pub asks: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | pub bids: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | pub updated_at: u128, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | pub received_at: u128, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderbookSnapshot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `head` is never used [INFO] [stdout] --> src/exchanges.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl OrderbookSnapshot { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 36 | // Will be used later - DO NOT REMOVE THIS!!! [INFO] [stdout] 37 | pub fn head(&self) -> OrderbookSnapshot { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `snapshot` is never read [INFO] [stdout] --> src/ftx.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Ftx { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | snapshot: Arc>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ftx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | match signal::ctrl_c().await { [INFO] [stdout] | _____^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 63 | || Ok(_) => { [INFO] [stdout] 64 | || println!("Got termination signal"); [INFO] [stdout] 65 | || } [INFO] [stdout] ... || [INFO] [stdout] 68 | || } [INFO] [stdout] 69 | || } [INFO] [stdout] | ||_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 18 | let exchanges = init_exchanges(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let markets_state: Arc>>> = Arc::new(RwLock::new(HashMap::new())); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | match signal::ctrl_c().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_active` is never used [INFO] [stdout] --> src/exchanges.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Exchange { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 14 | fn get_id(&self) -> String; [INFO] [stdout] 15 | fn is_active(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `size`, and `price` are never read [INFO] [stdout] --> src/exchanges.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct OrderbookItem { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 22 | pub id: i128, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | pub size: Value, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | pub price: Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderbookItem` 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: fields `asks`, `bids`, `updated_at`, and `received_at` are never read [INFO] [stdout] --> src/exchanges.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct OrderbookSnapshot { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 29 | pub asks: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | pub bids: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | pub updated_at: u128, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | pub received_at: u128, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderbookSnapshot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `head` is never used [INFO] [stdout] --> src/exchanges.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl OrderbookSnapshot { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 36 | // Will be used later - DO NOT REMOVE THIS!!! [INFO] [stdout] 37 | pub fn head(&self) -> OrderbookSnapshot { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `snapshot` is never read [INFO] [stdout] --> src/ftx.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Ftx { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | snapshot: Arc>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ftx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | match signal::ctrl_c().await { [INFO] [stdout] | _____^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 63 | || Ok(_) => { [INFO] [stdout] 64 | || println!("Got termination signal"); [INFO] [stdout] 65 | || } [INFO] [stdout] ... || [INFO] [stdout] 68 | || } [INFO] [stdout] 69 | || } [INFO] [stdout] | ||_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 18 | let exchanges = init_exchanges(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let markets_state: Arc>>> = Arc::new(RwLock::new(HashMap::new())); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | match signal::ctrl_c().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `engine` (bin "engine") due to 3 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `engine` (bin "engine" test) due to 3 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "709b9578db3b5f230746486ffa71ea77dc9114742ee9e5f9ef6e6850b6d0baac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "709b9578db3b5f230746486ffa71ea77dc9114742ee9e5f9ef6e6850b6d0baac", kill_on_drop: false }` [INFO] [stdout] 709b9578db3b5f230746486ffa71ea77dc9114742ee9e5f9ef6e6850b6d0baac