[INFO] fetching crate rusty-bind-parser 0.3.7... [INFO] checking rusty-bind-parser-0.3.7 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rusty-bind-parser 0.3.7 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate rusty-bind-parser 0.3.7 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 rusty-bind-parser 0.3.7 [INFO] finished tweaking crates.io crate rusty-bind-parser 0.3.7 [INFO] tweaked toml for crates.io crate rusty-bind-parser 0.3.7 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding cfg-expr v0.15.8 (latest: v0.16.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding yansi v0.5.1 (latest: v1.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 16a727f8d15238177359a723b446d4e2c1575eaec36202360155c321c40d360f [INFO] running `Command { std: "docker" "start" "-a" "16a727f8d15238177359a723b446d4e2c1575eaec36202360155c321c40d360f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16a727f8d15238177359a723b446d4e2c1575eaec36202360155c321c40d360f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16a727f8d15238177359a723b446d4e2c1575eaec36202360155c321c40d360f", kill_on_drop: false }` [INFO] [stdout] 16a727f8d15238177359a723b446d4e2c1575eaec36202360155c321c40d360f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8c3c1e6e247837c8dad0a009d1e946cb50fe5046075178129513f84853e0bb33 [INFO] running `Command { std: "docker" "start" "-a" "8c3c1e6e247837c8dad0a009d1e946cb50fe5046075178129513f84853e0bb33", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking cfg-expr v0.15.8 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking const_format v0.2.32 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking rusty-bind-parser v0.3.7 (/opt/rustwide/workdir) [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/binding_module.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 321 | let wrapper_ident = variant_wrapper_ident(enum_ident, &variant.ident); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | let struct_tokens = quote! {#[derive(Clone)] pub struct #wrapper_ident(#enum_ident);}; [INFO] [stdout] | ------------- ----------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | 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] 323 | / get_fields(variant) [INFO] [stdout] 324 | | .map(|fields| { [INFO] [stdout] 325 | | if fields.len() > 1 { [INFO] [stdout] 326 | | let field_getters = [INFO] [stdout] ... | [INFO] [stdout] 340 | | } [INFO] [stdout] 341 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cpp/enums.rs:110:62 [INFO] [stdout] | [INFO] [stdout] 108 | .map(|ft| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | ( [INFO] [stdout] 110 | FunctionTranslator::generate_declaration(ft.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/cpp/enums.rs:140:66 [INFO] [stdout] | [INFO] [stdout] 138 | .map(|ft| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | ( [INFO] [stdout] 140 | FunctionTranslator::generate_declaration(ft.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/cpp/templates.rs:592:5 [INFO] [stdout] | [INFO] [stdout] 588 | custom_methods: impl Iterator, [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 592 | / custom_methods [INFO] [stdout] 593 | | .map(|fun| { [INFO] [stdout] 594 | | let return_type = fun [INFO] [stdout] 595 | | .return_type [INFO] [stdout] ... | [INFO] [stdout] 616 | | ) [INFO] [stdout] 617 | | }) [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/cpp/wasm_generator.rs:123:50 [INFO] [stdout] | [INFO] [stdout] 123 | .map(|v| create_variant_object_value(v, &variant_wrapper_ident(enum_name, &v.ident))) [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/cpp/wasm_generator.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | fn field_getters(fields: &Punctuated, struct_name: impl Display) -> String { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | / fields [INFO] [stdout] 146 | | .iter() [INFO] [stdout] 147 | | .enumerate() [INFO] [stdout] 148 | | .map(|(idx, field)| { [INFO] [stdout] ... | [INFO] [stdout] 155 | | format!(" .function(\"get_{field_name}\", &{struct_name}::get_{field_name})") [INFO] [stdout] 156 | | }) [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/enum_helpers.rs:73:51 [INFO] [stdout] | [INFO] [stdout] 73 | enum_item.variants.iter().all(|v| v.fields == Fields::Unit) [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/enum_helpers.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 94 | let variant_wrapper_name = variant_wrapper_ident(&enum_item.ident, &variant.ident); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | let return_type: Ident = syn::parse_str(&field_type(field).unwrap_type()).unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | return_type: Some(WrapperType { [INFO] [stdout] | ______________________^ [INFO] [stdout] 108 | | original_type_name: parse_quote! {#return_type}, [INFO] [stdout] 109 | | wrapper_name: return_type.to_string(), [INFO] [stdout] 110 | | rust_type: if is_primitive_field(field) { [INFO] [stdout] ... | [INFO] [stdout] 116 | | impl_traits: vec![], [INFO] [stdout] 117 | | }), [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/enum_helpers.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 94 | let variant_wrapper_name = variant_wrapper_ident(&enum_item.ident, &variant.ident); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | let return_type: Ident = syn::parse_str(&field_type(field).unwrap_type()).unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | name: field_getter_ident(field, field_idx).to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/enum_helpers.rs:164:20 [INFO] [stdout] | [INFO] [stdout] 160 | let wrapper_name = variant_wrapper_ident(&enum_item.ident, &variant.ident); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | rust_type: RustWrapperType::Custom, [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/extern_functions_utils.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 227 | functions: impl Iterator, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | / functions [INFO] [stdout] 231 | | .map(|function| { [INFO] [stdout] 232 | | let args = function.arguments.iter().map(|arg| { [INFO] [stdout] 233 | | let arg_name = Ident::new(&arg.arg_name, Span::call_site()); [INFO] [stdout] ... | [INFO] [stdout] 254 | | parse_quote! ( fn #function_name ( #(#args),* ) -> #return_type #body ) [INFO] [stdout] 255 | | }) [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/extern_functions_utils.rs:275:20 [INFO] [stdout] | [INFO] [stdout] 263 | let block = prepare_extern_function_body(function, None); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | let return_type = extern_function_return_type(function); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 265 | let function_name = &function.name; [INFO] [stdout] 266 | let signature = prepare_extern_function_signature(function); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 267 | let (extern_function_name, tokens) = prepare_extern_function_tokens( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 275 | arguments: function [INFO] [stdout] | ____________________^ [INFO] [stdout] 276 | | .arguments [INFO] [stdout] 277 | | .iter() [INFO] [stdout] 278 | | .map(|arg| arg.typ.clone()) [INFO] [stdout] 279 | | .collect(), [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/extern_functions_utils.rs:280:22 [INFO] [stdout] | [INFO] [stdout] 263 | let block = prepare_extern_function_body(function, None); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | let return_type = extern_function_return_type(function); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 265 | let function_name = &function.name; [INFO] [stdout] 266 | let signature = prepare_extern_function_signature(function); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 267 | let (extern_function_name, tokens) = prepare_extern_function_tokens( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | return_type: function.return_type.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extern_functions_utils.rs:305:20 [INFO] [stdout] | [INFO] [stdout] 290 | let receiver = Ident::new("_self", Span::call_site()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 291 | let arg_name = Ident::new(class_name, Span::call_site()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | let block = prepare_extern_function_body(function, None); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 293 | let return_type = extern_function_return_type(function); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | let signature = parse_quote! { #receiver: *const #arg_name }; [INFO] [stdout] | --------- -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | let (extern_function_name, tokens) = prepare_extern_function_tokens( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 305 | arguments: function [INFO] [stdout] | ____________________^ [INFO] [stdout] 306 | | .arguments [INFO] [stdout] 307 | | .iter() [INFO] [stdout] 308 | | .map(|arg| arg.typ.clone()) [INFO] [stdout] 309 | | .collect(), [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/extern_functions_utils.rs:310:22 [INFO] [stdout] | [INFO] [stdout] 290 | let receiver = Ident::new("_self", Span::call_site()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 291 | let arg_name = Ident::new(class_name, Span::call_site()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | let block = prepare_extern_function_body(function, None); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 293 | let return_type = extern_function_return_type(function); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | let signature = parse_quote! { #receiver: *const #arg_name }; [INFO] [stdout] | --------- -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | let (extern_function_name, tokens) = prepare_extern_function_tokens( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 310 | return_type: function.return_type.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extern_functions_utils.rs:332:20 [INFO] [stdout] | [INFO] [stdout] 317 | wrapper: WrapperType, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 320 | let block = prepare_extern_function_body(function, Some(wrapper.original_type_name)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | let return_type = extern_function_return_type(function); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | let function_name = &function.name; [INFO] [stdout] 323 | let signature = prepare_extern_function_signature(function); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 324 | let (extern_function_name, tokens) = prepare_extern_function_tokens( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 332 | arguments: function [INFO] [stdout] | ____________________^ [INFO] [stdout] 333 | | .arguments [INFO] [stdout] 334 | | .iter() [INFO] [stdout] 335 | | .map(|arg| arg.typ.clone()) [INFO] [stdout] 336 | | .collect(), [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/extern_functions_utils.rs:337:22 [INFO] [stdout] | [INFO] [stdout] 317 | wrapper: WrapperType, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 320 | let block = prepare_extern_function_body(function, Some(wrapper.original_type_name)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | let return_type = extern_function_return_type(function); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | let function_name = &function.name; [INFO] [stdout] 323 | let signature = prepare_extern_function_signature(function); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 324 | let (extern_function_name, tokens) = prepare_extern_function_tokens( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 337 | return_type: function.return_type.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extern_functions_utils.rs:356:22 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn create_clone_extern_function(wrapper: WrapperType) -> ExternFunction { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 344 | let block = parse_quote!({ unsafe { Box::into_raw(Box::new((*_self).clone())) } }); [INFO] [stdout] | ----- ---------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 345 | let original_type_name = &wrapper.original_type_name; [INFO] [stdout] 346 | let signature: Punctuated = parse_quote! { _self: *mut #original_type_name }; [INFO] [stdout] | --------- ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 347 | let (extern_function_name, tokens) = prepare_extern_function_tokens( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 348 | block, [INFO] [stdout] 349 | Some(parse_quote! { *mut #original_type_name }), [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 356 | return_type: Some(WrapperType { [INFO] [stdout] | ______________________^ [INFO] [stdout] 357 | | original_type_name: parse_quote! { *mut #original_type_name }, [INFO] [stdout] 358 | | wrapper_name: wrapper.wrapper_name, [INFO] [stdout] 359 | | rust_type: RustWrapperType::Custom, [INFO] [stdout] 360 | | reference_parameters: None, [INFO] [stdout] 361 | | impl_traits: vec![], [INFO] [stdout] 362 | | }), [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/extern_functions_utils.rs:388:22 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn create_from_c_str_extern_function(wrapper: WrapperType) -> ExternFunction { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 369 | let block = parse_quote!({ [INFO] [stdout] | _________-----___- [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 370 | | unsafe { [INFO] [stdout] 371 | | Box::into_raw(Box::new( [INFO] [stdout] 372 | | std::ffi::CStr::from_ptr(_self).to_str().unwrap().to_owned(), [INFO] [stdout] 373 | | )) [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |______| [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 376 | let original_type_name = &wrapper.original_type_name; [INFO] [stdout] 377 | | let signature: Punctuated = [INFO] [stdout] | | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 378 | | parse_quote! { _self: *const std::os::raw::c_char }; [INFO] [stdout] | | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 379 | | let (extern_function_name, tokens) = prepare_extern_function_tokens( [INFO] [stdout] | | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 380 | | block, [INFO] [stdout] 381 | | Some(parse_quote! { *mut #original_type_name }), [INFO] [stdout] | | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 388 | return_type: Some(WrapperType { [INFO] [stdout] | ______________________^ [INFO] [stdout] 389 | original_type_name: parse_quote! { *mut String }, [INFO] [stdout] 390 | wrapper_name: wrapper.wrapper_name, [INFO] [stdout] 391 | rust_type: RustWrapperType::String, [INFO] [stdout] 392 | reference_parameters: None, [INFO] [stdout] 393 | impl_traits: vec![], [INFO] [stdout] 394 | | }), [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/binding_module.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 321 | let wrapper_ident = variant_wrapper_ident(enum_ident, &variant.ident); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | let struct_tokens = quote! {#[derive(Clone)] pub struct #wrapper_ident(#enum_ident);}; [INFO] [stdout] | ------------- ----------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | 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] 323 | / get_fields(variant) [INFO] [stdout] 324 | | .map(|fields| { [INFO] [stdout] 325 | | if fields.len() > 1 { [INFO] [stdout] 326 | | let field_getters = [INFO] [stdout] ... | [INFO] [stdout] 340 | | } [INFO] [stdout] 341 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extern_functions_utils.rs:415:22 [INFO] [stdout] | [INFO] [stdout] 400 | pub fn create_drop_extern_function(wrapper: WrapperType) -> ExternFunction { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 401 | let block = parse_quote!({ [INFO] [stdout] | _________-----___- [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 402 | | unsafe { [INFO] [stdout] 403 | | #[allow(unused_must_use)] [INFO] [stdout] 404 | | { [INFO] [stdout] ... | [INFO] [stdout] 407 | | } [INFO] [stdout] 408 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |______| [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 409 | let original_type_name = &wrapper.original_type_name; [INFO] [stdout] 410 | | let signature: Punctuated = parse_quote! { _self: *mut #original_type_name }; [INFO] [stdout] | | --------- ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 411 | | let (extern_function_name, tokens) = [INFO] [stdout] | | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 415 | | return_type: None, [INFO] [stdout] | | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cpp/enums.rs:110:62 [INFO] [stdout] | [INFO] [stdout] 108 | .map(|ft| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | ( [INFO] [stdout] 110 | FunctionTranslator::generate_declaration(ft.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/cpp/enums.rs:140:66 [INFO] [stdout] | [INFO] [stdout] 138 | .map(|ft| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | ( [INFO] [stdout] 140 | FunctionTranslator::generate_declaration(ft.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/cpp/templates.rs:592:5 [INFO] [stdout] | [INFO] [stdout] 588 | custom_methods: impl Iterator, [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 592 | / custom_methods [INFO] [stdout] 593 | | .map(|fun| { [INFO] [stdout] 594 | | let return_type = fun [INFO] [stdout] 595 | | .return_type [INFO] [stdout] ... | [INFO] [stdout] 616 | | ) [INFO] [stdout] 617 | | }) [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/extern_functions_utils.rs:450:22 [INFO] [stdout] | [INFO] [stdout] 422 | wrapper: WrapperType, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 423 | inner_type: WrapperType, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 426 | let block = parse_quote!({ [INFO] [stdout] | _________-----___- [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 427 | | unsafe { Box::into_raw(Box::new(unsafe { (&*_self).get(index).cloned() })) } [INFO] [stdout] 428 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |______| [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______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] 429 | let original_type_name = &wrapper.original_type_name; [INFO] [stdout] 430 | | let signature: Punctuated = [INFO] [stdout] | | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 431 | | parse_quote! { _self: *mut #original_type_name, index: usize }; [INFO] [stdout] | | -------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 432 | | let (extern_function_name, tokens) = prepare_extern_function_tokens( [INFO] [stdout] | | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 433 | | block, [INFO] [stdout] 434 | | Some(parse_quote! { *mut Option<#inner_type_original> }), [INFO] [stdout] | | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 450 | return_type: Some(WrapperType { [INFO] [stdout] | ______________________^ [INFO] [stdout] 451 | original_type_name: parse_quote! { *mut Option<#inner_type_original> }, [INFO] [stdout] 452 | wrapper_name: format!("Optional{}", inner_type.wrapper_name), [INFO] [stdout] 453 | rust_type: RustWrapperType::Option(inner_type.boxed()), [INFO] [stdout] 454 | reference_parameters: None, [INFO] [stdout] 455 | impl_traits: vec![], [INFO] [stdout] 456 | | }), [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/cpp/wasm_generator.rs:123:50 [INFO] [stdout] | [INFO] [stdout] 123 | .map(|v| create_variant_object_value(v, &variant_wrapper_ident(enum_name, &v.ident))) [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/cpp/wasm_generator.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | fn field_getters(fields: &Punctuated, struct_name: impl Display) -> String { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | / fields [INFO] [stdout] 146 | | .iter() [INFO] [stdout] 147 | | .enumerate() [INFO] [stdout] 148 | | .map(|(idx, field)| { [INFO] [stdout] ... | [INFO] [stdout] 155 | | format!(" .function(\"get_{field_name}\", &{struct_name}::get_{field_name})") [INFO] [stdout] 156 | | }) [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/enum_helpers.rs:73:51 [INFO] [stdout] | [INFO] [stdout] 73 | enum_item.variants.iter().all(|v| v.fields == Fields::Unit) [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/enum_helpers.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 94 | let variant_wrapper_name = variant_wrapper_ident(&enum_item.ident, &variant.ident); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | let return_type: Ident = syn::parse_str(&field_type(field).unwrap_type()).unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | return_type: Some(WrapperType { [INFO] [stdout] | ______________________^ [INFO] [stdout] 108 | | original_type_name: parse_quote! {#return_type}, [INFO] [stdout] 109 | | wrapper_name: return_type.to_string(), [INFO] [stdout] 110 | | rust_type: if is_primitive_field(field) { [INFO] [stdout] ... | [INFO] [stdout] 116 | | impl_traits: vec![], [INFO] [stdout] 117 | | }), [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/enum_helpers.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 94 | let variant_wrapper_name = variant_wrapper_ident(&enum_item.ident, &variant.ident); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | let return_type: Ident = syn::parse_str(&field_type(field).unwrap_type()).unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | name: field_getter_ident(field, field_idx).to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/enum_helpers.rs:164:20 [INFO] [stdout] | [INFO] [stdout] 160 | let wrapper_name = variant_wrapper_ident(&enum_item.ident, &variant.ident); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | rust_type: RustWrapperType::Custom, [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/extern_functions_utils.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 227 | functions: impl Iterator, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | / functions [INFO] [stdout] 231 | | .map(|function| { [INFO] [stdout] 232 | | let args = function.arguments.iter().map(|arg| { [INFO] [stdout] 233 | | let arg_name = Ident::new(&arg.arg_name, Span::call_site()); [INFO] [stdout] ... | [INFO] [stdout] 254 | | parse_quote! ( fn #function_name ( #(#args),* ) -> #return_type #body ) [INFO] [stdout] 255 | | }) [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/extern_functions_utils.rs:470:20 [INFO] [stdout] | [INFO] [stdout] 463 | let block = prepare_extern_function_body(function, None); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 464 | let return_type = extern_function_return_type(function); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 465 | let function_name = &function.name; [INFO] [stdout] 466 | let signature = prepare_extern_function_signature(function); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 467 | let (extern_function_name, tokens) = [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 470 | arguments: function [INFO] [stdout] | ____________________^ [INFO] [stdout] 471 | | .arguments [INFO] [stdout] 472 | | .iter() [INFO] [stdout] 473 | | .map(|arg| arg.typ.clone()) [INFO] [stdout] 474 | | .collect(), [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/extern_functions_utils.rs:475:22 [INFO] [stdout] | [INFO] [stdout] 463 | let block = prepare_extern_function_body(function, None); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 464 | let return_type = extern_function_return_type(function); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 465 | let function_name = &function.name; [INFO] [stdout] 466 | let signature = prepare_extern_function_signature(function); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 467 | let (extern_function_name, tokens) = [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 475 | return_type: function.return_type.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extern_functions_utils.rs:275:20 [INFO] [stdout] | [INFO] [stdout] 263 | let block = prepare_extern_function_body(function, None); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | let return_type = extern_function_return_type(function); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 265 | let function_name = &function.name; [INFO] [stdout] 266 | let signature = prepare_extern_function_signature(function); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 267 | let (extern_function_name, tokens) = prepare_extern_function_tokens( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 275 | arguments: function [INFO] [stdout] | ____________________^ [INFO] [stdout] 276 | | .arguments [INFO] [stdout] 277 | | .iter() [INFO] [stdout] 278 | | .map(|arg| arg.typ.clone()) [INFO] [stdout] 279 | | .collect(), [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/extern_module_translator.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(shared_enums: HashSet) -> Self { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | let mut rust_types_wrappers = OrderedHashSet::default(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | exception_names: Default::default(), [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/extern_module_translator.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(shared_enums: HashSet) -> Self { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | let mut rust_types_wrappers = OrderedHashSet::default(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | user_custom_types: Default::default(), [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/extern_module_translator.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(shared_enums: HashSet) -> Self { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | let mut rust_types_wrappers = OrderedHashSet::default(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | user_traits: Default::default(), [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/extern_functions_utils.rs:280:22 [INFO] [stdout] | [INFO] [stdout] 263 | let block = prepare_extern_function_body(function, None); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | let return_type = extern_function_return_type(function); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 265 | let function_name = &function.name; [INFO] [stdout] 266 | let signature = prepare_extern_function_signature(function); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 267 | let (extern_function_name, tokens) = prepare_extern_function_tokens( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | return_type: function.return_type.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extern_module_translator.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(shared_enums: HashSet) -> Self { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | let mut rust_types_wrappers = OrderedHashSet::default(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | global_functions: Default::default(), [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/extern_module_translator.rs:90:38 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(shared_enums: HashSet) -> Self { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | let mut rust_types_wrappers = OrderedHashSet::default(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | exception_trait_methods: Default::default(), [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/extern_functions_utils.rs:305:20 [INFO] [stdout] | [INFO] [stdout] 290 | let receiver = Ident::new("_self", Span::call_site()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 291 | let arg_name = Ident::new(class_name, Span::call_site()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | let block = prepare_extern_function_body(function, None); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 293 | let return_type = extern_function_return_type(function); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | let signature = parse_quote! { #receiver: *const #arg_name }; [INFO] [stdout] | --------- -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | let (extern_function_name, tokens) = prepare_extern_function_tokens( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 305 | arguments: function [INFO] [stdout] | ____________________^ [INFO] [stdout] 306 | | .arguments [INFO] [stdout] 307 | | .iter() [INFO] [stdout] 308 | | .map(|arg| arg.typ.clone()) [INFO] [stdout] 309 | | .collect(), [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/extern_module_translator.rs:81:62 [INFO] [stdout] | [INFO] [stdout] 81 | .for_each(|enum_item| rust_types_wrappers.insert(parse_enum_wrapper(enum_item))); [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/extern_module_translator.rs:403:12 [INFO] [stdout] | [INFO] [stdout] 345 | let mut arguments = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 346 | let mut associated_structure = None; [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 401 | let return_type = self.translate_return_type(function)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 402 | let function_name = function.sig.ident.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 403 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 404 | | associated_structure, [INFO] [stdout] 405 | | Function { [INFO] [stdout] 406 | | arguments, [INFO] [stdout] ... | [INFO] [stdout] 409 | | }, [INFO] [stdout] 410 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extern_functions_utils.rs:310:22 [INFO] [stdout] | [INFO] [stdout] 290 | let receiver = Ident::new("_self", Span::call_site()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 291 | let arg_name = Ident::new(class_name, Span::call_site()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | let block = prepare_extern_function_body(function, None); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 293 | let return_type = extern_function_return_type(function); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | let signature = parse_quote! { #receiver: *const #arg_name }; [INFO] [stdout] | --------- -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | let (extern_function_name, tokens) = prepare_extern_function_tokens( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 310 | return_type: function.return_type.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extern_functions_utils.rs:332:20 [INFO] [stdout] | [INFO] [stdout] 317 | wrapper: WrapperType, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 320 | let block = prepare_extern_function_body(function, Some(wrapper.original_type_name)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | let return_type = extern_function_return_type(function); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | let function_name = &function.name; [INFO] [stdout] 323 | let signature = prepare_extern_function_signature(function); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 324 | let (extern_function_name, tokens) = prepare_extern_function_tokens( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 332 | arguments: function [INFO] [stdout] | ____________________^ [INFO] [stdout] 333 | | .arguments [INFO] [stdout] 334 | | .iter() [INFO] [stdout] 335 | | .map(|arg| arg.typ.clone()) [INFO] [stdout] 336 | | .collect(), [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/extern_module_translator.rs:707:9 [INFO] [stdout] | [INFO] [stdout] 704 | original_type: Type, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 707 | ExternModuleTranslator::get_inner_generic_types(path_segment).and_then(|generic_types| { [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/extern_module_translator.rs:707:80 [INFO] [stdout] | [INFO] [stdout] 704 | original_type: Type, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 707 | ExternModuleTranslator::get_inner_generic_types(path_segment).and_then(|generic_types| { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 708 | | let ok_type = self.parse_and_register_rust_type( [INFO] [stdout] 709 | | generic_types [INFO] [stdout] 710 | | .get(0) [INFO] [stdout] ... | [INFO] [stdout] 727 | | }) [INFO] [stdout] 728 | | }) [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/extern_functions_utils.rs:337:22 [INFO] [stdout] | [INFO] [stdout] 317 | wrapper: WrapperType, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 320 | let block = prepare_extern_function_body(function, Some(wrapper.original_type_name)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | let return_type = extern_function_return_type(function); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | let function_name = &function.name; [INFO] [stdout] 323 | let signature = prepare_extern_function_signature(function); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 324 | let (extern_function_name, tokens) = prepare_extern_function_tokens( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 337 | return_type: function.return_type.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extern_module_translator.rs:718:16 [INFO] [stdout] | [INFO] [stdout] 704 | original_type: Type, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 708 | let ok_type = self.parse_and_register_rust_type( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 713 | let exceptions_type = self.parse_rust_exceptions_type( [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 718 | Ok(WrapperType { [INFO] [stdout] | ________________^ [INFO] [stdout] 719 | | original_type_name: original_type, [INFO] [stdout] 720 | | wrapper_name: format!( [INFO] [stdout] 721 | | "{}ResultWith{}", [INFO] [stdout] ... | [INFO] [stdout] 726 | | impl_traits: vec![], [INFO] [stdout] 727 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [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/extern_module_translator.rs:736:9 [INFO] [stdout] | [INFO] [stdout] 733 | original_type: Type, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 736 | / ExternModuleTranslator::get_inner_generic_type(path_segment) [INFO] [stdout] 737 | | .and_then(|inner_path| self.parse_and_register_rust_type(inner_path)) [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/extern_module_translator.rs:738:18 [INFO] [stdout] | [INFO] [stdout] 733 | original_type: Type, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 738 | .map(|inner_type_name| WrapperType { [INFO] [stdout] | __________________^ [INFO] [stdout] 739 | | original_type_name: original_type, [INFO] [stdout] 740 | | wrapper_name: format!("Optional{}", &inner_type_name.wrapper_name), [INFO] [stdout] 741 | | rust_type: RustWrapperType::Option(inner_type_name.boxed()), [INFO] [stdout] 742 | | reference_parameters: None, [INFO] [stdout] 743 | | impl_traits: vec![], [INFO] [stdout] 744 | | }) [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/extern_module_translator.rs:741:28 [INFO] [stdout] | [INFO] [stdout] 733 | original_type: Type, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 738 | .map(|inner_type_name| WrapperType { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 741 | rust_type: RustWrapperType::Option(inner_type_name.boxed()), [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/extern_module_translator.rs:762:9 [INFO] [stdout] | [INFO] [stdout] 759 | original_type: Type, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 762 | / ExternModuleTranslator::get_inner_generic_type(path_segment) [INFO] [stdout] 763 | | .and_then(|inner_path| self.parse_and_register_rust_type(inner_path)) [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/extern_module_translator.rs:764:18 [INFO] [stdout] | [INFO] [stdout] 759 | original_type: Type, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 764 | .map(|inner_type_name| WrapperType { [INFO] [stdout] | __________________^ [INFO] [stdout] 765 | | original_type_name: original_type, [INFO] [stdout] 766 | | wrapper_name: format!("Vec{}", &inner_type_name.wrapper_name), [INFO] [stdout] 767 | | rust_type: RustWrapperType::Vector(inner_type_name.boxed()), [INFO] [stdout] 768 | | reference_parameters: None, [INFO] [stdout] 769 | | impl_traits: vec![], [INFO] [stdout] 770 | | }) [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/extern_module_translator.rs:767:28 [INFO] [stdout] | [INFO] [stdout] 759 | original_type: Type, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 764 | .map(|inner_type_name| WrapperType { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 767 | rust_type: RustWrapperType::Vector(inner_type_name.boxed()), [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/extern_module_translator.rs:784:5 [INFO] [stdout] | [INFO] [stdout] 781 | original_type: Type, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 784 | ExternModuleTranslator::get_inner_generic_type(path_segment).map(|inner_path| { [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/extern_module_translator.rs:784:70 [INFO] [stdout] | [INFO] [stdout] 781 | original_type: Type, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 784 | ExternModuleTranslator::get_inner_generic_type(path_segment).map(|inner_path| { [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 785 | | let generated_inner_type_name = inner_path [INFO] [stdout] 786 | | .to_token_stream() [INFO] [stdout] 787 | | .to_string() [INFO] [stdout] ... | [INFO] [stdout] 800 | | } [INFO] [stdout] 801 | | }) [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/extern_module_translator.rs:793:24 [INFO] [stdout] | [INFO] [stdout] 781 | original_type: Type, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 793 | rust_type: if generated_inner_type_name.starts_with("Mutex") { [INFO] [stdout] | ________________________^ [INFO] [stdout] 794 | | RustWrapperType::ArcMutex [INFO] [stdout] 795 | | } else { [INFO] [stdout] 796 | | RustWrapperType::Arc [INFO] [stdout] 797 | | }, [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/extern_module_translator.rs:808:20 [INFO] [stdout] | [INFO] [stdout] 804 | fn parse_string_wrapper(original_type: Type) -> WrapperType { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 808 | rust_type: RustWrapperType::String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extern_module_translator.rs:818:20 [INFO] [stdout] | [INFO] [stdout] 814 | fn parse_primitive_wrapper(original_type: Type, primitive: &str) -> WrapperType { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 818 | rust_type: RustWrapperType::Primitive, [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/extern_module_translator.rs:828:20 [INFO] [stdout] | [INFO] [stdout] 824 | fn parse_custom_wrapper(original_type: Type, path_segment: &PathSegment) -> WrapperType { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 828 | rust_type: RustWrapperType::Custom, [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/parsing/exception_trait.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 41 | _ => return Err(anyhow!("Invalid number of arguments in `{name}`")), [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | let return_type = match &data.output { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 53 | | name, [INFO] [stdout] 54 | | self_arg, [INFO] [stdout] 55 | | return_type, [INFO] [stdout] 56 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/exception_trait.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 75 | let methods: HashSet<_> = syn_methods [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | Ok(Self { methods }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/module.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 20 | let enums: HashSet = syn_enums [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let exception_trait = Parser::parse(&syn_exception_trait.items, context) [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let traits_module = Parser::parse(&syn_traits_module.items, context) [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | let rust_module = Parser::parse(&syn_rust_module.items, context) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 52 | | enums, [INFO] [stdout] 53 | | exception_trait, [INFO] [stdout] 54 | | traits_module, [INFO] [stdout] 55 | | rust_module, [INFO] [stdout] 56 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [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/extern_functions_utils.rs:356:22 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn create_clone_extern_function(wrapper: WrapperType) -> ExternFunction { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 344 | let block = parse_quote!({ unsafe { Box::into_raw(Box::new((*_self).clone())) } }); [INFO] [stdout] | ----- ---------------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 345 | let original_type_name = &wrapper.original_type_name; [INFO] [stdout] 346 | let signature: Punctuated = parse_quote! { _self: *mut #original_type_name }; [INFO] [stdout] | --------- ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 347 | let (extern_function_name, tokens) = prepare_extern_function_tokens( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 348 | block, [INFO] [stdout] 349 | Some(parse_quote! { *mut #original_type_name }), [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 356 | return_type: Some(WrapperType { [INFO] [stdout] | ______________________^ [INFO] [stdout] 357 | | original_type_name: parse_quote! { *mut #original_type_name }, [INFO] [stdout] 358 | | wrapper_name: wrapper.wrapper_name, [INFO] [stdout] 359 | | rust_type: RustWrapperType::Custom, [INFO] [stdout] 360 | | reference_parameters: None, [INFO] [stdout] 361 | | impl_traits: vec![], [INFO] [stdout] 362 | | }), [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/parsing/rust_mod.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 145 | return Err(anyhow!("Invalid argument name")); [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | let type_ = Parser::parse(data.ty.as_ref(), context) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | Ok(Self { name, type_ }) [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/parsing/rust_mod.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 170 | let self_arg = match self_args.as_slice() { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | _ => return Err(anyhow!("Invalid number of self args")), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | let arguments: HashSet<_> = syn_arguments [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | let return_type = match &data.output { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 207 | | name, [INFO] [stdout] 208 | | self_arg, [INFO] [stdout] 209 | | arguments, [INFO] [stdout] 210 | | return_type, [INFO] [stdout] 211 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [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/parsing/rust_mod.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 244 | let custom_types: HashSet<_> = syn_custom_types [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | let functions: HashSet<_> = syn_functions [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 274 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 275 | | custom_types, [INFO] [stdout] 276 | | functions, [INFO] [stdout] 277 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/traits_mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 26 | _ => return Err(anyhow!("Invalid number of self args")), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let arguments: HashSet<_> = syn_arguments [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | let return_type = match &data.output { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 57 | | name, [INFO] [stdout] 58 | | self_arg, [INFO] [stdout] 59 | | arguments, [INFO] [stdout] 60 | | return_type, [INFO] [stdout] 61 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/traits_mod.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 70 | let methods: HashSet<_> = syn_methods [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 81 | | name: name.clone(), [INFO] [stdout] 82 | | methods, [INFO] [stdout] 83 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/traits_mod.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 120 | let traits = group_by_self_type(&trait_declarations, &syn_methods, context)? [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | Ok(Self { traits }) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/swift/generator.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 61 | let mut protocols = HashSet::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let mut extensions = HashSet::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | protocols: protocols.into_iter().collect(), [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/generator.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 61 | let mut protocols = HashSet::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let mut extensions = HashSet::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | extensions: extensions.into_iter().collect(), [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/generator.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 359 | custom_methods: impl Iterator, [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 360 | err_name: &impl Display, [INFO] [stdout] 361 | rust_obj_ptr: impl Display, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 362 | ) -> impl Display { [INFO] [stdout] 363 | / custom_methods [INFO] [stdout] 364 | | .map(|fun| { [INFO] [stdout] 365 | | let return_type = fun [INFO] [stdout] 366 | | .return_type [INFO] [stdout] ... | [INFO] [stdout] 387 | | ) [INFO] [stdout] 388 | | }) [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/trait_function_helpers.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | return_type: primitive("bool"), [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/extern_functions_utils.rs:388:22 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn create_from_c_str_extern_function(wrapper: WrapperType) -> ExternFunction { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 369 | let block = parse_quote!({ [INFO] [stdout] | _________-----___- [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 370 | | unsafe { [INFO] [stdout] 371 | | Box::into_raw(Box::new( [INFO] [stdout] 372 | | std::ffi::CStr::from_ptr(_self).to_str().unwrap().to_owned(), [INFO] [stdout] 373 | | )) [INFO] [stdout] 374 | | } [INFO] [stdout] 375 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |______| [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 376 | let original_type_name = &wrapper.original_type_name; [INFO] [stdout] 377 | | let signature: Punctuated = [INFO] [stdout] | | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 378 | | parse_quote! { _self: *const std::os::raw::c_char }; [INFO] [stdout] | | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 379 | | let (extern_function_name, tokens) = prepare_extern_function_tokens( [INFO] [stdout] | | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 380 | | block, [INFO] [stdout] 381 | | Some(parse_quote! { *mut #original_type_name }), [INFO] [stdout] | | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 388 | return_type: Some(WrapperType { [INFO] [stdout] | ______________________^ [INFO] [stdout] 389 | original_type_name: parse_quote! { *mut String }, [INFO] [stdout] 390 | wrapper_name: wrapper.wrapper_name, [INFO] [stdout] 391 | rust_type: RustWrapperType::String, [INFO] [stdout] 392 | reference_parameters: None, [INFO] [stdout] 393 | impl_traits: vec![], [INFO] [stdout] 394 | | }), [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/extern_functions_utils.rs:415:22 [INFO] [stdout] | [INFO] [stdout] 400 | pub fn create_drop_extern_function(wrapper: WrapperType) -> ExternFunction { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 401 | let block = parse_quote!({ [INFO] [stdout] | _________-----___- [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 402 | | unsafe { [INFO] [stdout] 403 | | #[allow(unused_must_use)] [INFO] [stdout] 404 | | { [INFO] [stdout] ... | [INFO] [stdout] 407 | | } [INFO] [stdout] 408 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |______| [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 409 | let original_type_name = &wrapper.original_type_name; [INFO] [stdout] 410 | | let signature: Punctuated = parse_quote! { _self: *mut #original_type_name }; [INFO] [stdout] | | --------- ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 411 | | let (extern_function_name, tokens) = [INFO] [stdout] | | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 415 | | return_type: None, [INFO] [stdout] | | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extern_functions_utils.rs:450:22 [INFO] [stdout] | [INFO] [stdout] 422 | wrapper: WrapperType, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 423 | inner_type: WrapperType, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 426 | let block = parse_quote!({ [INFO] [stdout] | _________-----___- [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | |_________|_______| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 427 | | unsafe { Box::into_raw(Box::new(unsafe { (&*_self).get(index).cloned() })) } [INFO] [stdout] 428 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |______| [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______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] 429 | let original_type_name = &wrapper.original_type_name; [INFO] [stdout] 430 | | let signature: Punctuated = [INFO] [stdout] | | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 431 | | parse_quote! { _self: *mut #original_type_name, index: usize }; [INFO] [stdout] | | -------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 432 | | let (extern_function_name, tokens) = prepare_extern_function_tokens( [INFO] [stdout] | | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 433 | | block, [INFO] [stdout] 434 | | Some(parse_quote! { *mut Option<#inner_type_original> }), [INFO] [stdout] | | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 450 | return_type: Some(WrapperType { [INFO] [stdout] | ______________________^ [INFO] [stdout] 451 | original_type_name: parse_quote! { *mut Option<#inner_type_original> }, [INFO] [stdout] 452 | wrapper_name: format!("Optional{}", inner_type.wrapper_name), [INFO] [stdout] 453 | rust_type: RustWrapperType::Option(inner_type.boxed()), [INFO] [stdout] 454 | reference_parameters: None, [INFO] [stdout] 455 | impl_traits: vec![], [INFO] [stdout] 456 | | }), [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/extern_functions_utils.rs:470:20 [INFO] [stdout] | [INFO] [stdout] 463 | let block = prepare_extern_function_body(function, None); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 464 | let return_type = extern_function_return_type(function); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 465 | let function_name = &function.name; [INFO] [stdout] 466 | let signature = prepare_extern_function_signature(function); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 467 | let (extern_function_name, tokens) = [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 470 | arguments: function [INFO] [stdout] | ____________________^ [INFO] [stdout] 471 | | .arguments [INFO] [stdout] 472 | | .iter() [INFO] [stdout] 473 | | .map(|arg| arg.typ.clone()) [INFO] [stdout] 474 | | .collect(), [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/extern_functions_utils.rs:475:22 [INFO] [stdout] | [INFO] [stdout] 463 | let block = prepare_extern_function_body(function, None); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 464 | let return_type = extern_function_return_type(function); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 465 | let function_name = &function.name; [INFO] [stdout] 466 | let signature = prepare_extern_function_signature(function); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 467 | let (extern_function_name, tokens) = [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 475 | return_type: function.return_type.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extern_module_translator.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(shared_enums: HashSet) -> Self { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | let mut rust_types_wrappers = OrderedHashSet::default(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | exception_names: Default::default(), [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/extern_module_translator.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(shared_enums: HashSet) -> Self { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | let mut rust_types_wrappers = OrderedHashSet::default(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | user_custom_types: Default::default(), [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/extern_module_translator.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(shared_enums: HashSet) -> Self { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | let mut rust_types_wrappers = OrderedHashSet::default(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | user_traits: Default::default(), [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/extern_module_translator.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(shared_enums: HashSet) -> Self { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | let mut rust_types_wrappers = OrderedHashSet::default(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | global_functions: Default::default(), [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/extern_module_translator.rs:90:38 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(shared_enums: HashSet) -> Self { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | let mut rust_types_wrappers = OrderedHashSet::default(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | exception_trait_methods: Default::default(), [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/extern_module_translator.rs:81:62 [INFO] [stdout] | [INFO] [stdout] 81 | .for_each(|enum_item| rust_types_wrappers.insert(parse_enum_wrapper(enum_item))); [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/extern_module_translator.rs:403:12 [INFO] [stdout] | [INFO] [stdout] 345 | let mut arguments = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 346 | let mut associated_structure = None; [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 401 | let return_type = self.translate_return_type(function)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 402 | let function_name = function.sig.ident.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 403 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 404 | | associated_structure, [INFO] [stdout] 405 | | Function { [INFO] [stdout] 406 | | arguments, [INFO] [stdout] ... | [INFO] [stdout] 409 | | }, [INFO] [stdout] 410 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extern_module_translator.rs:707:9 [INFO] [stdout] | [INFO] [stdout] 704 | original_type: Type, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 707 | ExternModuleTranslator::get_inner_generic_types(path_segment).and_then(|generic_types| { [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/extern_module_translator.rs:707:80 [INFO] [stdout] | [INFO] [stdout] 704 | original_type: Type, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 707 | ExternModuleTranslator::get_inner_generic_types(path_segment).and_then(|generic_types| { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 708 | | let ok_type = self.parse_and_register_rust_type( [INFO] [stdout] 709 | | generic_types [INFO] [stdout] 710 | | .get(0) [INFO] [stdout] ... | [INFO] [stdout] 727 | | }) [INFO] [stdout] 728 | | }) [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/extern_module_translator.rs:718:16 [INFO] [stdout] | [INFO] [stdout] 704 | original_type: Type, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 708 | let ok_type = self.parse_and_register_rust_type( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 713 | let exceptions_type = self.parse_rust_exceptions_type( [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 718 | Ok(WrapperType { [INFO] [stdout] | ________________^ [INFO] [stdout] 719 | | original_type_name: original_type, [INFO] [stdout] 720 | | wrapper_name: format!( [INFO] [stdout] 721 | | "{}ResultWith{}", [INFO] [stdout] ... | [INFO] [stdout] 726 | | impl_traits: vec![], [INFO] [stdout] 727 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [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/extern_module_translator.rs:736:9 [INFO] [stdout] | [INFO] [stdout] 733 | original_type: Type, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 736 | / ExternModuleTranslator::get_inner_generic_type(path_segment) [INFO] [stdout] 737 | | .and_then(|inner_path| self.parse_and_register_rust_type(inner_path)) [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/extern_module_translator.rs:738:18 [INFO] [stdout] | [INFO] [stdout] 733 | original_type: Type, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 738 | .map(|inner_type_name| WrapperType { [INFO] [stdout] | __________________^ [INFO] [stdout] 739 | | original_type_name: original_type, [INFO] [stdout] 740 | | wrapper_name: format!("Optional{}", &inner_type_name.wrapper_name), [INFO] [stdout] 741 | | rust_type: RustWrapperType::Option(inner_type_name.boxed()), [INFO] [stdout] 742 | | reference_parameters: None, [INFO] [stdout] 743 | | impl_traits: vec![], [INFO] [stdout] 744 | | }) [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/extern_module_translator.rs:741:28 [INFO] [stdout] | [INFO] [stdout] 733 | original_type: Type, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 738 | .map(|inner_type_name| WrapperType { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 741 | rust_type: RustWrapperType::Option(inner_type_name.boxed()), [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/extern_module_translator.rs:762:9 [INFO] [stdout] | [INFO] [stdout] 759 | original_type: Type, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 762 | / ExternModuleTranslator::get_inner_generic_type(path_segment) [INFO] [stdout] 763 | | .and_then(|inner_path| self.parse_and_register_rust_type(inner_path)) [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/extern_module_translator.rs:764:18 [INFO] [stdout] | [INFO] [stdout] 759 | original_type: Type, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 764 | .map(|inner_type_name| WrapperType { [INFO] [stdout] | __________________^ [INFO] [stdout] 765 | | original_type_name: original_type, [INFO] [stdout] 766 | | wrapper_name: format!("Vec{}", &inner_type_name.wrapper_name), [INFO] [stdout] 767 | | rust_type: RustWrapperType::Vector(inner_type_name.boxed()), [INFO] [stdout] 768 | | reference_parameters: None, [INFO] [stdout] 769 | | impl_traits: vec![], [INFO] [stdout] 770 | | }) [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/extern_module_translator.rs:767:28 [INFO] [stdout] | [INFO] [stdout] 759 | original_type: Type, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 764 | .map(|inner_type_name| WrapperType { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 767 | rust_type: RustWrapperType::Vector(inner_type_name.boxed()), [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/extern_module_translator.rs:784:5 [INFO] [stdout] | [INFO] [stdout] 781 | original_type: Type, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 784 | ExternModuleTranslator::get_inner_generic_type(path_segment).map(|inner_path| { [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/extern_module_translator.rs:784:70 [INFO] [stdout] | [INFO] [stdout] 781 | original_type: Type, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 784 | ExternModuleTranslator::get_inner_generic_type(path_segment).map(|inner_path| { [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 785 | | let generated_inner_type_name = inner_path [INFO] [stdout] 786 | | .to_token_stream() [INFO] [stdout] 787 | | .to_string() [INFO] [stdout] ... | [INFO] [stdout] 800 | | } [INFO] [stdout] 801 | | }) [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/extern_module_translator.rs:793:24 [INFO] [stdout] | [INFO] [stdout] 781 | original_type: Type, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 793 | rust_type: if generated_inner_type_name.starts_with("Mutex") { [INFO] [stdout] | ________________________^ [INFO] [stdout] 794 | | RustWrapperType::ArcMutex [INFO] [stdout] 795 | | } else { [INFO] [stdout] 796 | | RustWrapperType::Arc [INFO] [stdout] 797 | | }, [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/extern_module_translator.rs:808:20 [INFO] [stdout] | [INFO] [stdout] 804 | fn parse_string_wrapper(original_type: Type) -> WrapperType { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 808 | rust_type: RustWrapperType::String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extern_module_translator.rs:818:20 [INFO] [stdout] | [INFO] [stdout] 814 | fn parse_primitive_wrapper(original_type: Type, primitive: &str) -> WrapperType { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 818 | rust_type: RustWrapperType::Primitive, [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/extern_module_translator.rs:828:20 [INFO] [stdout] | [INFO] [stdout] 824 | fn parse_custom_wrapper(original_type: Type, path_segment: &PathSegment) -> WrapperType { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 828 | rust_type: RustWrapperType::Custom, [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/parsing/exception_trait.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 41 | _ => return Err(anyhow!("Invalid number of arguments in `{name}`")), [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | let return_type = match &data.output { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 53 | | name, [INFO] [stdout] 54 | | self_arg, [INFO] [stdout] 55 | | return_type, [INFO] [stdout] 56 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/exception_trait.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 75 | let methods: HashSet<_> = syn_methods [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | Ok(Self { methods }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/module.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 20 | let enums: HashSet = syn_enums [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let exception_trait = Parser::parse(&syn_exception_trait.items, context) [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let traits_module = Parser::parse(&syn_traits_module.items, context) [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | let rust_module = Parser::parse(&syn_rust_module.items, context) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 52 | | enums, [INFO] [stdout] 53 | | exception_trait, [INFO] [stdout] 54 | | traits_module, [INFO] [stdout] 55 | | rust_module, [INFO] [stdout] 56 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [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/parsing/rust_mod.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 145 | return Err(anyhow!("Invalid argument name")); [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | let type_ = Parser::parse(data.ty.as_ref(), context) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | Ok(Self { name, type_ }) [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/parsing/rust_mod.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 170 | let self_arg = match self_args.as_slice() { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | _ => return Err(anyhow!("Invalid number of self args")), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | let arguments: HashSet<_> = syn_arguments [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | let return_type = match &data.output { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 207 | | name, [INFO] [stdout] 208 | | self_arg, [INFO] [stdout] 209 | | arguments, [INFO] [stdout] 210 | | return_type, [INFO] [stdout] 211 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [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/parsing/rust_mod.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 244 | let custom_types: HashSet<_> = syn_custom_types [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | let functions: HashSet<_> = syn_functions [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 274 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 275 | | custom_types, [INFO] [stdout] 276 | | functions, [INFO] [stdout] 277 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/traits_mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 26 | _ => return Err(anyhow!("Invalid number of self args")), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let arguments: HashSet<_> = syn_arguments [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | let return_type = match &data.output { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 57 | | name, [INFO] [stdout] 58 | | self_arg, [INFO] [stdout] 59 | | arguments, [INFO] [stdout] 60 | | return_type, [INFO] [stdout] 61 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/traits_mod.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 70 | let methods: HashSet<_> = syn_methods [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 81 | | name: name.clone(), [INFO] [stdout] 82 | | methods, [INFO] [stdout] 83 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing/traits_mod.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 120 | let traits = group_by_self_type(&trait_declarations, &syn_methods, context)? [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | Ok(Self { traits }) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/swift/generator.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 61 | let mut protocols = HashSet::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let mut extensions = HashSet::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | protocols: protocols.into_iter().collect(), [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/generator.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 61 | let mut protocols = HashSet::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let mut extensions = HashSet::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | extensions: extensions.into_iter().collect(), [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/generator.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 359 | custom_methods: impl Iterator, [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 360 | err_name: &impl Display, [INFO] [stdout] 361 | rust_obj_ptr: impl Display, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 362 | ) -> impl Display { [INFO] [stdout] 363 | / custom_methods [INFO] [stdout] 364 | | .map(|fun| { [INFO] [stdout] 365 | | let return_type = fun [INFO] [stdout] 366 | | .return_type [INFO] [stdout] ... | [INFO] [stdout] 387 | | ) [INFO] [stdout] 388 | | }) [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/trait_function_helpers.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | return_type: primitive("bool"), [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/utils.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 151 | let module = syn::parse_str(rust_code).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | get_enums_from_module(&module, &context).unwrap().remove(0) [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 58 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-bind-parser` (lib) due to 59 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 59 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-bind-parser` (lib test) due to 60 previous errors [INFO] running `Command { std: "docker" "inspect" "8c3c1e6e247837c8dad0a009d1e946cb50fe5046075178129513f84853e0bb33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c3c1e6e247837c8dad0a009d1e946cb50fe5046075178129513f84853e0bb33", kill_on_drop: false }` [INFO] [stdout] 8c3c1e6e247837c8dad0a009d1e946cb50fe5046075178129513f84853e0bb33