[INFO] fetching crate mdxjs 0.2.8... [INFO] checking mdxjs-0.2.8 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate mdxjs 0.2.8 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate mdxjs 0.2.8 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 mdxjs 0.2.8 [INFO] finished tweaking crates.io crate mdxjs 0.2.8 [INFO] tweaked toml for crates.io crate mdxjs 0.2.8 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate mdxjs 0.2.8 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] 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] 78dbaa8e4022227baa22b3149887541c3879db8b4fd0e40c17ce518674314dbe [INFO] running `Command { std: "docker" "start" "-a" "78dbaa8e4022227baa22b3149887541c3879db8b4fd0e40c17ce518674314dbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78dbaa8e4022227baa22b3149887541c3879db8b4fd0e40c17ce518674314dbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78dbaa8e4022227baa22b3149887541c3879db8b4fd0e40c17ce518674314dbe", kill_on_drop: false }` [INFO] [stdout] 78dbaa8e4022227baa22b3149887541c3879db8b4fd0e40c17ce518674314dbe [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] 4780884198dffd1ebf2a9ea058075c34c0652815d26e2137e0106a41e9e76aec [INFO] running `Command { std: "docker" "start" "-a" "4780884198dffd1ebf2a9ea058075c34c0652815d26e2137e0106a41e9e76aec", kill_on_drop: false }` [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Checking unicode-id-start v1.2.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking better_scoped_tls v0.1.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling vergen v8.3.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking swc_visit v0.6.1 [INFO] [stderr] Checking outref v0.1.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking simd-abstraction v0.7.1 [INFO] [stderr] Checking unicode-id v0.3.4 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking ryu-js v1.0.1 [INFO] [stderr] Checking markdown v1.0.0-alpha.18 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking base64-simd v0.7.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Compiling swc_macros_common v0.3.13 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.4 [INFO] [stderr] Compiling ast_node v0.9.9 [INFO] [stderr] Compiling from_variant v0.1.9 [INFO] [stderr] Compiling is-macro v0.3.5 [INFO] [stderr] Compiling string_enum v0.4.4 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.7.7 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking serde v1.0.204 [INFO] [stderr] Checking triomphe v0.1.13 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Checking hstr v0.2.10 [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] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Checking swc_common v0.37.0 [INFO] [stderr] Checking swc_ecma_ast v0.118.0 [INFO] [stderr] Compiling swc_core v0.102.0 [INFO] [stderr] Checking swc_ecma_visit v0.104.0 [INFO] [stderr] Checking swc_ecma_parser v0.149.0 [INFO] [stderr] Checking swc_ecma_codegen v0.155.0 [INFO] [stderr] Checking swc_ecma_utils v0.134.0 [INFO] [stderr] Checking swc_ecma_transforms_base v0.145.0 [INFO] [stderr] Checking mdxjs v0.2.8 (/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/hast_util_to_swc.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 87 | let mut context = Context { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let expr = match one(&mut context, tree, explicit_jsxs)? { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | Some(JSXElementChild::JSXFragment(x)) => Some(Expr::JSXFragment(x)), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | Some(JSXElementChild::JSXElement(x)) => Some(Expr::JSXElement(x)), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | Some(child) => Some(Expr::JSXFragment(create_fragment(vec![child], tree))), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | let mut module = Module { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | Ok(Program { [INFO] [stdout] | ________^ [INFO] [stdout] 116 | | path, [INFO] [stdout] 117 | | module, [INFO] [stdout] 118 | | comments: context.comments, [INFO] [stdout] 119 | | }) [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] = 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/hast_util_to_swc.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 202 | let children = all(context, node, explicit_jsxs)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | let mut attrs = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 254 | Ok(Some(JSXElementChild::JSXElement(Box::new(create_element( [INFO] [stdout] | ________^ [INFO] [stdout] 255 | | &element.tag_name, [INFO] [stdout] 256 | | attrs, [INFO] [stdout] 257 | | children, [INFO] [stdout] 258 | | node, [INFO] [stdout] 259 | | ))))) [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/hast_util_to_swc.rs:336:8 [INFO] [stdout] | [INFO] [stdout] 277 | let children = all(context, node, explicit_jsxs)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | let mut attrs = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 336 | Ok(Some(if let Some(name) = &element.name { [INFO] [stdout] | ________^ [INFO] [stdout] 337 | | explicit_jsxs.insert(position_to_span(node.position())); [INFO] [stdout] 338 | | JSXElementChild::JSXElement(Box::new(create_element(name, attrs, children, node))) [INFO] [stdout] 339 | | } else { [INFO] [stdout] 340 | | JSXElementChild::JSXFragment(create_fragment(children, node)) [INFO] [stdout] 341 | | })) [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/hast_util_to_swc.rs:363:8 [INFO] [stdout] | [INFO] [stdout] 350 | let expr = parse_expression_to_tree( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 357 | let child = if let Some(expr) = expr { [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] 363 | Ok(Some(JSXElementChild::JSXExprContainer(JSXExprContainer { [INFO] [stdout] | ________^ [INFO] [stdout] 364 | | expr: child, [INFO] [stdout] 365 | | span, [INFO] [stdout] 366 | | }))) [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/hast_util_to_swc.rs:377:8 [INFO] [stdout] | [INFO] [stdout] 375 | let mut module = parse_esm_to_tree(&esm.value, &esm.stops, context.location)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 376 | context.esm.append(&mut module.body); [INFO] [stdout] 377 | Ok(None) [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/hast_util_to_swc.rs:421:8 [INFO] [stdout] | [INFO] [stdout] 387 | let mut children = all(context, node, explicit_jsxs)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 388 | let mut queue = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 389 | let mut nodes = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 421 | Ok(Some(JSXElementChild::JSXFragment(create_fragment( [INFO] [stdout] | ________^ [INFO] [stdout] 422 | | nodes, node, [INFO] [stdout] 423 | | )))) [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/hast_util_to_swc.rs:458:18 [INFO] [stdout] | [INFO] [stdout] 451 | attrs: Vec, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 452 | children: Vec, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 458 | opening: JSXOpeningElement { [INFO] [stdout] | __________________^ [INFO] [stdout] 459 | | name: create_jsx_name_from_str(name), [INFO] [stdout] 460 | | attrs, [INFO] [stdout] 461 | | self_closing: children.is_empty(), [INFO] [stdout] 462 | | type_args: None, [INFO] [stdout] 463 | | span: swc_core::common::DUMMY_SP, [INFO] [stdout] 464 | | }, [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/hast_util_to_swc.rs:465:18 [INFO] [stdout] | [INFO] [stdout] 451 | attrs: Vec, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 452 | children: Vec, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 465 | closing: if children.is_empty() { [INFO] [stdout] | __________________^ [INFO] [stdout] 466 | | None [INFO] [stdout] 467 | | } else { [INFO] [stdout] 468 | | Some(JSXClosingElement { [INFO] [stdout] ... | [INFO] [stdout] 471 | | }) [INFO] [stdout] 472 | | }, [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/mdx_plugin_recma_document.rs:524:22 [INFO] [stdout] | [INFO] [stdout] 520 | fn create_layout_decl(expr: Expr) -> ModuleItem { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 524 | ModuleItem::Stmt(Stmt::Decl(Decl::Var(Box::new(VarDecl { [INFO] [stdout] | ______________________^ [INFO] [stdout] 525 | | kind: VarDeclKind::Const, [INFO] [stdout] 526 | | declare: false, [INFO] [stdout] 527 | | decls: vec![VarDeclarator { [INFO] [stdout] ... | [INFO] [stdout] 537 | | ctxt: SyntaxContext::empty(), [INFO] [stdout] 538 | | })))) [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/mdx_plugin_recma_jsx_rewrite.rs:968:22 [INFO] [stdout] | [INFO] [stdout] 896 | let mut parameters = vec![ [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 927 | let mut message = vec![ [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 968 | ModuleItem::Stmt(Stmt::Decl(Decl::Fn(FnDecl { [INFO] [stdout] | ______________________^ [INFO] [stdout] 969 | | ident: create_ident("_missingMdxReference").into(), [INFO] [stdout] 970 | | declare: false, [INFO] [stdout] 971 | | function: Box::new(Function { [INFO] [stdout] ... | [INFO] [stdout] 997 | | }), [INFO] [stdout] 998 | | }))) [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/swc.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 233 | let take = |list: SingleThreadedCommentsMap| { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | / Rc::try_unwrap(list) [INFO] [stdout] 235 | | .unwrap() [INFO] [stdout] 236 | | .into_inner() [INFO] [stdout] 237 | | .into_values() [INFO] [stdout] 238 | | .flatten() [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/swc_util_build_jsx.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 252 | attributes: Option>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | children: Option>, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 254 | ) -> Result<(Option, Option), markdown::message::Message> { [INFO] [stdout] 255 | let mut objects = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 256 | let mut fields = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | let mut spread = false; [INFO] [stdout] 258 | let mut key = None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 348 | let props = if objects.is_empty() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 353 | let mut args = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 362 | while let Some(object) = objects.pop() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 369 | let callee = Callee::Expr(Box::new(create_member_expression_from_str("Object.assign"))); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 373 | Ok((props, key)) [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/swc_util_build_jsx.rs:554:12 [INFO] [stdout] | [INFO] [stdout] 380 | name: Expr, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 381 | attributes: Option>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 382 | mut children: Vec, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 383 | ) -> Result { [INFO] [stdout] 384 | let (callee, parameters) = if self.automatic { [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] 385 | let is_static_children = children.len() > 1; [INFO] [stdout] 386 | let (props, key) = self.jsx_attributes_to_expressions(attributes, Some(children))?; [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] 387 | let mut parameters = vec![ [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 415 | if let Some(key) = key { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 438 | let filename = if let Some(value) = &self.filepath { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 443 | let prop = PropOrSpread::Prop(Box::new(Prop::KeyValue(KeyValueProp { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 447 | let mut meta_fields = vec![prop]; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 503 | let (props, key) = self.jsx_attributes_to_expressions(attributes, None)?; [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] 504 | debug_assert!(key.is_none(), "key should not be extracted"); [INFO] [stdout] 505 | let mut parameters = vec![ [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 522 | if let Some(props) = props { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 536 | while let Some(child) = children.pop() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 546 | let call_expression = CallExpr { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 554 | Ok(Expr::Call(call_expression)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/swc_util_build_jsx.rs:574:58 [INFO] [stdout] | [INFO] [stdout] 560 | element: JSXElement, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 561 | ) -> Result { [INFO] [stdout] 562 | let children = self.jsx_children_to_expressions(element.children)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 563 | let mut name = jsx_element_name_to_expression(element.opening.name); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 574 | self.jsx_expressions_to_call(element.span, name, Some(element.opening.attrs), children) [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/swc_util_build_jsx.rs:589:59 [INFO] [stdout] | [INFO] [stdout] 580 | fragment: JSXFragment, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 581 | ) -> Result { [INFO] [stdout] 582 | let name = if self.automatic { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 588 | let children = self.jsx_children_to_expressions(fragment.children)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 589 | self.jsx_expressions_to_call(fragment.span, name, None, children) [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/swc_utils.rs:278:18 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn create_object_expression(value: Vec) -> Expr { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 278 | Expr::Object(create_object_lit(value)) [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/swc_utils.rs:287:20 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn create_call(callee: Callee, args: Vec) -> CallExpr { [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] 287 | type_args: 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/swc_utils.rs:294:16 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn create_call_expression(callee: Callee, args: Vec) -> Expr { [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] 294 | Expr::Call(create_call(callee, args)) [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/swc_utils.rs:356:14 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn create_member(obj: Expr, prop: MemberProp) -> MemberExpr { [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] 355 | MemberExpr { [INFO] [stdout] 356 | obj: Box::new(obj), [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/swc_utils.rs:451:18 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn jsx_member_expression_to_expression(node: JSXMemberExpr) -> Expr { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 451 | Expr::Member(create_member( [INFO] [stdout] | __________________^ [INFO] [stdout] 452 | | jsx_object_to_expression(node.obj), [INFO] [stdout] 453 | | ident_to_member_prop(&node.prop), [INFO] [stdout] 454 | | )) [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 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mdxjs` (lib) due to 21 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/hast_util_to_swc.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 87 | let mut context = Context { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let expr = match one(&mut context, tree, explicit_jsxs)? { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | Some(JSXElementChild::JSXFragment(x)) => Some(Expr::JSXFragment(x)), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | Some(JSXElementChild::JSXElement(x)) => Some(Expr::JSXElement(x)), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | Some(child) => Some(Expr::JSXFragment(create_fragment(vec![child], tree))), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | let mut module = Module { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | Ok(Program { [INFO] [stdout] | ________^ [INFO] [stdout] 116 | | path, [INFO] [stdout] 117 | | module, [INFO] [stdout] 118 | | comments: context.comments, [INFO] [stdout] 119 | | }) [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] = 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/hast_util_to_swc.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 202 | let children = all(context, node, explicit_jsxs)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | let mut attrs = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 254 | Ok(Some(JSXElementChild::JSXElement(Box::new(create_element( [INFO] [stdout] | ________^ [INFO] [stdout] 255 | | &element.tag_name, [INFO] [stdout] 256 | | attrs, [INFO] [stdout] 257 | | children, [INFO] [stdout] 258 | | node, [INFO] [stdout] 259 | | ))))) [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/hast_util_to_swc.rs:336:8 [INFO] [stdout] | [INFO] [stdout] 277 | let children = all(context, node, explicit_jsxs)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | let mut attrs = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 336 | Ok(Some(if let Some(name) = &element.name { [INFO] [stdout] | ________^ [INFO] [stdout] 337 | | explicit_jsxs.insert(position_to_span(node.position())); [INFO] [stdout] 338 | | JSXElementChild::JSXElement(Box::new(create_element(name, attrs, children, node))) [INFO] [stdout] 339 | | } else { [INFO] [stdout] 340 | | JSXElementChild::JSXFragment(create_fragment(children, node)) [INFO] [stdout] 341 | | })) [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/hast_util_to_swc.rs:363:8 [INFO] [stdout] | [INFO] [stdout] 350 | let expr = parse_expression_to_tree( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 357 | let child = if let Some(expr) = expr { [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] 363 | Ok(Some(JSXElementChild::JSXExprContainer(JSXExprContainer { [INFO] [stdout] | ________^ [INFO] [stdout] 364 | | expr: child, [INFO] [stdout] 365 | | span, [INFO] [stdout] 366 | | }))) [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/hast_util_to_swc.rs:377:8 [INFO] [stdout] | [INFO] [stdout] 375 | let mut module = parse_esm_to_tree(&esm.value, &esm.stops, context.location)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 376 | context.esm.append(&mut module.body); [INFO] [stdout] 377 | Ok(None) [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/hast_util_to_swc.rs:421:8 [INFO] [stdout] | [INFO] [stdout] 387 | let mut children = all(context, node, explicit_jsxs)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 388 | let mut queue = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 389 | let mut nodes = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 421 | Ok(Some(JSXElementChild::JSXFragment(create_fragment( [INFO] [stdout] | ________^ [INFO] [stdout] 422 | | nodes, node, [INFO] [stdout] 423 | | )))) [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/hast_util_to_swc.rs:458:18 [INFO] [stdout] | [INFO] [stdout] 451 | attrs: Vec, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 452 | children: Vec, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 458 | opening: JSXOpeningElement { [INFO] [stdout] | __________________^ [INFO] [stdout] 459 | | name: create_jsx_name_from_str(name), [INFO] [stdout] 460 | | attrs, [INFO] [stdout] 461 | | self_closing: children.is_empty(), [INFO] [stdout] 462 | | type_args: None, [INFO] [stdout] 463 | | span: swc_core::common::DUMMY_SP, [INFO] [stdout] 464 | | }, [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/hast_util_to_swc.rs:465:18 [INFO] [stdout] | [INFO] [stdout] 451 | attrs: Vec, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 452 | children: Vec, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 465 | closing: if children.is_empty() { [INFO] [stdout] | __________________^ [INFO] [stdout] 466 | | None [INFO] [stdout] 467 | | } else { [INFO] [stdout] 468 | | Some(JSXClosingElement { [INFO] [stdout] ... | [INFO] [stdout] 471 | | }) [INFO] [stdout] 472 | | }, [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/mdx_plugin_recma_document.rs:524:22 [INFO] [stdout] | [INFO] [stdout] 520 | fn create_layout_decl(expr: Expr) -> ModuleItem { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 524 | ModuleItem::Stmt(Stmt::Decl(Decl::Var(Box::new(VarDecl { [INFO] [stdout] | ______________________^ [INFO] [stdout] 525 | | kind: VarDeclKind::Const, [INFO] [stdout] 526 | | declare: false, [INFO] [stdout] 527 | | decls: vec![VarDeclarator { [INFO] [stdout] ... | [INFO] [stdout] 537 | | ctxt: SyntaxContext::empty(), [INFO] [stdout] 538 | | })))) [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/mdx_plugin_recma_jsx_rewrite.rs:968:22 [INFO] [stdout] | [INFO] [stdout] 896 | let mut parameters = vec![ [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 927 | let mut message = vec![ [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 968 | ModuleItem::Stmt(Stmt::Decl(Decl::Fn(FnDecl { [INFO] [stdout] | ______________________^ [INFO] [stdout] 969 | | ident: create_ident("_missingMdxReference").into(), [INFO] [stdout] 970 | | declare: false, [INFO] [stdout] 971 | | function: Box::new(Function { [INFO] [stdout] ... | [INFO] [stdout] 997 | | }), [INFO] [stdout] 998 | | }))) [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/swc.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 233 | let take = |list: SingleThreadedCommentsMap| { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | / Rc::try_unwrap(list) [INFO] [stdout] 235 | | .unwrap() [INFO] [stdout] 236 | | .into_inner() [INFO] [stdout] 237 | | .into_values() [INFO] [stdout] 238 | | .flatten() [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/swc_util_build_jsx.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 252 | attributes: Option>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | children: Option>, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 254 | ) -> Result<(Option, Option), markdown::message::Message> { [INFO] [stdout] 255 | let mut objects = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 256 | let mut fields = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | let mut spread = false; [INFO] [stdout] 258 | let mut key = None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 348 | let props = if objects.is_empty() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 353 | let mut args = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 362 | while let Some(object) = objects.pop() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 369 | let callee = Callee::Expr(Box::new(create_member_expression_from_str("Object.assign"))); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 373 | Ok((props, key)) [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/swc_util_build_jsx.rs:554:12 [INFO] [stdout] | [INFO] [stdout] 380 | name: Expr, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 381 | attributes: Option>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 382 | mut children: Vec, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 383 | ) -> Result { [INFO] [stdout] 384 | let (callee, parameters) = if self.automatic { [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] 385 | let is_static_children = children.len() > 1; [INFO] [stdout] 386 | let (props, key) = self.jsx_attributes_to_expressions(attributes, Some(children))?; [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] 387 | let mut parameters = vec![ [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 415 | if let Some(key) = key { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 438 | let filename = if let Some(value) = &self.filepath { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 443 | let prop = PropOrSpread::Prop(Box::new(Prop::KeyValue(KeyValueProp { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 447 | let mut meta_fields = vec![prop]; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 503 | let (props, key) = self.jsx_attributes_to_expressions(attributes, None)?; [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] 504 | debug_assert!(key.is_none(), "key should not be extracted"); [INFO] [stdout] 505 | let mut parameters = vec![ [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 522 | if let Some(props) = props { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 536 | while let Some(child) = children.pop() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 546 | let call_expression = CallExpr { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 554 | Ok(Expr::Call(call_expression)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/swc_util_build_jsx.rs:574:58 [INFO] [stdout] | [INFO] [stdout] 560 | element: JSXElement, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 561 | ) -> Result { [INFO] [stdout] 562 | let children = self.jsx_children_to_expressions(element.children)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 563 | let mut name = jsx_element_name_to_expression(element.opening.name); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 574 | self.jsx_expressions_to_call(element.span, name, Some(element.opening.attrs), children) [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/swc_util_build_jsx.rs:589:59 [INFO] [stdout] | [INFO] [stdout] 580 | fragment: JSXFragment, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 581 | ) -> Result { [INFO] [stdout] 582 | let name = if self.automatic { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 588 | let children = self.jsx_children_to_expressions(fragment.children)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 589 | self.jsx_expressions_to_call(fragment.span, name, None, children) [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/swc_utils.rs:278:18 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn create_object_expression(value: Vec) -> Expr { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 278 | Expr::Object(create_object_lit(value)) [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/swc_utils.rs:287:20 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn create_call(callee: Callee, args: Vec) -> CallExpr { [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] 287 | type_args: 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/swc_utils.rs:294:16 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn create_call_expression(callee: Callee, args: Vec) -> Expr { [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] 294 | Expr::Call(create_call(callee, args)) [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/swc_utils.rs:356:14 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn create_member(obj: Expr, prop: MemberProp) -> MemberExpr { [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] 355 | MemberExpr { [INFO] [stdout] 356 | obj: Box::new(obj), [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/swc_utils.rs:451:18 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn jsx_member_expression_to_expression(node: JSXMemberExpr) -> Expr { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 451 | Expr::Member(create_member( [INFO] [stdout] | __________________^ [INFO] [stdout] 452 | | jsx_object_to_expression(node.obj), [INFO] [stdout] 453 | | ident_to_member_prop(&node.prop), [INFO] [stdout] 454 | | )) [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 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mdxjs` (lib test) due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "4780884198dffd1ebf2a9ea058075c34c0652815d26e2137e0106a41e9e76aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4780884198dffd1ebf2a9ea058075c34c0652815d26e2137e0106a41e9e76aec", kill_on_drop: false }` [INFO] [stdout] 4780884198dffd1ebf2a9ea058075c34c0652815d26e2137e0106a41e9e76aec