[INFO] fetching crate nativeshell 0.1.16... [INFO] checking nativeshell-0.1.16 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate nativeshell 0.1.16 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate nativeshell 0.1.16 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 nativeshell 0.1.16 [INFO] finished tweaking crates.io crate nativeshell 0.1.16 [INFO] tweaked toml for crates.io crate nativeshell 0.1.16 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 170 packages to latest compatible versions [INFO] [stderr] Adding atk v0.14.0 (available: v0.18.0) [INFO] [stderr] Adding atk-sys v0.14.0 (available: v0.18.0) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cairo-rs v0.14.9 (available: v0.20.1) [INFO] [stderr] Adding cairo-sys-rs v0.14.9 (available: v0.20.0) [INFO] [stderr] Adding cfg-expr v0.8.1 (available: v0.17.0) [INFO] [stderr] Adding cocoa v0.24.1 (available: v0.26.0) [INFO] [stderr] Adding cocoa-foundation v0.1.2 (available: v0.2.0) [INFO] [stderr] Adding convert_case v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding core-graphics v0.22.3 (available: v0.24.0) [INFO] [stderr] Adding core-graphics-types v0.1.3 (available: v0.2.0) [INFO] [stderr] Adding errno v0.2.8 (available: v0.3.9) [INFO] [stderr] Adding foreign-types v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding gdk v0.14.3 (available: v0.18.0) [INFO] [stderr] Adding gdk-pixbuf v0.14.0 (available: v0.20.4) [INFO] [stderr] Adding gdk-pixbuf-sys v0.14.0 (available: v0.20.4) [INFO] [stderr] Adding gdk-sys v0.14.0 (available: v0.18.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding gio v0.14.8 (available: v0.20.4) [INFO] [stderr] Adding gio-sys v0.14.0 (available: v0.20.4) [INFO] [stderr] Adding glib v0.14.8 (available: v0.20.4) [INFO] [stderr] Adding glib-macros v0.14.1 (available: v0.20.4) [INFO] [stderr] Adding glib-sys v0.14.0 (available: v0.20.4) [INFO] [stderr] Adding gobject-sys v0.14.0 (available: v0.20.4) [INFO] [stderr] Adding gtk v0.14.3 (available: v0.18.1) [INFO] [stderr] Adding gtk-sys v0.14.0 (available: v0.18.0) [INFO] [stderr] Adding gtk3-macros v0.14.0 (available: v0.18.0) [INFO] [stderr] Adding heck v0.3.3 (available: v0.5.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding malloc_buf v0.0.6 (available: v1.0.0) [INFO] [stderr] Adding pango v0.14.8 (available: v0.20.4) [INFO] [stderr] Adding pango-sys v0.14.0 (available: v0.20.4) [INFO] [stderr] Adding path-slash v0.1.5 (available: v0.2.1) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (available: v3.2.0) [INFO] [stderr] Adding region v2.2.0 (available: v3.0.2) [INFO] [stderr] Adding strum v0.21.0 (available: v0.26.3) [INFO] [stderr] Adding strum_macros v0.21.1 (available: v0.26.4) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding system-deps v3.2.0 (available: v7.0.3) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding toml_edit v0.19.15 (available: v0.22.22) [INFO] [stderr] Adding version-compare v0.0.11 (available: v0.2.0) [INFO] [stderr] Adding widestring v0.5.1 (available: v1.1.0) [INFO] [stderr] Adding windows v0.28.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.28.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows_aarch64_msvc v0.28.0 (available: v0.52.6) [INFO] [stderr] Adding windows_gen v0.28.0 (available: v0.31.0) [INFO] [stderr] Adding windows_i686_gnu v0.28.0 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.28.0 (available: v0.52.6) [INFO] [stderr] Adding windows_macros v0.28.0 (available: v0.31.0) [INFO] [stderr] Adding windows_quote v0.28.0 (available: v0.30.0) [INFO] [stderr] Adding windows_reader v0.28.0 (available: v0.31.0) [INFO] [stderr] Adding windows_x86_64_gnu v0.28.0 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.28.0 (available: v0.52.6) [INFO] [stderr] Adding winnow v0.5.40 (available: v0.6.20) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b2a44955938a7edc881862b2d6d46a6885a3901ea12e8714981761bc4944b0b [INFO] running `Command { std: "docker" "start" "-a" "4b2a44955938a7edc881862b2d6d46a6885a3901ea12e8714981761bc4944b0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b2a44955938a7edc881862b2d6d46a6885a3901ea12e8714981761bc4944b0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b2a44955938a7edc881862b2d6d46a6885a3901ea12e8714981761bc4944b0b", kill_on_drop: false }` [INFO] [stdout] 4b2a44955938a7edc881862b2d6d46a6885a3901ea12e8714981761bc4944b0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1e8f88f4f66b7f0c749e2cf72c9c631db98cda01e99c25621887960d0db5e65 [INFO] running `Command { std: "docker" "start" "-a" "b1e8f88f4f66b7f0c749e2cf72c9c631db98cda01e99c25621887960d0db5e65", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling version-compare v0.0.11 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling strum v0.21.0 [INFO] [stderr] Compiling cfg-expr v0.8.1 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling gio v0.14.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling copy_dir v0.1.3 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling cargo-emit v0.2.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling path-slash v0.1.5 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling gtk v0.14.3 [INFO] [stderr] Compiling velcro_core v0.5.4 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling velcro_macros v0.5.4 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking velcro v0.5.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling glib-macros v0.14.1 [INFO] [stderr] Compiling gtk3-macros v0.14.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling nativeshell_build v0.1.16 [INFO] [stderr] Compiling system-deps v3.2.0 [INFO] [stderr] Compiling nativeshell v0.1.16 (/opt/rustwide/workdir) [INFO] [stderr] Compiling glib-sys v0.14.0 [INFO] [stderr] Compiling gobject-sys v0.14.0 [INFO] [stderr] Compiling gio-sys v0.14.0 [INFO] [stderr] Compiling cairo-sys-rs v0.14.9 [INFO] [stderr] Compiling pango-sys v0.14.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.14.0 [INFO] [stderr] Compiling atk-sys v0.14.0 [INFO] [stderr] Compiling gdk-sys v0.14.0 [INFO] [stderr] Compiling gtk-sys v0.14.0 [INFO] [stderr] Checking glib v0.14.8 [INFO] [stderr] Checking cairo-rs v0.14.9 [INFO] [stderr] Checking pango v0.14.8 [INFO] [stderr] Checking atk v0.14.0 [INFO] [stderr] Checking gdk-pixbuf v0.14.0 [INFO] [stderr] Checking gdk v0.14.3 [INFO] [stdout] warning: unexpected `cfg` condition name: `flutter_profile` [INFO] [stdout] --> src/shell/observatory.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg(any(flutter_profile, debug_assertions))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(flutter_profile)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(flutter_profile)");` to the top of the `build.rs` [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: unused import: `macros::*` [INFO] [stdout] --> src/shell/mod.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig` [INFO] [stdout] --> src/util/errno.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | target_os = "bitrig", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `flutter_profile` [INFO] [stdout] --> src/shell/observatory.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg(any(flutter_profile, debug_assertions))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(flutter_profile)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(flutter_profile)");` to the top of the `build.rs` [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: unused import: `macros::*` [INFO] [stdout] --> src/shell/mod.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig` [INFO] [stdout] --> src/util/errno.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | target_os = "bitrig", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::cell::Ref<'_, engine_manager::EngineManager>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codec/method_channel.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 20 | context: ContextRef, [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | &context.engine_manager.borrow(), [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::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codec/sender.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn call_method(&self, method: &str, args: V, reply: F) -> Result<()> [INFO] [stdout] | ---- ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | if let Some(context) = self.context.get() { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codec/sender.rs:154:32 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn send_message(&self, message: &V, reply: F) -> Result<()> [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | if let Some(context) = self.context.get() { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/async_method_call_handler.rs:147:40 [INFO] [stdout] | [INFO] [stdout] 146 | .register_method_handler(channel, move |call, reply, engine| { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | if let Some(context) = context_clone.get() { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/message_manager.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn register_message_handler(&mut self, channel: &str, callback: F) [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | if let Some(context) = self.context.get() { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/message_manager.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn register_method_handler(&mut self, channel: &str, callback: F) [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | if let Some(context) = self.context.get() { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/window.rs:238:32 [INFO] [stdout] | [INFO] [stdout] 234 | fn show_popup_menu(&self, request: PopupMenuRequest, on_done: F) [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | if let Some(context) = self.context.get() { [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 `std::cell::Ref<'_, engine_manager::EngineManager>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codec/method_channel.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 20 | context: ContextRef, [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | &context.engine_manager.borrow(), [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::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/window.rs:474:32 [INFO] [stdout] | [INFO] [stdout] 473 | let weak = self.weak_self.clone_value(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 474 | if let Some(invoker) = self.drop_target_invoker() { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codec/sender.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn call_method(&self, method: &str, args: V, reply: F) -> Result<()> [INFO] [stdout] | ---- ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | if let Some(context) = self.context.get() { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codec/sender.rs:154:32 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn send_message(&self, message: &V, reply: F) -> Result<()> [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | if let Some(context) = self.context.get() { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/window_manager.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 47 | .register_method_handler(channel::win::WINDOW_MANAGER, move |call, reply, engine| { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | if let Some(context) = context_weak.get() { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/window_manager.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 57 | .register_method_handler(channel::win::DRAG_SOURCE, move |call, reply, engine| { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | if let Some(context) = context_weak.get() { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/async_method_call_handler.rs:147:40 [INFO] [stdout] | [INFO] [stdout] 146 | .register_method_handler(channel, move |call, reply, engine| { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | if let Some(context) = context_clone.get() { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/window_method_channel.rs:97:44 [INFO] [stdout] | [INFO] [stdout] 96 | move |message, reply, engine| { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | if let Some(context) = context_weak.get() { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/message_manager.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn register_message_handler(&mut self, channel: &str, callback: F) [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | if let Some(context) = self.context.get() { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/message_manager.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn register_method_handler(&mut self, channel: &str, callback: F) [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | if let Some(context) = self.context.get() { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/window.rs:238:32 [INFO] [stdout] | [INFO] [stdout] 234 | fn show_popup_menu(&self, request: PopupMenuRequest, on_done: F) [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | if let Some(context) = self.context.get() { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/window.rs:474:32 [INFO] [stdout] | [INFO] [stdout] 473 | let weak = self.weak_self.clone_value(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 474 | if let Some(invoker) = self.drop_target_invoker() { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/window_manager.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 47 | .register_method_handler(channel::win::WINDOW_MANAGER, move |call, reply, engine| { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | if let Some(context) = context_weak.get() { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/window_manager.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 57 | .register_method_handler(channel::win::DRAG_SOURCE, move |call, reply, engine| { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | if let Some(context) = context_weak.get() { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/window_method_channel.rs:97:44 [INFO] [stdout] | [INFO] [stdout] 96 | move |message, reply, engine| { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | if let Some(context) = context_weak.get() { [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 `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/platform/linux/drag_context.rs:228:33 [INFO] [stdout] | [INFO] [stdout] 223 | fn with_delegate(&self, callback: F) [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 228 | if let Some(delegate) = win.and_then(|w| w.delegate.upgrade()) { [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 `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/platform/linux/drag_context.rs:404:33 [INFO] [stdout] | [INFO] [stdout] 399 | fn with_delegate(&self, callback: F) [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 404 | if let Some(delegate) = win.and_then(|w| w.delegate.upgrade()) { [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 `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/platform/linux/menu.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 81 | let menu = Self::top_level_menu(menu); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | if let Some(platform_menu) = Self::platform_menu_from_gtk_menu(&menu) { [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 `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/platform/linux/drag_context.rs:228:33 [INFO] [stdout] | [INFO] [stdout] 223 | fn with_delegate(&self, callback: F) [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 228 | if let Some(delegate) = win.and_then(|w| w.delegate.upgrade()) { [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 `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/platform/linux/drag_context.rs:404:33 [INFO] [stdout] | [INFO] [stdout] 399 | fn with_delegate(&self, callback: F) [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 404 | if let Some(delegate) = win.and_then(|w| w.delegate.upgrade()) { [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 `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shell/platform/linux/menu.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 81 | let menu = Self::top_level_menu(menu); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | if let Some(platform_menu) = Self::platform_menu_from_gtk_menu(&menu) { [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/util/capsule.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | unsafe { COUNTER.fetch_add(1, Ordering::SeqCst) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nativeshell` (lib) due to 15 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/util/capsule.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | unsafe { COUNTER.fetch_add(1, Ordering::SeqCst) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nativeshell` (lib test) due to 15 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b1e8f88f4f66b7f0c749e2cf72c9c631db98cda01e99c25621887960d0db5e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1e8f88f4f66b7f0c749e2cf72c9c631db98cda01e99c25621887960d0db5e65", kill_on_drop: false }` [INFO] [stdout] b1e8f88f4f66b7f0c749e2cf72c9c631db98cda01e99c25621887960d0db5e65