[INFO] fetching crate atomic_hooks 0.1.0... [INFO] checking atomic_hooks-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate atomic_hooks 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate atomic_hooks 0.1.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 atomic_hooks 0.1.0 [INFO] finished tweaking crates.io crate atomic_hooks 0.1.0 [INFO] tweaked toml for crates.io crate atomic_hooks 0.1.0 written to /workspace/builds/worker-7-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 28 packages to latest compatible versions [INFO] [stderr] Adding darling v0.10.2 (latest: v0.20.10) [INFO] [stderr] Adding darling_core v0.10.2 (latest: v0.20.10) [INFO] [stderr] Adding darling_macro v0.10.2 (latest: v0.20.10) [INFO] [stderr] Adding illicit v0.9.2 (latest: v1.1.2) [INFO] [stderr] Adding illicit-macro v0.9.0 (latest: v1.0.0) [INFO] [stderr] Adding proc-macro-error v0.4.12 (latest: v1.0.4) [INFO] [stderr] Adding proc-macro-error-attr v0.4.12 (latest: v1.0.4) [INFO] [stderr] Adding slotmap v0.4.3 (latest: v1.0.7) [INFO] [stderr] Adding strsim v0.9.3 (latest: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding syn-mid v0.5.4 (latest: v0.6.0) [INFO] [stderr] Adding topo v0.9.4 (latest: v0.13.2) [INFO] [stderr] Adding topo-macro v0.9.0 (latest: v0.10.0) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 247c3bd80e0c6e7c1e7e775c5d18411600720d64eb354e416935033b62ba182c [INFO] running `Command { std: "docker" "start" "-a" "247c3bd80e0c6e7c1e7e775c5d18411600720d64eb354e416935033b62ba182c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "247c3bd80e0c6e7c1e7e775c5d18411600720d64eb354e416935033b62ba182c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "247c3bd80e0c6e7c1e7e775c5d18411600720d64eb354e416935033b62ba182c", kill_on_drop: false }` [INFO] [stdout] 247c3bd80e0c6e7c1e7e775c5d18411600720d64eb354e416935033b62ba182c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d9f129c17a282a4d28b08db6eb818e2884d93531b3287efe0e63ee06da3af668 [INFO] running `Command { std: "docker" "start" "-a" "d9f129c17a282a4d28b08db6eb818e2884d93531b3287efe0e63ee06da3af668", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking slotmap v0.4.3 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling syn-mid v0.5.4 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling topo-macro v0.9.0 [INFO] [stderr] Compiling illicit-macro v0.9.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Checking illicit v0.9.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Checking topo v0.9.4 [INFO] [stderr] Compiling atomic_hooks_macros v0.1.3 [INFO] [stderr] Checking atomic_hooks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `atom` and `reaction` [INFO] [stdout] --> src/prelude.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | pub use atomic_hooks_macros::{atom, reaction}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `atom` and `reaction` [INFO] [stdout] --> src/prelude.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | pub use atomic_hooks_macros::{atom, reaction}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `track_caller` has been stable since 1.46.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(track_caller)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `track_caller` has been stable since 1.46.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(track_caller)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [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/hooks_state_functions.rs:69:37 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new_state T>(data_fn: F) -> StateAccess { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | topo::call_in_slot(count.get(), || use_state_current(data_fn)) [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/hooks_state_functions.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn set_state_with_topo_id(data: T, current_id: TopoKey) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | STORE.with(|store_refcell| { [INFO] [stdout] 75 | / store_refcell [INFO] [stdout] 76 | | .borrow_mut() [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/hooks_state_functions.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | STORE.with(|store_refcell| store_refcell.borrow().state_exists_with_id::(&StorageKey::TopoKey(id))) [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/hooks_state_functions.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn on_unmount () + 'static>(unmount_fn: F) -> StateAccess { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 195 | use_state(|| Unmount::new(unmount_fn)) [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/reactive_state_functions.rs:143:88 [INFO] [stdout] | [INFO] [stdout] 143 | ... let ids_to_remove = old_context.reactive_state_accessors.iter().filter(|a_id| !context.borrow().reactive_state_accessors.contains(a... [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/reactive_state_functions.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn set_inert_atom_state_with_id(data: T, current_id: &StorageKey) { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | STORE.with(|store_refcell| { [INFO] [stdout] | ________________^ [INFO] [stdout] 191 | | store_refcell [INFO] [stdout] 192 | | .borrow_mut() [INFO] [stdout] 193 | | .set_state_with_id::(data, current_id) [INFO] [stdout] 194 | | }) [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/reactive_state_functions.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn set_inert_atom_state_with_id(data: T, current_id: &StorageKey) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | STORE.with(|store_refcell| { [INFO] [stdout] 191 | / store_refcell [INFO] [stdout] 192 | | .borrow_mut() [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/reactive_state_functions.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn set_atom_state_with_id(data: T, current_id: &StorageKey) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | STORE.with(|store_refcell| { [INFO] [stdout] 201 | / store_refcell [INFO] [stdout] 202 | | .borrow_mut() [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/reactive_state_functions.rs:212:32 [INFO] [stdout] | [INFO] [stdout] 212 | STORE.with(|store_refcell| store_refcell.borrow().state_exists_with_id::(id)) [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/reactive_state_functions.rs:315:16 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn return_key_for_type_and_insert_if_required(value: T) -> StorageKey { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | STORE.with(|refcell_store| [INFO] [stdout] | ________________^ [INFO] [stdout] 316 | | { [INFO] [stdout] 317 | | refcell_store.borrow_mut().return_key_for_type_and_insert_if_required(key,value) [INFO] [stdout] 318 | | }) [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/reactive_state_functions.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn return_key_for_type_and_insert_if_required(value: T) -> StorageKey { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 317 | refcell_store.borrow_mut().return_key_for_type_and_insert_if_required(key,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/observable.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 17 | let context = illicit::Env::get::>() [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | clone_reactive_state_with_id::(&self.id).unwrap() [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/observable.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 53 | let context = illicit::Env::get::>() [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | clone_reactive_state_with_id::(&id).unwrap() [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/unmount.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(on_unmount: impl Fn() -> () + 'static) -> Self { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 12 | on_unmount: Box::new(on_unmount), [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 14 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `atomic_hooks` (lib) due to 15 previous errors; 2 warnings emitted [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/hooks_state_functions.rs:69:37 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new_state T>(data_fn: F) -> StateAccess { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | topo::call_in_slot(count.get(), || use_state_current(data_fn)) [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/hooks_state_functions.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn set_state_with_topo_id(data: T, current_id: TopoKey) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | STORE.with(|store_refcell| { [INFO] [stdout] 75 | / store_refcell [INFO] [stdout] 76 | | .borrow_mut() [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/hooks_state_functions.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | STORE.with(|store_refcell| store_refcell.borrow().state_exists_with_id::(&StorageKey::TopoKey(id))) [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/hooks_state_functions.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn on_unmount () + 'static>(unmount_fn: F) -> StateAccess { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 195 | use_state(|| Unmount::new(unmount_fn)) [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/reactive_state_functions.rs:143:88 [INFO] [stdout] | [INFO] [stdout] 143 | ... let ids_to_remove = old_context.reactive_state_accessors.iter().filter(|a_id| !context.borrow().reactive_state_accessors.contains(a... [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/reactive_state_functions.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn set_inert_atom_state_with_id(data: T, current_id: &StorageKey) { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | STORE.with(|store_refcell| { [INFO] [stdout] | ________________^ [INFO] [stdout] 191 | | store_refcell [INFO] [stdout] 192 | | .borrow_mut() [INFO] [stdout] 193 | | .set_state_with_id::(data, current_id) [INFO] [stdout] 194 | | }) [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/reactive_state_functions.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn set_inert_atom_state_with_id(data: T, current_id: &StorageKey) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | STORE.with(|store_refcell| { [INFO] [stdout] 191 | / store_refcell [INFO] [stdout] 192 | | .borrow_mut() [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/reactive_state_functions.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn set_atom_state_with_id(data: T, current_id: &StorageKey) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | STORE.with(|store_refcell| { [INFO] [stdout] 201 | / store_refcell [INFO] [stdout] 202 | | .borrow_mut() [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/reactive_state_functions.rs:212:32 [INFO] [stdout] | [INFO] [stdout] 212 | STORE.with(|store_refcell| store_refcell.borrow().state_exists_with_id::(id)) [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/reactive_state_functions.rs:315:16 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn return_key_for_type_and_insert_if_required(value: T) -> StorageKey { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | STORE.with(|refcell_store| [INFO] [stdout] | ________________^ [INFO] [stdout] 316 | | { [INFO] [stdout] 317 | | refcell_store.borrow_mut().return_key_for_type_and_insert_if_required(key,value) [INFO] [stdout] 318 | | }) [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/reactive_state_functions.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn return_key_for_type_and_insert_if_required(value: T) -> StorageKey { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 317 | refcell_store.borrow_mut().return_key_for_type_and_insert_if_required(key,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/observable.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 17 | let context = illicit::Env::get::>() [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | clone_reactive_state_with_id::(&self.id).unwrap() [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/observable.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 53 | let context = illicit::Env::get::>() [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | clone_reactive_state_with_id::(&id).unwrap() [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/unmount.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(on_unmount: impl Fn() -> () + 'static) -> Self { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 12 | on_unmount: Box::new(on_unmount), [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 14 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `atomic_hooks` (lib test) due to 15 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d9f129c17a282a4d28b08db6eb818e2884d93531b3287efe0e63ee06da3af668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9f129c17a282a4d28b08db6eb818e2884d93531b3287efe0e63ee06da3af668", kill_on_drop: false }` [INFO] [stdout] d9f129c17a282a4d28b08db6eb818e2884d93531b3287efe0e63ee06da3af668