[INFO] fetching crate oxc_transform_napi 0.25.0... [INFO] checking oxc_transform_napi-0.25.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate oxc_transform_napi 0.25.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate oxc_transform_napi 0.25.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 oxc_transform_napi 0.25.0 [INFO] finished tweaking crates.io crate oxc_transform_napi 0.25.0 [INFO] tweaked toml for crates.io crate oxc_transform_napi 0.25.0 written to /workspace/builds/worker-4-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] Locking 116 packages to latest compatible versions [INFO] [stderr] Adding fixedbitset v0.4.2 (latest: v0.5.7) [INFO] [stderr] Adding siphasher v0.3.11 (latest: v1.0.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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 4f994221489fafe38070dcb9e43014d851b019505f3ea1a78f7048d174368c74 [INFO] running `Command { std: "docker" "start" "-a" "4f994221489fafe38070dcb9e43014d851b019505f3ea1a78f7048d174368c74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f994221489fafe38070dcb9e43014d851b019505f3ea1a78f7048d174368c74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f994221489fafe38070dcb9e43014d851b019505f3ea1a78f7048d174368c74", kill_on_drop: false }` [INFO] [stdout] 4f994221489fafe38070dcb9e43014d851b019505f3ea1a78f7048d174368c74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 299648e90ce6b6cdca0baff204323288eb4df7d5621906c30ec1414d92d1434d [INFO] running `Command { std: "docker" "start" "-a" "299648e90ce6b6cdca0baff204323288eb4df7d5621906c30ec1414d92d1434d", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking unicode-id-start v1.2.0 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Checking ryu-js v1.0.1 [INFO] [stderr] Checking oxc_index v0.25.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking dashmap v6.0.1 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking assert-unchecked v0.1.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Compiling napi-build v2.1.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking outref v0.5.1 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling napi v3.0.0-alpha.8 [INFO] [stderr] Checking str_indices v0.4.3 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Compiling oxc_transform_napi v0.25.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking napi-sys v2.4.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking ropey v1.6.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Checking daachorse v1.0.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking compact_str v0.8.0 [INFO] [stderr] Checking oxc_allocator v0.25.0 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling napi-derive-backend v2.0.0-alpha.7 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling oxc_ast_macros v0.25.0 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Compiling napi-derive v3.0.0-alpha.7 [INFO] [stderr] Checking oxc_span v0.25.0 [INFO] [stderr] Checking oxc_diagnostics v0.25.0 [INFO] [stderr] Checking oxc_syntax v0.25.0 [INFO] [stderr] Checking oxc_regular_expression v0.25.0 [INFO] [stderr] Checking oxc_ast v0.25.0 [INFO] [stderr] Checking oxc_cfg v0.25.0 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking oxc_sourcemap v0.25.0 [INFO] [stderr] Checking oxc-browserslist v1.0.2 [INFO] [stderr] Checking oxc_semantic v0.25.0 [INFO] [stderr] Checking oxc_isolated_declarations v0.25.0 [INFO] [stderr] Checking oxc_parser v0.25.0 [INFO] [stderr] Checking oxc_mangler v0.25.0 [INFO] [stderr] Checking oxc_traverse v0.25.0 [INFO] [stderr] Checking oxc_codegen v0.25.0 [INFO] [stderr] Checking oxc_transformer v0.25.0 [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 50 | let ParserReturn { errors, program, trivias, .. } = [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | program: RefCell::new(program), [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/context.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 50 | let ParserReturn { errors, program, trivias, .. } = [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | errors: RefCell::new(errors), [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/context.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 141 | let diagnostics = std::mem::take(&mut *self.errors.borrow_mut()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | // TODO: make pretty-printed errors configurable [INFO] [stdout] 143 | self.wrap_diagnostics(diagnostics).map(|error| format!("{error:?}")).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 148 | diagnostics: D, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | ) -> impl Iterator { [INFO] [stdout] 150 | let source = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | / diagnostics [INFO] [stdout] 170 | | .into_iter() [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/context.rs:171:18 [INFO] [stdout] | [INFO] [stdout] 148 | diagnostics: D, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | ) -> impl Iterator { [INFO] [stdout] 150 | let source = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | .map(move |diagnostic| Error::from(diagnostic).with_source_code(Arc::clone(&source))) [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/context.rs:171:36 [INFO] [stdout] | [INFO] [stdout] 150 | let source = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | .map(move |diagnostic| Error::from(diagnostic).with_source_code(Arc::clone(&source))) [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/context.rs:171:77 [INFO] [stdout] | [INFO] [stdout] 150 | let source = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | .map(move |diagnostic| Error::from(diagnostic).with_source_code(Arc::clone(&source))) [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/isolated_declaration.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | let transformed_ret = IsolatedDeclarations::new(ctx.allocator).build(&ctx.program()); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | ctx.add_diagnostics(transformed_ret.errors); [INFO] [stdout] 35 | ctx.codegen().build(&transformed_ret.program) [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/transformer.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 101 | let (symbols, scopes) = SemanticBuilder::new(ctx.source_text(), ctx.source_type()) [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] 105 | let ret = Transformer::new( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | ctx.codegen().build(&ctx.program()) [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/transformer.rs:116:26 [INFO] [stdout] | [INFO] [stdout] 101 | let (symbols, scopes) = SemanticBuilder::new(ctx.source_text(), ctx.source_type()) [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] 105 | let ret = Transformer::new( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | ctx.codegen().build(&ctx.program()) [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 10 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/context.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 50 | let ParserReturn { errors, program, trivias, .. } = [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | program: RefCell::new(program), [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/context.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 50 | let ParserReturn { errors, program, trivias, .. } = [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | errors: RefCell::new(errors), [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/context.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 141 | let diagnostics = std::mem::take(&mut *self.errors.borrow_mut()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | // TODO: make pretty-printed errors configurable [INFO] [stdout] 143 | self.wrap_diagnostics(diagnostics).map(|error| format!("{error:?}")).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 148 | diagnostics: D, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | ) -> impl Iterator { [INFO] [stdout] 150 | let source = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | / diagnostics [INFO] [stdout] 170 | | .into_iter() [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 `oxc_transform_napi` (lib) due to 11 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/context.rs:171:18 [INFO] [stdout] | [INFO] [stdout] 148 | diagnostics: D, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | ) -> impl Iterator { [INFO] [stdout] 150 | let source = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | .map(move |diagnostic| Error::from(diagnostic).with_source_code(Arc::clone(&source))) [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/context.rs:171:36 [INFO] [stdout] | [INFO] [stdout] 150 | let source = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | .map(move |diagnostic| Error::from(diagnostic).with_source_code(Arc::clone(&source))) [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/context.rs:171:77 [INFO] [stdout] | [INFO] [stdout] 150 | let source = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | .map(move |diagnostic| Error::from(diagnostic).with_source_code(Arc::clone(&source))) [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/isolated_declaration.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | let transformed_ret = IsolatedDeclarations::new(ctx.allocator).build(&ctx.program()); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | ctx.add_diagnostics(transformed_ret.errors); [INFO] [stdout] 35 | ctx.codegen().build(&transformed_ret.program) [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/transformer.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 101 | let (symbols, scopes) = SemanticBuilder::new(ctx.source_text(), ctx.source_type()) [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] 105 | let ret = Transformer::new( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | ctx.codegen().build(&ctx.program()) [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/transformer.rs:116:26 [INFO] [stdout] | [INFO] [stdout] 101 | let (symbols, scopes) = SemanticBuilder::new(ctx.source_text(), ctx.source_type()) [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] 105 | let ret = Transformer::new( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | ctx.codegen().build(&ctx.program()) [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 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc_transform_napi` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "299648e90ce6b6cdca0baff204323288eb4df7d5621906c30ec1414d92d1434d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "299648e90ce6b6cdca0baff204323288eb4df7d5621906c30ec1414d92d1434d", kill_on_drop: false }` [INFO] [stdout] 299648e90ce6b6cdca0baff204323288eb4df7d5621906c30ec1414d92d1434d