[INFO] fetching crate styled_components 0.96.22... [INFO] checking styled_components-0.96.22 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate styled_components 0.96.22 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate styled_components 0.96.22 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 styled_components 0.96.22 [INFO] finished tweaking crates.io crate styled_components 0.96.22 [INFO] tweaked toml for crates.io crate styled_components 0.96.22 written to /workspace/builds/worker-7-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 183 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [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 hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding matchers v0.1.0 (latest: v0.2.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (latest: v0.50.1) [INFO] [stderr] Adding outref v0.1.0 (latest: v0.5.1) [INFO] [stderr] Adding ptr_meta v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding ptr_meta_derive v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding regex-automata v0.1.10 (latest: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.4) [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 syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [INFO] [stderr] Adding yansi v0.5.1 (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-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] 46a9b70c95001e7ec834a561f6b411793821ab4121e33b7ea3e5d4af1ae3fbc2 [INFO] running `Command { std: "docker" "start" "-a" "46a9b70c95001e7ec834a561f6b411793821ab4121e33b7ea3e5d4af1ae3fbc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46a9b70c95001e7ec834a561f6b411793821ab4121e33b7ea3e5d4af1ae3fbc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46a9b70c95001e7ec834a561f6b411793821ab4121e33b7ea3e5d4af1ae3fbc2", kill_on_drop: false }` [INFO] [stdout] 46a9b70c95001e7ec834a561f6b411793821ab4121e33b7ea3e5d4af1ae3fbc2 [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] a88ad043f78b7342a08b627dc1863cff108414ce5d3d6988acefca236e3e6611 [INFO] running `Command { std: "docker" "start" "-a" "a88ad043f78b7342a08b627dc1863cff108414ce5d3d6988acefca236e3e6611", kill_on_drop: false }` [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking outref v0.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking simd-abstraction v0.7.1 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking unicode-id-start v1.2.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking base64-simd v0.7.0 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking better_scoped_tls v0.1.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling psm v0.1.22 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking swc_visit v0.6.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking ryu-js v1.0.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking unicode-id v0.3.4 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling swc_macros_common v0.3.13 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling from_variant v0.1.9 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.4 [INFO] [stderr] Compiling ast_node v0.9.9 [INFO] [stderr] Compiling is-macro v0.3.6 [INFO] [stderr] Compiling string_enum v0.4.4 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.7.7 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling testing_macros v0.2.14 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking triomphe v0.1.13 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking camino v1.1.9 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking hstr v0.2.12 [INFO] [stderr] Checking swc_allocator v0.1.8 [INFO] [stderr] Checking swc_atoms v0.6.7 [INFO] [stderr] Checking sourcemap v9.0.0 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking swc_common v0.37.5 [INFO] [stderr] Checking swc_ecma_ast v0.118.2 [INFO] [stderr] Checking swc_error_reporters v0.21.0 [INFO] [stderr] Checking testing v0.39.0 [INFO] [stderr] Checking swc_ecma_testing v0.26.0 [INFO] [stderr] Checking swc_ecma_visit v0.104.8 [INFO] [stderr] Checking swc_ecma_parser v0.149.1 [INFO] [stderr] Checking swc_ecma_codegen v0.155.1 [INFO] [stderr] Checking swc_ecma_utils v0.134.2 [INFO] [stderr] Checking styled_components v0.96.22 (/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/utils/analyzer.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn analyzer(config: Rc, state: Rc>) -> impl VisitMut + Fold { [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] 12 | as_folder(AsAnalyzer { config, state }) [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/visitors/display_name_and_id.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 18 | file_name: Arc, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | src_file_hash: u128, [INFO] [stdout] 20 | config: Rc, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | state: Rc>, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | ) -> impl Fold + VisitMut { [INFO] [stdout] 23 | as_folder(DisplayNameAndId { [INFO] [stdout] | _______________^ [INFO] [stdout] 24 | | file_name, [INFO] [stdout] 25 | | src_file_hash, [INFO] [stdout] ... | [INFO] [stdout] 30 | | component_id: 0, [INFO] [stdout] 31 | | }) [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/visitors/display_name_and_id.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | Lazy::new(|| Regex::new(r"^[a-zA-Z][a-zA-Z0-9]$").unwrap()); [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/visitors/display_name_and_id.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 314 | let _tracing = if cfg!(debug_assertions) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 315 | Some(span!(Level::ERROR, "display_name_and_id").entered()) [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 320 | let display_name = self [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 326 | let component_id = self.config.ssr.then(|| self.get_component_id().into()); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 331 | display_name.map(|s| DISPLAY_NAME_REGEX.replace_all(&s, "").into()), [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/visitors/display_name_and_id.rs:331:34 [INFO] [stdout] | [INFO] [stdout] 331 | display_name.map(|s| DISPLAY_NAME_REGEX.replace_all(&s, "").into()), [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/visitors/minify/css.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | Lazy::new(|| Regex::new(r"(?:\\r|\\n|\r|\n)\s*").unwrap()); [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/visitors/minify/css.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | Lazy::new(|| Regex::new(r"(?s)/\*[^!].*?\*/").unwrap()); [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/visitors/minify/css.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | static SYMBOL_REGEX: Lazy = Lazy::new(|| Regex::new(r"\s*[;:{},]\s*").unwrap()); [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/visitors/minify/css.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 72 | fn compress_symbols(code: impl AsRef) -> String { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | split_keep(&SYMBOL_REGEX, code.as_ref()) [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/visitors/minify/css.rs:149:28 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn minify_raw_values(values: impl IntoIterator) -> MinifyResult { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | minify_values(values, &LINEBREAK_REGEX_RAW) [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/visitors/minify/css_placeholder.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | Lazy::new(|| Regex::new(r"__PLACEHOLDER_(\d+)__").unwrap()); [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/visitors/minify/visitor.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn minify(state: Rc>) -> impl Fold + VisitMut { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | as_folder(Minify { state }) [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/visitors/minify/visitor.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 43 | .map(|raw| TplElement { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | cooked: None, [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/visitors/pure_annotation.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn pure_annotation(comments: C, state: Rc>) -> impl Fold + VisitMut [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] 15 | as_folder(PureAnnotation { comments, state }) [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/visitors/template_literals.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn template_literals(state: Rc>) -> impl Fold + VisitMut { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | as_folder(TemplateLiterals { state }) [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/visitors/template_literals.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 35 | expr.map_with_mut(|expr| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let tagged = expr.expect_tagged_tpl(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | [INFO] [stdout] 38 | let quasis = tagged [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let exprs = tagged.tpl.exprs.into_iter().map(ExprOrSpread::from); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let args = iter::once( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Expr::Call(CallExpr { [INFO] [stdout] | ________________________^ [INFO] [stdout] 63 | | span: tagged.span, [INFO] [stdout] 64 | | callee: tagged.tag.into(), [INFO] [stdout] 65 | | args, [INFO] [stdout] 66 | | ..Default::default() [INFO] [stdout] 67 | | }) [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/visitors/template_literals.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 42 | .map(|q| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | Expr::Tpl(Tpl { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 44 | | span: q.span, [INFO] [stdout] 45 | | exprs: vec![], [INFO] [stdout] 46 | | quasis: vec![q], [INFO] [stdout] 47 | | }) [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/visitors/transpile_css_prop/transpile.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | Lazy::new(|| Regex::new("^[a-z][a-z\\d]*(\\-[a-z][a-z\\d]*)?$").unwrap()); [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/visitors/transpile_css_prop/transpile.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn transpile_css_prop(state: Rc>) -> impl Fold + VisitMut { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | as_folder(TranspileCssProp { [INFO] [stdout] | _______________^ [INFO] [stdout] 29 | | state, [INFO] [stdout] 30 | | ..Default::default() [INFO] [stdout] 31 | | }) [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/visitors/transpile_css_prop/transpile.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | .map(|decls| decls.contains(&ident.to_id())) [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/visitors/transpile_css_prop/transpile.rs:402:50 [INFO] [stdout] | [INFO] [stdout] 402 | .for_each(|(_, stmts)| n.body.extend(stmts.into_iter().map(ModuleItem::Stmt))); [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: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `styled_components` (lib) due to 22 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a88ad043f78b7342a08b627dc1863cff108414ce5d3d6988acefca236e3e6611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a88ad043f78b7342a08b627dc1863cff108414ce5d3d6988acefca236e3e6611", kill_on_drop: false }` [INFO] [stdout] a88ad043f78b7342a08b627dc1863cff108414ce5d3d6988acefca236e3e6611