[INFO] fetching crate dia_core 0.1.0... [INFO] checking dia_core-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate dia_core 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate dia_core 0.1.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dia_core 0.1.0 [INFO] finished tweaking crates.io crate dia_core 0.1.0 [INFO] tweaked toml for crates.io crate dia_core 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 118 packages to latest compatible versions [INFO] [stderr] Adding base64-simd v0.7.0 (latest: v0.8.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding outref v0.1.0 (latest: v0.5.1) [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.1) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding siphasher v0.3.11 (latest: v1.0.1) [INFO] [stderr] Adding sourcemap v8.0.1 (latest: v9.0.0) [INFO] [stderr] Adding swc_common v0.33.26 (latest: v0.37.5) [INFO] [stderr] Adding swc_ecma_ast v0.112.8 (latest: v0.118.2) [INFO] [stderr] Adding swc_ecma_codegen v0.148.18 (latest: v0.155.1) [INFO] [stderr] Adding swc_ecma_parser v0.143.16 (latest: v0.149.1) [INFO] [stderr] Adding swc_visit v0.5.14 (latest: v0.6.2) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f0f00185ee562ea9f736afcec74f0adbb89b4716676eff290b0b9e2c2d112ad9 [INFO] running `Command { std: "docker" "start" "-a" "f0f00185ee562ea9f736afcec74f0adbb89b4716676eff290b0b9e2c2d112ad9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0f00185ee562ea9f736afcec74f0adbb89b4716676eff290b0b9e2c2d112ad9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0f00185ee562ea9f736afcec74f0adbb89b4716676eff290b0b9e2c2d112ad9", kill_on_drop: false }` [INFO] [stdout] f0f00185ee562ea9f736afcec74f0adbb89b4716676eff290b0b9e2c2d112ad9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c84f20041d0dd6713b1a744e4d2dfc849bb56b27a1500723af975f3864090176 [INFO] running `Command { std: "docker" "start" "-a" "c84f20041d0dd6713b1a744e4d2dfc849bb56b27a1500723af975f3864090176", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling swc_macros_common v0.3.13 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.4 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking outref v0.1.0 [INFO] [stderr] Checking unicode-id-start v1.2.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking better_scoped_tls v0.1.1 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking simd-abstraction v0.7.1 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking base64-simd v0.7.0 [INFO] [stderr] Compiling from_variant v0.1.9 [INFO] [stderr] Compiling ast_node v0.9.9 [INFO] [stderr] Compiling string_enum v0.4.4 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.7.7 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Checking triomphe v0.1.13 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking hstr v0.2.12 [INFO] [stderr] Checking swc_atoms v0.6.7 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking sourcemap v8.0.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling swc_visit_macros v0.5.13 [INFO] [stderr] Compiling is-macro v0.3.6 [INFO] [stderr] Checking swc_visit v0.5.14 [INFO] [stderr] Checking swc_common v0.33.26 [INFO] [stderr] Checking swc_ecma_ast v0.112.8 [INFO] [stderr] Checking swc_ecma_codegen v0.148.18 [INFO] [stderr] Checking swc_ecma_parser v0.143.16 [INFO] [stderr] Checking dia_core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/constructs.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn const_declare(ident: Ident, value: Box) -> Decl { [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] 13 | let declaration = VarDeclarator { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | Decl::Var(Box::new(VarDecl { [INFO] [stdout] | _______________^ [INFO] [stdout] 23 | | span: DUMMY_SP, [INFO] [stdout] 24 | | kind: VarDeclKind::Const, [INFO] [stdout] 25 | | declare: false, [INFO] [stdout] 26 | | decls: vec![declaration], [INFO] [stdout] 27 | | })) [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/compiler/constructs.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn expr_arrow_cb(body: Box) -> Box { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Box::new(Expr::Arrow(ArrowExpr { [INFO] [stdout] | ______________^ [INFO] [stdout] 32 | | span: DUMMY_SP, [INFO] [stdout] 33 | | is_async: false, [INFO] [stdout] 34 | | is_generator: false, [INFO] [stdout] ... | [INFO] [stdout] 38 | | return_type: None, [INFO] [stdout] 39 | | })) [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/compiler/constructs.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn array(exprs: Vec>) -> Box { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let elems = exprs [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | Box::new(Expr::Array(ArrayLit { [INFO] [stdout] | ______________^ [INFO] [stdout] 57 | | span: DUMMY_SP, [INFO] [stdout] 58 | | elems, [INFO] [stdout] 59 | | })) [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/compiler/constructs.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | .map(|expr| Some(ExprOrSpread { spread: None, expr })) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/constructs.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn object(key_value_pairs: Vec) -> Box { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let props = key_value_pairs [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | Box::new(Expr::Object(ObjectLit { [INFO] [stdout] | ______________^ [INFO] [stdout] 69 | | span: DUMMY_SP, [INFO] [stdout] 70 | | props, [INFO] [stdout] 71 | | })) [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/compiler/constructs.rs:65:40 [INFO] [stdout] | [INFO] [stdout] 65 | .map(|prop| PropOrSpread::Prop(Box::new(Prop::KeyValue(prop)))) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/constructs.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn export(decl: Decl) -> ModuleItem { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | ModuleItem::ModuleDecl(ModuleDecl::ExportDecl(ExportDecl { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 76 | | span: DUMMY_SP, [INFO] [stdout] 77 | | decl, [INFO] [stdout] 78 | | })) [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/compiler/constructs.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn satisfies(expr: Box, type_ann: Box) -> Box { [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] 82 | Box::new(Expr::TsSatisfies(TsSatisfiesExpr { [INFO] [stdout] | ______________^ [INFO] [stdout] 83 | | span: DUMMY_SP, [INFO] [stdout] 84 | | expr, [INFO] [stdout] 85 | | type_ann, [INFO] [stdout] 86 | | })) [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/compiler/constructs.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn as_const(expr: Box) -> Box { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | Box::new(Expr::TsConstAssertion(TsConstAssertion { [INFO] [stdout] | ______________^ [INFO] [stdout] 91 | | span: DUMMY_SP, [INFO] [stdout] 92 | | expr, [INFO] [stdout] 93 | | })) [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/compiler/constructs.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn paren(expr: Box) -> Box { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | Box::new(Expr::Paren(ParenExpr { [INFO] [stdout] | ______________^ [INFO] [stdout] 98 | | span: DUMMY_SP, [INFO] [stdout] 99 | | expr, [INFO] [stdout] 100 | | })) [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:15:5 [INFO] [stdout] | [INFO] [stdout] 6 | let lexer = Lexer::new( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | let mut parser = Parser::new_from(lexer); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | [INFO] [stdout] 15 | parser.parse_module().expect("Failed to parse module") [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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/constructs.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn const_declare(ident: Ident, value: Box) -> Decl { [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] 13 | let declaration = VarDeclarator { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | Decl::Var(Box::new(VarDecl { [INFO] [stdout] | _______________^ [INFO] [stdout] 23 | | span: DUMMY_SP, [INFO] [stdout] 24 | | kind: VarDeclKind::Const, [INFO] [stdout] 25 | | declare: false, [INFO] [stdout] 26 | | decls: vec![declaration], [INFO] [stdout] 27 | | })) [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/compiler/constructs.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn expr_arrow_cb(body: Box) -> Box { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Box::new(Expr::Arrow(ArrowExpr { [INFO] [stdout] | ______________^ [INFO] [stdout] 32 | | span: DUMMY_SP, [INFO] [stdout] 33 | | is_async: false, [INFO] [stdout] 34 | | is_generator: false, [INFO] [stdout] ... | [INFO] [stdout] 38 | | return_type: None, [INFO] [stdout] 39 | | })) [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/compiler/constructs.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn array(exprs: Vec>) -> Box { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let elems = exprs [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | Box::new(Expr::Array(ArrayLit { [INFO] [stdout] | ______________^ [INFO] [stdout] 57 | | span: DUMMY_SP, [INFO] [stdout] 58 | | elems, [INFO] [stdout] 59 | | })) [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/compiler/constructs.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | .map(|expr| Some(ExprOrSpread { spread: None, expr })) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/constructs.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn object(key_value_pairs: Vec) -> Box { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let props = key_value_pairs [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | Box::new(Expr::Object(ObjectLit { [INFO] [stdout] | ______________^ [INFO] [stdout] 69 | | span: DUMMY_SP, [INFO] [stdout] 70 | | props, [INFO] [stdout] 71 | | })) [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/compiler/constructs.rs:65:40 [INFO] [stdout] | [INFO] [stdout] 65 | .map(|prop| PropOrSpread::Prop(Box::new(Prop::KeyValue(prop)))) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/constructs.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn export(decl: Decl) -> ModuleItem { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | ModuleItem::ModuleDecl(ModuleDecl::ExportDecl(ExportDecl { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 76 | | span: DUMMY_SP, [INFO] [stdout] 77 | | decl, [INFO] [stdout] 78 | | })) [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/compiler/constructs.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn satisfies(expr: Box, type_ann: Box) -> Box { [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] 82 | Box::new(Expr::TsSatisfies(TsSatisfiesExpr { [INFO] [stdout] | ______________^ [INFO] [stdout] 83 | | span: DUMMY_SP, [INFO] [stdout] 84 | | expr, [INFO] [stdout] 85 | | type_ann, [INFO] [stdout] 86 | | })) [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/compiler/constructs.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn as_const(expr: Box) -> Box { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | Box::new(Expr::TsConstAssertion(TsConstAssertion { [INFO] [stdout] | ______________^ [INFO] [stdout] 91 | | span: DUMMY_SP, [INFO] [stdout] 92 | | expr, [INFO] [stdout] 93 | | })) [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/compiler/constructs.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn paren(expr: Box) -> Box { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | Box::new(Expr::Paren(ParenExpr { [INFO] [stdout] | ______________^ [INFO] [stdout] 98 | | span: DUMMY_SP, [INFO] [stdout] 99 | | expr, [INFO] [stdout] 100 | | })) [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:15:5 [INFO] [stdout] | [INFO] [stdout] 6 | let lexer = Lexer::new( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | let mut parser = Parser::new_from(lexer); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | [INFO] [stdout] 15 | parser.parse_module().expect("Failed to parse module") [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] [stderr] error: could not compile `dia_core` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dia_core` (lib test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "c84f20041d0dd6713b1a744e4d2dfc849bb56b27a1500723af975f3864090176", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c84f20041d0dd6713b1a744e4d2dfc849bb56b27a1500723af975f3864090176", kill_on_drop: false }` [INFO] [stdout] c84f20041d0dd6713b1a744e4d2dfc849bb56b27a1500723af975f3864090176