[INFO] fetching crate oxc_syntax 0.25.0... [INFO] checking oxc_syntax-0.25.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate oxc_syntax 0.25.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate oxc_syntax 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_syntax 0.25.0 [INFO] finished tweaking crates.io crate oxc_syntax 0.25.0 [INFO] tweaked toml for crates.io crate oxc_syntax 0.25.0 written to /workspace/builds/worker-1-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 75 packages to latest compatible versions [INFO] [stderr] Adding gloo-utils v0.1.7 (latest: v0.2.0) [INFO] [stderr] Adding serde_derive_internals v0.28.0 (latest: v0.29.1) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea7e96322f52622aa12f8edea23f60153a56643d404a38823fea5029d87ce1d3 [INFO] running `Command { std: "docker" "start" "-a" "ea7e96322f52622aa12f8edea23f60153a56643d404a38823fea5029d87ce1d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea7e96322f52622aa12f8edea23f60153a56643d404a38823fea5029d87ce1d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea7e96322f52622aa12f8edea23f60153a56643d404a38823fea5029d87ce1d3", kill_on_drop: false }` [INFO] [stdout] ea7e96322f52622aa12f8edea23f60153a56643d404a38823fea5029d87ce1d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b3f89b58493aca76a734c93e5c8fa40db475b3c48e31aa69928fcef5daf7e67 [INFO] running `Command { std: "docker" "start" "-a" "4b3f89b58493aca76a734c93e5c8fa40db475b3c48e31aa69928fcef5daf7e67", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Compiling oxc_ast_macros v0.25.0 [INFO] [stderr] Checking dashmap v6.0.1 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking unicode-id-start v1.2.0 [INFO] [stderr] Checking oxc_index v0.25.0 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking compact_str v0.8.0 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking oxc_allocator v0.25.0 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking oxc_span v0.25.0 [INFO] [stderr] Checking oxc_syntax 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/module_graph_visitor.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 155 | initial_value: T, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | module_record: &ModuleRecord, [INFO] [stdout] 157 | filter: Filter, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | mut fold: Fold, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | mut event: EventMod, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | mut enter: EnterMod, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | mut leave: LeaveMod, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | ) -> T { [INFO] [stdout] 163 | / self.filter_fold_recursive( [INFO] [stdout] 164 | | VisitFoldWhile::Next(initial_value), [INFO] [stdout] 165 | | module_record, [INFO] [stdout] 166 | | &filter, [INFO] [stdout] ... | [INFO] [stdout] 170 | | &mut leave, [INFO] [stdout] 171 | | ) [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc_syntax` (lib test) due to 2 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/module_graph_visitor.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 155 | initial_value: T, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | module_record: &ModuleRecord, [INFO] [stdout] 157 | filter: Filter, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | mut fold: Fold, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | mut event: EventMod, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | mut enter: EnterMod, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | mut leave: LeaveMod, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | ) -> T { [INFO] [stdout] 163 | / self.filter_fold_recursive( [INFO] [stdout] 164 | | VisitFoldWhile::Next(initial_value), [INFO] [stdout] 165 | | module_record, [INFO] [stdout] 166 | | &filter, [INFO] [stdout] ... | [INFO] [stdout] 170 | | &mut leave, [INFO] [stdout] 171 | | ) [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc_syntax` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "4b3f89b58493aca76a734c93e5c8fa40db475b3c48e31aa69928fcef5daf7e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b3f89b58493aca76a734c93e5c8fa40db475b3c48e31aa69928fcef5daf7e67", kill_on_drop: false }` [INFO] [stdout] 4b3f89b58493aca76a734c93e5c8fa40db475b3c48e31aa69928fcef5daf7e67