[INFO] fetching crate barter-data 0.9.0... [INFO] checking barter-data-0.9.0 against try#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] extracting crate barter-data 0.9.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate barter-data 0.9.0 on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate barter-data 0.9.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate barter-data 0.9.0 [INFO] tweaked toml for crates.io crate barter-data 0.9.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate barter-data 0.9.0 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" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5891ea7601d0312ceca5ba418079c1cb86b5eee33ca7db10ff5fea7c980e1e96 [INFO] running `Command { std: "docker" "start" "-a" "5891ea7601d0312ceca5ba418079c1cb86b5eee33ca7db10ff5fea7c980e1e96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5891ea7601d0312ceca5ba418079c1cb86b5eee33ca7db10ff5fea7c980e1e96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5891ea7601d0312ceca5ba418079c1cb86b5eee33ca7db10ff5fea7c980e1e96", kill_on_drop: false }` [INFO] [stdout] 5891ea7601d0312ceca5ba418079c1cb86b5eee33ca7db10ff5fea7c980e1e96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 774e183ef42a9efecdf1c7a26e06770ae2b95e1bc8ff77f5999ce897683cb9ac [INFO] running `Command { std: "docker" "start" "-a" "774e183ef42a9efecdf1c7a26e06770ae2b95e1bc8ff77f5999ce897683cb9ac", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking webpki-roots v0.26.5 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking rustls-webpki v0.102.7 [INFO] [stderr] Checking ta v0.5.0 [INFO] [stderr] Checking vecmap-rs v0.2.2 [INFO] [stderr] Compiling rust_decimal_macros v1.36.0 [INFO] [stderr] Compiling barter-macro v0.1.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_qs v0.13.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking barter-integration v0.7.4 [INFO] [stderr] Checking barter-data v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 329 | if let Err(error) = ws_sink.send(message).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | } [INFO] [stdout] | ^ [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | rust_2024_compatibility [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(if_let_rescope)]` implied by `#[warn(rust_2024_compatibility)]` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 329 ~ match ws_sink.send(message).await { Err(error) => { [INFO] [stdout] 330 | if barter_integration::protocol::websocket::is_websocket_disconnected(&error) { [INFO] [stdout] ... [INFO] [stdout] 339 | ); [INFO] [stdout] 340 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/exchange/bitfinex/validator.rs:105:36 [INFO] [stdout] | [INFO] [stdout] 105 | ... if let Some(subscription) = instrument_map.0.remove(&subscription_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/exchange/bitfinex/validator.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 105 ~ match instrument_map.0.remove(&subscription_id) { Some(subscription) => { [INFO] [stdout] 106 | success_responses += 1; [INFO] [stdout] ... [INFO] [stdout] 115 | ); [INFO] [stdout] 116 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Stream` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/streams/mod.rs:44:62 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn select(&mut self, exchange: ExchangeId) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/streams/mod.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn select(&mut self, exchange: ExchangeId) -> Option> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `#[warn(impl_trait_overcaptures)]` implied by `#[warn(rust_2024_compatibility)]` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 44 | pub fn select(&mut self, exchange: ExchangeId) -> Option + use> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/streams/builder/dynamic.rs:671:24 [INFO] [stdout] | [INFO] [stdout] 671 | if let (None, None) = [INFO] [stdout] | ________________________^ [INFO] [stdout] 672 | | (txs.trades.get(&sub.exchange), rxs.trades.get(&sub.exchange)) [INFO] [stdout] | |__________________________----------__________________________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/streams/builder/dynamic.rs:677:21 [INFO] [stdout] | [INFO] [stdout] 677 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 671 ~ match (txs.trades.get(&sub.exchange), rxs.trades.get(&sub.exchange)) [INFO] [stdout] 672 ~ { (None, None) => { [INFO] [stdout] 673 | let (tx, rx) = mpsc::unbounded_channel(); [INFO] [stdout] 674 | txs.trades.insert(sub.exchange, tx); [INFO] [stdout] 675 | rxs.trades.insert(sub.exchange, rx); [INFO] [stdout] 676 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/streams/builder/dynamic.rs:680:24 [INFO] [stdout] | [INFO] [stdout] 680 | if let (None, None) = (txs.l1s.get(&sub.exchange), rxs.l1s.get(&sub.exchange)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/streams/builder/dynamic.rs:684:21 [INFO] [stdout] | [INFO] [stdout] 684 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 680 ~ match (txs.l1s.get(&sub.exchange), rxs.l1s.get(&sub.exchange)) { (None, None) => { [INFO] [stdout] 681 | let (tx, rx) = mpsc::unbounded_channel(); [INFO] [stdout] 682 | txs.l1s.insert(sub.exchange, tx); [INFO] [stdout] 683 | rxs.l1s.insert(sub.exchange, rx); [INFO] [stdout] 684 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/streams/builder/dynamic.rs:687:24 [INFO] [stdout] | [INFO] [stdout] 687 | if let (None, None) = [INFO] [stdout] | ________________________^ [INFO] [stdout] 688 | | (txs.l2s.get(&sub.exchange), rxs.trades.get(&sub.exchange)) [INFO] [stdout] | |__________________________-------__________________________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/streams/builder/dynamic.rs:693:21 [INFO] [stdout] | [INFO] [stdout] 693 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 687 ~ match (txs.l2s.get(&sub.exchange), rxs.trades.get(&sub.exchange)) [INFO] [stdout] 688 ~ { (None, None) => { [INFO] [stdout] 689 | let (tx, rx) = mpsc::unbounded_channel(); [INFO] [stdout] 690 | txs.l2s.insert(sub.exchange, tx); [INFO] [stdout] 691 | rxs.l2s.insert(sub.exchange, rx); [INFO] [stdout] 692 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/streams/builder/dynamic.rs:696:24 [INFO] [stdout] | [INFO] [stdout] 696 | if let (None, None) = ( [INFO] [stdout] | ________________________^ [INFO] [stdout] 697 | | txs.liquidations.get(&sub.exchange), [INFO] [stdout] | | ---------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 698 | | rxs.liquidations.get(&sub.exchange), [INFO] [stdout] 699 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/streams/builder/dynamic.rs:703:21 [INFO] [stdout] | [INFO] [stdout] 703 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 696 ~ match ( [INFO] [stdout] 697 | txs.liquidations.get(&sub.exchange), [INFO] [stdout] 698 | rxs.liquidations.get(&sub.exchange), [INFO] [stdout] 699 ~ ) { (None, None) => { [INFO] [stdout] 700 | let (tx, rx) = mpsc::unbounded_channel(); [INFO] [stdout] 701 | txs.liquidations.insert(sub.exchange, tx); [INFO] [stdout] 702 | rxs.liquidations.insert(sub.exchange, rx); [INFO] [stdout] 703 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/streams/builder/multi.rs:81:49 [INFO] [stdout] | [INFO] [stdout] 81 | while let Some(event) = exchange_rx.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 82 | let _ = exchange_tx.send(Output::from(event)); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] 83 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#3` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.7.1/src/bytes.rs:569:1 [INFO] [stdout] | [INFO] [stdout] 569 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.7.1/src/bytes.rs:569:1 [INFO] [stdout] | [INFO] [stdout] 569 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `#[warn(tail_expr_drop_order)]` implied by `#[warn(rust_2024_compatibility)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/streams/reconnect/stream.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | while let Some(event) = self.next().await { [INFO] [stdout] | ^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 140 | if tx.send(event).is_err() { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/books/manager.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | while let Some(stream_event) = self.stream.next().await { [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `stream_event` calls a custom destructor [INFO] [stdout] | `stream_event` will be dropped later as of Edition 2024 [INFO] [stdout] 38 | // Extract MarketEvent [INFO] [stdout] 39 | let event = match stream_event { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `event` calls a custom destructor [INFO] [stdout] | `event` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let mut book_lock = book.write(); [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | `book_lock` calls a custom destructor [INFO] [stdout] | `book_lock` will be dropped later as of Edition 2024 [INFO] [stdout] 57 | book_lock.update(event.kind); [INFO] [stdout] 58 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `book_lock` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lock_api-0.4.12/src/rwlock.rs:1709:1 [INFO] [stdout] | [INFO] [stdout] 1709 | impl<'a, R: RawRwLock + 'a, T: ?Sized + 'a> Drop for RwLockWriteGuard<'a, R, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/lib.rs:329:29 [INFO] [stdout] | [INFO] [stdout] 329 | if let Err(error) = ws_sink.send(message).await { [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `error` calls a custom destructor [INFO] [stdout] | `error` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 341 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.7.1/src/bytes.rs:569:1 [INFO] [stdout] | [INFO] [stdout] 569 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.7.1/src/bytes.rs:569:1 [INFO] [stdout] | [INFO] [stdout] 569 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `error` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `error` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.7.1/src/bytes.rs:569:1 [INFO] [stdout] | [INFO] [stdout] 569 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 329 | if let Err(error) = ws_sink.send(message).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | } [INFO] [stdout] | ^ [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | rust_2024_compatibility [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(if_let_rescope)]` implied by `#[warn(rust_2024_compatibility)]` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 329 ~ match ws_sink.send(message).await { Err(error) => { [INFO] [stdout] 330 | if barter_integration::protocol::websocket::is_websocket_disconnected(&error) { [INFO] [stdout] ... [INFO] [stdout] 339 | ); [INFO] [stdout] 340 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/exchange/bitfinex/validator.rs:105:36 [INFO] [stdout] | [INFO] [stdout] 105 | ... if let Some(subscription) = instrument_map.0.remove(&subscription_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/exchange/bitfinex/validator.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 105 ~ match instrument_map.0.remove(&subscription_id) { Some(subscription) => { [INFO] [stdout] 106 | success_responses += 1; [INFO] [stdout] ... [INFO] [stdout] 115 | ); [INFO] [stdout] 116 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Stream` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/streams/mod.rs:44:62 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn select(&mut self, exchange: ExchangeId) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/streams/mod.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn select(&mut self, exchange: ExchangeId) -> Option> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `#[warn(impl_trait_overcaptures)]` implied by `#[warn(rust_2024_compatibility)]` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 44 | pub fn select(&mut self, exchange: ExchangeId) -> Option + use> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/streams/builder/dynamic.rs:671:24 [INFO] [stdout] | [INFO] [stdout] 671 | if let (None, None) = [INFO] [stdout] | ________________________^ [INFO] [stdout] 672 | | (txs.trades.get(&sub.exchange), rxs.trades.get(&sub.exchange)) [INFO] [stdout] | |__________________________----------__________________________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/streams/builder/dynamic.rs:677:21 [INFO] [stdout] | [INFO] [stdout] 677 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 671 ~ match (txs.trades.get(&sub.exchange), rxs.trades.get(&sub.exchange)) [INFO] [stdout] 672 ~ { (None, None) => { [INFO] [stdout] 673 | let (tx, rx) = mpsc::unbounded_channel(); [INFO] [stdout] 674 | txs.trades.insert(sub.exchange, tx); [INFO] [stdout] 675 | rxs.trades.insert(sub.exchange, rx); [INFO] [stdout] 676 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/streams/builder/dynamic.rs:680:24 [INFO] [stdout] | [INFO] [stdout] 680 | if let (None, None) = (txs.l1s.get(&sub.exchange), rxs.l1s.get(&sub.exchange)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/streams/builder/dynamic.rs:684:21 [INFO] [stdout] | [INFO] [stdout] 684 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 680 ~ match (txs.l1s.get(&sub.exchange), rxs.l1s.get(&sub.exchange)) { (None, None) => { [INFO] [stdout] 681 | let (tx, rx) = mpsc::unbounded_channel(); [INFO] [stdout] 682 | txs.l1s.insert(sub.exchange, tx); [INFO] [stdout] 683 | rxs.l1s.insert(sub.exchange, rx); [INFO] [stdout] 684 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/streams/builder/dynamic.rs:687:24 [INFO] [stdout] | [INFO] [stdout] 687 | if let (None, None) = [INFO] [stdout] | ________________________^ [INFO] [stdout] 688 | | (txs.l2s.get(&sub.exchange), rxs.trades.get(&sub.exchange)) [INFO] [stdout] | |__________________________-------__________________________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/streams/builder/dynamic.rs:693:21 [INFO] [stdout] | [INFO] [stdout] 693 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 687 ~ match (txs.l2s.get(&sub.exchange), rxs.trades.get(&sub.exchange)) [INFO] [stdout] 688 ~ { (None, None) => { [INFO] [stdout] 689 | let (tx, rx) = mpsc::unbounded_channel(); [INFO] [stdout] 690 | txs.l2s.insert(sub.exchange, tx); [INFO] [stdout] 691 | rxs.l2s.insert(sub.exchange, rx); [INFO] [stdout] 692 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/streams/builder/dynamic.rs:696:24 [INFO] [stdout] | [INFO] [stdout] 696 | if let (None, None) = ( [INFO] [stdout] | ________________________^ [INFO] [stdout] 697 | | txs.liquidations.get(&sub.exchange), [INFO] [stdout] | | ---------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 698 | | rxs.liquidations.get(&sub.exchange), [INFO] [stdout] 699 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/streams/builder/dynamic.rs:703:21 [INFO] [stdout] | [INFO] [stdout] 703 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 696 ~ match ( [INFO] [stdout] 697 | txs.liquidations.get(&sub.exchange), [INFO] [stdout] 698 | rxs.liquidations.get(&sub.exchange), [INFO] [stdout] 699 ~ ) { (None, None) => { [INFO] [stdout] 700 | let (tx, rx) = mpsc::unbounded_channel(); [INFO] [stdout] 701 | txs.liquidations.insert(sub.exchange, tx); [INFO] [stdout] 702 | rxs.liquidations.insert(sub.exchange, rx); [INFO] [stdout] 703 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "774e183ef42a9efecdf1c7a26e06770ae2b95e1bc8ff77f5999ce897683cb9ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "774e183ef42a9efecdf1c7a26e06770ae2b95e1bc8ff77f5999ce897683cb9ac", kill_on_drop: false }` [INFO] [stdout] 774e183ef42a9efecdf1c7a26e06770ae2b95e1bc8ff77f5999ce897683cb9ac