[INFO] cloning repository https://github.com/SoloJiang/builder-swc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SoloJiang/builder-swc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSoloJiang%2Fbuilder-swc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSoloJiang%2Fbuilder-swc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae6bb5d8fd33a7b8121ee59ccb62a808754d0c10 [INFO] checking SoloJiang/builder-swc/ae6bb5d8fd33a7b8121ee59ccb62a808754d0c10 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSoloJiang%2Fbuilder-swc" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SoloJiang/builder-swc on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/SoloJiang/builder-swc [INFO] finished tweaking git repo https://github.com/SoloJiang/builder-swc [INFO] tweaked toml for git repo https://github.com/SoloJiang/builder-swc written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SoloJiang/builder-swc 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-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] e5f618955d0bdbb016376476600d0a3ac2ff41fc0024089264e9d21ef7ccece6 [INFO] running `Command { std: "docker" "start" "-a" "e5f618955d0bdbb016376476600d0a3ac2ff41fc0024089264e9d21ef7ccece6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5f618955d0bdbb016376476600d0a3ac2ff41fc0024089264e9d21ef7ccece6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5f618955d0bdbb016376476600d0a3ac2ff41fc0024089264e9d21ef7ccece6", kill_on_drop: false }` [INFO] [stdout] e5f618955d0bdbb016376476600d0a3ac2ff41fc0024089264e9d21ef7ccece6 [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] 0de461d164489231608a9d848308f26f227498b5c01526bd32f5b77924f908f6 [INFO] running `Command { std: "docker" "start" "-a" "0de461d164489231608a9d848308f26f227498b5c01526bd32f5b77924f908f6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Checking siphasher v0.3.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Checking tinyvec v1.4.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking ordered-float v2.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking lru v0.6.6 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking retain_mut v0.1.3 [INFO] [stderr] Checking pathdiff v0.2.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking cty v0.2.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling swc_bundler v0.58.1 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling swc_atoms v0.2.7 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking relative-path v1.5.0 [INFO] [stderr] Checking radix_fmt v1.0.0 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Compiling napi-build v1.1.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking pretty_assertions v0.7.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling mimalloc-rust-sys v1.7.2 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking object v0.26.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking napi-sys v1.1.1 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Compiling builder-swc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking lexical v5.2.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking mimalloc-rust v0.1.1 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling swc_macros_common v0.3.3 [INFO] [stderr] Compiling swc_visit_macros v0.2.3 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.0 [INFO] [stderr] Compiling from_variant v0.1.3 [INFO] [stderr] Compiling is-macro v0.1.9 [INFO] [stderr] Compiling string_enum v0.3.1 [INFO] [stderr] Compiling enum_kind v0.2.1 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling swc_ecma_transforms_macros v0.2.1 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.5.2 [INFO] [stderr] Compiling static-map-macro v0.2.1 [INFO] [stderr] Compiling testing_macros v0.2.2 [INFO] [stderr] Compiling napi-derive v1.1.0 [INFO] [stderr] Checking st-map v0.1.4 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking swc_visit v0.2.6 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling ast_node v0.7.3 [INFO] [stderr] Checking string_cache v0.8.1 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking serde_regex v1.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking swc_common v0.11.9 [INFO] [stderr] Checking sourcemap v6.0.1 [INFO] [stderr] Checking napi v1.7.7 [INFO] [stderr] Checking swc_common v0.12.0 [INFO] [stderr] Checking swc_ecma_ast v0.49.5 [INFO] [stderr] Checking testing v0.12.3 [INFO] [stderr] Checking swc_ecma_ast v0.52.0 [INFO] [stderr] Checking swc_node_base v0.3.0 [INFO] [stderr] Checking swc_ecma_visit v0.35.2 [INFO] [stderr] Checking swc_ecma_visit v0.38.1 [INFO] [stderr] Checking swc_ecma_parser v0.65.0 [INFO] [stderr] Checking swc_ecma_utils v0.41.4 [INFO] [stderr] Checking swc_ecma_parser v0.70.2 [INFO] [stderr] Checking swc_ecma_utils v0.44.2 [INFO] [stderr] Checking swc_ecma_loader v0.18.2 [INFO] [stderr] Checking swc_ecma_transforms_base v0.24.1 [INFO] [stderr] Checking swc_ecma_codegen v0.64.3 [INFO] [stderr] Checking swc_ecma_transforms_base v0.31.1 [INFO] [stderr] Checking swc_ecma_codegen v0.70.2 [INFO] [stderr] Checking swc_ecma_ext_transforms v0.28.1 [INFO] [stderr] Checking swc_ecma_transforms_testing v0.24.0 [INFO] [stderr] Checking swc_ecma_transforms_classes v0.17.1 [INFO] [stderr] Checking swc_ecma_transforms_module v0.38.1 [INFO] [stderr] Checking swc_ecma_transforms_typescript v0.40.2 [INFO] [stderr] Checking swc_ecma_transforms_react v0.39.1 [INFO] [stderr] Checking swc_ecma_transforms_optimization v0.41.1 [INFO] [stderr] Checking swc_ecma_transforms_compat v0.34.2 [INFO] [stderr] Checking swc_ecma_transforms_proposal v0.38.1 [INFO] [stderr] Checking swc_ecma_transforms v0.71.1 [INFO] [stderr] Checking swc_ecma_minifier v0.27.2 [INFO] [stderr] Checking swc_ecma_preset_env v0.42.1 [INFO] [stderr] Checking swc_ecmascript v0.63.1 [INFO] [stderr] Checking swc v0.53.0 [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 23 | let cm = Arc::new(SourceMap::new(FilePathMapping::empty())); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | [INFO] [stdout] 25 | Arc::new(Compiler::new(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/transform.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 36 | let handler = Arc::new(Handler::with_tty_emitter( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | / self.c [INFO] [stdout] 43 | | .run(|| match self.input { [INFO] [stdout] 44 | | Input::Program(ref s) => { [INFO] [stdout] 45 | | let program: Program = [INFO] [stdout] ... | [INFO] [stdout] 51 | | Input::Source(ref s) => process_js_custom(&self.c, &handler, s.clone(), &self.options), [INFO] [stdout] 52 | | }) [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/transform.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 110 | schedule_transform(cx, |c, src, is_module, options| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | let input = if is_module { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | c: c.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/transform.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 149 | source: Arc, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | let config = compiler.run(|| compiler.config_for_file(&handler, options, &source.name))?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | let config = match config { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | Some(v) => v, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | let config = BuiltConfig { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | let program = compiler.parse_js( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | compiler.run(|| { [INFO] [stdout] | ________________^ [INFO] [stdout] 187 | | if config.minify { [INFO] [stdout] 188 | | let preserve_excl = |_: &BytePos, vc: &mut Vec| -> bool { [INFO] [stdout] 189 | | vc.retain(|c: &Comment| c.text.starts_with("!")); [INFO] [stdout] ... | [INFO] [stdout] 213 | | ) [INFO] [stdout] 214 | | }) [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] | [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/transform.rs:197:33 [INFO] [stdout] | [INFO] [stdout] 175 | let program = compiler.parse_js( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | HANDLER.set(&handler, || { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 198 | | // Fold module [INFO] [stdout] 199 | | program.fold_with(&mut pass) [INFO] [stdout] 200 | | }) [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.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | fn convert_err(self) -> napi::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | 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: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `builder-swc` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 23 | let cm = Arc::new(SourceMap::new(FilePathMapping::empty())); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | [INFO] [stdout] 25 | Arc::new(Compiler::new(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/transform.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 36 | let handler = Arc::new(Handler::with_tty_emitter( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | / self.c [INFO] [stdout] 43 | | .run(|| match self.input { [INFO] [stdout] 44 | | Input::Program(ref s) => { [INFO] [stdout] 45 | | let program: Program = [INFO] [stdout] ... | [INFO] [stdout] 51 | | Input::Source(ref s) => process_js_custom(&self.c, &handler, s.clone(), &self.options), [INFO] [stdout] 52 | | }) [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/transform.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 110 | schedule_transform(cx, |c, src, is_module, options| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | let input = if is_module { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | c: c.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/transform.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 149 | source: Arc, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | let config = compiler.run(|| compiler.config_for_file(&handler, options, &source.name))?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | let config = match config { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | Some(v) => v, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | let config = BuiltConfig { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | let program = compiler.parse_js( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | compiler.run(|| { [INFO] [stdout] | ________________^ [INFO] [stdout] 187 | | if config.minify { [INFO] [stdout] 188 | | let preserve_excl = |_: &BytePos, vc: &mut Vec| -> bool { [INFO] [stdout] 189 | | vc.retain(|c: &Comment| c.text.starts_with("!")); [INFO] [stdout] ... | [INFO] [stdout] 213 | | ) [INFO] [stdout] 214 | | }) [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] | [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/transform.rs:197:33 [INFO] [stdout] | [INFO] [stdout] 175 | let program = compiler.parse_js( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | HANDLER.set(&handler, || { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 198 | | // Fold module [INFO] [stdout] 199 | | program.fold_with(&mut pass) [INFO] [stdout] 200 | | }) [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.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | fn convert_err(self) -> napi::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | 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: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `builder-swc` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "0de461d164489231608a9d848308f26f227498b5c01526bd32f5b77924f908f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0de461d164489231608a9d848308f26f227498b5c01526bd32f5b77924f908f6", kill_on_drop: false }` [INFO] [stdout] 0de461d164489231608a9d848308f26f227498b5c01526bd32f5b77924f908f6