[INFO] fetching crate barter 0.8.15... [INFO] checking barter-0.8.15 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate barter 0.8.15 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate barter 0.8.15 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate barter 0.8.15 [INFO] finished tweaking crates.io crate barter 0.8.15 [INFO] tweaked toml for crates.io crate barter 0.8.15 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate barter 0.8.15 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d427fe8024073d563041ce4ac2d3251f9e076c04a392f3b0cba77654cf31c86 [INFO] running `Command { std: "docker" "start" "-a" "9d427fe8024073d563041ce4ac2d3251f9e076c04a392f3b0cba77654cf31c86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d427fe8024073d563041ce4ac2d3251f9e076c04a392f3b0cba77654cf31c86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d427fe8024073d563041ce4ac2d3251f9e076c04a392f3b0cba77654cf31c86", kill_on_drop: false }` [INFO] [stdout] 9d427fe8024073d563041ce4ac2d3251f9e076c04a392f3b0cba77654cf31c86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b0e0894ff09a6dcd4e04df8426ed0eeca8704cdcf420a1b2144210f436deeb6 [INFO] running `Command { std: "docker" "start" "-a" "3b0e0894ff09a6dcd4e04df8426ed0eeca8704cdcf420a1b2144210f436deeb6", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.105 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking tinyvec v1.7.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking ta v0.5.0 [INFO] [stderr] Checking vecmap-rs v0.2.1 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking encode_unicode v1.0.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.69 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling barter-macro v0.1.1 [INFO] [stderr] Checking redis v0.25.4 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking rustls-webpki v0.102.5 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking serde_json v1.0.120 [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 csv v1.3.0 [INFO] [stderr] Checking uuid v1.9.1 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking prettytable-rs v0.10.0 [INFO] [stderr] Checking hyper v1.4.0 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking barter-integration v0.7.3 [INFO] [stderr] Checking barter-data v0.8.1 [INFO] [stderr] Checking barter v0.8.15 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `tokio::sync::mpsc::Receiver` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/engine/mod.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 161 | pub async fn run(mut self) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | // Run Traders on threads & send notification when they have stopped organically [INFO] [stdout] 163 | let mut notify_traders_stopped = self.run_traders().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | / tokio::select! { [INFO] [stdout] 168 | | _ = notify_traders_stopped.recv() => { [INFO] [stdout] 169 | | break; [INFO] [stdout] 170 | | }, [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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: this value of type `tokio::sync::mpsc::Receiver` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/engine/mod.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 161 | pub async fn run(mut self) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | // Run Traders on threads & send notification when they have stopped organically [INFO] [stdout] 163 | let mut notify_traders_stopped = self.run_traders().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | / tokio::select! { [INFO] [stdout] 168 | | _ = notify_traders_stopped.recv() => { [INFO] [stdout] 169 | | break; [INFO] [stdout] 170 | | }, [INFO] [stdout] ... | [INFO] [stdout] 193 | | } [INFO] [stdout] 194 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/portfolio/repository/redis.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / fn remove_position( [INFO] [stdout] 81 | | &mut self, [INFO] [stdout] 82 | | position_id: &String, [INFO] [stdout] 83 | | ) -> Result, RepositoryError> { [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/portfolio/repository/redis.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | .del(position_id) [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/portfolio/repository/redis.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / fn remove_position( [INFO] [stdout] 81 | | &mut self, [INFO] [stdout] 82 | | position_id: &String, [INFO] [stdout] 83 | | ) -> Result, RepositoryError> { [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/portfolio/repository/redis.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | .del(position_id) [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `barter` (lib) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `barter` (lib test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "3b0e0894ff09a6dcd4e04df8426ed0eeca8704cdcf420a1b2144210f436deeb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b0e0894ff09a6dcd4e04df8426ed0eeca8704cdcf420a1b2144210f436deeb6", kill_on_drop: false }` [INFO] [stdout] 3b0e0894ff09a6dcd4e04df8426ed0eeca8704cdcf420a1b2144210f436deeb6