[INFO] fetching crate autocxx-engine 0.27.0... [INFO] checking autocxx-engine-0.27.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate autocxx-engine 0.27.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate autocxx-engine 0.27.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate autocxx-engine 0.27.0 [INFO] finished tweaking crates.io crate autocxx-engine 0.27.0 [INFO] tweaked toml for crates.io crate autocxx-engine 0.27.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 70 packages to latest compatible versions [INFO] [stderr] Adding aquamarine v0.1.12 (available: v0.5.0) [INFO] [stderr] Adding autocxx-bindgen v0.69.5 (available: v0.70.1) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding indoc v1.0.9 (available: v2.0.5) [INFO] [stderr] Adding itertools v0.9.0 (available: v0.13.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding miette v5.10.0 (available: v7.2.0) [INFO] [stderr] Adding miette-derive v5.10.0 (available: v7.2.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db565002d5f8a0f2ab0fcc06eb06154ce48366687e00980bc12065f39ea016e4 [INFO] running `Command { std: "docker" "start" "-a" "db565002d5f8a0f2ab0fcc06eb06154ce48366687e00980bc12065f39ea016e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db565002d5f8a0f2ab0fcc06eb06154ce48366687e00980bc12065f39ea016e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db565002d5f8a0f2ab0fcc06eb06154ce48366687e00980bc12065f39ea016e4", kill_on_drop: false }` [INFO] [stdout] db565002d5f8a0f2ab0fcc06eb06154ce48366687e00980bc12065f39ea016e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c15889ec71d5e69d0676402e4bbd286252e9b840f21a48e22e732c26a444a912 [INFO] running `Command { std: "docker" "start" "-a" "c15889ec71d5e69d0676402e4bbd286252e9b840f21a48e22e732c26a444a912", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Compiling autocxx-bindgen v0.69.5 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking version_check v0.9.5 [INFO] [stderr] Checking cc v1.1.22 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.79 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Checking cexpr v0.6.0 [INFO] [stderr] Checking prettyplease v0.2.22 [INFO] [stderr] Checking autocxx-parser v0.27.0 [INFO] [stderr] Checking cxx-gen v0.7.128 [INFO] [stderr] Checking autocxx-engine v0.27.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `RsCodegenResult` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conversion/codegen_rs/fun_codegen.rs:225:11 [INFO] [stdout] | [INFO] [stdout] 90 | fun: FuncToConvert, [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | analysis: FnAnalysis, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | let ret_type = analysis.ret_type; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | let ret_conversion = analysis.ret_conversion; [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | let param_details = analysis.param_details; [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | let vis = analysis.vis; [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | let kind = analysis.kind; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | let doc_attrs = minisynize_vec(fun.doc_attrs); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | [INFO] [stdout] 110 | let mut cpp_name_attr = Vec::new(); [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | let (lifetime_tokens, params, ret_type) = add_explicit_lifetime_if_necessary( [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | let params = unqualify_params(params); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | let ret_type = unqualify_ret_type(ret_type.into_owned()); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | let namespace_attr = if ns.is_empty() || wrapper_function_needed { [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | ..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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `RsCodegenResult` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conversion/codegen_rs/mod.rs:802:15 [INFO] [stdout] | [INFO] [stdout] 658 | let super_path = superclass.to_type_path(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 663 | let cpp_path = full_cpp.to_type_path(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 802 | ..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: this value of type `RsCodegenResult` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conversion/codegen_rs/mod.rs:856:15 [INFO] [stdout] | [INFO] [stdout] 808 | details: RustSubclassFnDetails, [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 814 | let global_def = quote! { #unsafe_token fn #api_name(#params) #ret }; [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 815 | let params = unqualify_params(minisynize_punctuated(params)); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 816 | let ret = unqualify_ret_type(ret.into()); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 820 | let args: Punctuated = [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 824 | let methods_trait = methods_trait.to_type_path(); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 856 | ..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: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conversion/codegen_rs/mod.rs:978:26 [INFO] [stdout] | [INFO] [stdout] 978 | let (supers, mains): (Vec<_>, Vec<_>) = methods [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1019 | bindgen_mod_items.push(parse_quote! { [INFO] [stdout] | ________________________________________- [INFO] [stdout] | |________________________________________| [INFO] [stdout] 1020 | | #[allow(non_snake_case)] [INFO] [stdout] 1021 | | pub trait #supers_name { [INFO] [stdout] 1022 | | #(#supers)* [INFO] [stdout] 1023 | | } [INFO] [stdout] 1024 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |_________________| [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1025 | bindgen_mod_items.push(parse_quote! { [INFO] [stdout] | ________________________________________- [INFO] [stdout] | |________________________________________| [INFO] [stdout] 1026 | | #[allow(non_snake_case)] [INFO] [stdout] 1027 | | pub trait #methods_name : #supers_name { [INFO] [stdout] 1028 | | #(#mains)* [INFO] [stdout] 1029 | | } [INFO] [stdout] 1030 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |_________________| [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1033 | bindgen_mod_items.push(parse_quote! { [INFO] [stdout] | ________________________________________- [INFO] [stdout] | |________________________________________| [INFO] [stdout] 1034 | | #[allow(non_snake_case)] [INFO] [stdout] 1035 | | pub trait #methods_name { [INFO] [stdout] 1036 | | #(#mains)* [INFO] [stdout] 1037 | | } [INFO] [stdout] 1038 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |_________________| [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `RsCodegenResult` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conversion/codegen_rs/mod.rs:1063:15 [INFO] [stdout] | [INFO] [stdout] 1047 | rust_path: TypePath, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1050 | let id = name.type_path_from_root(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1063 | ..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: this value of type `RsCodegenResult` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conversion/codegen_rs/mod.rs:1111:15 [INFO] [stdout] | [INFO] [stdout] 1070 | fn generate_error_entry(err: ConvertErrorFromCpp, ctx: ErrorContext) -> RsCodegenResult { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1111 | ..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: this value of type `RsCodegenResult` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conversion/codegen_rs/fun_codegen.rs:225:11 [INFO] [stdout] | [INFO] [stdout] 90 | fun: FuncToConvert, [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | analysis: FnAnalysis, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | let ret_type = analysis.ret_type; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | let ret_conversion = analysis.ret_conversion; [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | let param_details = analysis.param_details; [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | let vis = analysis.vis; [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | let kind = analysis.kind; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | let doc_attrs = minisynize_vec(fun.doc_attrs); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | [INFO] [stdout] 110 | let mut cpp_name_attr = Vec::new(); [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | let (lifetime_tokens, params, ret_type) = add_explicit_lifetime_if_necessary( [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | let params = unqualify_params(params); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | let ret_type = unqualify_ret_type(ret_type.into_owned()); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | let namespace_attr = if ns.is_empty() || wrapper_function_needed { [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | ..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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conversion/codegen_rs/mod.rs:1344:13 [INFO] [stdout] | [INFO] [stdout] 1340 | / quote! { [INFO] [stdout] 1341 | | #(#items)* [INFO] [stdout] 1342 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1343 | } else { [INFO] [stdout] 1344 | | let mut currently_unsafe_list = None; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 1360 | output.push(quote! { [INFO] [stdout] | _____________________________________- [INFO] [stdout] | |_____________________________________| [INFO] [stdout] 1361 | | unsafe { [INFO] [stdout] 1362 | | #(#currently_unsafe_list)* [INFO] [stdout] 1363 | | } [INFO] [stdout] 1364 | | }) [INFO] [stdout] | | - [INFO] [stdout] | |_________________________| [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1371 | output.push(quote! { [INFO] [stdout] | _________________________- [INFO] [stdout] | |_________________________| [INFO] [stdout] 1372 | | unsafe { [INFO] [stdout] 1373 | | #(#currently_unsafe_list)* [INFO] [stdout] 1374 | | } [INFO] [stdout] 1375 | | }) [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1376 | } [INFO] [stdout] 1377 | / quote! { [INFO] [stdout] 1378 | #(#output)* [INFO] [stdout] 1379 | | } [INFO] [stdout] | |_________- these local bindings with significant drop implementation may 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: this value of type `syn::ItemUse` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conversion/parse/parse_bindgen.rs:293:23 [INFO] [stdout] | [INFO] [stdout] 204 | item: Item, [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 293 | Item::Use(use_item) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | let old_path: TypePath = parse_quote! { [INFO] [stdout] | ______________________________________________________- [INFO] [stdout] 318 | | #(#segs)::* :: #old_id [INFO] [stdout] 319 | | }; [INFO] [stdout] | |_____________________________- these local bindings with significant drop implementation may 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: this value of type `RsCodegenResult` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conversion/codegen_rs/mod.rs:802:15 [INFO] [stdout] | [INFO] [stdout] 658 | let super_path = superclass.to_type_path(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 663 | let cpp_path = full_cpp.to_type_path(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 802 | ..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: this value of type `RsCodegenResult` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conversion/codegen_rs/mod.rs:856:15 [INFO] [stdout] | [INFO] [stdout] 808 | details: RustSubclassFnDetails, [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 814 | let global_def = quote! { #unsafe_token fn #api_name(#params) #ret }; [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 815 | let params = unqualify_params(minisynize_punctuated(params)); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 816 | let ret = unqualify_ret_type(ret.into()); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 820 | let args: Punctuated = [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 824 | let methods_trait = methods_trait.to_type_path(); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 856 | ..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: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conversion/codegen_rs/mod.rs:978:26 [INFO] [stdout] | [INFO] [stdout] 978 | let (supers, mains): (Vec<_>, Vec<_>) = methods [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1019 | bindgen_mod_items.push(parse_quote! { [INFO] [stdout] | ________________________________________- [INFO] [stdout] | |________________________________________| [INFO] [stdout] 1020 | | #[allow(non_snake_case)] [INFO] [stdout] 1021 | | pub trait #supers_name { [INFO] [stdout] 1022 | | #(#supers)* [INFO] [stdout] 1023 | | } [INFO] [stdout] 1024 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |_________________| [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1025 | bindgen_mod_items.push(parse_quote! { [INFO] [stdout] | ________________________________________- [INFO] [stdout] | |________________________________________| [INFO] [stdout] 1026 | | #[allow(non_snake_case)] [INFO] [stdout] 1027 | | pub trait #methods_name : #supers_name { [INFO] [stdout] 1028 | | #(#mains)* [INFO] [stdout] 1029 | | } [INFO] [stdout] 1030 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |_________________| [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1033 | bindgen_mod_items.push(parse_quote! { [INFO] [stdout] | ________________________________________- [INFO] [stdout] | |________________________________________| [INFO] [stdout] 1034 | | #[allow(non_snake_case)] [INFO] [stdout] 1035 | | pub trait #methods_name { [INFO] [stdout] 1036 | | #(#mains)* [INFO] [stdout] 1037 | | } [INFO] [stdout] 1038 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |_________________| [INFO] [stdout] | |_________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `RsCodegenResult` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conversion/codegen_rs/mod.rs:1063:15 [INFO] [stdout] | [INFO] [stdout] 1047 | rust_path: TypePath, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1050 | let id = name.type_path_from_root(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1063 | ..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: this value of type `RsCodegenResult` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conversion/codegen_rs/mod.rs:1111:15 [INFO] [stdout] | [INFO] [stdout] 1070 | fn generate_error_entry(err: ConvertErrorFromCpp, ctx: ErrorContext) -> RsCodegenResult { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1111 | ..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: this value of type `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conversion/codegen_rs/mod.rs:1344:13 [INFO] [stdout] | [INFO] [stdout] 1340 | / quote! { [INFO] [stdout] 1341 | | #(#items)* [INFO] [stdout] 1342 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1343 | } else { [INFO] [stdout] 1344 | | let mut currently_unsafe_list = None; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 1360 | output.push(quote! { [INFO] [stdout] | _____________________________________- [INFO] [stdout] | |_____________________________________| [INFO] [stdout] 1361 | | unsafe { [INFO] [stdout] 1362 | | #(#currently_unsafe_list)* [INFO] [stdout] 1363 | | } [INFO] [stdout] 1364 | | }) [INFO] [stdout] | | - [INFO] [stdout] | |_________________________| [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1371 | output.push(quote! { [INFO] [stdout] | _________________________- [INFO] [stdout] | |_________________________| [INFO] [stdout] 1372 | | unsafe { [INFO] [stdout] 1373 | | #(#currently_unsafe_list)* [INFO] [stdout] 1374 | | } [INFO] [stdout] 1375 | | }) [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1376 | } [INFO] [stdout] 1377 | / quote! { [INFO] [stdout] 1378 | #(#output)* [INFO] [stdout] 1379 | | } [INFO] [stdout] | |_________- these local bindings with significant drop implementation may 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: this value of type `syn::ItemUse` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/conversion/parse/parse_bindgen.rs:293:23 [INFO] [stdout] | [INFO] [stdout] 204 | item: Item, [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 293 | Item::Use(use_item) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | let old_path: TypePath = parse_quote! { [INFO] [stdout] | ______________________________________________________- [INFO] [stdout] 318 | | #(#segs)::* :: #old_id [INFO] [stdout] 319 | | }; [INFO] [stdout] | |_____________________________- these local bindings with significant drop implementation may 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: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types.rs:182:40 [INFO] [stdout] | [INFO] [stdout] 182 | if let Some(known_type_path) = known_types().known_type_type_path(self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | / parse_quote! { [INFO] [stdout] 191 | | #(#segs)::* [INFO] [stdout] 192 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `autocxx-engine` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types.rs:182:40 [INFO] [stdout] | [INFO] [stdout] 182 | if let Some(known_type_path) = known_types().known_type_type_path(self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | / parse_quote! { [INFO] [stdout] 191 | | #(#segs)::* [INFO] [stdout] 192 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `autocxx-engine` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "c15889ec71d5e69d0676402e4bbd286252e9b840f21a48e22e732c26a444a912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c15889ec71d5e69d0676402e4bbd286252e9b840f21a48e22e732c26a444a912", kill_on_drop: false }` [INFO] [stdout] c15889ec71d5e69d0676402e4bbd286252e9b840f21a48e22e732c26a444a912