[INFO] fetching crate textiler-core 0.1.0... [INFO] checking textiler-core-0.1.0 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate textiler-core 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate textiler-core 0.1.0 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate textiler-core 0.1.0 [INFO] finished tweaking crates.io crate textiler-core 0.1.0 [INFO] tweaked toml for crates.io crate textiler-core 0.1.0 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 258 packages to latest compatible versions [INFO] [stderr] Adding cssparser v0.33.0 (available: v0.34.0) [INFO] [stderr] Adding gloo v0.10.0 (available: v0.11.0) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding strum v0.25.0 (available: v0.26.3) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cc9a444037b519e720a6a0db7651a00c4f12b8ed530427e908c034e6640510d [INFO] running `Command { std: "docker" "start" "-a" "1cc9a444037b519e720a6a0db7651a00c4f12b8ed530427e908c034e6640510d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cc9a444037b519e720a6a0db7651a00c4f12b8ed530427e908c034e6640510d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cc9a444037b519e720a6a0db7651a00c4f12b8ed530427e908c034e6640510d", kill_on_drop: false }` [INFO] [stdout] 1cc9a444037b519e720a6a0db7651a00c4f12b8ed530427e908c034e6640510d [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3fe187ab64ce7cf965dad5db14d84ca9698d2ab0ff31c6c5bb991d2b72daa6c [INFO] running `Command { std: "docker" "start" "-a" "f3fe187ab64ce7cf965dad5db14d84ca9698d2ab0ff31c6c5bb991d2b72daa6c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.95 [INFO] [stderr] Compiling wasm-bindgen v0.2.95 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking serde_json v1.0.133 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.95 [INFO] [stderr] Checking endi v1.1.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking enumflags2 v0.7.10 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling implicit-clone-derive v0.1.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking dlv-list v0.3.0 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking implicit-clone v0.4.9 [INFO] [stderr] Checking ordered-multimap v0.4.3 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking zvariant v4.2.0 [INFO] [stderr] Checking clap_builder v4.5.21 [INFO] [stderr] Checking async-broadcast v0.7.1 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Checking async-io v2.4.0 [INFO] [stderr] Checking async-fs v2.1.2 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Compiling yew-macro v0.21.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling dark-light v1.1.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking rust-ini v0.18.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking detect-desktop-environment v0.2.0 [INFO] [stderr] Checking dconf_rs v0.3.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.45 [INFO] [stderr] Checking more_collection_macros v0.2.2 [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.95 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking cssparser v0.33.0 [INFO] [stderr] Checking pinned v0.1.0 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Checking clap v4.5.21 [INFO] [stderr] Checking prokio v0.1.0 [INFO] [stderr] Checking minifier v0.3.2 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Checking js-sys v0.3.72 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking stylist-core v0.13.0 [INFO] [stderr] Checking zbus v4.4.0 [INFO] [stderr] Compiling stylist-macros v0.13.0 [INFO] [stderr] Checking web-sys v0.3.72 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.45 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking wasm-bindgen-test v0.3.45 [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking gloo-events v0.2.0 [INFO] [stderr] Checking gloo-dialogs v0.2.0 [INFO] [stderr] Checking gloo-render v0.2.0 [INFO] [stderr] Checking wasm-logger v0.2.0 [INFO] [stderr] Checking gloo-net v0.4.0 [INFO] [stderr] Checking gloo-worker v0.4.0 [INFO] [stderr] Checking gloo-console v0.3.0 [INFO] [stderr] Checking gloo-storage v0.3.0 [INFO] [stderr] Checking gloo-history v0.2.2 [INFO] [stderr] Checking gloo-file v0.3.0 [INFO] [stderr] Checking gloo v0.10.0 [INFO] [stderr] Checking yew v0.21.0 [INFO] [stderr] Checking stylist v0.13.0 [INFO] [stderr] Checking textiler-core v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `textiler_core` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:116:49 [INFO] [stdout] | [INFO] [stdout] 116 | (@object $object:ident [$key:ident] ($value:expr) , $($rest:tt)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 116 | (@object $object:ident [$key:ident] ($value:expr_2021) , $($rest:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/components/system.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected ident [INFO] [stderr] --> src/components/system.rs:72:11 [INFO] [stderr] | [INFO] [stderr] 72 | <@&{props.component.clone()} class={classes} ref={html_ref}> [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:122:50 [INFO] [stdout] | [INFO] [stdout] 122 | (@object $object:ident [$($key:tt)+] ($value:expr) , $($rest:tt)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 122 | (@object $object:ident [$($key:tt)+] ($value:expr_2021) , $($rest:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:135:66 [INFO] [stdout] | [INFO] [stdout] 135 | (@object $object:ident ($($key:tt)+) (: |$theme:ident| $func:expr , $($rest:tt)*) $copy:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 135 | (@object $object:ident ($($key:tt)+) (: |$theme:ident| $func:expr_2021 , $($rest:tt)*) $copy:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:140:66 [INFO] [stdout] | [INFO] [stdout] 140 | (@object $object:ident ($($key:tt)+) (: |$theme:ident| $func:expr) $copy:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 140 | (@object $object:ident ($($key:tt)+) (: |$theme:ident| $func:expr_2021) $copy:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:145:52 [INFO] [stdout] | [INFO] [stdout] 145 | (@object $object:ident ($($key:tt)+) (: $value:expr , $($rest:tt)*) $copy:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 145 | (@object $object:ident ($($key:tt)+) (: $value:expr_2021 , $($rest:tt)*) $copy:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:150:52 [INFO] [stdout] | [INFO] [stdout] 150 | (@object $object:ident ($($key:tt)+) (: $value:expr) $copy:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 150 | (@object $object:ident ($($key:tt)+) (: $value:expr_2021) $copy:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:155:49 [INFO] [stdout] | [INFO] [stdout] 155 | (@object $object:ident [$key:ident] ($value:expr)) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 155 | (@object $object:ident [$key:ident] ($value:expr_2021)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:160:50 [INFO] [stdout] | [INFO] [stdout] 160 | (@object $object:ident [$($key:tt)+] ($value:expr)) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 160 | (@object $object:ident [$($key:tt)+] ($value:expr_2021)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:167:38 [INFO] [stdout] | [INFO] [stdout] 167 | (@object $object:ident () (($key:expr) : $($rest:tt)*) $copy:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 167 | (@object $object:ident () (($key:expr_2021) : $($rest:tt)*) $copy:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:198:27 [INFO] [stdout] | [INFO] [stdout] 198 | (|$theme:ident| $expr:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 198 | (|$theme:ident| $expr:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | ($expr:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 202 | ($expr:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/components/system.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | <@{props.component.clone()} class={classes} ref={html_ref}> [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/theme/sx/sx_to_css.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | SxValue::Callback(ref cb) => *value.to_mut() = cb.apply(theme), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/theme/sx/sx_to_css.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | SxValue::ThemeToken { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____________help: desugar the match ergonomics: `&` [INFO] [stdout] | | [INFO] [stdout] 83 | | ref palette, [INFO] [stdout] 84 | | ref selector, [INFO] [stdout] 85 | | } => { [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/theme/breakpoint.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | if let Some(mut bp) = self.get_mut(breakpoint) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/theme/breakpoint.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 95 ~ match self.get_mut(breakpoint) { Some(mut bp) => { [INFO] [stdout] 96 | bp.width = width; [INFO] [stdout] 97 | return; [INFO] [stdout] 98 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/theme/sx.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | if let SxValue::Nested(sx) = value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/theme/sx.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 55 ~ match value { SxValue::Nested(sx) => { [INFO] [stdout] 56 | *old_sx = old_sx.clone().merge(sx); [INFO] [stdout] 57 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/theme/sx/sx_value.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | if let Some(matched) = PALETTE_SELECTOR_REGEX.captures(quoted_str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------------^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/theme/sx/sx_value.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | } else if quoted_str.contains(char::is_whitespace) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 91 ~ match PALETTE_SELECTOR_REGEX.captures(quoted_str) { Some(matched) => { [INFO] [stdout] 92 | let palette = matched["palette"].to_string(); [INFO] [stdout] ... [INFO] [stdout] 95 | SxValue::ThemeToken { palette, selector } [INFO] [stdout] 96 ~ } _ => if quoted_str.contains(char::is_whitespace) { [INFO] [stdout] 97 | SxValue::CssLiteral(quoted_str.to_string()) [INFO] [stdout] 98 | } else { [INFO] [stdout] 99 | quoted_str.parse().unwrap() [INFO] [stdout] 100~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/theme/sx/sx_value_parsing.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | if let Some((color, ..)) = [INFO] [stdout] | ________________^ [INFO] [stdout] 36 | | cssparser::color::all_named_colors().find(|(color, ..)| *color == &**ident) [INFO] [stdout] | |_________________------------------------------------______________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/theme/sx/sx_value_parsing.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 35 ~ match cssparser::color::all_named_colors().find(|(color, ..)| *color == &**ident) [INFO] [stdout] 36 ~ { Some((color, ..)) => { [INFO] [stdout] 37 | SxValue::Color(Color::CSSLiteral(color.to_string())) [INFO] [stdout] 38 ~ } _ => { [INFO] [stdout] 39 | SxValue::CssLiteral(ident.to_string()) [INFO] [stdout] 40 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `textiler_core` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/components/system.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected ident [INFO] [stderr] --> src/components/system.rs:72:11 [INFO] [stderr] | [INFO] [stderr] 72 | <@&{props.component.clone()} class={classes} ref={html_ref}> [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:116:49 [INFO] [stdout] | [INFO] [stdout] 116 | (@object $object:ident [$key:ident] ($value:expr) , $($rest:tt)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 116 | (@object $object:ident [$key:ident] ($value:expr_2021) , $($rest:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:122:50 [INFO] [stdout] | [INFO] [stdout] 122 | (@object $object:ident [$($key:tt)+] ($value:expr) , $($rest:tt)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 122 | (@object $object:ident [$($key:tt)+] ($value:expr_2021) , $($rest:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:135:66 [INFO] [stdout] | [INFO] [stdout] 135 | (@object $object:ident ($($key:tt)+) (: |$theme:ident| $func:expr , $($rest:tt)*) $copy:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 135 | (@object $object:ident ($($key:tt)+) (: |$theme:ident| $func:expr_2021 , $($rest:tt)*) $copy:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:140:66 [INFO] [stdout] | [INFO] [stdout] 140 | (@object $object:ident ($($key:tt)+) (: |$theme:ident| $func:expr) $copy:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 140 | (@object $object:ident ($($key:tt)+) (: |$theme:ident| $func:expr_2021) $copy:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:145:52 [INFO] [stdout] | [INFO] [stdout] 145 | (@object $object:ident ($($key:tt)+) (: $value:expr , $($rest:tt)*) $copy:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 145 | (@object $object:ident ($($key:tt)+) (: $value:expr_2021 , $($rest:tt)*) $copy:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:150:52 [INFO] [stdout] | [INFO] [stdout] 150 | (@object $object:ident ($($key:tt)+) (: $value:expr) $copy:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 150 | (@object $object:ident ($($key:tt)+) (: $value:expr_2021) $copy:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:155:49 [INFO] [stdout] | [INFO] [stdout] 155 | (@object $object:ident [$key:ident] ($value:expr)) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 155 | (@object $object:ident [$key:ident] ($value:expr_2021)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:160:50 [INFO] [stdout] | [INFO] [stdout] 160 | (@object $object:ident [$($key:tt)+] ($value:expr)) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 160 | (@object $object:ident [$($key:tt)+] ($value:expr_2021)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:167:38 [INFO] [stdout] | [INFO] [stdout] 167 | (@object $object:ident () (($key:expr) : $($rest:tt)*) $copy:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 167 | (@object $object:ident () (($key:expr_2021) : $($rest:tt)*) $copy:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:198:27 [INFO] [stdout] | [INFO] [stdout] 198 | (|$theme:ident| $expr:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 198 | (|$theme:ident| $expr:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/theme/sx.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | ($expr:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 202 | ($expr:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/components/system.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | <@{props.component.clone()} class={classes} ref={html_ref}> [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/theme/sx/sx_to_css.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | SxValue::Callback(ref cb) => *value.to_mut() = cb.apply(theme), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/theme/sx/sx_to_css.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | SxValue::ThemeToken { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____________help: desugar the match ergonomics: `&` [INFO] [stdout] | | [INFO] [stdout] 83 | | ref palette, [INFO] [stdout] 84 | | ref selector, [INFO] [stdout] 85 | | } => { [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/theme/breakpoint.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | if let Some(mut bp) = self.get_mut(breakpoint) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/theme/breakpoint.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 95 ~ match self.get_mut(breakpoint) { Some(mut bp) => { [INFO] [stdout] 96 | bp.width = width; [INFO] [stdout] 97 | return; [INFO] [stdout] 98 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/theme/sx.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | if let SxValue::Nested(sx) = value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/theme/sx.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 55 ~ match value { SxValue::Nested(sx) => { [INFO] [stdout] 56 | *old_sx = old_sx.clone().merge(sx); [INFO] [stdout] 57 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/theme/sx/sx_value.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | if let Some(matched) = PALETTE_SELECTOR_REGEX.captures(quoted_str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------------^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/theme/sx/sx_value.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | } else if quoted_str.contains(char::is_whitespace) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 91 ~ match PALETTE_SELECTOR_REGEX.captures(quoted_str) { Some(matched) => { [INFO] [stdout] 92 | let palette = matched["palette"].to_string(); [INFO] [stdout] ... [INFO] [stdout] 95 | SxValue::ThemeToken { palette, selector } [INFO] [stdout] 96 ~ } _ => if quoted_str.contains(char::is_whitespace) { [INFO] [stdout] 97 | SxValue::CssLiteral(quoted_str.to_string()) [INFO] [stdout] 98 | } else { [INFO] [stdout] 99 | quoted_str.parse().unwrap() [INFO] [stdout] 100~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/theme/sx/sx_value_parsing.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | if let Some((color, ..)) = [INFO] [stdout] | ________________^ [INFO] [stdout] 36 | | cssparser::color::all_named_colors().find(|(color, ..)| *color == &**ident) [INFO] [stdout] | |_________________------------------------------------______________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/theme/sx/sx_value_parsing.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 35 ~ match cssparser::color::all_named_colors().find(|(color, ..)| *color == &**ident) [INFO] [stdout] 36 ~ { Some((color, ..)) => { [INFO] [stdout] 37 | SxValue::Color(Color::CSSLiteral(color.to_string())) [INFO] [stdout] 38 ~ } _ => { [INFO] [stdout] 39 | SxValue::CssLiteral(ident.to_string()) [INFO] [stdout] 40 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/css_baseline_test.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.08s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking textiler-core v0.1.0 (/tmp/fixit) [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/theme/sx/sx_to_css.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | SxValue::Callback(ref cb) => *value.to_mut() = cb.apply(theme), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/theme/sx/sx_to_css.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | SxValue::ThemeToken { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____________help: desugar the match ergonomics: `&` [INFO] [stdout] | | [INFO] [stdout] 83 | | ref palette, [INFO] [stdout] 84 | | ref selector, [INFO] [stdout] 85 | | } => { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/theme/sx/sx_to_css.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | SxValue::Callback(ref cb) => *value.to_mut() = cb.apply(theme), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/theme/sx/sx_to_css.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | SxValue::ThemeToken { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____________help: desugar the match ergonomics: `&` [INFO] [stdout] | | [INFO] [stdout] 83 | | ref palette, [INFO] [stdout] 84 | | ref selector, [INFO] [stdout] 85 | | } => { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `textiler-core` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `textiler-core` (lib test) due to 2 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f3fe187ab64ce7cf965dad5db14d84ca9698d2ab0ff31c6c5bb991d2b72daa6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3fe187ab64ce7cf965dad5db14d84ca9698d2ab0ff31c6c5bb991d2b72daa6c", kill_on_drop: false }` [INFO] [stdout] f3fe187ab64ce7cf965dad5db14d84ca9698d2ab0ff31c6c5bb991d2b72daa6c