[INFO] fetching crate swc_ecma_transforms_optimization 0.208.1... [INFO] checking swc_ecma_transforms_optimization-0.208.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate swc_ecma_transforms_optimization 0.208.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate swc_ecma_transforms_optimization 0.208.1 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_optimization 0.208.1 [INFO] finished tweaking crates.io crate swc_ecma_transforms_optimization 0.208.1 [INFO] tweaked toml for crates.io crate swc_ecma_transforms_optimization 0.208.1 written to /workspace/builds/worker-2-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 222 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 fixedbitset v0.4.2 (latest: v0.5.7) [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 normpath v0.2.0 (latest: v1.3.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 path-clean v0.1.0 (latest: v1.0.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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 31b5d4b2521b202daf95635b3a4fa827f4d7619a3e5e2f195bc1c00820eef26c [INFO] running `Command { std: "docker" "start" "-a" "31b5d4b2521b202daf95635b3a4fa827f4d7619a3e5e2f195bc1c00820eef26c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31b5d4b2521b202daf95635b3a4fa827f4d7619a3e5e2f195bc1c00820eef26c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31b5d4b2521b202daf95635b3a4fa827f4d7619a3e5e2f195bc1c00820eef26c", kill_on_drop: false }` [INFO] [stdout] 31b5d4b2521b202daf95635b3a4fa827f4d7619a3e5e2f195bc1c00820eef26c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 047f6a7e9934216741aae01373dbadaecd06c095948ae96df0ad56a12ce02446 [INFO] running `Command { std: "docker" "start" "-a" "047f6a7e9934216741aae01373dbadaecd06c095948ae96df0ad56a12ce02446", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking smallvec v1.13.2 [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] Compiling syn v1.0.109 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking outref v0.1.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking simd-abstraction v0.7.1 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking base64-simd v0.7.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking unicode-id-start v1.2.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking better_scoped_tls v0.1.1 [INFO] [stderr] Checking swc_visit v0.6.2 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling psm v0.1.22 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking ryu-js v1.0.1 [INFO] [stderr] Checking unicode-id v0.3.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [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] Compiling glob v0.3.1 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking path-clean v0.1.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking path-clean v1.0.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Compiling swc_macros_common v0.3.13 [INFO] [stderr] Checking matchers v0.1.0 [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 ast_node v0.9.9 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.4 [INFO] [stderr] Compiling from_variant v0.1.9 [INFO] [stderr] Compiling string_enum v0.4.4 [INFO] [stderr] Compiling is-macro v0.3.6 [INFO] [stderr] Compiling swc_trace_macro v0.1.3 [INFO] [stderr] Compiling swc_ecma_transforms_macros v0.5.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling swc_config_macro v0.1.4 [INFO] [stderr] Compiling miette-derive v7.2.0 [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] Compiling testing_macros v0.2.14 [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 swc_fast_graph v0.25.0 [INFO] [stderr] Checking swc_ecma_loader v0.49.1 [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_es3 v0.12.0 [INFO] [stderr] Checking swc_ecma_compat_es2016 v0.12.0 [INFO] [stderr] Checking swc_ecma_compat_es2021 v0.12.0 [INFO] [stderr] Checking swc_ecma_compat_es2018 v0.12.0 [INFO] [stderr] Checking swc_ecma_compat_es2017 v0.12.0 [INFO] [stderr] Checking swc_ecma_transforms_react v0.191.0 [INFO] [stderr] Checking swc_ecma_transforms_module v0.190.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 [INFO] [stderr] Checking swc_ecma_transforms_testing v0.148.0 [INFO] [stderr] Checking swc_ecma_transforms_typescript v0.198.1 [INFO] [stderr] Checking swc_ecma_transforms_optimization v0.208.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking swc_ecma_compat_es2020 v0.12.0 [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/const_modules.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 23 | cm: Lrc, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | globals: FxHashMap>, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | ) -> impl Fold { [INFO] [stdout] 26 | as_folder(ConstModules { [INFO] [stdout] | _______________^ [INFO] [stdout] 27 | | globals: globals [INFO] [stdout] 28 | | .into_iter() [INFO] [stdout] 29 | | .map(|(src, map)| { [INFO] [stdout] ... | [INFO] [stdout] 42 | | scope: Default::default(), [INFO] [stdout] 43 | | }) [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/const_modules.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 64 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | if HANDLER.is_set() { [INFO] [stdout] 66 | HANDLER.with(|h| e.into_diagnostic(h).emit()) [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/const_modules.rs:175:73 [INFO] [stdout] | [INFO] [stdout] 175 | .filter(|member_obj| self.scope.namespace.contains(&member_obj.to_id())) [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/inline_globals.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 18 | envs: Lrc>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | globals: Lrc>, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | typeofs: Lrc>, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | ) -> impl Fold + VisitMut { [INFO] [stdout] 22 | inline_globals2(envs, globals, Default::default(), typeofs) [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/inline_globals.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 32 | envs: Lrc>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | globals: Lrc>, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | global_exprs: GlobalExprMap, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | typeofs: Lrc>, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | ) -> impl Fold + VisitMut { [INFO] [stdout] 37 | as_folder(InlineGlobals { [INFO] [stdout] | _______________^ [INFO] [stdout] 38 | | envs, [INFO] [stdout] 39 | | globals, [INFO] [stdout] 40 | | global_exprs, [INFO] [stdout] 41 | | typeofs, [INFO] [stdout] 42 | | bindings: Default::default(), [INFO] [stdout] 43 | | }) [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/inline_globals.rs:76:66 [INFO] [stdout] | [INFO] [stdout] 76 | Ident::within_ignored_ctxt(|| self.global_exprs.get(&NodeIgnoringSpan::borrowed(expr))) [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/json_parse.rs:120:34 [INFO] [stdout] | [INFO] [stdout] 120 | .map(|v| jsonify(*v.unwrap().expr)) [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/simplify/branch/mod.rs:529:56 [INFO] [stdout] | [INFO] [stdout] 529 | let var = handler.and_then(|h| Stmt::from(h.body).extract_var_ids_as_var()); [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/simplify/branch/mod.rs:599:59 [INFO] [stdout] | [INFO] [stdout] 598 | ... decls: var.decls.move_map(|decl| VarDeclarator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 599 | ... 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/simplify/branch/mod.rs:755:43 [INFO] [stdout] | [INFO] [stdout] 753 | ... .map(|i| VarDeclarator { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 754 | ... span: DUMMY_SP, [INFO] [stdout] 755 | ... name: i.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/simplify/branch/mod.rs:756:43 [INFO] [stdout] | [INFO] [stdout] 753 | ... .map(|i| VarDeclarator { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 756 | ... 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/simplify/branch/mod.rs:818:55 [INFO] [stdout] | [INFO] [stdout] 816 | ... |name| VarDeclarator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 817 | ... span: DUMMY_SP, [INFO] [stdout] 818 | ... name: 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/simplify/branch/mod.rs:819:55 [INFO] [stdout] | [INFO] [stdout] 816 | ... |name| VarDeclarator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 819 | ... 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/simplify/branch/mod.rs:905:73 [INFO] [stdout] | [INFO] [stdout] 905 | ... .for_each(|stmt| var_ids.extend(stmt.extract_var_ids())); [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/simplify/branch/mod.rs:1022:43 [INFO] [stdout] | [INFO] [stdout] 1020 | ... .map(|i| VarDeclarator { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1021 | ... span: i.span, [INFO] [stdout] 1022 | ... name: i.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/simplify/branch/mod.rs:1023:43 [INFO] [stdout] | [INFO] [stdout] 1020 | ... .map(|i| VarDeclarator { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1023 | ... 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/simplify/branch/mod.rs:1304:55 [INFO] [stdout] | [INFO] [stdout] 1301 | ... let ids = extract_var_ids(&t).into_iter().map(|i| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1304 | ... name: i.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/simplify/branch/mod.rs:1305:55 [INFO] [stdout] | [INFO] [stdout] 1301 | ... let ids = extract_var_ids(&t).into_iter().map(|i| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1305 | ... 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/simplify/branch/mod.rs:1584:38 [INFO] [stdout] | [INFO] [stdout] 1584 | .map(|expr| Some(ExprOrSpread { spread: None, expr })), [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/simplify/branch/mod.rs:1596:51 [INFO] [stdout] | [INFO] [stdout] 1596 | elems.into_iter().map(|v| v.unwrap().expr), [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/simplify/branch/mod.rs:1640:33 [INFO] [stdout] | [INFO] [stdout] 1640 | .map(|args| args.into_iter().map(Some).collect()) [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/simplify/branch/mod.rs:1876:5 [INFO] [stdout] | [INFO] [stdout] 1847 | fn prepare_loop_body_for_inlining(stmt: Stmt) -> Stmt { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1848 | let span = stmt.span(); [INFO] [stdout] 1849 | let mut stmts = match stmt { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1850 | Stmt::Block(BlockStmt { stmts, .. }) => stmts, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1876 | / BlockStmt { [INFO] [stdout] 1877 | | span, [INFO] [stdout] 1878 | | stmts, [INFO] [stdout] 1879 | | ..Default::default() [INFO] [stdout] 1880 | | } [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/simplify/dce/mod.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 31 | config: Config, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | as_folder(TreeShaker { [INFO] [stdout] | _______________^ [INFO] [stdout] 35 | | expr_ctx: ExprCtx { [INFO] [stdout] 36 | | unresolved_ctxt: SyntaxContext::empty().apply_mark(unresolved_mark), [INFO] [stdout] 37 | | is_unresolved_ref_safe: false, [INFO] [stdout] ... | [INFO] [stdout] 46 | | bindings: Default::default(), [INFO] [stdout] 47 | | }) [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/simplify/dce/mod.rs:412:31 [INFO] [stdout] | [INFO] [stdout] 412 | .flat_map(|d| find_pat_ids(d).into_iter()) [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/simplify/expr/mod.rs:1389:38 [INFO] [stdout] | [INFO] [stdout] 1388 | ... e.extend(expr.array().unwrap().elems.into_iter().map(|elem| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1389 | ... Some(elem.unwrap_or_else(|| ExprOrSpread { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 1390 | | ... spread: None, [INFO] [stdout] 1391 | | ... expr: Expr::undefined(DUMMY_SP), [INFO] [stdout] 1392 | | ... })) [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/simplify/expr/mod.rs:1391:43 [INFO] [stdout] | [INFO] [stdout] 1391 | ... expr: Expr::undefined(DUMMY_SP), [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/simplify/expr/mod.rs:1684:32 [INFO] [stdout] | [INFO] [stdout] 1680 | fn make_bool_expr(ctx: &ExprCtx, span: Span, value: bool, orig: I) -> Box [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1684 | ctx.preserve_effects(span, Lit::Bool(Bool { value, span }).into(), orig) [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 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swc_ecma_transforms_optimization` (lib) due to 28 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "047f6a7e9934216741aae01373dbadaecd06c095948ae96df0ad56a12ce02446", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "047f6a7e9934216741aae01373dbadaecd06c095948ae96df0ad56a12ce02446", kill_on_drop: false }` [INFO] [stdout] 047f6a7e9934216741aae01373dbadaecd06c095948ae96df0ad56a12ce02446