[INFO] fetching crate swc_ecma_compat_es2018 0.12.0... [INFO] checking swc_ecma_compat_es2018-0.12.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate swc_ecma_compat_es2018 0.12.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate swc_ecma_compat_es2018 0.12.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate swc_ecma_compat_es2018 0.12.0 [INFO] finished tweaking crates.io crate swc_ecma_compat_es2018 0.12.0 [INFO] tweaked toml for crates.io crate swc_ecma_compat_es2018 0.12.0 written to /workspace/builds/worker-6-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 185 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding base64-simd v0.7.0 (latest: v0.8.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding matchers v0.1.0 (latest: v0.2.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (latest: v0.50.1) [INFO] [stderr] Adding outref v0.1.0 (latest: v0.5.1) [INFO] [stderr] Adding ptr_meta v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding ptr_meta_derive v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding regex-automata v0.1.10 (latest: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.4) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.1) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding siphasher v0.3.11 (latest: v1.0.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [INFO] [stderr] Adding yansi v0.5.1 (latest: v1.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a854db95a8655c95e767bee2a463aec23c0bb71dd681d0873d71dc9b617ecf1c [INFO] running `Command { std: "docker" "start" "-a" "a854db95a8655c95e767bee2a463aec23c0bb71dd681d0873d71dc9b617ecf1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a854db95a8655c95e767bee2a463aec23c0bb71dd681d0873d71dc9b617ecf1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a854db95a8655c95e767bee2a463aec23c0bb71dd681d0873d71dc9b617ecf1c", kill_on_drop: false }` [INFO] [stdout] a854db95a8655c95e767bee2a463aec23c0bb71dd681d0873d71dc9b617ecf1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 438c123684d40ef5a0a22649904c462df2c1a5cc5f403d5d150237f24c4ee08b [INFO] running `Command { std: "docker" "start" "-a" "438c123684d40ef5a0a22649904c462df2c1a5cc5f403d5d150237f24c4ee08b", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Compiling swc_macros_common v0.3.13 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking outref v0.1.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking simd-abstraction v0.7.1 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking base64-simd v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking unicode-id-start v1.2.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking swc_visit v0.6.2 [INFO] [stderr] Checking better_scoped_tls v0.1.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling from_variant v0.1.9 [INFO] [stderr] Compiling ast_node v0.9.9 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.4 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling string_enum v0.4.4 [INFO] [stderr] Compiling psm v0.1.22 [INFO] [stderr] Compiling is-macro v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking triomphe v0.1.13 [INFO] [stderr] Checking hstr v0.2.12 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking swc_atoms v0.6.7 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking sourcemap v9.0.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking unicode-id v0.3.4 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking ryu-js v1.0.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Checking swc_allocator v0.1.8 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking swc_common v0.37.5 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.7.7 [INFO] [stderr] Compiling swc_trace_macro v0.1.3 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling swc_ecma_transforms_macros v0.5.5 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking swc_ecma_ast v0.118.2 [INFO] [stderr] Checking swc_error_reporters v0.21.0 [INFO] [stderr] Compiling testing_macros v0.2.14 [INFO] [stderr] Checking testing v0.39.0 [INFO] [stderr] Checking swc_ecma_testing v0.26.0 [INFO] [stderr] Checking swc_ecma_visit v0.104.8 [INFO] [stderr] Checking swc_ecma_parser v0.149.1 [INFO] [stderr] Checking swc_ecma_codegen v0.155.1 [INFO] [stderr] Checking swc_ecma_utils v0.134.2 [INFO] [stderr] Checking swc_ecma_transforms_base v0.145.0 [INFO] [stderr] Checking swc_ecma_compat_common v0.11.0 [INFO] [stderr] Checking swc_ecma_transforms_testing v0.148.0 [INFO] [stderr] Checking swc_ecma_compat_es2018 v0.12.0 (/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/object_rest.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|decl| VarDeclarator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | name: decl.name, [INFO] [stdout] 53 | init: Some(Box::new(Expr::Ident(ref_ident.clone()))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | impl_for_for_stmt!(visit_mut_for_in_stmt, ForInStmt); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `impl_for_for_stmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object_rest.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|decl| VarDeclarator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | name: decl.name, [INFO] [stdout] 53 | init: Some(Box::new(Expr::Ident(ref_ident.clone()))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | impl_for_for_stmt!(visit_mut_for_of_stmt, ForOfStmt); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_for_for_stmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object_rest.rs:291:35 [INFO] [stdout] | [INFO] [stdout] 289 | .map(|ident| ExportNamedSpecifier { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | span: DUMMY_SP, [INFO] [stdout] 291 | orig: ident.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] [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/object_rest.rs:292:39 [INFO] [stdout] | [INFO] [stdout] 289 | .map(|ident| ExportNamedSpecifier { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | exported: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object_rest.rs:882:9 [INFO] [stdout] | [INFO] [stdout] 655 | pat: Pat, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 656 | obj: Box, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 675 | props, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 676 | type_ann, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 679 | Pat::Object(pat) => pat, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 680 | Pat::Assign(n) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 681 | let AssignPat { [INFO] [stdout] 682 | span, left, right, .. [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] 683 | } = n; [INFO] [stdout] 684 | let left = Box::new(self.fold_rest( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 693 | Pat::Array(n) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 694 | let ArrayPat { span, elems, .. } = n; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 695 | let elems = elems [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 720 | let mut props: Vec = props [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 846 | let last = match props.pop() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 847 | Some(ObjectPatProp::Rest(rest)) => rest, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 851 | let excluded_props = excluded_props(&props); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 882 | / ObjectPat { [INFO] [stdout] 883 | | props, [INFO] [stdout] 884 | | span, [INFO] [stdout] 885 | | type_ann, [INFO] [stdout] 886 | | optional: false, [INFO] [stdout] 887 | | } [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/object_rest.rs:703:33 [INFO] [stdout] | [INFO] [stdout] 699 | elem.map(|elem| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 703 | / if use_member_for_array { [INFO] [stdout] 704 | | obj.clone().computed_member(i as f64).into() [INFO] [stdout] 705 | | } else { [INFO] [stdout] 706 | | obj.clone() [INFO] [stdout] 707 | | }, [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swc_ecma_compat_es2018` (lib) due to 7 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/object_rest.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|decl| VarDeclarator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | name: decl.name, [INFO] [stdout] 53 | init: Some(Box::new(Expr::Ident(ref_ident.clone()))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | impl_for_for_stmt!(visit_mut_for_in_stmt, ForInStmt); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `impl_for_for_stmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object_rest.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|decl| VarDeclarator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | name: decl.name, [INFO] [stdout] 53 | init: Some(Box::new(Expr::Ident(ref_ident.clone()))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | impl_for_for_stmt!(visit_mut_for_of_stmt, ForOfStmt); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_for_for_stmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object_rest.rs:291:35 [INFO] [stdout] | [INFO] [stdout] 289 | .map(|ident| ExportNamedSpecifier { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | span: DUMMY_SP, [INFO] [stdout] 291 | orig: ident.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] [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/object_rest.rs:292:39 [INFO] [stdout] | [INFO] [stdout] 289 | .map(|ident| ExportNamedSpecifier { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | exported: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/object_rest.rs:882:9 [INFO] [stdout] | [INFO] [stdout] 655 | pat: Pat, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 656 | obj: Box, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 675 | props, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 676 | type_ann, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 679 | Pat::Object(pat) => pat, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 680 | Pat::Assign(n) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 681 | let AssignPat { [INFO] [stdout] 682 | span, left, right, .. [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] 683 | } = n; [INFO] [stdout] 684 | let left = Box::new(self.fold_rest( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 693 | Pat::Array(n) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 694 | let ArrayPat { span, elems, .. } = n; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 695 | let elems = elems [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 720 | let mut props: Vec = props [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 846 | let last = match props.pop() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 847 | Some(ObjectPatProp::Rest(rest)) => rest, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 851 | let excluded_props = excluded_props(&props); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 882 | / ObjectPat { [INFO] [stdout] 883 | | props, [INFO] [stdout] 884 | | span, [INFO] [stdout] 885 | | type_ann, [INFO] [stdout] 886 | | optional: false, [INFO] [stdout] 887 | | } [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/object_rest.rs:703:33 [INFO] [stdout] | [INFO] [stdout] 699 | elem.map(|elem| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 703 | / if use_member_for_array { [INFO] [stdout] 704 | | obj.clone().computed_member(i as f64).into() [INFO] [stdout] 705 | | } else { [INFO] [stdout] 706 | | obj.clone() [INFO] [stdout] 707 | | }, [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swc_ecma_compat_es2018` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "438c123684d40ef5a0a22649904c462df2c1a5cc5f403d5d150237f24c4ee08b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "438c123684d40ef5a0a22649904c462df2c1a5cc5f403d5d150237f24c4ee08b", kill_on_drop: false }` [INFO] [stdout] 438c123684d40ef5a0a22649904c462df2c1a5cc5f403d5d150237f24c4ee08b