[INFO] fetching crate rocketmq-store 0.2.0... [INFO] checking rocketmq-store-0.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rocketmq-store 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate rocketmq-store 0.2.0 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 rocketmq-store 0.2.0 [INFO] finished tweaking crates.io crate rocketmq-store 0.2.0 [INFO] tweaked toml for crates.io crate rocketmq-store 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 184 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding hashbrown v0.13.2 (available: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (available: v0.50.1) [INFO] [stderr] Adding ordered-multimap v0.6.0 (available: v0.7.3) [INFO] [stderr] Adding rust-ini v0.19.0 (available: v0.21.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb4a8650d729f54e42792096e3791d2c07c25116266b4cf0eecaa7451ab4f601 [INFO] running `Command { std: "docker" "start" "-a" "bb4a8650d729f54e42792096e3791d2c07c25116266b4cf0eecaa7451ab4f601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb4a8650d729f54e42792096e3791d2c07c25116266b4cf0eecaa7451ab4f601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb4a8650d729f54e42792096e3791d2c07c25116266b4cf0eecaa7451ab4f601", kill_on_drop: false }` [INFO] [stdout] bb4a8650d729f54e42792096e3791d2c07c25116266b4cf0eecaa7451ab4f601 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 258239f69527bb4421577b0e92a8531b68234f71a8aba2302eeafb9716a56a27 [INFO] running `Command { std: "docker" "start" "-a" "258239f69527bb4421577b0e92a8531b68234f71a8aba2302eeafb9716a56a27", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Checking pest v2.7.13 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling trait-variant v0.1.2 [INFO] [stderr] Checking lz4_flex v0.11.3 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Compiling pest_generator v2.7.13 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking rustix v0.38.37 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling pest_derive v2.7.13 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking rocketmq-runtime v0.2.0 [INFO] [stderr] Compiling neli-proc-macros v0.1.3 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking neli v0.6.4 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking local-ip-address v0.6.3 [INFO] [stderr] Checking rocketmq-common v0.2.0 [INFO] [stderr] Checking rocketmq-store v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/consume_queue/mapped_file_queue.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Arc>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/log_file/commit_log.rs:692:13 [INFO] [stdout] | [INFO] [stdout] 685 | mut message_store: DefaultMessageStore, [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 692 | let binding = self.mapped_file_queue.get_mapped_files(); [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: this value of type `Arc>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/log_file/commit_log.rs:692:13 [INFO] [stdout] | [INFO] [stdout] 685 | mut message_store: DefaultMessageStore, [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 692 | let binding = self.mapped_file_queue.get_mapped_files(); [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: this value of type `Arc>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message_store/default_message_store.rs:629:29 [INFO] [stdout] | [INFO] [stdout] 629 | if let Some(tx) = tx_option { [INFO] [stdout] | ^^ [INFO] [stdout] 630 | / tokio::select! { [INFO] [stdout] 631 | | _ = tx.send(()) =>{ [INFO] [stdout] 632 | | [INFO] [stdout] 633 | | } [INFO] [stdout] 634 | | } [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] | [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 `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/queue/single_consume_queue.rs:243:36 [INFO] [stdout] | [INFO] [stdout] 237 | let mut bytes = BytesMut::with_capacity(CQ_STORE_UNIT_SIZE as usize); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | if let Some(mapped_file) = self [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 244 | | .mapped_file_queue [INFO] [stdout] 245 | | .get_last_mapped_file_mut_start_offset(expect_logic_offset as u64, true) [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: this value of type `Arc>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/message_store/default_message_store.rs:629:29 [INFO] [stdout] | [INFO] [stdout] 629 | if let Some(tx) = tx_option { [INFO] [stdout] | ^^ [INFO] [stdout] 630 | / tokio::select! { [INFO] [stdout] 631 | | _ = tx.send(()) =>{ [INFO] [stdout] 632 | | [INFO] [stdout] 633 | | } [INFO] [stdout] 634 | | } [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] | [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocketmq-store` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/queue/single_consume_queue.rs:243:36 [INFO] [stdout] | [INFO] [stdout] 237 | let mut bytes = BytesMut::with_capacity(CQ_STORE_UNIT_SIZE as usize); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | if let Some(mapped_file) = self [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 244 | | .mapped_file_queue [INFO] [stdout] 245 | | .get_last_mapped_file_mut_start_offset(expect_logic_offset as u64, true) [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocketmq-store` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "258239f69527bb4421577b0e92a8531b68234f71a8aba2302eeafb9716a56a27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "258239f69527bb4421577b0e92a8531b68234f71a8aba2302eeafb9716a56a27", kill_on_drop: false }` [INFO] [stdout] 258239f69527bb4421577b0e92a8531b68234f71a8aba2302eeafb9716a56a27