[INFO] fetching crate oxc_isolated_declarations 0.25.0... [INFO] checking oxc_isolated_declarations-0.25.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate oxc_isolated_declarations 0.25.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate oxc_isolated_declarations 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_isolated_declarations 0.25.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate oxc_isolated_declarations 0.25.0 [INFO] tweaked toml for crates.io crate oxc_isolated_declarations 0.25.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate oxc_isolated_declarations 0.25.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 44bd3d24bf4554ac9cd6f72f1775a57710e5aca99e3594d451a27490c8fe674c [INFO] running `Command { std: "docker" "start" "-a" "44bd3d24bf4554ac9cd6f72f1775a57710e5aca99e3594d451a27490c8fe674c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44bd3d24bf4554ac9cd6f72f1775a57710e5aca99e3594d451a27490c8fe674c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44bd3d24bf4554ac9cd6f72f1775a57710e5aca99e3594d451a27490c8fe674c", kill_on_drop: false }` [INFO] [stdout] 44bd3d24bf4554ac9cd6f72f1775a57710e5aca99e3594d451a27490c8fe674c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 795abe29ed7d62381abb1c1401cfc4862c7a65a522f15738a6bac992fe36dfd7 [INFO] running `Command { std: "docker" "start" "-a" "795abe29ed7d62381abb1c1401cfc4862c7a65a522f15738a6bac992fe36dfd7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking unicode-id-start v1.2.0 [INFO] [stderr] Checking ryu-js v1.0.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking oxc_index v0.25.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking assert-unchecked v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking outref v0.5.1 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Checking daachorse v1.0.0 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking oxc_allocator v0.25.0 [INFO] [stderr] Checking compact_str v0.8.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking dashmap v6.0.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling oxc_ast_macros v0.25.0 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking insta v1.39.0 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking miette v7.2.0 [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 oxc_sourcemap v0.25.0 [INFO] [stderr] Checking oxc_semantic v0.25.0 [INFO] [stderr] Checking oxc_parser v0.25.0 [INFO] [stderr] Checking oxc_isolated_declarations v0.25.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/lib.rs:62:55 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn build(mut self, program: &Program<'a>) -> IsolatedDeclarationsReturn<'a> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | let source_type = SourceType::default().with_module(true).with_typescript_definition(true); [INFO] [stdout] 59 | let directives = self.ast.vec(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let stmts = self.transform_program(program); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let program = self.ast.program(SPAN, source_type, None, directives, stmts); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | IsolatedDeclarationsReturn { program, errors: self.take_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] = 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/lib.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 355 | stmts: oxc_allocator::Vec<'a, Statement<'a>>, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 360 | stmts.into_iter().filter_map(move |stmt| match stmt { [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/class.rs:514:13 [INFO] [stdout] | [INFO] [stdout] 356 | let mut elements = self.ast.vec(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 509 | let body = self.ast.class_body(decl.body.span, elements); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 514 | self.ast.vec(), [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/class.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 356 | let mut elements = self.ast.vec(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 509 | let body = self.ast.class_body(decl.body.span, elements); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 524 | unsafe { self.ast.copy(&decl.implements) }, [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/declaration.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 38 | declarations: oxc_allocator::Vec<'a, VariableDeclarator<'a>>, [INFO] [stdout] | ------------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | self.ast.vec_from_iter(declarations), [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/declaration.rs:149:46 [INFO] [stdout] | [INFO] [stdout] 147 | let stmts = self.transform_statements_on_demand(&block.body); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | self.scope.leave_scope(); [INFO] [stdout] 149 | self.ast.alloc_ts_module_block(SPAN, self.ast.vec(), stmts) [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/module.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | .map(|d| (None, ExportDefaultDeclarationKind::FunctionDeclaration(d))), [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/module.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | .map(|d| (None, ExportDefaultDeclarationKind::ClassDeclaration(d))), [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 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc_isolated_declarations` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "795abe29ed7d62381abb1c1401cfc4862c7a65a522f15738a6bac992fe36dfd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "795abe29ed7d62381abb1c1401cfc4862c7a65a522f15738a6bac992fe36dfd7", kill_on_drop: false }` [INFO] [stdout] 795abe29ed7d62381abb1c1401cfc4862c7a65a522f15738a6bac992fe36dfd7