[INFO] fetching crate hooks-gen 0.2.0... [INFO] checking hooks-gen-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate hooks-gen 0.2.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate hooks-gen 0.2.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 hooks-gen 0.2.0 [INFO] finished tweaking crates.io crate hooks-gen 0.2.0 [INFO] tweaked toml for crates.io crate hooks-gen 0.2.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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [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] 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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5e28cd7af6b175c7cabbb60a96ffd4a0b4af2855fcb48147890a2518ff9a02e [INFO] running `Command { std: "docker" "start" "-a" "c5e28cd7af6b175c7cabbb60a96ffd4a0b4af2855fcb48147890a2518ff9a02e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5e28cd7af6b175c7cabbb60a96ffd4a0b4af2855fcb48147890a2518ff9a02e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5e28cd7af6b175c7cabbb60a96ffd4a0b4af2855fcb48147890a2518ff9a02e", kill_on_drop: false }` [INFO] [stdout] c5e28cd7af6b175c7cabbb60a96ffd4a0b4af2855fcb48147890a2518ff9a02e [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b42a7e81ef76b83627822d9724053b9dfe3b261ad95c65ca553fe7bc9712aa8 [INFO] running `Command { std: "docker" "start" "-a" "3b42a7e81ef76b83627822d9724053b9dfe3b261ad95c65ca553fe7bc9712aa8", kill_on_drop: false }` [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking hooks-gen v0.2.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:222:36 [INFO] [stdout] | [INFO] [stdout] 221 | fn store_mut(f: impl FnOnce(&mut TypedStore) -> R) -> R { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 222 | STORES.with_borrow_mut(|stores| { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 223 | | let store = stores [INFO] [stdout] 224 | | .entry(TypeId::of::()) [INFO] [stdout] 225 | | .or_insert_with(|| Box::new(TypedStore::::new())) [INFO] [stdout] ... | [INFO] [stdout] 228 | | f(store) [INFO] [stdout] 229 | | }) [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:225:49 [INFO] [stdout] | [INFO] [stdout] 225 | .or_insert_with(|| Box::new(TypedStore::::new())) [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:233:32 [INFO] [stdout] | [INFO] [stdout] 232 | fn store(f: impl FnOnce(&TypedStore) -> R) -> R { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 233 | STORES.with_borrow(|stores| { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 234 | | let store = stores [INFO] [stdout] 235 | | .get(&TypeId::of::()) [INFO] [stdout] 236 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 239 | | f(store) [INFO] [stdout] 240 | | }) [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:246:25 [INFO] [stdout] | [INFO] [stdout] 244 | f: impl FnOnce(Option<&TypedStore>) -> R, [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 245 | ) -> Result { [INFO] [stdout] 246 | STORES.with(|stores| { [INFO] [stdout] | _________________________^ [INFO] [stdout] 247 | | let stores = stores.try_borrow()?; [INFO] [stdout] 248 | | let store = stores [INFO] [stdout] 249 | | .get(&TypeId::of::()) [INFO] [stdout] 250 | | .map(|store| store.downcast_ref::>().unwrap()); [INFO] [stdout] 251 | | Ok(f(store)) [INFO] [stdout] 252 | | }) [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:251:20 [INFO] [stdout] | [INFO] [stdout] 244 | f: impl FnOnce(Option<&TypedStore>) -> R, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 247 | let stores = stores.try_borrow()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | Ok(f(store)) [INFO] [stdout] | ^^^^^^^^ these values have significant drop implementation and will 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: 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:257:42 [INFO] [stdout] | [INFO] [stdout] 256 | fn insert(value: T) -> Owner { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | store_mut::>(|s| { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 258 | | let index = s.insert(Item { [INFO] [stdout] 259 | | value, [INFO] [stdout] 260 | | owners_count: Cell::new(1), [INFO] [stdout] ... | [INFO] [stdout] 263 | | Owner { key } [INFO] [stdout] 264 | | }) [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:305:31 [INFO] [stdout] | [INFO] [stdout] 304 | fn map_at(key: Key, f: impl FnOnce(&T) -> R) -> R { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 305 | store::(|items| f(&items.get(key.index).unwrap().value)) [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:305:42 [INFO] [stdout] | [INFO] [stdout] 304 | fn map_at(key: Key, f: impl FnOnce(&T) -> R) -> R { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 305 | store::(|items| f(&items.get(key.index).unwrap().value)) [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:312:35 [INFO] [stdout] | [INFO] [stdout] 310 | f: impl FnOnce(Option<&T>) -> R, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 311 | ) -> Result { [INFO] [stdout] 312 | try_store::(|items| { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 313 | | let item = if let Some(items) = items { [INFO] [stdout] 314 | | items.get(key.index).map(|item: &Item| &item.value) [INFO] [stdout] 315 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 318 | | f(item) [INFO] [stdout] 319 | | }) [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:323:35 [INFO] [stdout] | [INFO] [stdout] 322 | fn map_mut_at(key: Key, f: impl FnOnce(&mut T) -> R) -> R { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 323 | store_mut::(|items| f(&mut items.get_mut(key.index).unwrap().value)) [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:323:50 [INFO] [stdout] | [INFO] [stdout] 322 | fn map_mut_at(key: Key, f: impl FnOnce(&mut T) -> R) -> R { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 323 | store_mut::(|items| f(&mut items.get_mut(key.index).unwrap().value)) [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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hooks-gen` (lib) due to 12 previous errors [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:222:36 [INFO] [stdout] | [INFO] [stdout] 221 | fn store_mut(f: impl FnOnce(&mut TypedStore) -> R) -> R { [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 222 | STORES.with_borrow_mut(|stores| { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 223 | | let store = stores [INFO] [stdout] 224 | | .entry(TypeId::of::()) [INFO] [stdout] 225 | | .or_insert_with(|| Box::new(TypedStore::::new())) [INFO] [stdout] ... | [INFO] [stdout] 228 | | f(store) [INFO] [stdout] 229 | | }) [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:225:49 [INFO] [stdout] | [INFO] [stdout] 225 | .or_insert_with(|| Box::new(TypedStore::::new())) [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:233:32 [INFO] [stdout] | [INFO] [stdout] 232 | fn store(f: impl FnOnce(&TypedStore) -> R) -> R { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 233 | STORES.with_borrow(|stores| { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 234 | | let store = stores [INFO] [stdout] 235 | | .get(&TypeId::of::()) [INFO] [stdout] 236 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 239 | | f(store) [INFO] [stdout] 240 | | }) [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:246:25 [INFO] [stdout] | [INFO] [stdout] 244 | f: impl FnOnce(Option<&TypedStore>) -> R, [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 245 | ) -> Result { [INFO] [stdout] 246 | STORES.with(|stores| { [INFO] [stdout] | _________________________^ [INFO] [stdout] 247 | | let stores = stores.try_borrow()?; [INFO] [stdout] 248 | | let store = stores [INFO] [stdout] 249 | | .get(&TypeId::of::()) [INFO] [stdout] 250 | | .map(|store| store.downcast_ref::>().unwrap()); [INFO] [stdout] 251 | | Ok(f(store)) [INFO] [stdout] 252 | | }) [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:251:20 [INFO] [stdout] | [INFO] [stdout] 244 | f: impl FnOnce(Option<&TypedStore>) -> R, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 247 | let stores = stores.try_borrow()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | Ok(f(store)) [INFO] [stdout] | ^^^^^^^^ these values have significant drop implementation and will 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: 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:257:42 [INFO] [stdout] | [INFO] [stdout] 256 | fn insert(value: T) -> Owner { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | store_mut::>(|s| { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 258 | | let index = s.insert(Item { [INFO] [stdout] 259 | | value, [INFO] [stdout] 260 | | owners_count: Cell::new(1), [INFO] [stdout] ... | [INFO] [stdout] 263 | | Owner { key } [INFO] [stdout] 264 | | }) [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:305:31 [INFO] [stdout] | [INFO] [stdout] 304 | fn map_at(key: Key, f: impl FnOnce(&T) -> R) -> R { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 305 | store::(|items| f(&items.get(key.index).unwrap().value)) [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:305:42 [INFO] [stdout] | [INFO] [stdout] 304 | fn map_at(key: Key, f: impl FnOnce(&T) -> R) -> R { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 305 | store::(|items| f(&items.get(key.index).unwrap().value)) [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:312:35 [INFO] [stdout] | [INFO] [stdout] 310 | f: impl FnOnce(Option<&T>) -> R, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 311 | ) -> Result { [INFO] [stdout] 312 | try_store::(|items| { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 313 | | let item = if let Some(items) = items { [INFO] [stdout] 314 | | items.get(key.index).map(|item: &Item| &item.value) [INFO] [stdout] 315 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 318 | | f(item) [INFO] [stdout] 319 | | }) [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:323:35 [INFO] [stdout] | [INFO] [stdout] 322 | fn map_mut_at(key: Key, f: impl FnOnce(&mut T) -> R) -> R { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 323 | store_mut::(|items| f(&mut items.get_mut(key.index).unwrap().value)) [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:323:50 [INFO] [stdout] | [INFO] [stdout] 322 | fn map_mut_at(key: Key, f: impl FnOnce(&mut T) -> R) -> R { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 323 | store_mut::(|items| f(&mut items.get_mut(key.index).unwrap().value)) [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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hooks-gen` (lib test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "3b42a7e81ef76b83627822d9724053b9dfe3b261ad95c65ca553fe7bc9712aa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b42a7e81ef76b83627822d9724053b9dfe3b261ad95c65ca553fe7bc9712aa8", kill_on_drop: false }` [INFO] [stdout] 3b42a7e81ef76b83627822d9724053b9dfe3b261ad95c65ca553fe7bc9712aa8