[INFO] fetching crate pkgcraft-c 0.0.16... [INFO] checking pkgcraft-c-0.0.16 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate pkgcraft-c 0.0.16 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate pkgcraft-c 0.0.16 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 pkgcraft-c 0.0.16 [INFO] finished tweaking crates.io crate pkgcraft-c 0.0.16 [INFO] tweaked toml for crates.io crate pkgcraft-c 0.0.16 written to /workspace/builds/worker-4-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 206 packages to latest compatible versions [INFO] [stderr] Adding annotate-snippets v0.6.1 (available: v0.11.4) [INFO] [stderr] Adding bindgen v0.69.4 (available: v0.70.1) [INFO] [stderr] Adding encode_unicode v0.3.6 (available: v1.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding matchers v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (available: v0.50.1) [INFO] [stderr] Adding regex-automata v0.1.10 (available: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (available: v0.8.4) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding which v4.4.2 (available: v6.0.3) [INFO] [stderr] Adding windows-strings v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6d2997939776f65685541e38024535010e65de15a826148d76a719b367372963 [INFO] running `Command { std: "docker" "start" "-a" "6d2997939776f65685541e38024535010e65de15a826148d76a719b367372963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d2997939776f65685541e38024535010e65de15a826148d76a719b367372963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d2997939776f65685541e38024535010e65de15a826148d76a719b367372963", kill_on_drop: false }` [INFO] [stdout] 6d2997939776f65685541e38024535010e65de15a826148d76a719b367372963 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ebe157a6c55591f11aea2985805a3dc4baffcb2a4f5f4e72854127452111dc18 [INFO] running `Command { std: "docker" "start" "-a" "ebe157a6c55591f11aea2985805a3dc4baffcb2a4f5f4e72854127452111dc18", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling autotools v0.2.7 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling portable-atomic v1.9.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling blake3 v1.5.4 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling peg-runtime v0.8.3 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling peg-macros v0.8.4 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking cached_proc_macro_types v0.1.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling cached_proc_macro v0.23.0 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking annotate-snippets v0.6.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking trim-in-place v0.1.7 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking chic v1.2.2 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking rust-ini v0.21.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking peg v0.8.4 [INFO] [stderr] Checking is_executable v1.0.3 [INFO] [stderr] Checking roxmltree v0.20.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking cached v0.53.1 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Checking ipc-channel v0.18.3 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Compiling scallop v0.0.16 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking pkgcraft v0.0.16 [INFO] [stderr] Checking pkgcraft-c v0.0.16 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Result, pkgcraft::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/dep/pkg.rs:141:49 [INFO] [stdout] | [INFO] [stdout] 141 | if let Cow::Owned(d) = unwrap_or_panic!(dep.modify(iterable)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | / match $e { [INFO] [stdout] 126 | | Ok(x) => x, [INFO] [stdout] 127 | | Err(e) => $crate::macros::set_error_and_panic!(e), [INFO] [stdout] 128 | | } [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] | [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 `Result, pkgcraft::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/dep/pkg.rs:141:49 [INFO] [stdout] | [INFO] [stdout] 141 | if let Cow::Owned(d) = unwrap_or_panic!(dep.modify(iterable)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | / match $e { [INFO] [stdout] 126 | | Ok(x) => x, [INFO] [stdout] 127 | | Err(e) => $crate::macros::set_error_and_panic!(e), [INFO] [stdout] 128 | | } [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] | [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/macros.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | match std::ffi::CString::new($s) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn str_to_raw>(s: S) -> *mut c_char { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | try_ptr_from_str!(s.as_ref()) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try_ptr_from_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/macros.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | match std::ffi::CString::new($s) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn obj_to_str(o: O) -> *mut c_char { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | try_ptr_from_str!(o.to_string()) [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try_ptr_from_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pkgcraft-c` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/macros.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | match std::ffi::CString::new($s) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn str_to_raw>(s: S) -> *mut c_char { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | try_ptr_from_str!(s.as_ref()) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try_ptr_from_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/macros.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | match std::ffi::CString::new($s) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn obj_to_str(o: O) -> *mut c_char { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | try_ptr_from_str!(o.to_string()) [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try_ptr_from_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pkgcraft-c` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "ebe157a6c55591f11aea2985805a3dc4baffcb2a4f5f4e72854127452111dc18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebe157a6c55591f11aea2985805a3dc4baffcb2a4f5f4e72854127452111dc18", kill_on_drop: false }` [INFO] [stdout] ebe157a6c55591f11aea2985805a3dc4baffcb2a4f5f4e72854127452111dc18