[INFO] fetching crate napi-derive-ohos 1.0.0-beta.6... [INFO] checking napi-derive-ohos-1.0.0-beta.6 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate napi-derive-ohos 1.0.0-beta.6 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate napi-derive-ohos 1.0.0-beta.6 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 napi-derive-ohos 1.0.0-beta.6 [INFO] finished tweaking crates.io crate napi-derive-ohos 1.0.0-beta.6 [INFO] tweaked toml for crates.io crate napi-derive-ohos 1.0.0-beta.6 written to /workspace/builds/worker-5-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 15 packages to latest compatible versions [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a14666146eb5752e85711da8f49b44839fc25806eb0e12a93814d86360893289 [INFO] running `Command { std: "docker" "start" "-a" "a14666146eb5752e85711da8f49b44839fc25806eb0e12a93814d86360893289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a14666146eb5752e85711da8f49b44839fc25806eb0e12a93814d86360893289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a14666146eb5752e85711da8f49b44839fc25806eb0e12a93814d86360893289", kill_on_drop: false }` [INFO] [stdout] a14666146eb5752e85711da8f49b44839fc25806eb0e12a93814d86360893289 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 5b38463e9c6606ba8adb5c439f1be11365701fdf9e5f06e217115dc90139c220 [INFO] running `Command { std: "docker" "start" "-a" "5b38463e9c6606ba8adb5c439f1be11365701fdf9e5f06e217115dc90139c220", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking napi-derive-backend-ohos v1.0.0-beta.6 [INFO] [stderr] Checking napi-derive-ohos v1.0.0-beta.6 (/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/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn napi(attr: TokenStream, input: TokenStream) -> TokenStream { [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] 68 | match expand::expand(attr.into(), input.into()) { [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/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn napi(attr: TokenStream, input: TokenStream) -> TokenStream { [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] 68 | match expand::expand(attr.into(), input.into()) { [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/parser/mod.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | input.step(|cursor| match cursor.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/parser/mod.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 229 | fn replace_self(ty: syn::Type, self_ty: Option<&Ident>) -> syn::Type { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 234 | let path = match get_ty(&ty) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | let new_path = if path.segments.len() == 1 && path.segments[0].ident == "Self" { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | syn::Type::Path(syn::TypePath { [INFO] [stdout] | ___________________^ [INFO] [stdout] 244 | | qself: None, [INFO] [stdout] 245 | | path: new_path, [INFO] [stdout] 246 | | }) [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/parser/mod.rs:540:36 [INFO] [stdout] | [INFO] [stdout] 455 | let mut map = HashMap::default(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 540 | Diagnostic::from_vec(errors).and(Ok(map)) [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/parser/mod.rs:632:41 [INFO] [stdout] | [INFO] [stdout] 546 | attrs: Vec, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 547 | vis: Visibility, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 553 | ident, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 554 | asyncness, [INFO] [stdout] 555 | output, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 556 | generics, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 561 | let callback_traits = extract_fn_closure_generics(&generics)?; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 562 | [INFO] [stdout] 563 | let args = sig [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 620 | let (ret, is_ret_result) = match output { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 621 | syn::ReturnType::Default => (None, false), [INFO] [stdout] 622 | syn::ReturnType::Type(_, ty) => { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 623 | let result_ty = extract_result_ty(&ty)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 624 | if let Some(result_ty) = result_ty { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 632 | Diagnostic::from_vec(errors).and_then(|_| { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 633 | | let js_name = if let Some(prop_name) = opts.getter() { [INFO] [stdout] 634 | | opts.js_name().map_or_else( [INFO] [stdout] 635 | | || { [INFO] [stdout] ... | [INFO] [stdout] 720 | | }) [INFO] [stdout] 721 | | }) [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/parser/mod.rs:693:8 [INFO] [stdout] | [INFO] [stdout] 546 | attrs: Vec, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 547 | vis: Visibility, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 563 | let args = sig [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 620 | let (ret, is_ret_result) = match output { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 693 | Ok(NapiFn { [INFO] [stdout] | ________^ [INFO] [stdout] 694 | | name: ident.clone(), [INFO] [stdout] 695 | | js_name, [INFO] [stdout] 696 | | args, [INFO] [stdout] ... | [INFO] [stdout] 719 | | register_name: get_register_ident(ident.to_string().as_str()), [INFO] [stdout] 720 | | }) [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/parser/mod.rs:919:8 [INFO] [stdout] | [INFO] [stdout] 911 | let func = napi_fn_from_decl( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 919 | Ok(Napi { [INFO] [stdout] | ________^ [INFO] [stdout] 920 | | item: NapiItem::Fn(func), [INFO] [stdout] 921 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser/mod.rs:974:6 [INFO] [stdout] | [INFO] [stdout] 929 | let mut napi_fields = vec![]; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 974 | Ok((napi_fields, is_tuple)) [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/parser/mod.rs:941:14 [INFO] [stdout] | [INFO] [stdout] 941 | || ident.unraw().to_string().to_case(Case::Camel), [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/parser/mod.rs:1033:38 [INFO] [stdout] | [INFO] [stdout] 981 | let struct_name = self.ident.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 988 | let (fields, is_tuple) = convert_fields(&mut self.fields, true)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1002 | let struct_kind = if opts.object().is_some() { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1033 | Diagnostic::from_vec(errors).map(|()| Napi { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 1034 | | item: NapiItem::Struct(NapiStruct { [INFO] [stdout] 1035 | | js_name, [INFO] [stdout] 1036 | | name: struct_name.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1042 | | }), [INFO] [stdout] 1043 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser/mod.rs:1034:13 [INFO] [stdout] | [INFO] [stdout] 1002 | let struct_kind = if opts.object().is_some() { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1034 | item: NapiItem::Struct(NapiStruct { [INFO] [stdout] | _____________^ [INFO] [stdout] 1035 | | js_name, [INFO] [stdout] 1036 | | name: struct_name.clone(), [INFO] [stdout] 1037 | | kind: struct_kind, [INFO] [stdout] ... | [INFO] [stdout] 1041 | | comments: extract_doc_comments(&self.attrs), [INFO] [stdout] 1042 | | }), [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/parser/mod.rs:1128:8 [INFO] [stdout] | [INFO] [stdout] 1059 | let struct_name = extract_path_ident(struct_name)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1062 | let mut items = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1063 | let mut task_output_type = None; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1064 | let mut iterator_yield_type = None; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1065 | let mut iterator_next_type = None; [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1066 | let mut iterator_return_type = None; [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1128 | Ok(Napi { [INFO] [stdout] | ________^ [INFO] [stdout] 1129 | | item: NapiItem::Impl(NapiImpl { [INFO] [stdout] 1130 | | name: struct_name.clone(), [INFO] [stdout] 1131 | | js_name: struct_js_name, [INFO] [stdout] ... | [INFO] [stdout] 1140 | | }), [INFO] [stdout] 1141 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser/mod.rs:1310:8 [INFO] [stdout] | [INFO] [stdout] 1204 | let variants = match opts.string_enum() { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1310 | Ok(Napi { [INFO] [stdout] | ________^ [INFO] [stdout] 1311 | | item: NapiItem::Enum(NapiEnum { [INFO] [stdout] 1312 | | name: self.ident.clone(), [INFO] [stdout] 1313 | | js_name, [INFO] [stdout] ... | [INFO] [stdout] 1320 | | }), [INFO] [stdout] 1321 | | }) [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/parser/mod.rs:1185:15 [INFO] [stdout] | [INFO] [stdout] 1164 | let mut variants = vec![]; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1185 | item: NapiItem::Struct(NapiStruct { [INFO] [stdout] | _______________^ [INFO] [stdout] 1186 | | name: struct_name.clone(), [INFO] [stdout] 1187 | | js_name, [INFO] [stdout] 1188 | | comments: extract_doc_comments(&self.attrs), [INFO] [stdout] ... | [INFO] [stdout] 1197 | | }), [INFO] [stdout] 1198 | | }), [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/parser/mod.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | input.step(|cursor| match cursor.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/parser/mod.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 229 | fn replace_self(ty: syn::Type, self_ty: Option<&Ident>) -> syn::Type { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 234 | let path = match get_ty(&ty) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | let new_path = if path.segments.len() == 1 && path.segments[0].ident == "Self" { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | syn::Type::Path(syn::TypePath { [INFO] [stdout] | ___________________^ [INFO] [stdout] 244 | | qself: None, [INFO] [stdout] 245 | | path: new_path, [INFO] [stdout] 246 | | }) [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/parser/mod.rs:540:36 [INFO] [stdout] | [INFO] [stdout] 455 | let mut map = HashMap::default(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 540 | Diagnostic::from_vec(errors).and(Ok(map)) [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/parser/mod.rs:632:41 [INFO] [stdout] | [INFO] [stdout] 546 | attrs: Vec, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 547 | vis: Visibility, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 553 | ident, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 554 | asyncness, [INFO] [stdout] 555 | output, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 556 | generics, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 561 | let callback_traits = extract_fn_closure_generics(&generics)?; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 562 | [INFO] [stdout] 563 | let args = sig [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 620 | let (ret, is_ret_result) = match output { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 621 | syn::ReturnType::Default => (None, false), [INFO] [stdout] 622 | syn::ReturnType::Type(_, ty) => { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 623 | let result_ty = extract_result_ty(&ty)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 624 | if let Some(result_ty) = result_ty { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 632 | Diagnostic::from_vec(errors).and_then(|_| { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 633 | | let js_name = if let Some(prop_name) = opts.getter() { [INFO] [stdout] 634 | | opts.js_name().map_or_else( [INFO] [stdout] 635 | | || { [INFO] [stdout] ... | [INFO] [stdout] 720 | | }) [INFO] [stdout] 721 | | }) [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/parser/mod.rs:693:8 [INFO] [stdout] | [INFO] [stdout] 546 | attrs: Vec, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 547 | vis: Visibility, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 563 | let args = sig [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 620 | let (ret, is_ret_result) = match output { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 693 | Ok(NapiFn { [INFO] [stdout] | ________^ [INFO] [stdout] 694 | | name: ident.clone(), [INFO] [stdout] 695 | | js_name, [INFO] [stdout] 696 | | args, [INFO] [stdout] ... | [INFO] [stdout] 719 | | register_name: get_register_ident(ident.to_string().as_str()), [INFO] [stdout] 720 | | }) [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/parser/mod.rs:919:8 [INFO] [stdout] | [INFO] [stdout] 911 | let func = napi_fn_from_decl( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 919 | Ok(Napi { [INFO] [stdout] | ________^ [INFO] [stdout] 920 | | item: NapiItem::Fn(func), [INFO] [stdout] 921 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser/mod.rs:974:6 [INFO] [stdout] | [INFO] [stdout] 929 | let mut napi_fields = vec![]; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 974 | Ok((napi_fields, is_tuple)) [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/parser/mod.rs:941:14 [INFO] [stdout] | [INFO] [stdout] 941 | || ident.unraw().to_string().to_case(Case::Camel), [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 14 previous errors [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/parser/mod.rs:1033:38 [INFO] [stdout] | [INFO] [stdout] 981 | let struct_name = self.ident.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 988 | let (fields, is_tuple) = convert_fields(&mut self.fields, true)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1002 | let struct_kind = if opts.object().is_some() { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1033 | Diagnostic::from_vec(errors).map(|()| Napi { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 1034 | | item: NapiItem::Struct(NapiStruct { [INFO] [stdout] 1035 | | js_name, [INFO] [stdout] 1036 | | name: struct_name.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1042 | | }), [INFO] [stdout] 1043 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser/mod.rs:1034:13 [INFO] [stdout] | [INFO] [stdout] 1002 | let struct_kind = if opts.object().is_some() { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1034 | item: NapiItem::Struct(NapiStruct { [INFO] [stdout] | _____________^ [INFO] [stdout] 1035 | | js_name, [INFO] [stdout] 1036 | | name: struct_name.clone(), [INFO] [stdout] 1037 | | kind: struct_kind, [INFO] [stdout] ... | [INFO] [stdout] 1041 | | comments: extract_doc_comments(&self.attrs), [INFO] [stdout] 1042 | | }), [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/parser/mod.rs:1128:8 [INFO] [stdout] | [INFO] [stdout] 1059 | let struct_name = extract_path_ident(struct_name)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1062 | let mut items = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1063 | let mut task_output_type = None; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1064 | let mut iterator_yield_type = None; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1065 | let mut iterator_next_type = None; [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1066 | let mut iterator_return_type = None; [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1128 | Ok(Napi { [INFO] [stdout] | ________^ [INFO] [stdout] 1129 | | item: NapiItem::Impl(NapiImpl { [INFO] [stdout] 1130 | | name: struct_name.clone(), [INFO] [stdout] 1131 | | js_name: struct_js_name, [INFO] [stdout] ... | [INFO] [stdout] 1140 | | }), [INFO] [stdout] 1141 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser/mod.rs:1310:8 [INFO] [stdout] | [INFO] [stdout] 1204 | let variants = match opts.string_enum() { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1310 | Ok(Napi { [INFO] [stdout] | ________^ [INFO] [stdout] 1311 | | item: NapiItem::Enum(NapiEnum { [INFO] [stdout] 1312 | | name: self.ident.clone(), [INFO] [stdout] 1313 | | js_name, [INFO] [stdout] ... | [INFO] [stdout] 1320 | | }), [INFO] [stdout] 1321 | | }) [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/parser/mod.rs:1185:15 [INFO] [stdout] | [INFO] [stdout] 1164 | let mut variants = vec![]; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1185 | item: NapiItem::Struct(NapiStruct { [INFO] [stdout] | _______________^ [INFO] [stdout] 1186 | | name: struct_name.clone(), [INFO] [stdout] 1187 | | js_name, [INFO] [stdout] 1188 | | comments: extract_doc_comments(&self.attrs), [INFO] [stdout] ... | [INFO] [stdout] 1197 | | }), [INFO] [stdout] 1198 | | }), [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] [stderr] error: could not compile `napi-derive-ohos` (lib) due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `napi-derive-ohos` (lib test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "5b38463e9c6606ba8adb5c439f1be11365701fdf9e5f06e217115dc90139c220", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b38463e9c6606ba8adb5c439f1be11365701fdf9e5f06e217115dc90139c220", kill_on_drop: false }` [INFO] [stdout] 5b38463e9c6606ba8adb5c439f1be11365701fdf9e5f06e217115dc90139c220