[INFO] fetching crate dbg-swc 0.103.0... [INFO] checking dbg-swc-0.103.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate dbg-swc 0.103.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate dbg-swc 0.103.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 dbg-swc 0.103.0 [INFO] finished tweaking crates.io crate dbg-swc 0.103.0 [INFO] tweaked toml for crates.io crate dbg-swc 0.103.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate dbg-swc 0.103.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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2bf24610a17dcd542997c24a8887b1e91e459919c3cb2bcf852ae6c23c17f557 [INFO] running `Command { std: "docker" "start" "-a" "2bf24610a17dcd542997c24a8887b1e91e459919c3cb2bcf852ae6c23c17f557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bf24610a17dcd542997c24a8887b1e91e459919c3cb2bcf852ae6c23c17f557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bf24610a17dcd542997c24a8887b1e91e459919c3cb2bcf852ae6c23c17f557", kill_on_drop: false }` [INFO] [stdout] 2bf24610a17dcd542997c24a8887b1e91e459919c3cb2bcf852ae6c23c17f557 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 67707648a7198a250683f226a73530428817aadb0b18d9df18e16ca6f611f676 [INFO] running `Command { std: "docker" "start" "-a" "67707648a7198a250683f226a73530428817aadb0b18d9df18e16ca6f611f676", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking smallvec v1.12.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking swc_visit v0.6.2 [INFO] [stderr] Checking better_scoped_tls v0.1.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking unicode-id-start v1.2.0 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking outref v0.1.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking simd-abstraction v0.7.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking ryu-js v1.0.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking unicode-id v0.3.4 [INFO] [stderr] Checking base64-simd v0.7.0 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking radix_fmt v1.0.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking dialoguer v0.10.4 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling swc_macros_common v0.3.13 [INFO] [stderr] Checking clap v3.2.25 [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 string_enum v0.4.4 [INFO] [stderr] Compiling is-macro v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling swc_ecma_transforms_macros v0.5.5 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.7.7 [INFO] [stderr] Compiling swc_config_macro v0.1.4 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking swc_timer v0.25.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [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 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 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 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 [INFO] [stderr] Checking dbg-swc v0.103.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/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 57 | let cm = Arc::new(SourceMap::default()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | cm.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] = 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/main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 57 | let cm = Arc::new(SourceMap::default()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | / |handler| { [INFO] [stdout] 119 | | GLOBALS.set(&Globals::default(), || { [INFO] [stdout] 120 | | HANDLER.set(handler, || match args.cmd { [INFO] [stdout] 121 | | Cmd::Es(cmd) => cmd.run(cm), [INFO] [stdout] 122 | | }) [INFO] [stdout] 123 | | }) [INFO] [stdout] 124 | | }, [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/main.rs:119:46 [INFO] [stdout] | [INFO] [stdout] 57 | let cm = Arc::new(SourceMap::default()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | GLOBALS.set(&Globals::default(), || { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 120 | | HANDLER.set(handler, || match args.cmd { [INFO] [stdout] 121 | | Cmd::Es(cmd) => cmd.run(cm), [INFO] [stdout] 122 | | }) [INFO] [stdout] 123 | | }) [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/main.rs:120:38 [INFO] [stdout] | [INFO] [stdout] 57 | let cm = Arc::new(SourceMap::default()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | HANDLER.set(handler, || match args.cmd { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 121 | | Cmd::Es(cmd) => cmd.run(cm), [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/bundle.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn bundle(cm: Arc, entry_url: &str) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | / wrap_task(|| { [INFO] [stdout] 14 | | let _timer = timer!("bundle"); [INFO] [stdout] 15 | | [INFO] [stdout] 16 | | let mut cmd = Command::new("deno"); [INFO] [stdout] ... | [INFO] [stdout] 32 | | parse_js(fm).context("failed to parse js filed emitted by `deno bundle`") [INFO] [stdout] 33 | | }) [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/bundle.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 14 | let _timer = timer!("bundle"); [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] 15 | [INFO] [stdout] 16 | let mut cmd = Command::new("deno"); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let fm = cm.new_source_file(FileName::Anon.into(), code); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | parse_js(fm).context("failed to parse js filed emitted by `deno bundle`") [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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/es/minifier/ensure_size.rs:46:72 [INFO] [stdout] | [INFO] [stdout] 46 | .map(|js_file| GLOBALS.set(globals, || self.check_file(cm.clone(), js_file))) [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/es/minifier/ensure_size.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 149 | fn check_file(&self, cm: Arc, js_file: &Path) -> Result> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | / wrap_task(|| { [INFO] [stdout] 151 | | info!("Checking {}", js_file.display()); [INFO] [stdout] 152 | | [INFO] [stdout] 153 | | let fm = cm.load_file(js_file).context("failed to load file")?; [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | }) [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/es/minifier/ensure_size.rs:156:35 [INFO] [stdout] | [INFO] [stdout] 149 | fn check_file(&self, cm: Arc, js_file: &Path) -> Result> { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | let fm = cm.load_file(js_file).context("failed to load file")?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | let handler = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | Handler::with_tty_emitter(ColorConfig::Never, true, false, Some(cm.clone())); [INFO] [stdout] 156 | HANDLER.set(&handler, || { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 157 | | let code_mangled = { [INFO] [stdout] 158 | | let minified_mangled = get_minified(cm.clone(), js_file, true, true)?; [INFO] [stdout] ... | [INFO] [stdout] 210 | | Ok(Some(file_size)) [INFO] [stdout] 211 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [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/es/minifier/ensure_size.rs:210:20 [INFO] [stdout] | [INFO] [stdout] 149 | fn check_file(&self, cm: Arc, js_file: &Path) -> Result> { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | let fm = cm.load_file(js_file).context("failed to load file")?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | let minified_mangled = get_minified(cm.clone(), js_file, true, true)?; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | let minified_no_mangled = get_minified(cm.clone(), js_file, true, false)?; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | let mut file_size = FileSize { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | Ok(Some(file_size)) [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] | 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] = 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/es/minifier/next/check_size.rs:56:70 [INFO] [stdout] | [INFO] [stdout] 56 | ... HANDLER.set(handler, || self.minify_file(cm.clone(), &file)) [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/es/minifier/next/check_size.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 214 | fn minify_file(&self, cm: Arc, js_file: &Path) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 215 | / wrap_task(|| { [INFO] [stdout] 216 | | let terser_full = [INFO] [stdout] 217 | | get_terser_output(js_file, true, true).context("failed to get terser output")?; [INFO] [stdout] ... | [INFO] [stdout] 226 | | }) [INFO] [stdout] 227 | | }) [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/es/minifier/next/check_size.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 249 | let mut c = Command::new("node"); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | serde_json::from_slice(&json_str).context("failed to parse json") [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/es/minifier/next/check_size.rs:280:26 [INFO] [stdout] | [INFO] [stdout] 280 | .map(|entry| get_all_files(&entry?.path()).context("failed get recurse")) [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/es/minifier/reduce.rs:70:70 [INFO] [stdout] | [INFO] [stdout] 70 | .map(|path| GLOBALS.set(globals, || self.reduce_file(cm.clone(), &path))) [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:74:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn parse_js(fm: Arc) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | let mut errors = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | let comments = SingleThreadedComments::default(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | let res = parse_file_as_module( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | let mut m = match res { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | Ok(v) => v, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | Err(()) => bail!("failed to parse a js file as a module"), [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | Ok(ModuleRecord { [INFO] [stdout] | ________^ [INFO] [stdout] 75 | | module: m, [INFO] [stdout] 76 | | comments, [INFO] [stdout] 77 | | top_level_mark, [INFO] [stdout] 78 | | unresolved_mark, [INFO] [stdout] 79 | | }) [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:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | .map_err(|err| HANDLER.with(|handler| err.into_diagnostic(handler).emit())); [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/util/mod.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | .map_err(|err| HANDLER.with(|handler| err.into_diagnostic(handler).emit())); [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/util/mod.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 63 | for err in errors { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | HANDLER.with(|handler| err.into_diagnostic(handler).emit()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util/minifier.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 17 | cm: Arc, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | / if compress { [INFO] [stdout] 26 | | Some(Default::default()) [INFO] [stdout] 27 | | } else { [INFO] [stdout] 28 | | None [INFO] [stdout] 29 | | }, [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/minifier.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 17 | cm: Arc, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | / if mangle { [INFO] [stdout] 31 | | Some(Default::default()) [INFO] [stdout] 32 | | } else { [INFO] [stdout] 33 | | None [INFO] [stdout] 34 | | }, [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/minifier.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 39 | cm: Arc, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | file: &Path, [INFO] [stdout] 41 | compress: Option, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | mangle: Option, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | ) -> Result { [INFO] [stdout] 44 | let fm = cm.load_file(file)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | [INFO] [stdout] 46 | let m = parse_js(fm)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | [INFO] [stdout] 48 | let mut module = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | Ok(ModuleRecord { module, ..m }) [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] | 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: aborting due to 22 previous errors [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/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 57 | let cm = Arc::new(SourceMap::default()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | cm.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] = 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/main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 57 | let cm = Arc::new(SourceMap::default()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | / |handler| { [INFO] [stdout] 119 | | GLOBALS.set(&Globals::default(), || { [INFO] [stdout] 120 | | HANDLER.set(handler, || match args.cmd { [INFO] [stdout] 121 | | Cmd::Es(cmd) => cmd.run(cm), [INFO] [stdout] 122 | | }) [INFO] [stdout] 123 | | }) [INFO] [stdout] 124 | | }, [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/main.rs:119:46 [INFO] [stdout] | [INFO] [stdout] 57 | let cm = Arc::new(SourceMap::default()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | GLOBALS.set(&Globals::default(), || { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 120 | | HANDLER.set(handler, || match args.cmd { [INFO] [stdout] 121 | | Cmd::Es(cmd) => cmd.run(cm), [INFO] [stdout] 122 | | }) [INFO] [stdout] 123 | | }) [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/main.rs:120:38 [INFO] [stdout] | [INFO] [stdout] 57 | let cm = Arc::new(SourceMap::default()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | HANDLER.set(handler, || match args.cmd { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 121 | | Cmd::Es(cmd) => cmd.run(cm), [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/bundle.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn bundle(cm: Arc, entry_url: &str) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | / wrap_task(|| { [INFO] [stdout] 14 | | let _timer = timer!("bundle"); [INFO] [stdout] 15 | | [INFO] [stdout] 16 | | let mut cmd = Command::new("deno"); [INFO] [stdout] ... | [INFO] [stdout] 32 | | parse_js(fm).context("failed to parse js filed emitted by `deno bundle`") [INFO] [stdout] 33 | | }) [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/bundle.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 14 | let _timer = timer!("bundle"); [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] 15 | [INFO] [stdout] 16 | let mut cmd = Command::new("deno"); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let fm = cm.new_source_file(FileName::Anon.into(), code); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | parse_js(fm).context("failed to parse js filed emitted by `deno bundle`") [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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/es/minifier/ensure_size.rs:46:72 [INFO] [stdout] | [INFO] [stdout] 46 | .map(|js_file| GLOBALS.set(globals, || self.check_file(cm.clone(), js_file))) [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/es/minifier/ensure_size.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 149 | fn check_file(&self, cm: Arc, js_file: &Path) -> Result> { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | / wrap_task(|| { [INFO] [stdout] 151 | | info!("Checking {}", js_file.display()); [INFO] [stdout] 152 | | [INFO] [stdout] 153 | | let fm = cm.load_file(js_file).context("failed to load file")?; [INFO] [stdout] ... | [INFO] [stdout] 211 | | }) [INFO] [stdout] 212 | | }) [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/es/minifier/ensure_size.rs:156:35 [INFO] [stdout] | [INFO] [stdout] 149 | fn check_file(&self, cm: Arc, js_file: &Path) -> Result> { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | let fm = cm.load_file(js_file).context("failed to load file")?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | let handler = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | Handler::with_tty_emitter(ColorConfig::Never, true, false, Some(cm.clone())); [INFO] [stdout] 156 | HANDLER.set(&handler, || { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 157 | | let code_mangled = { [INFO] [stdout] 158 | | let minified_mangled = get_minified(cm.clone(), js_file, true, true)?; [INFO] [stdout] ... | [INFO] [stdout] 210 | | Ok(Some(file_size)) [INFO] [stdout] 211 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [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/es/minifier/ensure_size.rs:210:20 [INFO] [stdout] | [INFO] [stdout] 149 | fn check_file(&self, cm: Arc, js_file: &Path) -> Result> { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | let fm = cm.load_file(js_file).context("failed to load file")?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | let minified_mangled = get_minified(cm.clone(), js_file, true, true)?; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | let minified_no_mangled = get_minified(cm.clone(), js_file, true, false)?; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | let mut file_size = FileSize { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | Ok(Some(file_size)) [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] | 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] = 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/es/minifier/next/check_size.rs:56:70 [INFO] [stdout] | [INFO] [stdout] 56 | ... HANDLER.set(handler, || self.minify_file(cm.clone(), &file)) [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/es/minifier/next/check_size.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 214 | fn minify_file(&self, cm: Arc, js_file: &Path) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 215 | / wrap_task(|| { [INFO] [stdout] 216 | | let terser_full = [INFO] [stdout] 217 | | get_terser_output(js_file, true, true).context("failed to get terser output")?; [INFO] [stdout] ... | [INFO] [stdout] 226 | | }) [INFO] [stdout] 227 | | }) [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/es/minifier/next/check_size.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 249 | let mut c = Command::new("node"); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | serde_json::from_slice(&json_str).context("failed to parse json") [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/es/minifier/next/check_size.rs:280:26 [INFO] [stdout] | [INFO] [stdout] 280 | .map(|entry| get_all_files(&entry?.path()).context("failed get recurse")) [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/es/minifier/reduce.rs:70:70 [INFO] [stdout] | [INFO] [stdout] 70 | .map(|path| GLOBALS.set(globals, || self.reduce_file(cm.clone(), &path))) [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:74:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn parse_js(fm: Arc) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | let mut errors = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | let comments = SingleThreadedComments::default(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | let res = parse_file_as_module( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | let mut m = match res { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | Ok(v) => v, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | Err(()) => bail!("failed to parse a js file as a module"), [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | Ok(ModuleRecord { [INFO] [stdout] | ________^ [INFO] [stdout] 75 | | module: m, [INFO] [stdout] 76 | | comments, [INFO] [stdout] 77 | | top_level_mark, [INFO] [stdout] 78 | | unresolved_mark, [INFO] [stdout] 79 | | }) [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:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | .map_err(|err| HANDLER.with(|handler| err.into_diagnostic(handler).emit())); [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/util/mod.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | .map_err(|err| HANDLER.with(|handler| err.into_diagnostic(handler).emit())); [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/util/mod.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 63 | for err in errors { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | HANDLER.with(|handler| err.into_diagnostic(handler).emit()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util/minifier.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 17 | cm: Arc, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | / if compress { [INFO] [stdout] 26 | | Some(Default::default()) [INFO] [stdout] 27 | | } else { [INFO] [stdout] 28 | | None [INFO] [stdout] 29 | | }, [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/minifier.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 17 | cm: Arc, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | / if mangle { [INFO] [stdout] 31 | | Some(Default::default()) [INFO] [stdout] 32 | | } else { [INFO] [stdout] 33 | | None [INFO] [stdout] 34 | | }, [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/minifier.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 39 | cm: Arc, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | file: &Path, [INFO] [stdout] 41 | compress: Option, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | mangle: Option, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | ) -> Result { [INFO] [stdout] 44 | let fm = cm.load_file(file)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | [INFO] [stdout] 46 | let m = parse_js(fm)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | [INFO] [stdout] 48 | let mut module = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | Ok(ModuleRecord { module, ..m }) [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] | 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] [stderr] error: could not compile `dbg-swc` (bin "dbg-swc") due to 23 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dbg-swc` (bin "dbg-swc" test) due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "67707648a7198a250683f226a73530428817aadb0b18d9df18e16ca6f611f676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67707648a7198a250683f226a73530428817aadb0b18d9df18e16ca6f611f676", kill_on_drop: false }` [INFO] [stdout] 67707648a7198a250683f226a73530428817aadb0b18d9df18e16ca6f611f676