[INFO] fetching crate wasm-bindgen-macro-support 0.2.93... [INFO] checking wasm-bindgen-macro-support-0.2.93 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate wasm-bindgen-macro-support 0.2.93 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate wasm-bindgen-macro-support 0.2.93 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 wasm-bindgen-macro-support 0.2.93 [INFO] finished tweaking crates.io crate wasm-bindgen-macro-support 0.2.93 [INFO] tweaked toml for crates.io crate wasm-bindgen-macro-support 0.2.93 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 10 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] 729913af6946d4595fb69402301ffcec4dcfad9912d907ddb892adcf1da004fc [INFO] running `Command { std: "docker" "start" "-a" "729913af6946d4595fb69402301ffcec4dcfad9912d907ddb892adcf1da004fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "729913af6946d4595fb69402301ffcec4dcfad9912d907ddb892adcf1da004fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "729913af6946d4595fb69402301ffcec4dcfad9912d907ddb892adcf1da004fc", kill_on_drop: false }` [INFO] [stdout] 729913af6946d4595fb69402301ffcec4dcfad9912d907ddb892adcf1da004fc [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] a11b76e1b56e44ae542bc38290258a8d49fcf3d04a7aaa81e4a0ac955e54b3cf [INFO] running `Command { std: "docker" "start" "-a" "a11b76e1b56e44ae542bc38290258a8d49fcf3d04a7aaa81e4a0ac955e54b3cf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking wasm-bindgen-backend v0.2.93 [INFO] [stderr] Checking wasm-bindgen-macro-support v0.2.93 (/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:162:12 [INFO] [stdout] | [INFO] [stdout] 116 | let class = input.parse::()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | let mut wasm_bindgen = None; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | let mut wasm_bindgen_futures = None; [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | Ok(ClassMarker { [INFO] [stdout] | ____________^ [INFO] [stdout] 163 | | class, [INFO] [stdout] 164 | | js_class, [INFO] [stdout] 165 | | wasm_bindgen: wasm_bindgen.unwrap_or_else(|| syn::parse_quote! { wasm_bindgen }), [INFO] [stdout] 166 | | wasm_bindgen_futures: wasm_bindgen_futures [INFO] [stdout] 167 | | .unwrap_or_else(|| syn::parse_quote! { wasm_bindgen_futures }), [INFO] [stdout] 168 | | }) [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] = 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.rs:213:33 [INFO] [stdout] | [INFO] [stdout] 213 | .find(|&(_, m)| m.path().segments[0].ident == "wasm_bindgen") [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.rs:385:35 [INFO] [stdout] | [INFO] [stdout] 385 | 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.rs:470:12 [INFO] [stdout] | [INFO] [stdout] 410 | (program, attrs): (&ast::Program, BindgenAttrs), [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 419 | let mut fields = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 470 | Ok(ast::Struct { [INFO] [stdout] | ____________^ [INFO] [stdout] 471 | | rust_name: self.ident.clone(), [INFO] [stdout] 472 | | js_name, [INFO] [stdout] 473 | | fields, [INFO] [stdout] ... | [INFO] [stdout] 477 | | wasm_bindgen: program.wasm_bindgen.clone(), [INFO] [stdout] 478 | | }) [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.rs:727:12 [INFO] [stdout] | [INFO] [stdout] 700 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 701 | (program, attrs): (&ast::Program, BindgenAttrs), [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 708 | let is_type_of = attrs.is_type_of().cloned(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 709 | let shim = format!("__wbg_instanceof_{}_{}", self.ident, ShortHash(&self.ident)); [INFO] [stdout] 710 | let mut extends = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 711 | let mut vendor_prefixes = Vec::new(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 727 | Ok(ast::ImportKind::Type(ast::ImportType { [INFO] [stdout] | ____________^ [INFO] [stdout] 728 | | vis: self.vis, [INFO] [stdout] 729 | | attrs: self.attrs, [INFO] [stdout] 730 | | doc_comment: None, [INFO] [stdout] ... | [INFO] [stdout] 739 | | wasm_bindgen: program.wasm_bindgen.clone(), [INFO] [stdout] 740 | | })) [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.rs:778:12 [INFO] [stdout] | [INFO] [stdout] 750 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 751 | (program, opts, module): (&ast::Program, BindgenAttrs, &'a Option), [INFO] [stdout] | ------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 778 | Ok(ast::ImportKind::Static(ast::ImportStatic { [INFO] [stdout] | ____________^ [INFO] [stdout] 779 | | ty: *self.ty, [INFO] [stdout] 780 | | vis: self.vis, [INFO] [stdout] 781 | | rust_name: self.ident.clone(), [INFO] [stdout] ... | [INFO] [stdout] 785 | | thread_local, [INFO] [stdout] 786 | | })) [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.rs:836:12 [INFO] [stdout] | [INFO] [stdout] 796 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 797 | (program, opts, module): (&ast::Program, BindgenAttrs, &'a Option), [INFO] [stdout] | ------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 804 | lit: syn::Lit::Str(string), [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 836 | Ok(ast::ImportKind::String(ast::ImportString { [INFO] [stdout] | ____________^ [INFO] [stdout] 837 | | ty: *self.ty, [INFO] [stdout] 838 | | vis: self.vis, [INFO] [stdout] 839 | | rust_name: self.ident.clone(), [INFO] [stdout] ... | [INFO] [stdout] 843 | | string, [INFO] [stdout] 844 | | })) [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.rs:1001:8 [INFO] [stdout] | [INFO] [stdout] 892 | sig: syn::Signature, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 893 | attrs: Vec, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 894 | vis: syn::Visibility, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 912 | let syn::Signature { inputs, output, .. } = sig; [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] ... [INFO] [stdout] 944 | let arguments = inputs [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 969 | let ret = match output { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 970 | syn::ReturnType::Default => None, [INFO] [stdout] 971 | syn::ReturnType::Type(_, ty) => Some(replace_self(*ty)), [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1001 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 1002 | | ast::Function { [INFO] [stdout] 1003 | | arguments, [INFO] [stdout] 1004 | | name_span, [INFO] [stdout] ... | [INFO] [stdout] 1016 | | method_self, [INFO] [stdout] 1017 | | )) [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.rs:928:25 [INFO] [stdout] | [INFO] [stdout] 914 | let replace_self = |t: syn::Type| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 919 | let path = match get_ty(&t) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 923 | 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] 928 | syn::Type::Path(syn::TypePath { [INFO] [stdout] | _________________________^ [INFO] [stdout] 929 | | qself: None, [INFO] [stdout] 930 | | path: new_path, [INFO] [stdout] 931 | | }) [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.rs:1842:8 [INFO] [stdout] | [INFO] [stdout] 1827 | pub fn link_to(opts: BindgenAttrs) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1828 | let mut program = ast::Program::default(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1842 | Ok(ast::LinkToModule(program)) [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 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-bindgen-macro-support` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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:162:12 [INFO] [stdout] | [INFO] [stdout] 116 | let class = input.parse::()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | let mut wasm_bindgen = None; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | let mut wasm_bindgen_futures = None; [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | Ok(ClassMarker { [INFO] [stdout] | ____________^ [INFO] [stdout] 163 | | class, [INFO] [stdout] 164 | | js_class, [INFO] [stdout] 165 | | wasm_bindgen: wasm_bindgen.unwrap_or_else(|| syn::parse_quote! { wasm_bindgen }), [INFO] [stdout] 166 | | wasm_bindgen_futures: wasm_bindgen_futures [INFO] [stdout] 167 | | .unwrap_or_else(|| syn::parse_quote! { wasm_bindgen_futures }), [INFO] [stdout] 168 | | }) [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] = 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.rs:213:33 [INFO] [stdout] | [INFO] [stdout] 213 | .find(|&(_, m)| m.path().segments[0].ident == "wasm_bindgen") [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.rs:385:35 [INFO] [stdout] | [INFO] [stdout] 385 | 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.rs:470:12 [INFO] [stdout] | [INFO] [stdout] 410 | (program, attrs): (&ast::Program, BindgenAttrs), [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 419 | let mut fields = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 470 | Ok(ast::Struct { [INFO] [stdout] | ____________^ [INFO] [stdout] 471 | | rust_name: self.ident.clone(), [INFO] [stdout] 472 | | js_name, [INFO] [stdout] 473 | | fields, [INFO] [stdout] ... | [INFO] [stdout] 477 | | wasm_bindgen: program.wasm_bindgen.clone(), [INFO] [stdout] 478 | | }) [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.rs:727:12 [INFO] [stdout] | [INFO] [stdout] 700 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 701 | (program, attrs): (&ast::Program, BindgenAttrs), [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 708 | let is_type_of = attrs.is_type_of().cloned(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 709 | let shim = format!("__wbg_instanceof_{}_{}", self.ident, ShortHash(&self.ident)); [INFO] [stdout] 710 | let mut extends = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 711 | let mut vendor_prefixes = Vec::new(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 727 | Ok(ast::ImportKind::Type(ast::ImportType { [INFO] [stdout] | ____________^ [INFO] [stdout] 728 | | vis: self.vis, [INFO] [stdout] 729 | | attrs: self.attrs, [INFO] [stdout] 730 | | doc_comment: None, [INFO] [stdout] ... | [INFO] [stdout] 739 | | wasm_bindgen: program.wasm_bindgen.clone(), [INFO] [stdout] 740 | | })) [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.rs:778:12 [INFO] [stdout] | [INFO] [stdout] 750 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 751 | (program, opts, module): (&ast::Program, BindgenAttrs, &'a Option), [INFO] [stdout] | ------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 778 | Ok(ast::ImportKind::Static(ast::ImportStatic { [INFO] [stdout] | ____________^ [INFO] [stdout] 779 | | ty: *self.ty, [INFO] [stdout] 780 | | vis: self.vis, [INFO] [stdout] 781 | | rust_name: self.ident.clone(), [INFO] [stdout] ... | [INFO] [stdout] 785 | | thread_local, [INFO] [stdout] 786 | | })) [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.rs:836:12 [INFO] [stdout] | [INFO] [stdout] 796 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 797 | (program, opts, module): (&ast::Program, BindgenAttrs, &'a Option), [INFO] [stdout] | ------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 804 | lit: syn::Lit::Str(string), [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 836 | Ok(ast::ImportKind::String(ast::ImportString { [INFO] [stdout] | ____________^ [INFO] [stdout] 837 | | ty: *self.ty, [INFO] [stdout] 838 | | vis: self.vis, [INFO] [stdout] 839 | | rust_name: self.ident.clone(), [INFO] [stdout] ... | [INFO] [stdout] 843 | | string, [INFO] [stdout] 844 | | })) [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.rs:1001:8 [INFO] [stdout] | [INFO] [stdout] 892 | sig: syn::Signature, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 893 | attrs: Vec, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 894 | vis: syn::Visibility, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 912 | let syn::Signature { inputs, output, .. } = sig; [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] ... [INFO] [stdout] 944 | let arguments = inputs [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 969 | let ret = match output { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 970 | syn::ReturnType::Default => None, [INFO] [stdout] 971 | syn::ReturnType::Type(_, ty) => Some(replace_self(*ty)), [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1001 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 1002 | | ast::Function { [INFO] [stdout] 1003 | | arguments, [INFO] [stdout] 1004 | | name_span, [INFO] [stdout] ... | [INFO] [stdout] 1016 | | method_self, [INFO] [stdout] 1017 | | )) [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.rs:928:25 [INFO] [stdout] | [INFO] [stdout] 914 | let replace_self = |t: syn::Type| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 919 | let path = match get_ty(&t) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 923 | 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] 928 | syn::Type::Path(syn::TypePath { [INFO] [stdout] | _________________________^ [INFO] [stdout] 929 | | qself: None, [INFO] [stdout] 930 | | path: new_path, [INFO] [stdout] 931 | | }) [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.rs:1842:8 [INFO] [stdout] | [INFO] [stdout] 1827 | pub fn link_to(opts: BindgenAttrs) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1828 | let mut program = ast::Program::default(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1842 | Ok(ast::LinkToModule(program)) [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 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-bindgen-macro-support` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "a11b76e1b56e44ae542bc38290258a8d49fcf3d04a7aaa81e4a0ac955e54b3cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a11b76e1b56e44ae542bc38290258a8d49fcf3d04a7aaa81e4a0ac955e54b3cf", kill_on_drop: false }` [INFO] [stdout] a11b76e1b56e44ae542bc38290258a8d49fcf3d04a7aaa81e4a0ac955e54b3cf