[INFO] fetching crate swc_mut_cjs_exports 0.99.0... [INFO] checking swc_mut_cjs_exports-0.99.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate swc_mut_cjs_exports 0.99.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate swc_mut_cjs_exports 0.99.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] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate swc_mut_cjs_exports 0.99.0 [INFO] finished tweaking crates.io crate swc_mut_cjs_exports 0.99.0 [INFO] tweaked toml for crates.io crate swc_mut_cjs_exports 0.99.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 201 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [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 bytecheck v0.6.12 (latest: v0.7.0) [INFO] [stderr] Adding bytecheck_derive v0.6.12 (latest: v0.7.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [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 rkyv v0.7.44 (latest: v0.7.45) [INFO] [stderr] Adding rkyv_derive v0.7.44 (latest: v0.7.45) [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 sourcemap v8.0.1 (latest: v9.0.0) [INFO] [stderr] Adding swc_common v0.36.3 (latest: v0.37.5) [INFO] [stderr] Adding swc_core v0.99.6 (latest: v0.102.2) [INFO] [stderr] Adding swc_ecma_ast v0.117.4 (latest: v0.118.2) [INFO] [stderr] Adding swc_ecma_codegen v0.154.5 (latest: v0.155.1) [INFO] [stderr] Adding swc_ecma_parser v0.148.3 (latest: v0.149.1) [INFO] [stderr] Adding swc_ecma_testing v0.25.0 (latest: v0.26.0) [INFO] [stderr] Adding swc_ecma_transforms_base v0.143.3 (latest: v0.145.0) [INFO] [stderr] Adding swc_ecma_transforms_testing v0.146.2 (latest: v0.148.0) [INFO] [stderr] Adding swc_ecma_utils v0.133.4 (latest: v0.134.2) [INFO] [stderr] Adding swc_ecma_visit v0.103.3 (latest: v0.104.8) [INFO] [stderr] Adding swc_error_reporters v0.20.0 (latest: v0.21.0) [INFO] [stderr] Adding swc_plugin_proxy v0.46.0 (latest: v0.47.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding testing v0.38.1 (latest: v0.39.0) [INFO] [stderr] Adding vergen v8.3.2 (latest: v9.0.0) [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] 75459e8a502478cfe2ee59349395e485df39f81ce133119939f032fd0151d603 [INFO] running `Command { std: "docker" "start" "-a" "75459e8a502478cfe2ee59349395e485df39f81ce133119939f032fd0151d603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75459e8a502478cfe2ee59349395e485df39f81ce133119939f032fd0151d603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75459e8a502478cfe2ee59349395e485df39f81ce133119939f032fd0151d603", kill_on_drop: false }` [INFO] [stdout] 75459e8a502478cfe2ee59349395e485df39f81ce133119939f032fd0151d603 [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] 8b0c3dcd1c23991dbae5129940bf814b5573f900df0d6f90839ab80eb4aa5d23 [INFO] running `Command { std: "docker" "start" "-a" "8b0c3dcd1c23991dbae5129940bf814b5573f900df0d6f90839ab80eb4aa5d23", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling bytecheck v0.6.12 [INFO] [stderr] Compiling rend v0.4.2 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking simdutf8 v0.1.4 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling bytecheck_derive v0.6.12 [INFO] [stderr] Compiling swc_macros_common v0.3.13 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking outref v0.1.0 [INFO] [stderr] Compiling rkyv v0.7.44 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking simd-abstraction v0.7.1 [INFO] [stderr] Checking ahash v0.7.8 [INFO] [stderr] Compiling rkyv_derive v0.7.44 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking base64-simd v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking unicode-id-start v1.2.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling from_variant v0.1.9 [INFO] [stderr] Checking better_scoped_tls v0.1.1 [INFO] [stderr] Compiling ast_node v0.9.9 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.4 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Checking swc_visit v0.6.2 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling string_enum v0.4.4 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling psm v0.1.22 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling is-macro v0.3.6 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling vergen v8.3.2 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling testing_macros v0.2.14 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking unicode-id v0.3.4 [INFO] [stderr] Checking ryu-js v1.0.1 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.7.7 [INFO] [stderr] Compiling swc_trace_macro v0.1.3 [INFO] [stderr] Compiling swc_plugin_macro v0.9.16 [INFO] [stderr] Checking swc_plugin v0.90.2 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking miette v7.2.0 [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 cargo-platform v0.1.8 [INFO] [stderr] Checking hstr v0.2.12 [INFO] [stderr] Checking swc_allocator v0.1.8 [INFO] [stderr] Checking sourcemap v8.0.1 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Compiling swc_core v0.99.6 [INFO] [stderr] Checking swc_atoms v0.6.7 [INFO] [stderr] Checking swc_common v0.36.3 [INFO] [stderr] Checking swc_ecma_ast v0.117.4 [INFO] [stderr] Checking swc_error_reporters v0.20.0 [INFO] [stderr] Checking testing v0.38.1 [INFO] [stderr] Checking swc_ecma_testing v0.25.0 [INFO] [stderr] Checking swc_ecma_visit v0.103.3 [INFO] [stderr] Checking swc_ecma_parser v0.148.3 [INFO] [stderr] Checking swc_ecma_codegen v0.154.5 [INFO] [stderr] Checking swc_plugin_proxy v0.46.0 [INFO] [stderr] Checking swc_ecma_utils v0.133.4 [INFO] [stderr] Checking swc_ecma_transforms_base v0.143.3 [INFO] [stderr] Checking swc_ecma_transforms_testing v0.146.2 [INFO] [stderr] Checking swc_mut_cjs_exports v0.99.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/lib.rs:105:56 [INFO] [stdout] | [INFO] [stdout] 105 | .map(|ident| self.export_decl_id.contains(&ident.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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:120:64 [INFO] [stdout] | [INFO] [stdout] 120 | .map(|ident| self.export_decl_id.contains(&ident.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/lib.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 162 | fn export_all(&self, id: Id) -> ModuleItem { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | let mod_name = Ident::from(id); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | let key = private_ident!("key"); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | [INFO] [stdout] 166 | / member_expr!(Default::default(), DUMMY_SP, Object.keys) [INFO] [stdout] 167 | | .as_call(DUMMY_SP, vec![mod_name.clone().as_arg()]) [INFO] [stdout] 168 | | .make_member(quote_ident!("forEach")) [INFO] [stdout] 169 | | .as_call( [INFO] [stdout] ... | [INFO] [stdout] 281 | | ) [INFO] [stdout] 282 | | .into_stmt() [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/lib.rs:289:28 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn process_transform(program: Program, metadata: TransformPluginProgramMetadata) -> Program { [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] 289 | program.fold_with(&mut as_folder(TransformVisitor::new( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 290 | | metadata.unresolved_mark, [INFO] [stdout] 291 | | ))) [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/local_export_strip.rs:98:60 [INFO] [stdout] | [INFO] [stdout] 98 | ... .map(|decl| Stmt::Decl(Decl::Class(decl))) [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/local_export_strip.rs:104:60 [INFO] [stdout] | [INFO] [stdout] 104 | ... .map(|decl| Stmt::Decl(Decl::Fn(decl))) [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/local_export_strip.rs:155:36 [INFO] [stdout] | [INFO] [stdout] 155 | .map(|id| (id.sym.clone(), ExportItem::new(id.span, id))), [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/local_export_strip.rs:155:52 [INFO] [stdout] | [INFO] [stdout] 155 | .map(|id| (id.sym.clone(), ExportItem::new(id.span, id))), [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/local_export_strip.rs:175:28 [INFO] [stdout] | [INFO] [stdout] 173 | let NamedExport { specifiers, .. } = n.take(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | [INFO] [stdout] 175 | self.export.extend(specifiers.into_iter().map(|e| match e { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 176 | | ExportSpecifier::Namespace(..) => { [INFO] [stdout] 177 | | unreachable!("`export *` without src is invalid") [INFO] [stdout] 178 | | } [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] 201 | | })) [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/utils.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) fn prop_method_getter(ident: Ident) -> Prop { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let key = quote_ident!("get").into(); [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | [INFO] [stdout] 20 | / MethodProp { [INFO] [stdout] 21 | | key, [INFO] [stdout] 22 | | function: ident.into_lazy_fn(Default::default()).into(), [INFO] [stdout] 23 | | } [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/utils.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn prop_method_setter(ident: Ident) -> Prop { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let key = quote_ident!("set").into(); [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | [INFO] [stdout] 35 | let setter_param = private_ident!("v"); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let params = vec![setter_param.clone().into()]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | [INFO] [stdout] 38 | let body = BlockStmt { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | / MethodProp { [INFO] [stdout] 46 | | key, [INFO] [stdout] 47 | | function: Function { [INFO] [stdout] 48 | | params, [INFO] [stdout] ... | [INFO] [stdout] 52 | | .into(), [INFO] [stdout] 53 | | } [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/utils.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 75 | target: ExprOrSpread, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | prop_name: ExprOrSpread, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | getter: PropOrSpread, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | setter: PropOrSpread, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | / ObjectLit { [INFO] [stdout] 84 | | span: DUMMY_SP, [INFO] [stdout] 85 | | props: vec![ [INFO] [stdout] 86 | | PropOrSpread::Prop(Box::new( [INFO] [stdout] ... | [INFO] [stdout] 103 | | } [INFO] [stdout] 104 | | .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/utils.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) fn emit_export_stmts(exports: Ident, export: Export) -> Vec { [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] 109 | / export [INFO] [stdout] 110 | | .into_iter() [INFO] [stdout] 111 | | .map(|(export_name, export_item)| { [INFO] [stdout] 112 | | let prop_name = quote_str!(export_item.export_name_span(), export_name); [INFO] [stdout] ... | [INFO] [stdout] 121 | | .into_stmt() [INFO] [stdout] 122 | | }) [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/utils.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 111 | .map(|(export_name, export_item)| { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | let prop_name = quote_str!(export_item.export_name_span(), export_name); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | let local_ident = export_item.into_local_ident(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | [INFO] [stdout] 115 | / object_define_enumerable_configurable( [INFO] [stdout] 116 | | exports.clone().as_arg(), [INFO] [stdout] 117 | | prop_name.as_arg(), [INFO] [stdout] 118 | | prop_method_getter(local_ident.clone()).into(), [INFO] [stdout] 119 | | prop_method_setter(local_ident).into(), [INFO] [stdout] 120 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swc_mut_cjs_exports` (lib test) due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:105:56 [INFO] [stdout] | [INFO] [stdout] 105 | .map(|ident| self.export_decl_id.contains(&ident.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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:120:64 [INFO] [stdout] | [INFO] [stdout] 120 | .map(|ident| self.export_decl_id.contains(&ident.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/lib.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 162 | fn export_all(&self, id: Id) -> ModuleItem { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | let mod_name = Ident::from(id); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | let key = private_ident!("key"); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | [INFO] [stdout] 166 | / member_expr!(Default::default(), DUMMY_SP, Object.keys) [INFO] [stdout] 167 | | .as_call(DUMMY_SP, vec![mod_name.clone().as_arg()]) [INFO] [stdout] 168 | | .make_member(quote_ident!("forEach")) [INFO] [stdout] 169 | | .as_call( [INFO] [stdout] ... | [INFO] [stdout] 281 | | ) [INFO] [stdout] 282 | | .into_stmt() [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/lib.rs:289:28 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn process_transform(program: Program, metadata: TransformPluginProgramMetadata) -> Program { [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] 289 | program.fold_with(&mut as_folder(TransformVisitor::new( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 290 | | metadata.unresolved_mark, [INFO] [stdout] 291 | | ))) [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/local_export_strip.rs:98:60 [INFO] [stdout] | [INFO] [stdout] 98 | ... .map(|decl| Stmt::Decl(Decl::Class(decl))) [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/local_export_strip.rs:104:60 [INFO] [stdout] | [INFO] [stdout] 104 | ... .map(|decl| Stmt::Decl(Decl::Fn(decl))) [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/local_export_strip.rs:155:36 [INFO] [stdout] | [INFO] [stdout] 155 | .map(|id| (id.sym.clone(), ExportItem::new(id.span, id))), [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/local_export_strip.rs:155:52 [INFO] [stdout] | [INFO] [stdout] 155 | .map(|id| (id.sym.clone(), ExportItem::new(id.span, id))), [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/local_export_strip.rs:175:28 [INFO] [stdout] | [INFO] [stdout] 173 | let NamedExport { specifiers, .. } = n.take(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | [INFO] [stdout] 175 | self.export.extend(specifiers.into_iter().map(|e| match e { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 176 | | ExportSpecifier::Namespace(..) => { [INFO] [stdout] 177 | | unreachable!("`export *` without src is invalid") [INFO] [stdout] 178 | | } [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] 201 | | })) [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/utils.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) fn prop_method_getter(ident: Ident) -> Prop { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let key = quote_ident!("get").into(); [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | [INFO] [stdout] 20 | / MethodProp { [INFO] [stdout] 21 | | key, [INFO] [stdout] 22 | | function: ident.into_lazy_fn(Default::default()).into(), [INFO] [stdout] 23 | | } [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/utils.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn prop_method_setter(ident: Ident) -> Prop { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let key = quote_ident!("set").into(); [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | [INFO] [stdout] 35 | let setter_param = private_ident!("v"); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let params = vec![setter_param.clone().into()]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | [INFO] [stdout] 38 | let body = BlockStmt { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | / MethodProp { [INFO] [stdout] 46 | | key, [INFO] [stdout] 47 | | function: Function { [INFO] [stdout] 48 | | params, [INFO] [stdout] ... | [INFO] [stdout] 52 | | .into(), [INFO] [stdout] 53 | | } [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/utils.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 75 | target: ExprOrSpread, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | prop_name: ExprOrSpread, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | getter: PropOrSpread, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | setter: PropOrSpread, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | / ObjectLit { [INFO] [stdout] 84 | | span: DUMMY_SP, [INFO] [stdout] 85 | | props: vec![ [INFO] [stdout] 86 | | PropOrSpread::Prop(Box::new( [INFO] [stdout] ... | [INFO] [stdout] 103 | | } [INFO] [stdout] 104 | | .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/utils.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) fn emit_export_stmts(exports: Ident, export: Export) -> Vec { [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] 109 | / export [INFO] [stdout] 110 | | .into_iter() [INFO] [stdout] 111 | | .map(|(export_name, export_item)| { [INFO] [stdout] 112 | | let prop_name = quote_str!(export_item.export_name_span(), export_name); [INFO] [stdout] ... | [INFO] [stdout] 121 | | .into_stmt() [INFO] [stdout] 122 | | }) [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/utils.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 111 | .map(|(export_name, export_item)| { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | let prop_name = quote_str!(export_item.export_name_span(), export_name); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | let local_ident = export_item.into_local_ident(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | [INFO] [stdout] 115 | / object_define_enumerable_configurable( [INFO] [stdout] 116 | | exports.clone().as_arg(), [INFO] [stdout] 117 | | prop_name.as_arg(), [INFO] [stdout] 118 | | prop_method_getter(local_ident.clone()).into(), [INFO] [stdout] 119 | | prop_method_setter(local_ident).into(), [INFO] [stdout] 120 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swc_mut_cjs_exports` (lib) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "8b0c3dcd1c23991dbae5129940bf814b5573f900df0d6f90839ab80eb4aa5d23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b0c3dcd1c23991dbae5129940bf814b5573f900df0d6f90839ab80eb4aa5d23", kill_on_drop: false }` [INFO] [stdout] 8b0c3dcd1c23991dbae5129940bf814b5573f900df0d6f90839ab80eb4aa5d23