[INFO] fetching crate oxc_minifier 0.25.0... [INFO] checking oxc_minifier-0.25.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate oxc_minifier 0.25.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate oxc_minifier 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_minifier 0.25.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate oxc_minifier 0.25.0 [INFO] tweaked toml for crates.io crate oxc_minifier 0.25.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate oxc_minifier 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 3e31d5dfa1cd2f12f2d7c4111328f3c3c0d5de1538582c8db413589a978dc055 [INFO] running `Command { std: "docker" "start" "-a" "3e31d5dfa1cd2f12f2d7c4111328f3c3c0d5de1538582c8db413589a978dc055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e31d5dfa1cd2f12f2d7c4111328f3c3c0d5de1538582c8db413589a978dc055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e31d5dfa1cd2f12f2d7c4111328f3c3c0d5de1538582c8db413589a978dc055", kill_on_drop: false }` [INFO] [stdout] 3e31d5dfa1cd2f12f2d7c4111328f3c3c0d5de1538582c8db413589a978dc055 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] efd120e1ef871acebd0758bebfdd96fc263f5586be660a5ec07171d124d157c3 [INFO] running `Command { std: "docker" "start" "-a" "efd120e1ef871acebd0758bebfdd96fc263f5586be660a5ec07171d124d157c3", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking smallvec v1.13.2 [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] Compiling rand v0.8.5 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking assert-unchecked v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking compact_str v0.8.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking outref v0.5.1 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Checking daachorse v1.0.0 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking dashmap v6.0.1 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Checking oxc_allocator v0.25.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking insta v1.39.0 [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 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_mangler v0.25.0 [INFO] [stderr] Checking oxc_traverse v0.25.0 [INFO] [stderr] Checking oxc_codegen v0.25.0 [INFO] [stderr] Checking oxc_minifier 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:52:51 [INFO] [stdout] | [INFO] [stdout] 52 | let mangler = self.options.mangle.then(|| Mangler::default().build(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/plugins/inject_global_variables.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(injects: Vec) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Self { injects: Arc::from(injects) } [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/plugins/replace_global_defines.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 67 | let allocator = Allocator::default(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let mut identifier_defines = vec![]; [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | let mut dot_defines = vec![]; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | let mut meta_proeperty_defines = vec![]; [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | Ok(Self(Arc::new(ReplaceGlobalDefinesConfigImpl { [INFO] [stdout] | ____________^ [INFO] [stdout] 106 | | identifier: identifier_defines, [INFO] [stdout] 107 | | dot: dot_defines, [INFO] [stdout] 108 | | meta_proeperty: meta_proeperty_defines, [INFO] [stdout] 109 | | }))) [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc_minifier` (lib test) due to 4 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/lib.rs:52:51 [INFO] [stdout] | [INFO] [stdout] 52 | let mangler = self.options.mangle.then(|| Mangler::default().build(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/plugins/inject_global_variables.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(injects: Vec) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Self { injects: Arc::from(injects) } [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/plugins/replace_global_defines.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 67 | let allocator = Allocator::default(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let mut identifier_defines = vec![]; [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | let mut dot_defines = vec![]; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | let mut meta_proeperty_defines = vec![]; [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | Ok(Self(Arc::new(ReplaceGlobalDefinesConfigImpl { [INFO] [stdout] | ____________^ [INFO] [stdout] 106 | | identifier: identifier_defines, [INFO] [stdout] 107 | | dot: dot_defines, [INFO] [stdout] 108 | | meta_proeperty: meta_proeperty_defines, [INFO] [stdout] 109 | | }))) [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc_minifier` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "efd120e1ef871acebd0758bebfdd96fc263f5586be660a5ec07171d124d157c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efd120e1ef871acebd0758bebfdd96fc263f5586be660a5ec07171d124d157c3", kill_on_drop: false }` [INFO] [stdout] efd120e1ef871acebd0758bebfdd96fc263f5586be660a5ec07171d124d157c3