[INFO] fetching crate uniffi_core 0.28.1... [INFO] checking uniffi_core-0.28.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate uniffi_core 0.28.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate uniffi_core 0.28.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate uniffi_core 0.28.1 [INFO] finished tweaking crates.io crate uniffi_core 0.28.1 [INFO] tweaked toml for crates.io crate uniffi_core 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fdd688e3e9954b8f00467531fed95f3be80f26b24fa2c5ee16ecb0e8d0806667 [INFO] running `Command { std: "docker" "start" "-a" "fdd688e3e9954b8f00467531fed95f3be80f26b24fa2c5ee16ecb0e8d0806667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdd688e3e9954b8f00467531fed95f3be80f26b24fa2c5ee16ecb0e8d0806667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdd688e3e9954b8f00467531fed95f3be80f26b24fa2c5ee16ecb0e8d0806667", kill_on_drop: false }` [INFO] [stdout] fdd688e3e9954b8f00467531fed95f3be80f26b24fa2c5ee16ecb0e8d0806667 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5569ba3e28b90bfdf585695d33defbfcfcb3c54f035a521652e95324919390ba [INFO] running `Command { std: "docker" "start" "-a" "5569ba3e28b90bfdf585695d33defbfcfcb3c54f035a521652e95324919390ba", kill_on_drop: false }` [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Checking uniffi_core v0.28.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `log_panics` [INFO] [stdout] --> src/panichook.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(feature = "log_panics")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `scaffolding-ffi-buffer-fns`, and `tokio` [INFO] [stdout] = help: consider adding `log_panics` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log_panics` [INFO] [stdout] --> src/panichook.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(not(feature = "log_panics"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `scaffolding-ffi-buffer-fns`, and `tokio` [INFO] [stdout] = help: consider adding `log_panics` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log_panics` [INFO] [stdout] --> src/panichook.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(feature = "log_panics")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `scaffolding-ffi-buffer-fns`, and `tokio` [INFO] [stdout] = help: consider adding `log_panics` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log_panics` [INFO] [stdout] --> src/panichook.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(not(feature = "log_panics"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `scaffolding-ffi-buffer-fns`, and `tokio` [INFO] [stdout] = help: consider adding `log_panics` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi_converter_impls.rs:492:15 [INFO] [stdout] | [INFO] [stdout] 491 | fn handle_failed_lift(error: LiftArgsError) -> Result { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 492 | match error.error.downcast::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/oneshot.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn send(self, value: T) { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let mut inner = self.0.lock().unwrap(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | inner.value = Some(value); [INFO] [stdout] 41 | if let Some(waker) = inner.waker.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/oneshot.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 68 | let mut inner = self.0.lock().unwrap(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | match inner.value.take() { [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] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:409:1 [INFO] [stdout] | [INFO] [stdout] 409 | derive_ffi_traits!(blanket u8); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:410:1 [INFO] [stdout] | [INFO] [stdout] 410 | derive_ffi_traits!(blanket i8); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:411:1 [INFO] [stdout] | [INFO] [stdout] 411 | derive_ffi_traits!(blanket u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:412:1 [INFO] [stdout] | [INFO] [stdout] 412 | derive_ffi_traits!(blanket i16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:413:1 [INFO] [stdout] | [INFO] [stdout] 413 | derive_ffi_traits!(blanket u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:414:1 [INFO] [stdout] | [INFO] [stdout] 414 | derive_ffi_traits!(blanket i32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:415:1 [INFO] [stdout] | [INFO] [stdout] 415 | derive_ffi_traits!(blanket u64); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:416:1 [INFO] [stdout] | [INFO] [stdout] 416 | derive_ffi_traits!(blanket i64); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:417:1 [INFO] [stdout] | [INFO] [stdout] 417 | derive_ffi_traits!(blanket f32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:418:1 [INFO] [stdout] | [INFO] [stdout] 418 | derive_ffi_traits!(blanket f64); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:419:1 [INFO] [stdout] | [INFO] [stdout] 419 | derive_ffi_traits!(blanket bool); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:420:1 [INFO] [stdout] | [INFO] [stdout] 420 | derive_ffi_traits!(blanket String); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:421:1 [INFO] [stdout] | [INFO] [stdout] 421 | derive_ffi_traits!(blanket Duration); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:422:1 [INFO] [stdout] | [INFO] [stdout] 422 | derive_ffi_traits!(blanket SystemTime); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uniffi_core` (lib) due to 4 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Option, rustcalls::LiftArgsError>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/rustfuture/tests.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 64 | let mut inner = self.0.lock().unwrap(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | match inner.result.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi_converter_impls.rs:492:15 [INFO] [stdout] | [INFO] [stdout] 491 | fn handle_failed_lift(error: LiftArgsError) -> Result { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 492 | match error.error.downcast::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/oneshot.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn send(self, value: T) { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let mut inner = self.0.lock().unwrap(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | inner.value = Some(value); [INFO] [stdout] 41 | if let Some(waker) = inner.waker.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/oneshot.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 68 | let mut inner = self.0.lock().unwrap(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | match inner.value.take() { [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] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:409:1 [INFO] [stdout] | [INFO] [stdout] 409 | derive_ffi_traits!(blanket u8); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:410:1 [INFO] [stdout] | [INFO] [stdout] 410 | derive_ffi_traits!(blanket i8); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:411:1 [INFO] [stdout] | [INFO] [stdout] 411 | derive_ffi_traits!(blanket u16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:412:1 [INFO] [stdout] | [INFO] [stdout] 412 | derive_ffi_traits!(blanket i16); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:413:1 [INFO] [stdout] | [INFO] [stdout] 413 | derive_ffi_traits!(blanket u32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:414:1 [INFO] [stdout] | [INFO] [stdout] 414 | derive_ffi_traits!(blanket i32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:415:1 [INFO] [stdout] | [INFO] [stdout] 415 | derive_ffi_traits!(blanket u64); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:416:1 [INFO] [stdout] | [INFO] [stdout] 416 | derive_ffi_traits!(blanket i64); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:417:1 [INFO] [stdout] | [INFO] [stdout] 417 | derive_ffi_traits!(blanket f32); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:418:1 [INFO] [stdout] | [INFO] [stdout] 418 | derive_ffi_traits!(blanket f64); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:419:1 [INFO] [stdout] | [INFO] [stdout] 419 | derive_ffi_traits!(blanket bool); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:420:1 [INFO] [stdout] | [INFO] [stdout] 420 | derive_ffi_traits!(blanket String); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:421:1 [INFO] [stdout] | [INFO] [stdout] 421 | derive_ffi_traits!(blanket Duration); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi_converter_impls.rs:422:1 [INFO] [stdout] | [INFO] [stdout] 422 | derive_ffi_traits!(blanket SystemTime); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_converter` is never used [INFO] [stdout] --> src/ffi/callbackinterface.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait GetConverterSpecialized { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] 195 | fn get_converter(&self) -> $crate::UnexpectedUniFFICallbackErrorConverterSpecialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 325 | derive_ffi_traits!(blanket TestError); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::convert_unexpected_error` which comes from the expansion of the macro `derive_ffi_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uniffi_core` (lib test) due to 5 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5569ba3e28b90bfdf585695d33defbfcfcb3c54f035a521652e95324919390ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5569ba3e28b90bfdf585695d33defbfcfcb3c54f035a521652e95324919390ba", kill_on_drop: false }` [INFO] [stdout] 5569ba3e28b90bfdf585695d33defbfcfcb3c54f035a521652e95324919390ba