[INFO] fetching crate iceoryx2-bb-posix 0.3.0... [INFO] checking iceoryx2-bb-posix-0.3.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate iceoryx2-bb-posix 0.3.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate iceoryx2-bb-posix 0.3.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 iceoryx2-bb-posix 0.3.0 [INFO] finished tweaking crates.io crate iceoryx2-bb-posix 0.3.0 [INFO] tweaked toml for crates.io crate iceoryx2-bb-posix 0.3.0 written to /workspace/builds/worker-2-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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 73 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.65.1 (available: v0.70.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding enum-iterator v1.5.0 (available: v2.1.0) [INFO] [stderr] Adding iceoryx2-bb-container v0.3.0 (available: v0.4.1) [INFO] [stderr] Adding iceoryx2-bb-elementary v0.3.0 (available: v0.4.1) [INFO] [stderr] Adding iceoryx2-bb-log v0.3.0 (available: v0.4.1) [INFO] [stderr] Adding iceoryx2-bb-system-types v0.3.0 (available: v0.4.1) [INFO] [stderr] Adding iceoryx2-bb-testing v0.3.0 (available: v0.4.1) [INFO] [stderr] Adding iceoryx2-pal-concurrency-sync v0.3.0 (available: v0.4.1) [INFO] [stderr] Adding iceoryx2-pal-configuration v0.3.0 (available: v0.4.1) [INFO] [stderr] Adding iceoryx2-pal-posix v0.3.0 (available: v0.4.1) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding peeking_take_while v0.1.2 (available: v1.0.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding which v4.4.2 (available: v6.0.3) [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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] 1d93418946496965dbd26919bb30defab64a8ed630a4845ca0de14de1493011d [INFO] running `Command { std: "docker" "start" "-a" "1d93418946496965dbd26919bb30defab64a8ed630a4845ca0de14de1493011d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d93418946496965dbd26919bb30defab64a8ed630a4845ca0de14de1493011d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d93418946496965dbd26919bb30defab64a8ed630a4845ca0de14de1493011d", kill_on_drop: false }` [INFO] [stdout] 1d93418946496965dbd26919bb30defab64a8ed630a4845ca0de14de1493011d [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] adfc31794431e9fd48a3b2892f0ed24148dcdcb404ff6167b539e38633379067 [INFO] running `Command { std: "docker" "start" "-a" "adfc31794431e9fd48a3b2892f0ed24148dcdcb404ff6167b539e38633379067", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking termsize v0.1.9 [INFO] [stderr] Checking iceoryx2-pal-configuration v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking iceoryx2-bb-elementary v0.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Checking iceoryx2-pal-concurrency-sync v0.3.0 [INFO] [stderr] Checking tiny-fn v0.1.7 [INFO] [stderr] Checking iceoryx2-bb-log v0.3.0 [INFO] [stderr] Checking iceoryx2-bb-testing v0.3.0 [INFO] [stderr] Checking iceoryx2-bb-container v0.3.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking enum-iterator v1.5.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling generic-tests v0.1.2 [INFO] [stderr] Checking iceoryx2-bb-system-types v0.3.0 [INFO] [stderr] Compiling iceoryx2-pal-posix v0.3.0 [INFO] [stderr] Checking iceoryx2-bb-posix v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/barrier.rs:216:42 [INFO] [stdout] | [INFO] [stdout] 215 | impl<'a> IpcConstructible<'a, BarrierHandle> for Barrier<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 216 | fn new(handle: &'a BarrierHandle) -> Barrier { [INFO] [stdout] | ^^^^^^^ this elided lifetime gets resolved as `'a` [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/barrier.rs:216:42 [INFO] [stdout] | [INFO] [stdout] 215 | impl<'a> IpcConstructible<'a, BarrierHandle> for Barrier<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 216 | fn new(handle: &'a BarrierHandle) -> Barrier { [INFO] [stdout] | ^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> tests/file_lock_tests.rs:51:55 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a> TestFixture<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 51 | fn new(handle: &'a ReadWriteMutexHandle) -> TestFixture { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `iceoryx2_bb_posix::file::File` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/unix_datagram_socket_tests.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 324 | let mut test = TestFixture::new(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 327 | let sut_receiver = UnixDatagramReceiverBuilder::new(&socket_name) [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 333 | let sut_sender = UnixDatagramSenderBuilder::new(&socket_name) [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 339 | let mut file_sender: Vec = vec![]; [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 340 | let mut msg = SocketAncillary::new(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 359 | let mut fd_vec = received_msg.extract_fds(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 363 | let file_receiver = File::from_file_descriptor(fd_vec.remove(0)); [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::vec::IntoIter>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/unique_system_id_tests.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 62 | let mut id_set = HashSet::new(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | for t in threads { [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] [stderr] error: could not compile `iceoryx2-bb-posix` (test "unix_datagram_socket_tests") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iceoryx2-bb-posix` (test "unique_system_id_tests") due to 2 previous errors [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "adfc31794431e9fd48a3b2892f0ed24148dcdcb404ff6167b539e38633379067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adfc31794431e9fd48a3b2892f0ed24148dcdcb404ff6167b539e38633379067", kill_on_drop: false }` [INFO] [stdout] adfc31794431e9fd48a3b2892f0ed24148dcdcb404ff6167b539e38633379067