[INFO] cloning repository https://github.com/adrien-lagesse/orderbook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adrien-lagesse/orderbook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrien-lagesse%2Forderbook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrien-lagesse%2Forderbook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8720191444ab0079ae9833080a915e1039be7a73 [INFO] checking adrien-lagesse/orderbook/8720191444ab0079ae9833080a915e1039be7a73 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrien-lagesse%2Forderbook" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adrien-lagesse/orderbook on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adrien-lagesse/orderbook [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/adrien-lagesse/orderbook [INFO] tweaked toml for git repo https://github.com/adrien-lagesse/orderbook written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/adrien-lagesse/orderbook 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ea90eb8215d9000a0b6630def6d958e39899ed8062e7b335c2a90a46b1d6700 [INFO] running `Command { std: "docker" "start" "-a" "8ea90eb8215d9000a0b6630def6d958e39899ed8062e7b335c2a90a46b1d6700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ea90eb8215d9000a0b6630def6d958e39899ed8062e7b335c2a90a46b1d6700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ea90eb8215d9000a0b6630def6d958e39899ed8062e7b335c2a90a46b1d6700", kill_on_drop: false }` [INFO] [stdout] 8ea90eb8215d9000a0b6630def6d958e39899ed8062e7b335c2a90a46b1d6700 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e1f071847ef09a35a934bb120ae8c9efa2cb7253812331e927ad47886b068af [INFO] running `Command { std: "docker" "start" "-a" "5e1f071847ef09a35a934bb120ae8c9efa2cb7253812331e927ad47886b068af", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling openssl v0.10.59 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking data-encoding v2.4.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.95 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking tungstenite v0.23.0 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-tungstenite v0.23.1 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking orderbook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `depth_update::DepthUpdate` [INFO] [stdout] --> src/binance/data/mod.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) use depth_update::DepthUpdate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing` [INFO] [stdout] --> src/binance/manager.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::field` [INFO] [stdout] --> src/binance/process.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use tracing::field; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `depth_update::DepthUpdate` [INFO] [stdout] --> src/binance/data/mod.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) use depth_update::DepthUpdate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing` [INFO] [stdout] --> src/binance/manager.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::field` [INFO] [stdout] --> src/binance/process.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use tracing::field; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/binance/process.rs:130:78 [INFO] [stdout] | [INFO] [stdout] 130 | let json_data: Value = serde_json::from_str(&text_response).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/binance/process.rs:130:78 [INFO] [stdout] | [INFO] [stdout] 130 | let json_data: Value = serde_json::from_str(&text_response).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/binance/manager.rs:90:40 [INFO] [stdout] | [INFO] [stdout] 90 | Schedule::Balanced(n) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/binance/manager.rs:98:42 [INFO] [stdout] | [INFO] [stdout] 98 | Schedule::MaxPerTask(n) if self.process_handles.len() == 0 => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/binance/manager.rs:90:40 [INFO] [stdout] | [INFO] [stdout] 90 | Schedule::Balanced(n) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/binance/manager.rs:98:42 [INFO] [stdout] | [INFO] [stdout] 98 | Schedule::MaxPerTask(n) if self.process_handles.len() == 0 => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DepthUpdate` is never constructed [INFO] [stdout] --> src/binance/data/depth_update.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DepthUpdate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DepthUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_json_message` and `update_book` are never used [INFO] [stdout] --> src/binance/data/depth_update.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DepthUpdate { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 18 | pub fn from_json_message(json_message: &Value) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn update_book(&self, book: &mut LocalBook) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `first_update_id` is never read [INFO] [stdout] --> src/binance/local_book.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct LocalBookRow { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub(crate) first_update_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalBookRow` 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` and `symbol` are never read [INFO] [stdout] --> src/binance/schema.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 83 | struct DepthUpdateInner { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 84 | #[serde(rename = "e")] [INFO] [stdout] 85 | event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_update_id`, `bids`, and `asks` are never read [INFO] [stdout] --> src/binance/schema.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 142 | struct SnapShot { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 143 | #[serde(rename = "lastUpdateId")] [INFO] [stdout] 144 | last_update_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 145 | [INFO] [stdout] 146 | bids: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 147 | [INFO] [stdout] 148 | asks: Vec, [INFO] [stdout] | ^^^^ [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/binance/manager.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 29 | let rt = Builder::new_multi_thread() [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | process_handles: HashMap::new(), [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/binance/manager.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 29 | let rt = Builder::new_multi_thread() [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | spot_books: HashMap::new(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/binance/tasks.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 18 | let (sender, receiver) = oneshot::channel(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | (receiver, Task::Subscribe(spot, sender)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/binance/tasks.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 23 | let (sender, receiver) = oneshot::channel(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | (receiver, Task::SnapShot(spot, sender)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/binance/tasks.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 28 | let (sender, receiver) = oneshot::channel(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | (receiver, Task::Unsubscribe(spot, sender)) [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 5 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `orderbook` (lib test) due to 6 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `DepthUpdate` is never constructed [INFO] [stdout] --> src/binance/data/depth_update.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DepthUpdate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DepthUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_json_message` and `update_book` are never used [INFO] [stdout] --> src/binance/data/depth_update.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DepthUpdate { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 18 | pub fn from_json_message(json_message: &Value) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn update_book(&self, book: &mut LocalBook) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `first_update_id` is never read [INFO] [stdout] --> src/binance/local_book.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct LocalBookRow { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub(crate) first_update_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalBookRow` 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` and `symbol` are never read [INFO] [stdout] --> src/binance/schema.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 83 | struct DepthUpdateInner { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 84 | #[serde(rename = "e")] [INFO] [stdout] 85 | event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_update_id`, `bids`, and `asks` are never read [INFO] [stdout] --> src/binance/schema.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 142 | struct SnapShot { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 143 | #[serde(rename = "lastUpdateId")] [INFO] [stdout] 144 | last_update_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 145 | [INFO] [stdout] 146 | bids: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 147 | [INFO] [stdout] 148 | asks: Vec, [INFO] [stdout] | ^^^^ [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/binance/manager.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 29 | let rt = Builder::new_multi_thread() [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | process_handles: HashMap::new(), [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/binance/manager.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 29 | let rt = Builder::new_multi_thread() [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | spot_books: HashMap::new(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/binance/tasks.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 18 | let (sender, receiver) = oneshot::channel(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | (receiver, Task::Subscribe(spot, sender)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/binance/tasks.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 23 | let (sender, receiver) = oneshot::channel(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | (receiver, Task::SnapShot(spot, sender)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/binance/tasks.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 28 | let (sender, receiver) = oneshot::channel(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | (receiver, Task::Unsubscribe(spot, sender)) [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 5 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `orderbook` (lib) due to 6 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5e1f071847ef09a35a934bb120ae8c9efa2cb7253812331e927ad47886b068af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e1f071847ef09a35a934bb120ae8c9efa2cb7253812331e927ad47886b068af", kill_on_drop: false }` [INFO] [stdout] 5e1f071847ef09a35a934bb120ae8c9efa2cb7253812331e927ad47886b068af