[INFO] fetching crate swc_ecma_transforms_proposal 0.179.0... [INFO] checking swc_ecma_transforms_proposal-0.179.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate swc_ecma_transforms_proposal 0.179.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate swc_ecma_transforms_proposal 0.179.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_transforms_proposal 0.179.0 [INFO] finished tweaking crates.io crate swc_ecma_transforms_proposal 0.179.0 [INFO] tweaked toml for crates.io crate swc_ecma_transforms_proposal 0.179.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] Updating crates.io index [INFO] [stderr] Locking 206 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 dashmap v5.5.3 (latest: v6.0.1) [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 wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [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] 726914e5b8524700b018f6a1c9c470a6fe4deaeec0386aab175a82f61f1f5343 [INFO] running `Command { std: "docker" "start" "-a" "726914e5b8524700b018f6a1c9c470a6fe4deaeec0386aab175a82f61f1f5343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "726914e5b8524700b018f6a1c9c470a6fe4deaeec0386aab175a82f61f1f5343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "726914e5b8524700b018f6a1c9c470a6fe4deaeec0386aab175a82f61f1f5343", kill_on_drop: false }` [INFO] [stdout] 726914e5b8524700b018f6a1c9c470a6fe4deaeec0386aab175a82f61f1f5343 [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] 72dc97bac24e552ff356b18fb59eefa2bad88827ecf89b52d88bf1e8573b5fcc [INFO] running `Command { std: "docker" "start" "-a" "72dc97bac24e552ff356b18fb59eefa2bad88827ecf89b52d88bf1e8573b5fcc", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking outref v0.1.0 [INFO] [stderr] Checking simd-abstraction v0.7.1 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking base64-simd v0.7.0 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking unicode-id-start v1.2.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking swc_visit v0.6.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking better_scoped_tls v0.1.1 [INFO] [stderr] Compiling psm v0.1.22 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Checking unicode-id v0.3.4 [INFO] [stderr] Checking ryu-js v1.0.1 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling swc_macros_common v0.3.13 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [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] Compiling is-macro v0.3.6 [INFO] [stderr] Compiling string_enum v0.4.4 [INFO] [stderr] Compiling swc_trace_macro v0.1.3 [INFO] [stderr] Compiling swc_ecma_transforms_macros v0.5.5 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling swc_config_macro v0.1.4 [INFO] [stderr] Compiling testing_macros v0.2.14 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.7.7 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking triomphe v0.1.13 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking swc_cached v0.3.20 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking hstr v0.2.12 [INFO] [stderr] Checking swc_allocator v0.1.8 [INFO] [stderr] Checking swc_atoms v0.6.7 [INFO] [stderr] Checking sourcemap v9.0.0 [INFO] [stderr] Checking swc_config v0.1.15 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking swc_common v0.37.5 [INFO] [stderr] Checking swc_ecma_ast v0.118.2 [INFO] [stderr] Checking swc_error_reporters v0.21.0 [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_compat_common v0.11.0 [INFO] [stderr] Checking swc_ecma_transforms_base v0.145.0 [INFO] [stderr] Checking swc_ecma_transforms_classes v0.134.0 [INFO] [stderr] Checking swc_ecma_compat_es2019 v0.12.0 [INFO] [stderr] Checking swc_ecma_compat_es2017 v0.12.0 [INFO] [stderr] Checking swc_ecma_compat_es2021 v0.12.0 [INFO] [stderr] Checking swc_ecma_compat_es3 v0.12.0 [INFO] [stderr] Checking swc_ecma_compat_es2016 v0.12.0 [INFO] [stderr] Checking swc_ecma_compat_es2018 v0.12.0 [INFO] [stderr] Checking swc_ecma_transforms_testing v0.148.0 [INFO] [stderr] Checking swc_ecma_compat_es2015 v0.12.0 [INFO] [stderr] Checking swc_ecma_compat_es2022 v0.12.0 [INFO] [stderr] Checking swc_ecma_transforms_proposal v0.179.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/decorator_impl.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | decorators: Vec, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | ) -> Vec> { [INFO] [stdout] 73 | / decorators [INFO] [stdout] 74 | | .into_iter() [INFO] [stdout] 75 | | .map(|e| Some(self.preserve_side_effect_of_decorator(e.expr).as_arg())) [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/decorator_impl.rs:75:27 [INFO] [stdout] | [INFO] [stdout] 75 | .map(|e| Some(self.preserve_side_effect_of_decorator(e.expr).as_arg())) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/decorator_impl.rs:741:9 [INFO] [stdout] | [INFO] [stdout] 470 | let old_state = take(&mut self.state); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 471 | [INFO] [stdout] 472 | let decorators = self.preserve_side_effect_of_decorators(c.class.decorators.take()); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 473 | [INFO] [stdout] 474 | let init_class = private_ident!("_initClass"); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 483 | let preserved_class_name = c.ident.clone().into_private(); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 484 | let new_class_name = private_ident!(format!("_{}", c.ident.sym)); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 504 | let mut body = c.class.body.take(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 741 | c.take().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/decorator_impl.rs:655:21 [INFO] [stdout] | [INFO] [stdout] 654 | let static_call = last_static_block.map(|last| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 655 | / CallExpr { [INFO] [stdout] 656 | | span: DUMMY_SP, [INFO] [stdout] 657 | | callee: ArrowExpr { [INFO] [stdout] 658 | | span: DUMMY_SP, [INFO] [stdout] ... | [INFO] [stdout] 671 | | ..Default::default() [INFO] [stdout] 672 | | } [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/decorator_impl.rs:1917:9 [INFO] [stdout] | [INFO] [stdout] 1911 | fn merge_decorators(decorators: Vec>) -> Option { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1917 | / ArrayLit { [INFO] [stdout] 1918 | | span: DUMMY_SP, [INFO] [stdout] 1919 | | elems: decorators, [INFO] [stdout] 1920 | | } [INFO] [stdout] 1921 | | .as_arg(), [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/decorators/mod.rs:560:9 [INFO] [stdout] | [INFO] [stdout] 280 | fn fold_class_inner(&mut self, ident: Ident, mut class: Box) -> Expr { [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] 281 | let initialize = private_ident!("_initialize"); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 282 | let super_class_ident = class [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 286 | let super_class_expr = class.super_class; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | let constructor = { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | let initialize_call = CallExpr { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 308 | let mut c = match class.body.remove(pos) { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 309 | ClassMember::Constructor(c) => c, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 317 | let mut c = default_constructor(super_class_ident.is_some()); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 330 | let mut vars = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 430 | let descriptors = class [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 560 | / make_decorate_call( [INFO] [stdout] 561 | | class.decorators, [INFO] [stdout] 562 | | iter::once({ [INFO] [stdout] 563 | | // function(_initialize) {} [INFO] [stdout] ... | [INFO] [stdout] 638 | | .chain(super_class_expr.map(|e| e.as_arg())), [INFO] [stdout] 639 | | ) [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/decorators/mod.rs:571:41 [INFO] [stdout] | [INFO] [stdout] 569 | .map(|pat| Param { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 570 | span: DUMMY_SP, [INFO] [stdout] 571 | decorators: Vec::new(), [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/decorators/mod.rs:651:15 [INFO] [stdout] | [INFO] [stdout] 645 | decorators: Vec, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 646 | args: impl Iterator, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 651 | args: iter::once( [INFO] [stdout] | _______________^ [INFO] [stdout] 652 | | ArrayLit { [INFO] [stdout] 653 | | span: DUMMY_SP, [INFO] [stdout] 654 | | elems: decorators [INFO] [stdout] ... | [INFO] [stdout] 661 | | .chain(args) [INFO] [stdout] 662 | | .collect(), [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/decorators/mod.rs:663:11 [INFO] [stdout] | [INFO] [stdout] 645 | decorators: Vec, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 646 | args: impl Iterator, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 663 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/decorators/mod.rs:656:37 [INFO] [stdout] | [INFO] [stdout] 656 | .map(|dec| Some(dec.expr.as_arg())) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/decorators/legacy/mod.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 83 | .map(|expr| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | / ExprStmt { [INFO] [stdout] 85 | | span: DUMMY_SP, [INFO] [stdout] 86 | | expr, [INFO] [stdout] 87 | | } [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/decorators/legacy/mod.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 98 | .map(|expr| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | / ExprStmt { [INFO] [stdout] 100 | | span: DUMMY_SP, [INFO] [stdout] 101 | | expr, [INFO] [stdout] 102 | | } [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/decorators/legacy/metadata.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 66 | mut decorator_expr: Box, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | expr: CallExpr { [INFO] [stdout] | ___________________^ [INFO] [stdout] 73 | | span: DUMMY_SP, [INFO] [stdout] 74 | | callee: helper!(ts, ts_param), [INFO] [stdout] 75 | | args: vec![param_index.as_arg(), decorator_expr.as_arg()], [INFO] [stdout] 76 | | ..Default::default() [INFO] [stdout] 77 | | } [INFO] [stdout] 78 | | .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/decorators/legacy/metadata.rs:289:19 [INFO] [stdout] | [INFO] [stdout] 286 | fn create_metadata_design_decorator(&self, design: &str, type_arg: ExprOrSpread) -> Decorator { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | expr: CallExpr { [INFO] [stdout] | ___________________^ [INFO] [stdout] 290 | | span: DUMMY_SP, [INFO] [stdout] 291 | | callee: helper!(ts, ts_metadata), [INFO] [stdout] 292 | | args: vec![design.as_arg(), type_arg], [INFO] [stdout] 293 | | ..Default::default() [INFO] [stdout] 294 | | } [INFO] [stdout] 295 | | .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/decorators/legacy/metadata.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 363 | let member_expr = ts_entity_to_member_expr(&ty.type_name); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 371 | / CondExpr { [INFO] [stdout] 372 | | span: DUMMY_SP, [INFO] [stdout] 373 | | test: check_object_existed(Box::new(member_expr.clone())), [INFO] [stdout] 374 | | cons: Box::new(quote_ident!("Object").into()), [INFO] [stdout] 375 | | alt: Box::new(member_expr), [INFO] [stdout] 376 | | } [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/explicit_resource_management.rs:268:47 [INFO] [stdout] | [INFO] [stdout] 266 | ... .map(|var_name| VarDeclarator { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 267 | ... span: DUMMY_SP, [INFO] [stdout] 268 | ... name: var_name.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/explicit_resource_management.rs:269:47 [INFO] [stdout] | [INFO] [stdout] 266 | ... .map(|var_name| VarDeclarator { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 269 | ... init: 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/explicit_resource_management.rs:489:35 [INFO] [stdout] | [INFO] [stdout] 472 | .map(|d| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 473 | let init = CallExpr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 479 | quote_ident!("a") [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] 480 | } else { [INFO] [stdout] 481 | quote_ident!("u") [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] 489 | init: Some(init.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: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swc_ecma_transforms_proposal` (lib) due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "72dc97bac24e552ff356b18fb59eefa2bad88827ecf89b52d88bf1e8573b5fcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72dc97bac24e552ff356b18fb59eefa2bad88827ecf89b52d88bf1e8573b5fcc", kill_on_drop: false }` [INFO] [stdout] 72dc97bac24e552ff356b18fb59eefa2bad88827ecf89b52d88bf1e8573b5fcc