[INFO] fetching crate swc_ecma_minifier 0.204.0... [INFO] checking swc_ecma_minifier-0.204.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate swc_ecma_minifier 0.204.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate swc_ecma_minifier 0.204.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_minifier 0.204.0 [INFO] finished tweaking crates.io crate swc_ecma_minifier 0.204.0 [INFO] tweaked toml for crates.io crate swc_ecma_minifier 0.204.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate swc_ecma_minifier 0.204.0 already has a lockfile, it will not be regenerated [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 618715418edc684ef38330f46ddc4b86577dced1c5d737003cb195e56a312aca [INFO] running `Command { std: "docker" "start" "-a" "618715418edc684ef38330f46ddc4b86577dced1c5d737003cb195e56a312aca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "618715418edc684ef38330f46ddc4b86577dced1c5d737003cb195e56a312aca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "618715418edc684ef38330f46ddc4b86577dced1c5d737003cb195e56a312aca", kill_on_drop: false }` [INFO] [stdout] 618715418edc684ef38330f46ddc4b86577dced1c5d737003cb195e56a312aca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b3767a41018dc9b1562c9acd4a4606a445bfa3b711eadbe4fcf959d234626ccb [INFO] running `Command { std: "docker" "start" "-a" "b3767a41018dc9b1562c9acd4a4606a445bfa3b711eadbe4fcf959d234626ccb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking smallvec v1.12.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking swc_visit v0.6.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking better_scoped_tls v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking unicode-id-start v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking outref v0.1.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking simd-abstraction v0.7.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking unicode-id v0.3.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Checking ryu-js v1.0.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking base64-simd v0.7.0 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling tikv-jemalloc-sys v0.5.4+5.3.0-patched [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling relative-path v1.9.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking radix_fmt v1.0.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Compiling swc_macros_common v0.3.13 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling ast_node v0.9.9 [INFO] [stderr] Compiling from_variant v0.1.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 thiserror-impl v1.0.56 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling swc_config_macro v0.1.4 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.7.7 [INFO] [stderr] Compiling swc_ecma_transforms_macros v0.5.5 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling testing_macros v0.2.14 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking swc_timer v0.25.0 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking triomphe v0.1.13 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking cargo-platform v0.1.6 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking swc_cached v0.3.20 [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 tinytemplate v1.2.1 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking codspeed v2.6.0 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking swc_config v0.1.15 [INFO] [stderr] Checking swc_common v0.37.5 [INFO] [stderr] Checking swc_ecma_ast v0.118.2 [INFO] [stderr] Checking swc_fast_graph v0.25.0 [INFO] [stderr] Checking swc_error_reporters v0.21.0 [INFO] [stderr] Checking testing v0.39.0 [INFO] [stderr] Checking codspeed-criterion-compat v2.6.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_usage_analyzer v0.30.2 [INFO] [stderr] Checking swc_ecma_transforms_base v0.145.0 [INFO] [stderr] Checking swc_ecma_transforms_optimization v0.208.0 [INFO] [stderr] Checking swc_ecma_minifier v0.204.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:183:35 [INFO] [stdout] | [INFO] [stdout] 181 | let _timer = timer!("compress ast"); [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] 182 | [INFO] [stdout] 183 | n.visit_mut_with(&mut compressor( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 184 | | marks, [INFO] [stdout] 185 | | c, [INFO] [stdout] 186 | | options.mangle.as_ref(), [INFO] [stdout] 187 | | &Minification, [INFO] [stdout] 188 | | )) [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:117:50 [INFO] [stdout] | [INFO] [stdout] 117 | let defs = defs.iter().map(|(k, v)| (k.clone(), v.clone())).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/lib.rs:117:61 [INFO] [stdout] | [INFO] [stdout] 117 | let defs = defs.iter().map(|(k, v)| (k.clone(), v.clone())).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/compress/optimize/mod.rs:890:45 [INFO] [stdout] | [INFO] [stdout] 886 | ... .filter_map(|mut arg| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 890 | / ... self.ignore_return_value(&mut arg.expr) [INFO] [stdout] 891 | | ... .map(Box::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/compress/optimize/mod.rs:1051:37 [INFO] [stdout] | [INFO] [stdout] 1046 | ... .filter_map(|mut e| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1051 | / ... self.ignore_return_value(&mut e.expr) [INFO] [stdout] 1052 | | ... .map(Box::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/compress/optimize/conditionals.rs:866:19 [INFO] [stdout] | [INFO] [stdout] 865 | stmts.take().into_iter().for_each(|stmt| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 866 | match stmt.try_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/compress/optimize/iife.rs:275:61 [INFO] [stdout] | [INFO] [stdout] 275 | ... .map(|arg| Some(arg.clone())) [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/compress/optimize/iife.rs:516:30 [INFO] [stdout] | [INFO] [stdout] 516 | .map(|p| p.clone().ident().unwrap().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/compress/optimize/iife.rs:650:30 [INFO] [stdout] | [INFO] [stdout] 650 | .map(|p| p.pat.clone().ident().unwrap().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/compress/optimize/iife.rs:839:70 [INFO] [stdout] | [INFO] [stdout] 839 | param_ids.iter().all(|param| !used.contains(¶m.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/compress/optimize/loops.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 39 | self.prepend_stmts.extend(f.test.take().map(|expr| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | / ExprStmt { [INFO] [stdout] 41 | | span: DUMMY_SP, [INFO] [stdout] 42 | | expr, [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/compress/optimize/switches.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 120 | .map(|name| VarDeclarator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | span: DUMMY_SP, [INFO] [stdout] 122 | 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/compress/optimize/switches.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 120 | .map(|name| VarDeclarator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | 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/compress/pure/arrows.rs:149:49 [INFO] [stdout] | [INFO] [stdout] 147 | ... .map(|pat| Param { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | ... span: DUMMY_SP, [INFO] [stdout] 149 | ... decorators: 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/compress/pure/dead_code.rs:254:39 [INFO] [stdout] | [INFO] [stdout] 252 | ... let ids = extract_var_ids(&t).into_iter().map(|i| VarDeclarator { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | ... span: i.span, [INFO] [stdout] 254 | ... 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/compress/pure/dead_code.rs:255:39 [INFO] [stdout] | [INFO] [stdout] 252 | ... let ids = extract_var_ids(&t).into_iter().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] 255 | ... 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/compress/pure/dead_code.rs:439:44 [INFO] [stdout] | [INFO] [stdout] 439 | .flat_map(|stmt| match stmt.try_into_stmt() { [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/compress/pure/dead_code.rs:458:40 [INFO] [stdout] | [INFO] [stdout] 458 | .for_each(|stmt| match stmt.try_into_stmt() { [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/compress/pure/dead_code.rs:516:36 [INFO] [stdout] | [INFO] [stdout] 516 | .for_each(|stmt| match stmt.try_into_stmt() { [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/compress/pure/dead_code.rs:536:51 [INFO] [stdout] | [INFO] [stdout] 534 | ... .map(|name| VarDeclarator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 535 | ... span: DUMMY_SP, [INFO] [stdout] 536 | ... 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/compress/pure/dead_code.rs:537:51 [INFO] [stdout] | [INFO] [stdout] 534 | ... .map(|name| VarDeclarator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 537 | ... 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/compress/pure/dead_code.rs:562:47 [INFO] [stdout] | [INFO] [stdout] 560 | ... .map(|name| VarDeclarator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 561 | ... span: DUMMY_SP, [INFO] [stdout] 562 | ... 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/compress/pure/dead_code.rs:563:47 [INFO] [stdout] | [INFO] [stdout] 560 | ... .map(|name| VarDeclarator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 563 | ... 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/compress/pure/member_expr.rs:438:58 [INFO] [stdout] | [INFO] [stdout] 438 | ... .map(|elem| Some(ExprOrSpread { [INFO] [stdout] | _____________________________----_______^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 439 | | ... spread: None, [INFO] [stdout] 440 | | ... expr: elem, [INFO] [stdout] 441 | | ... })) [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/compress/pure/misc.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 381 | let (pattern, flag) = match args.as_slice() { [INFO] [stdout] | ------- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 406 | / Lit::Regex(Regex { [INFO] [stdout] 407 | | span: *span, [INFO] [stdout] 408 | | exp: pattern, [INFO] [stdout] 409 | | flags: { [INFO] [stdout] ... | [INFO] [stdout] 416 | | }) [INFO] [stdout] 417 | | .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] | [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/compress/pure/misc.rs:817:14 [INFO] [stdout] | [INFO] [stdout] 756 | let mut new_tpl = Tpl { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 817 | Some(new_tpl.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/compress/pure/misc.rs:907:13 [INFO] [stdout] | [INFO] [stdout] 876 | exprs: impl Iterator>, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 877 | ) -> Option { [INFO] [stdout] 878 | let mut exprs = exprs [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 907 | / SeqExpr { [INFO] [stdout] 908 | | span: DUMMY_SP, [INFO] [stdout] 909 | | exprs, [INFO] [stdout] 910 | | } [INFO] [stdout] 911 | | .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/compress/pure/misc.rs:1493:42 [INFO] [stdout] | [INFO] [stdout] 1475 | ... .filter_map(|mut e| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1493 | ... Some(ExprOrSpread { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 1494 | | ... spread: None, [INFO] [stdout] 1495 | | ... expr: e.expr, [INFO] [stdout] 1496 | | ... }) [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/compress/pure/vars.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 68 | stmts.take().into_iter().for_each(|stmt| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | match stmt.try_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/compress/util/mod.rs:585:30 [INFO] [stdout] | [INFO] [stdout] 580 | pub fn replace_expr(node: &mut N, op: F) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 585 | node.visit_mut_with(&mut ExprReplacer { op }) [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/compress/util/mod.rs:676:31 [INFO] [stdout] | [INFO] [stdout] 673 | .map(|name| VarDeclarator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 676 | 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/eval.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(module: Module, marks: Marks) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | data: 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/eval.rs:255:14 [INFO] [stdout] | [INFO] [stdout] 225 | let mut exprs = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 235 | let mut e: Box = Tpl { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 255 | Some(EvalResult::Lit(e.lit()?)) [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/metadata/mod.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 25 | let pure_funcs = options.map(|options| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | pure_callee: 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/option/mod.rs:474:51 [INFO] [stdout] | [INFO] [stdout] 474 | vars.extend(new_data.iter().map(|(k, v)| (k.clone(), v.clone()))); [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/option/mod.rs:474:62 [INFO] [stdout] | [INFO] [stdout] 474 | vars.extend(new_data.iter().map(|(k, v)| (k.clone(), v.clone()))); [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/option/mod.rs:479:52 [INFO] [stdout] | [INFO] [stdout] 479 | props.extend(new_data.iter().map(|(k, v)| (k.clone(), v.clone()))); [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/option/mod.rs:479:63 [INFO] [stdout] | [INFO] [stdout] 479 | props.extend(new_data.iter().map(|(k, v)| (k.clone(), v.clone()))); [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/option/terser.rs:265:26 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn into_config(self, cm: Lrc) -> CompressOptions { [INFO] [stdout] | ---- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | global_defs: self [INFO] [stdout] | __________________________^ [INFO] [stdout] 266 | | .global_defs [INFO] [stdout] 267 | | .into_iter() [INFO] [stdout] 268 | | .map(|(k, v)| { [INFO] [stdout] ... | [INFO] [stdout] 310 | | }) [INFO] [stdout] 311 | | .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/option/terser.rs:340:27 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn into_config(self, cm: Lrc) -> CompressOptions { [INFO] [stdout] | ---- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 340 | pure_getters: match self.pure_getters { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 341 | | TerserPureGetterOption::Bool(v) => PureGetterOption::Bool(v), [INFO] [stdout] 342 | | TerserPureGetterOption::Strict => PureGetterOption::Strict, [INFO] [stdout] 343 | | TerserPureGetterOption::Str(v) => { [INFO] [stdout] 344 | | PureGetterOption::Str(v.split(',').map(From::from).collect()) [INFO] [stdout] 345 | | } [INFO] [stdout] 346 | | }, [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/option/terser.rs:364:25 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn into_config(self, cm: Lrc) -> CompressOptions { [INFO] [stdout] | ---- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 364 | top_retain: self.top_retain.map(From::from).unwrap_or_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/option/terser.rs:380:25 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn into_config(self, cm: Lrc) -> CompressOptions { [INFO] [stdout] | ---- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 380 | pure_funcs: self [INFO] [stdout] | _________________________^ [INFO] [stdout] 381 | | .pure_funcs [INFO] [stdout] 382 | | .into_iter() [INFO] [stdout] 383 | | .map(|input| { [INFO] [stdout] ... | [INFO] [stdout] 400 | | }) [INFO] [stdout] 401 | | .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/option/terser.rs:295:25 [INFO] [stdout] | [INFO] [stdout] 268 | .map(|(k, v)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 287 | let key = parse(if let Some(k) = k.strip_prefix('@') { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 295 | / if k.starts_with('@') { [INFO] [stdout] 296 | | parse( [INFO] [stdout] 297 | | v.as_str() [INFO] [stdout] 298 | | .unwrap_or_else(|| { [INFO] [stdout] ... | [INFO] [stdout] 307 | | value_to_expr(v) [INFO] [stdout] 308 | | }, [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/option/terser.rs:272:25 [INFO] [stdout] | [INFO] [stdout] 270 | let fm = cm.new_source_file(FileName::Anon.into(), input); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 271 | [INFO] [stdout] 272 | / parse_file_as_expr( [INFO] [stdout] 273 | | &fm, [INFO] [stdout] 274 | | Default::default(), [INFO] [stdout] 275 | | Default::default(), [INFO] [stdout] ... | [INFO] [stdout] 278 | | ) [INFO] [stdout] 279 | | .map(drop_span) [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/option/terser.rs:386:21 [INFO] [stdout] | [INFO] [stdout] 384 | let fm = cm.new_source_file(FileName::Anon.into(), input); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 385 | [INFO] [stdout] 386 | / parse_file_as_expr( [INFO] [stdout] 387 | | &fm, [INFO] [stdout] 388 | | Default::default(), [INFO] [stdout] 389 | | Default::default(), [INFO] [stdout] ... | [INFO] [stdout] 392 | | ) [INFO] [stdout] 393 | | .map(drop_span) [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/option/terser.rs:490:34 [INFO] [stdout] | [INFO] [stdout] 490 | .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/option/terser.rs:502:35 [INFO] [stdout] | [INFO] [stdout] 502 | .map(|(k, v)| (k, value_to_expr(v))) [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/option/terser.rs:504:26 [INFO] [stdout] | [INFO] [stdout] 503 | .map(|(key, value)| KeyValueProp { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 504 | key: PropName::Str(Str { [INFO] [stdout] | __________________________^ [INFO] [stdout] 505 | | span: DUMMY_SP, [INFO] [stdout] 506 | | raw: None, [INFO] [stdout] 507 | | value: key.into(), [INFO] [stdout] 508 | | }), [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/pass/global_defs.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 8 | defs: Vec<(Box, Box)>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | ..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/pass/mangle_names/mod.rs:42:70 [INFO] [stdout] | [INFO] [stdout] 42 | .vars_cache(&mut |v| cache.extend(v.iter().map(|(k, v)| (k.clone(), v.clone())))); [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/pass/mangle_names/mod.rs:42:81 [INFO] [stdout] | [INFO] [stdout] 42 | .vars_cache(&mut |v| cache.extend(v.iter().map(|(k, v)| (k.clone(), v.clone())))); [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/program_data.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 201 | fn var_or_default(&mut self, id: Id) -> &mut Self::VarData { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 202 | self.vars.entry(id).or_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/program_data.rs:338:15 [INFO] [stdout] | [INFO] [stdout] 338 | ..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/util/mod.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 34 | fn into_module_item(self) -> ModuleItem { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | match self.into_module_decl() { [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/util/mod.rs:297:15 [INFO] [stdout] | [INFO] [stdout] 296 | fn opt(self) -> Option { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | match self.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/util/unit.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 50 | let _noop_sub = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | &self [INFO] [stdout] | ______________^ [INFO] [stdout] 55 | | .clone() [INFO] [stdout] 56 | | .fold_with(&mut fixer(None)) [INFO] [stdout] 57 | | .fold_with(&mut hygiene()) [INFO] [stdout] 58 | | .fold_with(&mut as_folder(DropSpan {})), [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/util/unit.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 79 | let _noop_sub = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | &self [INFO] [stdout] | ______________^ [INFO] [stdout] 84 | | .clone() [INFO] [stdout] 85 | | .fold_with(&mut fixer(None)) [INFO] [stdout] 86 | | .fold_with(&mut hygiene()) [INFO] [stdout] 87 | | .fold_with(&mut as_folder(DropSpan {})), [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/util/unit.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 108 | let _noop_sub = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | &self [INFO] [stdout] | ______________^ [INFO] [stdout] 113 | | .clone() [INFO] [stdout] 114 | | .fold_with(&mut fixer(None)) [INFO] [stdout] 115 | | .fold_with(&mut hygiene()) [INFO] [stdout] 116 | | .fold_with(&mut as_folder(DropSpan {})), [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 58 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swc_ecma_minifier` (lib) due to 59 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b3767a41018dc9b1562c9acd4a4606a445bfa3b711eadbe4fcf959d234626ccb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3767a41018dc9b1562c9acd4a4606a445bfa3b711eadbe4fcf959d234626ccb", kill_on_drop: false }` [INFO] [stdout] b3767a41018dc9b1562c9acd4a4606a445bfa3b711eadbe4fcf959d234626ccb