[INFO] fetching crate raui-immediate 0.63.0... [INFO] checking raui-immediate-0.63.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate raui-immediate 0.63.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate raui-immediate 0.63.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate raui-immediate 0.63.0 [INFO] finished tweaking crates.io crate raui-immediate 0.63.0 [INFO] tweaked toml for crates.io crate raui-immediate 0.63.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding intuicio-data v0.23.1 (latest: v0.32.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding uuid v0.8.2 (latest: v1.10.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d415c0d48957a8fb50db30baf839afa1ca49d08c21a6568b49291c2419269f3 [INFO] running `Command { std: "docker" "start" "-a" "1d415c0d48957a8fb50db30baf839afa1ca49d08c21a6568b49291c2419269f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d415c0d48957a8fb50db30baf839afa1ca49d08c21a6568b49291c2419269f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d415c0d48957a8fb50db30baf839afa1ca49d08c21a6568b49291c2419269f3", kill_on_drop: false }` [INFO] [stdout] 1d415c0d48957a8fb50db30baf839afa1ca49d08c21a6568b49291c2419269f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29158a33b1cf8eb1f4bd72c307156db75504dae9f14497abee5e6eba4bb0057f [INFO] running `Command { std: "docker" "start" "-a" "29158a33b1cf8eb1f4bd72c307156db75504dae9f14497abee5e6eba4bb0057f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling raui-derive v0.63.0 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking typid v1.1.1 [INFO] [stderr] Checking intuicio-data v0.23.1 [INFO] [stderr] Checking raui-core v0.63.0 [INFO] [stderr] Checking raui-immediate v0.63.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 65 | fn alloc(&mut self, mut init: impl FnMut() -> T) -> ManagedLazy { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | / self.data [INFO] [stdout] 76 | | .get(index) [INFO] [stdout] 77 | | .unwrap() [INFO] [stdout] 78 | | .lazy() [INFO] [stdout] 79 | | .into_typed() [INFO] [stdout] 80 | | .ok() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:147:35 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn new(callback: impl Fn() + Send + Sync + 'static) -> Self { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | Self { [INFO] [stdout] 147 | callback: Some(Arc::new(callback)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | / impl_lifecycle_props! { [INFO] [stdout] 162 | | ImmediateOnMount, [INFO] [stdout] 163 | | ImmediateOnChange, [INFO] [stdout] 164 | | ImmediateOnUnmount [INFO] [stdout] 165 | | } [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 `impl_lifecycle_props` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn use_state(init: impl FnMut() -> T) -> ManagedLazy { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | STATES.with(|states| { [INFO] [stdout] | _________________^ [INFO] [stdout] 169 | | let states = states.borrow(); [INFO] [stdout] 170 | | let mut states = states [INFO] [stdout] 171 | | .as_ref() [INFO] [stdout] ... | [INFO] [stdout] 174 | | states.alloc(init) [INFO] [stdout] 175 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | STACK.with(|stack| stack.borrow_mut().push(Default::default())); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:226:48 [INFO] [stdout] | [INFO] [stdout] 226 | STACK.with(|stack| stack.borrow_mut().push(Default::default())); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:230:24 [INFO] [stdout] | [INFO] [stdout] 230 | STACK.with(|stack| stack.borrow_mut().pop().unwrap_or_default()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 404 | pub(crate) fn immediate_effects_box(mut ctx: WidgetContext) -> WidgetNode { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 434 | unpack_named_slots!(ctx.named_slots => content); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 435 | [INFO] [stdout] 436 | / AreaBoxNode { [INFO] [stdout] 437 | | id: ctx.id.to_owned(), [INFO] [stdout] 438 | | slot: Box::new(content), [INFO] [stdout] 439 | | } [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 65 | fn alloc(&mut self, mut init: impl FnMut() -> T) -> ManagedLazy { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | / self.data [INFO] [stdout] 76 | | .get(index) [INFO] [stdout] 77 | | .unwrap() [INFO] [stdout] 78 | | .lazy() [INFO] [stdout] 79 | | .into_typed() [INFO] [stdout] 80 | | .ok() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:147:35 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn new(callback: impl Fn() + Send + Sync + 'static) -> Self { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | Self { [INFO] [stdout] 147 | callback: Some(Arc::new(callback)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | / impl_lifecycle_props! { [INFO] [stdout] 162 | | ImmediateOnMount, [INFO] [stdout] 163 | | ImmediateOnChange, [INFO] [stdout] 164 | | ImmediateOnUnmount [INFO] [stdout] 165 | | } [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 `impl_lifecycle_props` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raui-immediate` (lib test) due to 8 previous errors [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn use_state(init: impl FnMut() -> T) -> ManagedLazy { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | STATES.with(|states| { [INFO] [stdout] | _________________^ [INFO] [stdout] 169 | | let states = states.borrow(); [INFO] [stdout] 170 | | let mut states = states [INFO] [stdout] 171 | | .as_ref() [INFO] [stdout] ... | [INFO] [stdout] 174 | | states.alloc(init) [INFO] [stdout] 175 | | }) [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] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | STACK.with(|stack| stack.borrow_mut().push(Default::default())); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:226:48 [INFO] [stdout] | [INFO] [stdout] 226 | STACK.with(|stack| stack.borrow_mut().push(Default::default())); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:230:24 [INFO] [stdout] | [INFO] [stdout] 230 | STACK.with(|stack| stack.borrow_mut().pop().unwrap_or_default()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 404 | pub(crate) fn immediate_effects_box(mut ctx: WidgetContext) -> WidgetNode { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 434 | unpack_named_slots!(ctx.named_slots => content); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 435 | [INFO] [stdout] 436 | / AreaBoxNode { [INFO] [stdout] 437 | | id: ctx.id.to_owned(), [INFO] [stdout] 438 | | slot: Box::new(content), [INFO] [stdout] 439 | | } [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raui-immediate` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "29158a33b1cf8eb1f4bd72c307156db75504dae9f14497abee5e6eba4bb0057f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29158a33b1cf8eb1f4bd72c307156db75504dae9f14497abee5e6eba4bb0057f", kill_on_drop: false }` [INFO] [stdout] 29158a33b1cf8eb1f4bd72c307156db75504dae9f14497abee5e6eba4bb0057f