[INFO] fetching crate price-adapter 0.1.8... [INFO] checking price-adapter-0.1.8 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate price-adapter 0.1.8 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate price-adapter 0.1.8 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 price-adapter 0.1.8 [INFO] finished tweaking crates.io crate price-adapter 0.1.8 [INFO] tweaked toml for crates.io crate price-adapter 0.1.8 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate price-adapter 0.1.8 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1e736ab0cb10cd9a49a79d98af142b41dfa4f33547fca9e8f3a6155f225b8b25 [INFO] running `Command { std: "docker" "start" "-a" "1e736ab0cb10cd9a49a79d98af142b41dfa4f33547fca9e8f3a6155f225b8b25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e736ab0cb10cd9a49a79d98af142b41dfa4f33547fca9e8f3a6155f225b8b25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e736ab0cb10cd9a49a79d98af142b41dfa4f33547fca9e8f3a6155f225b8b25", kill_on_drop: false }` [INFO] [stdout] 1e736ab0cb10cd9a49a79d98af142b41dfa4f33547fca9e8f3a6155f225b8b25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] e6b18e9b55cddc45671ea26bf3f802af602c7bb85ba195340a7c603a355896d3 [INFO] running `Command { std: "docker" "start" "-a" "e6b18e9b55cddc45671ea26bf3f802af602c7bb85ba195340a7c603a355896d3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking smallvec v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking h2 v0.3.23 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking price-adapter-raw v0.1.0 [INFO] [stderr] Checking price-adapter v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/mappers/band_static_mapper.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | async fn get_mapping(&self) -> Result<&HashMap, Error> { [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'life0` declared here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/types/mapper.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | async fn get_mapping(&self) -> Result<&HashMap, Error>; [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'life0` declared here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/mappers/band_static_mapper.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | async fn get_mapping(&self) -> Result<&HashMap, Error> { [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'life0` declared here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/types/mapper.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | async fn get_mapping(&self) -> Result<&HashMap, Error>; [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'life0` declared here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio::sync::MutexGuard<'_, S>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/services/interval.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let locked_adapter = cloned_adapter.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 50 | [INFO] [stdout] 51 | / select! { [INFO] [stdout] 52 | | _ = cloned_token.cancelled() => { [INFO] [stdout] 53 | | break; [INFO] [stdout] 54 | | } [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [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::MutexGuard<'_, S>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/services/websocket.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let mut locked_socket = cloned_socket.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | / select! { [INFO] [stdout] 52 | | _ = cloned_token.cancelled() => { [INFO] [stdout] 53 | | break; [INFO] [stdout] 54 | | } [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [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] [INFO] [stdout] [INFO] [stdout] error: this value of type `Poll>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sources/binance/websocket.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 157 | let Ok(mut locked_raw) = self.raw.try_lock() else { [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | let Ok(locked_usdt_price) = clone_usdt_price.try_lock() else { [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | match locked_raw.poll_next_unpin(cx) { [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 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `price-adapter` (lib) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `tokio::sync::MutexGuard<'_, S>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/services/interval.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let locked_adapter = cloned_adapter.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 50 | [INFO] [stdout] 51 | / select! { [INFO] [stdout] 52 | | _ = cloned_token.cancelled() => { [INFO] [stdout] 53 | | break; [INFO] [stdout] 54 | | } [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [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::MutexGuard<'_, S>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/services/websocket.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let mut locked_socket = cloned_socket.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | / select! { [INFO] [stdout] 52 | | _ = cloned_token.cancelled() => { [INFO] [stdout] 53 | | break; [INFO] [stdout] 54 | | } [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [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] [INFO] [stdout] [INFO] [stdout] error: this value of type `Poll>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sources/binance/websocket.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 157 | let Ok(mut locked_raw) = self.raw.try_lock() else { [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | let Ok(locked_usdt_price) = clone_usdt_price.try_lock() else { [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | match locked_raw.poll_next_unpin(cx) { [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 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `price-adapter` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e6b18e9b55cddc45671ea26bf3f802af602c7bb85ba195340a7c603a355896d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6b18e9b55cddc45671ea26bf3f802af602c7bb85ba195340a7c603a355896d3", kill_on_drop: false }` [INFO] [stdout] e6b18e9b55cddc45671ea26bf3f802af602c7bb85ba195340a7c603a355896d3