[INFO] cloning repository https://github.com/sicarius01/CryptoFeeder_not_use [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sicarius01/CryptoFeeder_not_use" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsicarius01%2FCryptoFeeder_not_use", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsicarius01%2FCryptoFeeder_not_use'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f1adde31435f2bdae691cd9815bb2a6291af0077 [INFO] building sicarius01/CryptoFeeder_not_use against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsicarius01%2FCryptoFeeder_not_use" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 36% (1815/4934) Updating files: 37% (1826/4934) Updating files: 38% (1875/4934) Updating files: 39% (1925/4934) Updating files: 40% (1974/4934) Updating files: 41% (2023/4934) Updating files: 42% (2073/4934) Updating files: 43% (2122/4934) Updating files: 43% (2130/4934) Updating files: 44% (2171/4934) Updating files: 45% (2221/4934) Updating files: 46% (2270/4934) Updating files: 47% (2319/4934) Updating files: 47% (2332/4934) Updating files: 48% (2369/4934) Updating files: 48% (2416/4934) Updating files: 49% (2418/4934) Updating files: 50% (2467/4934) Updating files: 51% (2517/4934) Updating files: 52% (2566/4934) Updating files: 53% (2616/4934) Updating files: 53% (2652/4934) Updating files: 54% (2665/4934) Updating files: 55% (2714/4934) Updating files: 56% (2764/4934) Updating files: 57% (2813/4934) Updating files: 58% (2862/4934) Updating files: 59% (2912/4934) Updating files: 60% (2961/4934) Updating files: 61% (3010/4934) Updating files: 62% (3060/4934) Updating files: 63% (3109/4934) Updating files: 64% (3158/4934) Updating files: 64% (3194/4934) Updating files: 65% (3208/4934) Updating files: 66% (3257/4934) Updating files: 67% (3306/4934) Updating files: 68% (3356/4934) Updating files: 69% (3405/4934) Updating files: 70% (3454/4934) Updating files: 71% (3504/4934) Updating files: 72% (3553/4934) Updating files: 73% (3602/4934) Updating files: 74% (3652/4934) Updating files: 75% (3701/4934) Updating files: 76% (3750/4934) Updating files: 77% (3800/4934) Updating files: 78% (3849/4934) Updating files: 79% (3898/4934) Updating files: 80% (3948/4934) Updating files: 81% (3997/4934) Updating files: 82% (4046/4934) Updating files: 83% (4096/4934) Updating files: 84% (4145/4934) Updating files: 85% (4194/4934) Updating files: 86% (4244/4934) Updating files: 87% (4293/4934) Updating files: 88% (4342/4934) Updating files: 89% (4392/4934) Updating files: 90% (4441/4934) Updating files: 91% (4490/4934) Updating files: 92% (4540/4934) Updating files: 92% (4565/4934) Updating files: 93% (4589/4934) Updating files: 94% (4638/4934) Updating files: 95% (4688/4934) Updating files: 95% (4714/4934) Updating files: 96% (4737/4934) Updating files: 97% (4786/4934) Updating files: 98% (4836/4934) Updating files: 99% (4885/4934) Updating files: 100% (4934/4934) Updating files: 100% (4934/4934), done. [INFO] started tweaking git repo https://github.com/sicarius01/CryptoFeeder_not_use [INFO] finished tweaking git repo https://github.com/sicarius01/CryptoFeeder_not_use [INFO] tweaked toml for git repo https://github.com/sicarius01/CryptoFeeder_not_use written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sicarius01/CryptoFeeder_not_use on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sicarius01/CryptoFeeder_not_use 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lexical-parse-integer v1.0.5 [INFO] [stderr] Downloaded lexical-write-integer v1.0.5 [INFO] [stderr] Downloaded value-trait v0.8.1 [INFO] [stderr] Downloaded lexical-core v1.0.5 [INFO] [stderr] Downloaded lexical-util v1.0.6 [INFO] [stderr] Downloaded lexical-write-float v1.0.5 [INFO] [stderr] Downloaded lexical-parse-float v1.0.5 [INFO] [stderr] Downloaded simd-json v0.13.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69b6a5c1d60e41e577d5f6e7d18b8eaf8a4d8f030fd777a7a786ebebbf6252b7 [INFO] running `Command { std: "docker" "start" "-a" "69b6a5c1d60e41e577d5f6e7d18b8eaf8a4d8f030fd777a7a786ebebbf6252b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69b6a5c1d60e41e577d5f6e7d18b8eaf8a4d8f030fd777a7a786ebebbf6252b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69b6a5c1d60e41e577d5f6e7d18b8eaf8a4d8f030fd777a7a786ebebbf6252b7", kill_on_drop: false }` [INFO] [stdout] 69b6a5c1d60e41e577d5f6e7d18b8eaf8a4d8f030fd777a7a786ebebbf6252b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cce557d7d327a891cadec4102bd3c459e732431d3f6a068486740e0dffbf7da2 [INFO] running `Command { std: "docker" "start" "-a" "cce557d7d327a891cadec4102bd3c459e732431d3f6a068486740e0dffbf7da2", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling lexical-util v1.0.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling lexical-parse-integer v1.0.5 [INFO] [stderr] Compiling lexical-write-integer v1.0.5 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling lexical-write-float v1.0.5 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling lexical-parse-float v1.0.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling lexical-core v1.0.5 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling halfbrown v0.2.5 [INFO] [stderr] Compiling value-trait v0.8.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling simd-json v0.13.11 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling crypto-feeder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/data_parser.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{debug, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_btc_symbols` and `get_non_btc_symbols` are never used [INFO] [stdout] --> src/config.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_btc_symbols(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn get_non_btc_symbols(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_type`, `first_update_id`, and `final_update_id` are never read [INFO] [stdout] --> src/data_parser.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct BinanceDepthUpdate { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 38 | #[serde(rename = "e")] [INFO] [stdout] 39 | event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | first_update_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | #[serde(rename = "u")] [INFO] [stdout] 47 | final_update_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinanceDepthUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_type`, `event_time`, `trade_id`, `buyer_order_id`, and `seller_order_id` are never read [INFO] [stdout] --> src/data_parser.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 55 | struct BinanceTrade { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 56 | #[serde(rename = "e")] [INFO] [stdout] 57 | event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 58 | #[serde(rename = "E")] [INFO] [stdout] 59 | event_time: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | trade_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | buyer_order_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 70 | #[serde(rename = "a", default)] [INFO] [stdout] 71 | seller_order_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinanceTrade` 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 `build_event_packet` is never used [INFO] [stdout] --> src/packet_builder.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl PacketBuilder { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn build_event_packet(&self, event: SystemEvent) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset_stats` and `target_address` are never used [INFO] [stdout] --> src/udp_broadcaster.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl UdpBroadcaster { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn reset_stats(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn target_address(&self) -> SocketAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_last`, `item_count`, `is_trade_tick`, `is_order_book`, and `set_packet_info` are never used [INFO] [stdout] --> src/protocol.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl PacketHeader { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn is_last(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn item_count(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn is_trade_tick(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn is_order_book(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn set_packet_info(&mut self, message_type: u8, count: u8, is_last: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_buyer_taker`, `quantity`, `get_real_price`, and `get_real_quantity` are never used [INFO] [stdout] --> src/protocol.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 118 | impl TradeTickItem { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn is_buyer_taker(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn quantity(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn get_real_price(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn get_real_quantity(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_real_price` and `get_real_quantity` are never used [INFO] [stdout] --> src/protocol.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 171 | impl OrderBookItem { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn get_real_price(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn get_real_quantity(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_TYPE_SYSTEM_HEARTBEAT` is never used [INFO] [stdout] --> src/events.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const MESSAGE_TYPE_SYSTEM_HEARTBEAT: u8 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_TYPE_CONNECTION_STATUS` is never used [INFO] [stdout] --> src/events.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const MESSAGE_TYPE_CONNECTION_STATUS: u8 = 101; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_TYPE_SUBSCRIPTION_STATUS` is never used [INFO] [stdout] --> src/events.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const MESSAGE_TYPE_SUBSCRIPTION_STATUS: u8 = 102; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_TYPE_SYSTEM_STATS` is never used [INFO] [stdout] --> src/events.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const MESSAGE_TYPE_SYSTEM_STATS: u8 = 103; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGE_TYPE_ERROR_EVENT` is never used [INFO] [stdout] --> src/events.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const MESSAGE_TYPE_ERROR_EVENT: u8 = 104; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCHANGE_ID_BINANCE` is never used [INFO] [stdout] --> src/events.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const EXCHANGE_ID_BINANCE: u16 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCHANGE_ID_OKX` is never used [INFO] [stdout] --> src/events.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const EXCHANGE_ID_OKX: u16 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCHANGE_ID_BYBIT` is never used [INFO] [stdout] --> src/events.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const EXCHANGE_ID_BYBIT: u16 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCHANGE_ID_UPBIT` is never used [INFO] [stdout] --> src/events.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const EXCHANGE_ID_UPBIT: u16 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCHANGE_ID_BITHUMB` is never used [INFO] [stdout] --> src/events.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const EXCHANGE_ID_BITHUMB: u16 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXCHANGE_ID_COINBASE` is never used [INFO] [stdout] --> src/events.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const EXCHANGE_ID_COINBASE: u16 = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECTION_STATUS_DISCONNECTED` is never used [INFO] [stdout] --> src/events.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const CONNECTION_STATUS_DISCONNECTED: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECTION_STATUS_CONNECTING` is never used [INFO] [stdout] --> src/events.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const CONNECTION_STATUS_CONNECTING: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECTION_STATUS_CONNECTED` is never used [INFO] [stdout] --> src/events.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const CONNECTION_STATUS_CONNECTED: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECTION_STATUS_RECONNECTING` is never used [INFO] [stdout] --> src/events.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const CONNECTION_STATUS_RECONNECTING: u8 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECTION_STATUS_FAILED` is never used [INFO] [stdout] --> src/events.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const CONNECTION_STATUS_FAILED: u8 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SystemEvent` is never used [INFO] [stdout] --> src/events.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | pub enum SystemEvent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_bytes` are never used [INFO] [stdout] --> src/events.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl SystemHeartbeat { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 85 | pub fn new(uptime_seconds: u64, active_connections: u32, total_packets_sent: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_bytes` are never used [INFO] [stdout] --> src/events.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl ConnectionStatus { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 102 | pub fn new(exchange_id: u16, previous_status: u8, current_status: u8, retry_count: u32, error_code: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_bytes` are never used [INFO] [stdout] --> src/events.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl SubscriptionStatus { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 121 | pub fn new(exchange_id: u16, subscription_type: u8, status: u8, symbol: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_bytes` are never used [INFO] [stdout] --> src/events.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl SystemStats { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 144 | pub fn new(cpu_usage_percent: u32, memory_usage_mb: u32, packets_per_second: u32, bytes_per_second: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_bytes` are never used [INFO] [stdout] --> src/events.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl ErrorEvent { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 162 | pub fn new(error_type: u32, exchange_id: u16, severity: u16, error_details: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_message_type`, `get_payload_bytes`, `get_symbol`, and `get_exchange` are never used [INFO] [stdout] --> src/events.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 179 | impl SystemEvent { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 180 | pub fn get_message_type(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn get_payload_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn get_symbol(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn get_exchange(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exchange_name_to_id` is never used [INFO] [stdout] --> src/events.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn exchange_name_to_id(name: &str) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "cce557d7d327a891cadec4102bd3c459e732431d3f6a068486740e0dffbf7da2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cce557d7d327a891cadec4102bd3c459e732431d3f6a068486740e0dffbf7da2", kill_on_drop: false }` [INFO] [stdout] cce557d7d327a891cadec4102bd3c459e732431d3f6a068486740e0dffbf7da2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4235421a68706be367f36f7b5f25bd73b661e104457d4d1e5cd1921a4a6c219 [INFO] running `Command { std: "docker" "start" "-a" "f4235421a68706be367f36f7b5f25bd73b661e104457d4d1e5cd1921a4a6c219", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling crypto-feeder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/data_parser.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{debug, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_btc_symbols` and `get_non_btc_symbols` are never used [INFO] [stdout] --> src/config.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_btc_symbols(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn get_non_btc_symbols(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_type`, `first_update_id`, and `final_update_id` are never read [INFO] [stdout] --> src/data_parser.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct BinanceDepthUpdate { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 38 | #[serde(rename = "e")] [INFO] [stdout] 39 | event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | first_update_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | #[serde(rename = "u")] [INFO] [stdout] 47 | final_update_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinanceDepthUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_type`, `event_time`, `trade_id`, `buyer_order_id`, and `seller_order_id` are never read [INFO] [stdout] --> src/data_parser.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 55 | struct BinanceTrade { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 56 | #[serde(rename = "e")] [INFO] [stdout] 57 | event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 58 | #[serde(rename = "E")] [INFO] [stdout] 59 | event_time: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | trade_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | buyer_order_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 70 | #[serde(rename = "a", default)] [INFO] [stdout] 71 | seller_order_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinanceTrade` 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 `build_event_packet` is never used [INFO] [stdout] --> src/packet_builder.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl PacketBuilder { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn build_event_packet(&self, event: SystemEvent) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset_stats` is never used [INFO] [stdout] --> src/udp_broadcaster.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl UdpBroadcaster { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn reset_stats(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_trade_tick`, `is_order_book`, and `set_packet_info` are never used [INFO] [stdout] --> src/protocol.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl PacketHeader { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn is_trade_tick(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn is_order_book(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn set_packet_info(&mut self, message_type: u8, count: u8, is_last: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECTION_STATUS_CONNECTED` is never used [INFO] [stdout] --> src/events.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const CONNECTION_STATUS_CONNECTED: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECTION_STATUS_RECONNECTING` is never used [INFO] [stdout] --> src/events.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const CONNECTION_STATUS_RECONNECTING: u8 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECTION_STATUS_FAILED` is never used [INFO] [stdout] --> src/events.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const CONNECTION_STATUS_FAILED: u8 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/events.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl SubscriptionStatus { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 121 | pub fn new(exchange_id: u16, subscription_type: u8, status: u8, symbol: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/events.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl SystemStats { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 144 | pub fn new(cpu_usage_percent: u32, memory_usage_mb: u32, packets_per_second: u32, bytes_per_second: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/events.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl ErrorEvent { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 162 | pub fn new(error_type: u32, exchange_id: u16, severity: u16, error_details: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.83s [INFO] running `Command { std: "docker" "inspect" "f4235421a68706be367f36f7b5f25bd73b661e104457d4d1e5cd1921a4a6c219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4235421a68706be367f36f7b5f25bd73b661e104457d4d1e5cd1921a4a6c219", kill_on_drop: false }` [INFO] [stdout] f4235421a68706be367f36f7b5f25bd73b661e104457d4d1e5cd1921a4a6c219