[INFO] fetching crate veb-tree 0.1.0... [INFO] checking veb-tree-0.1.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate veb-tree 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate veb-tree 0.1.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 veb-tree 0.1.0 [INFO] finished tweaking crates.io crate veb-tree 0.1.0 [INFO] tweaked toml for crates.io crate veb-tree 0.1.0 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 136 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (available: v0.2.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding clap v3.2.25 (available: v4.5.18) [INFO] [stderr] Adding clap_lex v0.2.4 (available: v0.7.2) [INFO] [stderr] Adding criterion v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hashbrown v0.13.2 (available: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding memmap2 v0.5.10 (available: v0.9.5) [INFO] [stderr] Adding nix v0.26.4 (available: v0.29.0) [INFO] [stderr] Adding os_str_bytes v6.6.1 (available: v7.0.0) [INFO] [stderr] Adding pprof v0.11.1 (available: v0.13.0) [INFO] [stderr] Adding quick-xml v0.26.0 (available: v0.36.2) [INFO] [stderr] Adding symbolic-common v10.2.1 (available: v12.11.1) [INFO] [stderr] Adding symbolic-demangle v10.2.1 (available: v12.11.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [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] 89d64e94f3d8fbc30b4d951d195b15dae602ff783eb1fe1778cfa752267f367e [INFO] running `Command { std: "docker" "start" "-a" "89d64e94f3d8fbc30b4d951d195b15dae602ff783eb1fe1778cfa752267f367e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89d64e94f3d8fbc30b4d951d195b15dae602ff783eb1fe1778cfa752267f367e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89d64e94f3d8fbc30b4d951d195b15dae602ff783eb1fe1778cfa752267f367e", kill_on_drop: false }` [INFO] [stdout] 89d64e94f3d8fbc30b4d951d195b15dae602ff783eb1fe1778cfa752267f367e [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] 289aff1efe780fd546389360a3310cec409304b2456c381cf2e5aebcbfc82c98 [INFO] running `Command { std: "docker" "start" "-a" "289aff1efe780fd546389360a3310cec409304b2456c381cf2e5aebcbfc82c98", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Compiling symbolic-demangle v10.2.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking quick-xml v0.26.0 [INFO] [stderr] Checking str_stack v0.1.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Compiling pprof v0.11.1 [INFO] [stderr] Compiling ghost v0.1.17 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking symbolic-common v10.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking inferno v0.11.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Checking veb-tree v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex v1.10.6 [INFO] [stdout] error: this value of type `(Option, (::Key, ::Value))` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bitset/map/list.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 55 | fn remove_key(mut self, i: usize, f: F) -> TreeListRemoveResult [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | match f(tree) { [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 `Result<(Option, (::Key, ::Value)), V>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bitset/map/list.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 87 | fn maybe_remove_key(mut self, i: usize, f: F) -> TreeListMaybeRemoveResult [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | match f(tree) { [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 `(Option<(L, bool)>, (<::Tree as VebTree>::Key, <::Tree as VebTree>::Value))` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bitset/map/mod.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 76 | fn remove_key<'a, Q, R>(mut self, h: Q, r: R) -> TreeRemoveResult [INFO] [stdout] | -------- - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | match self.list.remove_key(i, r) { [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 `Result<(Option<(L, bool)>, (<::Tree as VebTree>::Key, <::Tree as VebTree>::Value)), L>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bitset/map/mod.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 98 | fn maybe_remove_key<'a, Q, R>(mut self, h: Q, r: R) -> TreeMaybeRemoveResult [INFO] [stdout] | -------- - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | match self.list.maybe_remove_key(i, r) { [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 `(Option, Option)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bitset/map/mod.rs:282:15 [INFO] [stdout] | [INFO] [stdout] 278 | fn remove_min(self) -> RemoveResult { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | let (list, v) = self.list.remove_value(i); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 282 | match (set, list) { [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 `(Option, Option)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bitset/map/mod.rs:292:15 [INFO] [stdout] | [INFO] [stdout] 288 | fn remove_max(self) -> RemoveResult { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 291 | let (list, v) = self.list.remove_value(i); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | match (set, list) { [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 `Result<(Option<::Cardinality>>::V>, (<::Cardinality>>::V as VebTree>::Key, <::Cardinality>>::V as VebTree>::Value)), ::Cardinality>>::V>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/collection/array.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 173 | fn maybe_remove_key<'a, Q, R>(mut self, h: Q, r: R) -> TreeMaybeRemoveResult [INFO] [stdout] | -------- - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | match r(t) { [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 `(Option<(::Key, ::Value)>, bool)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/collection/hash.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 106 | fn maybe_remove_key<'a, Q, R>(mut self, h: Q, r: R) -> TreeMaybeRemoveResult [INFO] [stdout] | -------- - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | match (val, self.is_empty()) { [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] [stderr] Checking serde v1.0.210 [INFO] [stdout] error: this value of type `Result<(Option, (::Key, ::Value)), V>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:478:15 [INFO] [stdout] | [INFO] [stdout] 473 | fn remove<'a, Q>(mut self, k: Q) -> MaybeRemoveResult [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 478 | match self.tree.remove(k) { [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 `Result<(Option, (::Key, ::Value)), V>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:611:15 [INFO] [stdout] | [INFO] [stdout] 606 | fn remove<'a, Q>(self, k: Q) -> MaybeRemoveResult [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 611 | match (*self).remove(k) { [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 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `veb-tree` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "289aff1efe780fd546389360a3310cec409304b2456c381cf2e5aebcbfc82c98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "289aff1efe780fd546389360a3310cec409304b2456c381cf2e5aebcbfc82c98", kill_on_drop: false }` [INFO] [stdout] 289aff1efe780fd546389360a3310cec409304b2456c381cf2e5aebcbfc82c98