[INFO] fetching crate rsbind 0.6.0... [INFO] checking rsbind-0.6.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rsbind 0.6.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate rsbind 0.6.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rsbind 0.6.0 [INFO] finished tweaking crates.io crate rsbind 0.6.0 [INFO] tweaked toml for crates.io crate rsbind 0.6.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate rsbind 0.6.0 already has a lockfile, it will not be regenerated [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] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `syn` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 5cf9d1b269455b3ca4396e7fc41eff467353b5945757a141e73c059f44aa19a3 [INFO] running `Command { std: "docker" "start" "-a" "5cf9d1b269455b3ca4396e7fc41eff467353b5945757a141e73c059f44aa19a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cf9d1b269455b3ca4396e7fc41eff467353b5945757a141e73c059f44aa19a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cf9d1b269455b3ca4396e7fc41eff467353b5945757a141e73c059f44aa19a3", kill_on_drop: false }` [INFO] [stdout] 5cf9d1b269455b3ca4396e7fc41eff467353b5945757a141e73c059f44aa19a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] b92bd2fc5730848bcf0f240f37908823987c48c6eda9b664d3d4b8986ced72d5 [INFO] running `Command { std: "docker" "start" "-a" "b92bd2fc5730848bcf0f240f37908823987c48c6eda9b664d3d4b8986ced72d5", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `syn` dependency) [INFO] [stderr] Compiling libc v0.2.115 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.94 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking dunce v1.0.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking base64ct v1.5.3 [INFO] [stderr] Checking os_str_bytes v6.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling cbindgen v0.24.3 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking which v4.2.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking heck v0.4.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking clap v3.2.23 [INFO] [stderr] Checking fs_extra v1.2.0 [INFO] [stderr] Checking rstgen v0.1.4 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Compiling zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking time v0.3.15 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking digest v0.10.5 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking quick-xml v0.20.0 [INFO] [stderr] Checking quick-xml v0.23.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking ndk-build v0.8.0 [INFO] [stderr] Checking ndk-build v0.4.3 [INFO] [stderr] Checking ndk-tool v0.1.0 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.3 [INFO] [stderr] Checking rsbind v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::ast::types::AstType` [INFO] [stdout] --> src/base/bridge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast::types::AstType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LangImp` and `ModContext` [INFO] [stdout] --> src/java/mod.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::base::lang::{LangGen, LangImp, ModContext}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LangImp` and `ModContext` [INFO] [stdout] --> src/swift/mod.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::base::lang::{LangGen, LangImp, ModContext}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ServiceContext` [INFO] [stdout] --> src/swift/bridge.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ServiceContext, StructContext, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::types::AstType` [INFO] [stdout] --> src/base/bridge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast::types::AstType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LangImp` and `ModContext` [INFO] [stdout] --> src/java/mod.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::base::lang::{LangGen, LangImp, ModContext}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LangImp` and `ModContext` [INFO] [stdout] --> src/swift/mod.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::base::lang::{LangGen, LangImp, ModContext}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ServiceContext` [INFO] [stdout] --> src/swift/bridge.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ServiceContext, StructContext, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/java/bridge.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 529 | let mut return_convert = if let AstType::Void = method.return_type.clone() { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/java/bridge.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 529 | let mut return_convert = if let AstType::Void = method.return_type.clone() { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ndk_stand_alone` is never read [INFO] [stdout] --> src/android/config.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Android { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 16 | pub ndk_stand_alone: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Android` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mod_name` is never read [INFO] [stdout] --> src/ast/imp/desc.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ImpDesc { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 5 | pub mod_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImpDesc` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `quote_common_in_bridge`, `quote_common_in_native`, and `quote_in_common_rs` are never used [INFO] [stdout] --> src/base/lang.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) trait Convertible { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 44 | fn quote_common_in_bridge(&self) -> TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | /// Quote code in native artifact bridge file. [INFO] [stdout] 46 | fn quote_common_in_native(&self) -> Tokens<'static, T>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | /// Quote code in common.rs. [INFO] [stdout] 48 | fn quote_in_common_rs(&self) -> TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mod_name` is never read [INFO] [stdout] --> src/base/lang.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) struct ModContext<'a, Lang, Extra> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | pub mod_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unpack` is never used [INFO] [stdout] --> src/base/process.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) trait BuildProcess { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 4 | fn unpack(&self) -> Result<()>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ndk_stand_alone` is never read [INFO] [stdout] --> src/jar/config.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Jar { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 9 | pub ndk_stand_alone: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Jar` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `origin_prj_path` is never read [INFO] [stdout] --> src/mac/process.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct MacProcess<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 21 | origin_prj_path: &'a Path, [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/ast/types.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (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/ast/types.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] [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] = note: this error originates in the macro `try` (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/cargo.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 21 | let mut f = File::open(manifest_path) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | toml::from_str::(&s).map_err(|x| x.into()) [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] = 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/config.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | let mut f = File::open(&path).expect("open Rsbind.toml failed."); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | f.read_to_string(&mut s).expect("read Rsbind.toml failed."); [INFO] [stdout] 34 | toml::from_str::(&s).ok() [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: field `ndk_stand_alone` is never read [INFO] [stdout] --> src/android/config.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Android { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 16 | pub ndk_stand_alone: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Android` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mod_name` is never read [INFO] [stdout] --> src/ast/imp/desc.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ImpDesc { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 5 | pub mod_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImpDesc` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `quote_common_in_bridge`, `quote_common_in_native`, and `quote_in_common_rs` are never used [INFO] [stdout] --> src/base/lang.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) trait Convertible { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 44 | fn quote_common_in_bridge(&self) -> TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | /// Quote code in native artifact bridge file. [INFO] [stdout] 46 | fn quote_common_in_native(&self) -> Tokens<'static, T>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | /// Quote code in common.rs. [INFO] [stdout] 48 | fn quote_in_common_rs(&self) -> TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mod_name` is never read [INFO] [stdout] --> src/base/lang.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) struct ModContext<'a, Lang, Extra> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | pub mod_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unpack` is never used [INFO] [stdout] --> src/base/process.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) trait BuildProcess { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 4 | fn unpack(&self) -> Result<()>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ndk_stand_alone` is never read [INFO] [stdout] --> src/jar/config.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Jar { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 9 | pub ndk_stand_alone: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Jar` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `origin_prj_path` is never read [INFO] [stdout] --> src/mac/process.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct MacProcess<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 21 | origin_prj_path: &'a Path, [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/java/callback.rs:37:41 [INFO] [stdout] | [INFO] [stdout] 19 | let mut interface = Interface::new(self.desc.name.clone()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | to_java_file(self.pkg.as_ref(), interface.into_tokens()) [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/java/callback.rs:176:41 [INFO] [stdout] | [INFO] [stdout] 51 | let mut inner_class = Class::new(inner_class_name.clone()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | let mut method = java::Method::new("pushGlobalCallback"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let mut free_cb_method = java::Method::new("j2rFreeCallback"); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | let mut class = java::Class::new(class_name); [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 filed = java::Field::new(java::LONG, "index"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | let mut constructor = java::Constructor::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | let mut finalize_method = Method::new("finalize"); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | let _ = finalize_method.throws.insert(toks!("Throwable")); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | to_java_file(self.pkg.as_ref(), inner_class.into_tokens()) [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/java/converter.rs:98:48 [INFO] [stdout] | [INFO] [stdout] 98 | self.handle(|c| c.rust_to_transferable(origin.clone(), direction.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/java/converter.rs:102:48 [INFO] [stdout] | [INFO] [stdout] 102 | self.handle(|c| c.transferable_to_rust(origin.clone(), direction.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/java/interface.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 18 | let mut interface = Interface::new(self.desc.name.clone()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | to_java_file(self.pkg.as_ref(), interface.into_tokens()) [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/java/internal.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 25 | let mut inner_class = Class::new(inner_class_name); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | to_java_file(self.pkg.as_ref(), inner_class.into_tokens()) [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/java/manager.rs:37:41 [INFO] [stdout] | [INFO] [stdout] 17 | let mut class = Class::new("RustLib"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | to_java_file(self.pkg.as_ref(), class.into_tokens()) [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/java/struct_.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 15 | let mut class = Class::new(self.desc.name.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | to_java_file(self.pkg.as_ref(), class.into_tokens()) [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/java/wrapper.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 19 | let mut outer_class = Class::new(outer_class_name); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | let mut constructor = Constructor::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | to_java_file(self.pkg.as_ref(), outer_class.into_tokens()) [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/swift/mod.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut generator = FilesGenerator::, ()>::default(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let old_arg_convert = generator [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | / BaseBridgeGen { [INFO] [stdout] 89 | | lang_name: "swift".to_string(), [INFO] [stdout] 90 | | ast: &self.ast, [INFO] [stdout] 91 | | bridge_dir: path, [INFO] [stdout] ... | [INFO] [stdout] 95 | | generator, [INFO] [stdout] 96 | | } [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/ast/types.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (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/ast/types.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] [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] = note: this error originates in the macro `try` (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/swift/callback.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 17 | let mut protocol = Protocol::new(self.desc.name.clone()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | to_swift_file(protocol.into_tokens()) [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/cargo.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 21 | let mut f = File::open(manifest_path) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | toml::from_str::(&s).map_err(|x| x.into()) [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] = 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/swift/converter.rs:106:48 [INFO] [stdout] | [INFO] [stdout] 106 | self.handle(|c| c.rust_to_transferable(origin.clone(), direction.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/config.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | let mut f = File::open(&path).expect("open Rsbind.toml failed."); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | f.read_to_string(&mut s).expect("read Rsbind.toml failed."); [INFO] [stdout] 34 | toml::from_str::(&s).ok() [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/swift/converter.rs:110:48 [INFO] [stdout] | [INFO] [stdout] 110 | self.handle(|c| c.transferable_to_rust(origin.clone(), direction.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/swift/manager.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 14 | let mut class = Class::new("RustLib"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | to_swift_file(class.into_tokens()) [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/swift/struct_.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 16 | let mut struct_ = swift::Struct::new(self.desc.name.clone()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | let mut constructor1 = Constructor::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | to_swift_file(struct_.into_tokens()) [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/swift/types.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 22 | fn to_swift_array(&self, swift: Swift<'static>) -> Swift<'static> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Swift::Array { [INFO] [stdout] 24 | inner: Box::new(swift), [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/java/callback.rs:37:41 [INFO] [stdout] | [INFO] [stdout] 19 | let mut interface = Interface::new(self.desc.name.clone()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | to_java_file(self.pkg.as_ref(), interface.into_tokens()) [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/swift/wrapper.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 20 | let mut class = Class::new(wrapper_cls); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | let mut constructor = Constructor::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | to_swift_file(class.into_tokens()) [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/java/callback.rs:176:41 [INFO] [stdout] | [INFO] [stdout] 51 | let mut inner_class = Class::new(inner_class_name.clone()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | let mut method = java::Method::new("pushGlobalCallback"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let mut free_cb_method = java::Method::new("j2rFreeCallback"); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | let mut class = java::Class::new(class_name); [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 filed = java::Field::new(java::LONG, "index"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | let mut constructor = java::Constructor::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | let mut finalize_method = Method::new("finalize"); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | let _ = finalize_method.throws.insert(toks!("Throwable")); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | to_java_file(self.pkg.as_ref(), inner_class.into_tokens()) [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/java/converter.rs:98:48 [INFO] [stdout] | [INFO] [stdout] 98 | self.handle(|c| c.rust_to_transferable(origin.clone(), direction.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/java/converter.rs:102:48 [INFO] [stdout] | [INFO] [stdout] 102 | self.handle(|c| c.transferable_to_rust(origin.clone(), direction.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/java/interface.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 18 | let mut interface = Interface::new(self.desc.name.clone()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | to_java_file(self.pkg.as_ref(), interface.into_tokens()) [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/java/internal.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 25 | let mut inner_class = Class::new(inner_class_name); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | to_java_file(self.pkg.as_ref(), inner_class.into_tokens()) [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/java/manager.rs:37:41 [INFO] [stdout] | [INFO] [stdout] 17 | let mut class = Class::new("RustLib"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | to_java_file(self.pkg.as_ref(), class.into_tokens()) [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/java/struct_.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 15 | let mut class = Class::new(self.desc.name.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | to_java_file(self.pkg.as_ref(), class.into_tokens()) [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/java/wrapper.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 19 | let mut outer_class = Class::new(outer_class_name); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | let mut constructor = Constructor::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | to_java_file(self.pkg.as_ref(), outer_class.into_tokens()) [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/swift/mod.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut generator = FilesGenerator::, ()>::default(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let old_arg_convert = generator [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | / BaseBridgeGen { [INFO] [stdout] 89 | | lang_name: "swift".to_string(), [INFO] [stdout] 90 | | ast: &self.ast, [INFO] [stdout] 91 | | bridge_dir: path, [INFO] [stdout] ... | [INFO] [stdout] 95 | | generator, [INFO] [stdout] 96 | | } [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/swift/callback.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 17 | let mut protocol = Protocol::new(self.desc.name.clone()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | to_swift_file(protocol.into_tokens()) [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/swift/converter.rs:106:48 [INFO] [stdout] | [INFO] [stdout] 106 | self.handle(|c| c.rust_to_transferable(origin.clone(), direction.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/swift/converter.rs:110:48 [INFO] [stdout] | [INFO] [stdout] 110 | self.handle(|c| c.transferable_to_rust(origin.clone(), direction.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/swift/manager.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 14 | let mut class = Class::new("RustLib"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | to_swift_file(class.into_tokens()) [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/swift/struct_.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 16 | let mut struct_ = swift::Struct::new(self.desc.name.clone()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | let mut constructor1 = Constructor::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | to_swift_file(struct_.into_tokens()) [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/swift/types.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 22 | fn to_swift_array(&self, swift: Swift<'static>) -> Swift<'static> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Swift::Array { [INFO] [stdout] 24 | inner: Box::new(swift), [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/swift/wrapper.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 20 | let mut class = Class::new(wrapper_cls); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | let mut constructor = Constructor::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | to_swift_file(class.into_tokens()) [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 21 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rsbind` (lib) due to 22 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 21 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rsbind` (lib test) due to 22 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b92bd2fc5730848bcf0f240f37908823987c48c6eda9b664d3d4b8986ced72d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b92bd2fc5730848bcf0f240f37908823987c48c6eda9b664d3d4b8986ced72d5", kill_on_drop: false }` [INFO] [stdout] b92bd2fc5730848bcf0f240f37908823987c48c6eda9b664d3d4b8986ced72d5