[INFO] fetching crate uniffi_bindgen 0.28.1... [INFO] checking uniffi_bindgen-0.28.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate uniffi_bindgen 0.28.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate uniffi_bindgen 0.28.1 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 uniffi_bindgen 0.28.1 [INFO] finished tweaking crates.io crate uniffi_bindgen 0.28.1 [INFO] tweaked toml for crates.io crate uniffi_bindgen 0.28.1 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 50 packages to latest compatible versions [INFO] [stderr] Adding cargo_metadata v0.15.4 (latest: v0.18.1) [INFO] [stderr] Adding siphasher v0.3.11 (latest: v1.0.1) [INFO] [stderr] Adding toml v0.5.11 (latest: v0.8.19) [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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ceee6be076ca8e5af290b2306450689198b42bfb5d4c2536ac421254d93cb73 [INFO] running `Command { std: "docker" "start" "-a" "3ceee6be076ca8e5af290b2306450689198b42bfb5d4c2536ac421254d93cb73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ceee6be076ca8e5af290b2306450689198b42bfb5d4c2536ac421254d93cb73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ceee6be076ca8e5af290b2306450689198b42bfb5d4c2536ac421254d93cb73", kill_on_drop: false }` [INFO] [stdout] 3ceee6be076ca8e5af290b2306450689198b42bfb5d4c2536ac421254d93cb73 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a578d578d98b33d74bcd086444e6907adb4399087c5ebd2fc98bb12a52c7ef3f [INFO] running `Command { std: "docker" "start" "-a" "a578d578d98b33d74bcd086444e6907adb4399087c5ebd2fc98bb12a52c7ef3f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking weedle2 v5.0.0 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling uniffi_checksum_derive v0.28.1 [INFO] [stderr] Compiling scroll_derive v0.12.0 [INFO] [stderr] Checking scroll v0.12.0 [INFO] [stderr] Checking uniffi_meta v0.28.1 [INFO] [stderr] Checking goblin v0.8.2 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Compiling basic-toml v0.1.9 [INFO] [stderr] Checking cargo_metadata v0.15.4 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Checking uniffi_testing v0.28.1 [INFO] [stderr] Checking uniffi_udl v0.28.1 [INFO] [stderr] Checking askama v0.12.1 [INFO] [stderr] Checking uniffi_bindgen v0.28.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/interface/mod.rs:151:36 [INFO] [stdout] | [INFO] [stdout] 151 | self.types.add_known_type(&uniffi_meta::Type::String)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | #![warn(rust_2018_idioms, unused_qualifications)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 151 - self.types.add_known_type(&uniffi_meta::Type::String)?; [INFO] [stdout] 151 + self.types.add_known_type(&Type::String)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/library_mode.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | uniffi_meta::Metadata::UdlFile(meta) => Some(meta), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 155 - uniffi_meta::Metadata::UdlFile(meta) => Some(meta), [INFO] [stdout] 155 + Metadata::UdlFile(meta) => Some(meta), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/lib.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | crate::library_mode::calc_cdylib_name(library_file.as_ref()).is_some() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 260 - crate::library_mode::calc_cdylib_name(library_file.as_ref()).is_some() [INFO] [stdout] 260 + library_mode::calc_cdylib_name(library_file.as_ref()).is_some() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/lib.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | crate::library_mode::calc_cdylib_name(library_file.as_ref()).map(ToOwned::to_owned) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 309 - crate::library_mode::calc_cdylib_name(library_file.as_ref()).map(ToOwned::to_owned) [INFO] [stdout] 309 + library_mode::calc_cdylib_name(library_file.as_ref()).map(ToOwned::to_owned) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/interface/mod.rs:151:36 [INFO] [stdout] | [INFO] [stdout] 151 | self.types.add_known_type(&uniffi_meta::Type::String)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | #![warn(rust_2018_idioms, unused_qualifications)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 151 - self.types.add_known_type(&uniffi_meta::Type::String)?; [INFO] [stdout] 151 + self.types.add_known_type(&Type::String)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/library_mode.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | uniffi_meta::Metadata::UdlFile(meta) => Some(meta), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 155 - uniffi_meta::Metadata::UdlFile(meta) => Some(meta), [INFO] [stdout] 155 + Metadata::UdlFile(meta) => Some(meta), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/lib.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | crate::library_mode::calc_cdylib_name(library_file.as_ref()).is_some() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 260 - crate::library_mode::calc_cdylib_name(library_file.as_ref()).is_some() [INFO] [stdout] 260 + library_mode::calc_cdylib_name(library_file.as_ref()).is_some() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/lib.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | crate::library_mode::calc_cdylib_name(library_file.as_ref()).map(ToOwned::to_owned) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 309 - crate::library_mode::calc_cdylib_name(library_file.as_ref()).map(ToOwned::to_owned) [INFO] [stdout] 309 + library_mode::calc_cdylib_name(library_file.as_ref()).map(ToOwned::to_owned) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `imports` is never used [INFO] [stdout] --> src/bindings/kotlin/gen_kotlin/mod.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 30 | trait CodeType: Debug { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 60 | fn imports(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `imports` and `initialization_fn` are never used [INFO] [stdout] --> src/bindings/python/gen_python/mod.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 32 | trait CodeType: Debug { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 59 | fn imports(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn initialization_fn(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `imports` is never used [INFO] [stdout] --> src/bindings/swift/gen_swift/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 33 | trait CodeType: Debug { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 81 | fn imports(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [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/backend/filters.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | askama::Error::Custom(Box::new(UniFFIError::new(format!($($args)*)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | .ok_or_else(|| lookup_error!("enum {name} not found")) [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: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `lookup_error` (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/backend/filters.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | askama::Error::Custom(Box::new(UniFFIError::new(format!($($args)*)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | .ok_or_else(|| lookup_error!("record {name} not found")) [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 `lookup_error` (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/backend/filters.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | askama::Error::Custom(Box::new(UniFFIError::new(format!($($args)*)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | .ok_or_else(|| lookup_error!("function {name} not found")) [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 `lookup_error` (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/backend/filters.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | askama::Error::Custom(Box::new(UniFFIError::new(format!($($args)*)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | .ok_or_else(|| lookup_error!("object {name} not found")) [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 `lookup_error` (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/backend/filters.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | askama::Error::Custom(Box::new(UniFFIError::new(format!($($args)*)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | .ok_or_else(|| lookup_error!("callback interface {name} not found")) [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 `lookup_error` (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/bindings/python/gen_python/mod.rs:277:53 [INFO] [stdout] | [INFO] [stdout] 277 | .any(|nested_type| *name == nested_type.as_codetype().type_label()) [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/bindings/python/gen_python/mod.rs:637:12 [INFO] [stdout] | [INFO] [stdout] 636 | let literal = e.variant_discr(*index).expect("invalid index"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 637 | Ok(Type::UInt64.as_codetype().literal(&literal)) [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/interface/mod.rs:305:47 [INFO] [stdout] | [INFO] [stdout] 305 | .any(|m| m.throws_type() == Some(&e.as_type())); [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/interface/mod.rs:524:26 [INFO] [stdout] | [INFO] [stdout] 506 | pub fn ffi_rust_future_poll(&self, return_ffi_type: Option) -> FfiFunction { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 524 | return_type: None, [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/interface/mod.rs:535:72 [INFO] [stdout] | [INFO] [stdout] 533 | pub fn ffi_rust_future_complete(&self, return_ffi_type: Option) -> FfiFunction { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 534 | FfiFunction { [INFO] [stdout] 535 | name: self.rust_future_ffi_fn_name("rust_future_complete", return_ffi_type.clone()), [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/interface/mod.rs:556:26 [INFO] [stdout] | [INFO] [stdout] 548 | pub fn ffi_rust_future_cancel(&self, return_ffi_type: Option) -> FfiFunction { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 556 | return_type: None, [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/interface/mod.rs:571:26 [INFO] [stdout] | [INFO] [stdout] 563 | pub fn ffi_rust_future_free(&self, return_ffi_type: Option) -> FfiFunction { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 571 | return_type: None, [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/interface/mod.rs:596:22 [INFO] [stdout] | [INFO] [stdout] 596 | .map(|c| c.result_type().future_callback_param()) [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/interface/mod.rs:807:26 [INFO] [stdout] | [INFO] [stdout] 807 | return_type: Some(FfiType::UInt16), [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/interface/callbacks.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | .map(|(i, method)| (method_ffi_callback(&self.name, method, i), method.clone())) [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/interface/callbacks.rs:100:77 [INFO] [stdout] | [INFO] [stdout] 100 | .map(|(i, method)| (method_ffi_callback(&self.name, method, i), method.clone())) [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/interface/callbacks.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn foreign_future_ffi_result_struct(return_ffi_type: Option) -> FfiStruct { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | fields: match return_ffi_type { [INFO] [stdout] | _________________^ [INFO] [stdout] 195 | | Some(return_ffi_type) => vec![ [INFO] [stdout] 196 | | FfiField::new("return_value", return_ffi_type), [INFO] [stdout] 197 | | FfiField::new("call_status", FfiType::RustCallStatus), [INFO] [stdout] ... | [INFO] [stdout] 204 | | ], [INFO] [stdout] 205 | | }, [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/interface/callbacks.rs:222:22 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn ffi_foreign_future_complete(return_ffi_type: Option) -> FfiCallbackFunction { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | return_type: None, [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/interface/enum_.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 260 | fn try_from(meta: uniffi_meta::EnumMetadata) -> Result { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 261 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 262 | | name: meta.name, [INFO] [stdout] 263 | | module_path: meta.module_path, [INFO] [stdout] 264 | | discr_type: meta.discr_type, [INFO] [stdout] ... | [INFO] [stdout] 272 | | docstring: meta.docstring.clone(), [INFO] [stdout] 273 | | }) [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/interface/enum_.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 331 | fn try_from(meta: uniffi_meta::VariantMetadata) -> Result { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 332 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 333 | | name: meta.name, [INFO] [stdout] 334 | | discr: meta.discr, [INFO] [stdout] 335 | | fields: meta [INFO] [stdout] ... | [INFO] [stdout] 340 | | docstring: meta.docstring.clone(), [INFO] [stdout] 341 | | }) [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/interface/object.rs:462:21 [INFO] [stdout] | [INFO] [stdout] 444 | fn from(meta: uniffi_meta::ConstructorMetadata) -> Self { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 447 | let arguments = meta.inputs.into_iter().map(Into::into).collect(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 448 | [INFO] [stdout] 449 | let ffi_func = FfiFunction { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 462 | throws: meta.throws.map(Into::into), [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/interface/object.rs:622:21 [INFO] [stdout] | [INFO] [stdout] 599 | fn from(meta: uniffi_meta::MethodMetadata) -> Self { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 603 | let return_type = meta.return_type.map(Into::into); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 604 | let arguments = meta.inputs.into_iter().map(Into::into).collect(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 605 | [INFO] [stdout] 606 | let ffi_func = FfiFunction { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 622 | throws: meta.throws.map(Into::into), [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/interface/object.rs:650:21 [INFO] [stdout] | [INFO] [stdout] 631 | fn from(meta: uniffi_meta::TraitMethodMetadata) -> Self { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 635 | let return_type = meta.return_type.map(Into::into); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 636 | let arguments = meta.inputs.into_iter().map(Into::into).collect(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 637 | let ffi_func = FfiFunction { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 650 | throws: meta.throws.map(Into::into), [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/interface/record.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 105 | fn try_from(meta: uniffi_meta::RecordMetadata) -> Result { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 107 | | name: meta.name, [INFO] [stdout] 108 | | module_path: meta.module_path, [INFO] [stdout] 109 | | fields: meta [INFO] [stdout] ... | [INFO] [stdout] 114 | | docstring: meta.docstring.clone(), [INFO] [stdout] 115 | | }) [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/interface/record.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 160 | fn try_from(meta: uniffi_meta::FieldMetadata) -> Result { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | let name = meta.name; [INFO] [stdout] 162 | let type_ = meta.ty; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | let default = meta.default; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 165 | | name, [INFO] [stdout] 166 | | type_, [INFO] [stdout] 167 | | default, [INFO] [stdout] 168 | | docstring: meta.docstring.clone(), [INFO] [stdout] 169 | | }) [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/interface/ffi.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn reference(self) -> FfiType { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | FfiType::Reference(Box::new(self)) [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/library_mode.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 48 | .map(|Component { ci, config }| { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let toml_value = overridden_config_value(config, config_file_override)?; [INFO] [stdout] 50 | let config = binding_generator.new_config(&toml_value)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | Ok(Component { ci, config }) [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] | [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/library_mode.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 104 | let items = macro_metadata::extract_from_library(library_path)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | let mut metadata_groups = create_metadata_groups(&items); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | let mut udl_items: HashMap = HashMap::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | / metadata_groups [INFO] [stdout] 130 | | .into_values() [INFO] [stdout] 131 | | .map(|group| { [INFO] [stdout] 132 | | let crate_name = &group.namespace.crate_name; [INFO] [stdout] ... | [INFO] [stdout] 141 | | Ok(Component { ci, config }) [INFO] [stdout] 142 | | }) [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] | [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/library_mode.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 131 | .map(|group| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | let crate_name = &group.namespace.crate_name; [INFO] [stdout] 133 | let mut ci = ComponentInterface::new(crate_name); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | Ok(Component { ci, config }) [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/macro_metadata/extract.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 38 | let mut extracted = ExtractedItems::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | Ok(extracted.into_metadata()) [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/macro_metadata/extract.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 60 | let mut extracted = ExtractedItems::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Ok(extracted.into_metadata()) [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/macro_metadata/extract.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 91 | let mut extracted = ExtractedItems::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | Ok(extracted.into_metadata()) [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 32 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uniffi_bindgen` (lib) due to 33 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `imports` is never used [INFO] [stdout] --> src/bindings/kotlin/gen_kotlin/mod.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 30 | trait CodeType: Debug { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 60 | fn imports(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `imports` and `initialization_fn` are never used [INFO] [stdout] --> src/bindings/python/gen_python/mod.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 32 | trait CodeType: Debug { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 59 | fn imports(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn initialization_fn(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `imports` is never used [INFO] [stdout] --> src/bindings/swift/gen_swift/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 33 | trait CodeType: Debug { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 81 | fn imports(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [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/backend/filters.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | askama::Error::Custom(Box::new(UniFFIError::new(format!($($args)*)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | .ok_or_else(|| lookup_error!("enum {name} not found")) [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: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `lookup_error` (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/backend/filters.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | askama::Error::Custom(Box::new(UniFFIError::new(format!($($args)*)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | .ok_or_else(|| lookup_error!("record {name} not found")) [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 `lookup_error` (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/backend/filters.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | askama::Error::Custom(Box::new(UniFFIError::new(format!($($args)*)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | .ok_or_else(|| lookup_error!("function {name} not found")) [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 `lookup_error` (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/backend/filters.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | askama::Error::Custom(Box::new(UniFFIError::new(format!($($args)*)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | .ok_or_else(|| lookup_error!("object {name} not found")) [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 `lookup_error` (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/backend/filters.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | askama::Error::Custom(Box::new(UniFFIError::new(format!($($args)*)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | .ok_or_else(|| lookup_error!("callback interface {name} not found")) [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 `lookup_error` (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/bindings/python/gen_python/mod.rs:277:53 [INFO] [stdout] | [INFO] [stdout] 277 | .any(|nested_type| *name == nested_type.as_codetype().type_label()) [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/bindings/python/gen_python/mod.rs:637:12 [INFO] [stdout] | [INFO] [stdout] 636 | let literal = e.variant_discr(*index).expect("invalid index"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 637 | Ok(Type::UInt64.as_codetype().literal(&literal)) [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/interface/mod.rs:305:47 [INFO] [stdout] | [INFO] [stdout] 305 | .any(|m| m.throws_type() == Some(&e.as_type())); [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/interface/mod.rs:524:26 [INFO] [stdout] | [INFO] [stdout] 506 | pub fn ffi_rust_future_poll(&self, return_ffi_type: Option) -> FfiFunction { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 524 | return_type: None, [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/interface/mod.rs:535:72 [INFO] [stdout] | [INFO] [stdout] 533 | pub fn ffi_rust_future_complete(&self, return_ffi_type: Option) -> FfiFunction { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 534 | FfiFunction { [INFO] [stdout] 535 | name: self.rust_future_ffi_fn_name("rust_future_complete", return_ffi_type.clone()), [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/interface/mod.rs:556:26 [INFO] [stdout] | [INFO] [stdout] 548 | pub fn ffi_rust_future_cancel(&self, return_ffi_type: Option) -> FfiFunction { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 556 | return_type: None, [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/interface/mod.rs:571:26 [INFO] [stdout] | [INFO] [stdout] 563 | pub fn ffi_rust_future_free(&self, return_ffi_type: Option) -> FfiFunction { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 571 | return_type: None, [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/interface/mod.rs:596:22 [INFO] [stdout] | [INFO] [stdout] 596 | .map(|c| c.result_type().future_callback_param()) [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/interface/mod.rs:807:26 [INFO] [stdout] | [INFO] [stdout] 807 | return_type: Some(FfiType::UInt16), [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/interface/callbacks.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | .map(|(i, method)| (method_ffi_callback(&self.name, method, i), method.clone())) [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/interface/callbacks.rs:100:77 [INFO] [stdout] | [INFO] [stdout] 100 | .map(|(i, method)| (method_ffi_callback(&self.name, method, i), method.clone())) [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/interface/callbacks.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn foreign_future_ffi_result_struct(return_ffi_type: Option) -> FfiStruct { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | fields: match return_ffi_type { [INFO] [stdout] | _________________^ [INFO] [stdout] 195 | | Some(return_ffi_type) => vec![ [INFO] [stdout] 196 | | FfiField::new("return_value", return_ffi_type), [INFO] [stdout] 197 | | FfiField::new("call_status", FfiType::RustCallStatus), [INFO] [stdout] ... | [INFO] [stdout] 204 | | ], [INFO] [stdout] 205 | | }, [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/interface/callbacks.rs:222:22 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn ffi_foreign_future_complete(return_ffi_type: Option) -> FfiCallbackFunction { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | return_type: None, [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/interface/enum_.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 260 | fn try_from(meta: uniffi_meta::EnumMetadata) -> Result { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 261 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 262 | | name: meta.name, [INFO] [stdout] 263 | | module_path: meta.module_path, [INFO] [stdout] 264 | | discr_type: meta.discr_type, [INFO] [stdout] ... | [INFO] [stdout] 272 | | docstring: meta.docstring.clone(), [INFO] [stdout] 273 | | }) [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/interface/enum_.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 331 | fn try_from(meta: uniffi_meta::VariantMetadata) -> Result { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 332 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 333 | | name: meta.name, [INFO] [stdout] 334 | | discr: meta.discr, [INFO] [stdout] 335 | | fields: meta [INFO] [stdout] ... | [INFO] [stdout] 340 | | docstring: meta.docstring.clone(), [INFO] [stdout] 341 | | }) [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/interface/enum_.rs:652:22 [INFO] [stdout] | [INFO] [stdout] 652 | .map(|i| e.variant_discr(i).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/interface/object.rs:462:21 [INFO] [stdout] | [INFO] [stdout] 444 | fn from(meta: uniffi_meta::ConstructorMetadata) -> Self { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 447 | let arguments = meta.inputs.into_iter().map(Into::into).collect(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 448 | [INFO] [stdout] 449 | let ffi_func = FfiFunction { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 462 | throws: meta.throws.map(Into::into), [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/interface/object.rs:622:21 [INFO] [stdout] | [INFO] [stdout] 599 | fn from(meta: uniffi_meta::MethodMetadata) -> Self { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 603 | let return_type = meta.return_type.map(Into::into); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 604 | let arguments = meta.inputs.into_iter().map(Into::into).collect(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 605 | [INFO] [stdout] 606 | let ffi_func = FfiFunction { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 622 | throws: meta.throws.map(Into::into), [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/interface/object.rs:650:21 [INFO] [stdout] | [INFO] [stdout] 631 | fn from(meta: uniffi_meta::TraitMethodMetadata) -> Self { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 635 | let return_type = meta.return_type.map(Into::into); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 636 | let arguments = meta.inputs.into_iter().map(Into::into).collect(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 637 | let ffi_func = FfiFunction { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 650 | throws: meta.throws.map(Into::into), [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/interface/object.rs:762:47 [INFO] [stdout] | [INFO] [stdout] 762 | assert!(ci.iter_types().any(|t| t == &Type::UInt16)); [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/interface/object.rs:763:47 [INFO] [stdout] | [INFO] [stdout] 763 | assert!(ci.iter_types().any(|t| t == &Type::UInt32)); [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/interface/object.rs:765:17 [INFO] [stdout] | [INFO] [stdout] 765 | == &Type::Sequence { [INFO] [stdout] | _________________^ [INFO] [stdout] 766 | | inner_type: Box::new(Type::UInt32) [INFO] [stdout] 767 | | })); [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/interface/object.rs:768:47 [INFO] [stdout] | [INFO] [stdout] 768 | assert!(ci.iter_types().any(|t| t == &Type::String)); [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/interface/object.rs:770:17 [INFO] [stdout] | [INFO] [stdout] 770 | == &Type::Optional { [INFO] [stdout] | _________________^ [INFO] [stdout] 771 | | inner_type: Box::new(Type::String) [INFO] [stdout] 772 | | })); [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/interface/record.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 105 | fn try_from(meta: uniffi_meta::RecordMetadata) -> Result { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 107 | | name: meta.name, [INFO] [stdout] 108 | | module_path: meta.module_path, [INFO] [stdout] 109 | | fields: meta [INFO] [stdout] ... | [INFO] [stdout] 114 | | docstring: meta.docstring.clone(), [INFO] [stdout] 115 | | }) [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/interface/record.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 160 | fn try_from(meta: uniffi_meta::FieldMetadata) -> Result { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | let name = meta.name; [INFO] [stdout] 162 | let type_ = meta.ty; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | let default = meta.default; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 165 | | name, [INFO] [stdout] 166 | | type_, [INFO] [stdout] 167 | | default, [INFO] [stdout] 168 | | docstring: meta.docstring.clone(), [INFO] [stdout] 169 | | }) [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/interface/record.rs:246:47 [INFO] [stdout] | [INFO] [stdout] 246 | assert!(ci.iter_types().any(|t| t == &Type::UInt32)); [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/interface/record.rs:247:47 [INFO] [stdout] | [INFO] [stdout] 247 | assert!(ci.iter_types().any(|t| t == &Type::String)); [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/interface/record.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | == &Type::Optional { [INFO] [stdout] | _________________^ [INFO] [stdout] 250 | | inner_type: Box::new(Type::String) [INFO] [stdout] 251 | | })); [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/interface/ffi.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn reference(self) -> FfiType { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | FfiType::Reference(Box::new(self)) [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/library_mode.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 48 | .map(|Component { ci, config }| { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let toml_value = overridden_config_value(config, config_file_override)?; [INFO] [stdout] 50 | let config = binding_generator.new_config(&toml_value)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | Ok(Component { ci, config }) [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] | [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/library_mode.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 104 | let items = macro_metadata::extract_from_library(library_path)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | let mut metadata_groups = create_metadata_groups(&items); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | let mut udl_items: HashMap = HashMap::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | / metadata_groups [INFO] [stdout] 130 | | .into_values() [INFO] [stdout] 131 | | .map(|group| { [INFO] [stdout] 132 | | let crate_name = &group.namespace.crate_name; [INFO] [stdout] ... | [INFO] [stdout] 141 | | Ok(Component { ci, config }) [INFO] [stdout] 142 | | }) [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] | [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/library_mode.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 131 | .map(|group| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | let crate_name = &group.namespace.crate_name; [INFO] [stdout] 133 | let mut ci = ComponentInterface::new(crate_name); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | Ok(Component { ci, config }) [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/macro_metadata/extract.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 38 | let mut extracted = ExtractedItems::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | Ok(extracted.into_metadata()) [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/macro_metadata/extract.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 60 | let mut extracted = ExtractedItems::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Ok(extracted.into_metadata()) [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/macro_metadata/extract.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 91 | let mut extracted = ExtractedItems::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | Ok(extracted.into_metadata()) [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 41 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uniffi_bindgen` (lib test) due to 42 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a578d578d98b33d74bcd086444e6907adb4399087c5ebd2fc98bb12a52c7ef3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a578d578d98b33d74bcd086444e6907adb4399087c5ebd2fc98bb12a52c7ef3f", kill_on_drop: false }` [INFO] [stdout] a578d578d98b33d74bcd086444e6907adb4399087c5ebd2fc98bb12a52c7ef3f