[INFO] fetching crate papyri-lang 0.7.0... [INFO] checking papyri-lang-0.7.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate papyri-lang 0.7.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate papyri-lang 0.7.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate papyri-lang 0.7.0 [INFO] finished tweaking crates.io crate papyri-lang 0.7.0 [INFO] tweaked toml for crates.io crate papyri-lang 0.7.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate papyri-lang 0.7.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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4853b3836d0416ec9c725c880c2124a397a3c4a597c74123740b754734643b45 [INFO] running `Command { std: "docker" "start" "-a" "4853b3836d0416ec9c725c880c2124a397a3c4a597c74123740b754734643b45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4853b3836d0416ec9c725c880c2124a397a3c4a597c74123740b754734643b45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4853b3836d0416ec9c725c880c2124a397a3c4a597c74123740b754734643b45", kill_on_drop: false }` [INFO] [stdout] 4853b3836d0416ec9c725c880c2124a397a3c4a597c74123740b754734643b45 [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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 589b3e6cecffd76593acd747b032221f9de6dce2847d24555834d1ba6c3c307e [INFO] running `Command { std: "docker" "start" "-a" "589b3e6cecffd76593acd747b032221f9de6dce2847d24555834d1ba6c3c307e", 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] Fixed Cargo.toml (1 fix) [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Compiling cc v1.0.77 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.88 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling openssl v0.10.54 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Compiling tabwriter v1.2.1 [INFO] [stderr] Checking h2 v0.3.19 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking xml5ever v0.17.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking ipnet v2.7.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking htmlentity v1.2.0 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling arg-derive v0.3.4 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking arg v0.3.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking hyper v0.14.26 [INFO] [stderr] Checking nonmax v0.5.3 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking deunicode v1.3.2 [INFO] [stderr] Checking normalize-path v0.2.0 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking markup5ever_rcdom v0.2.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking syntect v5.0.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking papyri-lang v0.7.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/compiler/native_gen.rs:8:139 [INFO] [stdout] | [INFO] [stdout] 8 | ...nt: $m_param_kind: ident $m_param_type: ty $(= $m_param_default: expr)?),*) $m_body: block)* [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] 8 | $($(@$m_bind: ident)? fn $m_name: ident ($($m_param_name: ident: $m_param_kind: ident $m_param_type: ty $(= $m_param_default: expr_2021)?),*) $m_body: block)* [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `papyri_lang` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/compiler/native_gen.rs [INFO] [stderr] * src/utils/const_strs.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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/compiler/native_gen.rs:10:115 [INFO] [stdout] | [INFO] [stdout] 10 | ... $(fn $f_name: ident ($($f_param_name: ident: $f_param_kind: ident $f_param_type: ty $(= $f_param_default: expr)?),*) $f_body: block)* [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] 10 | $(fn $f_name: ident ($($f_param_name: ident: $f_param_kind: ident $f_param_type: ty $(= $f_param_default: expr_2021)?),*) $f_body: block)* [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/const_strs.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | ($($name: ident = $val: 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] 4 | ($($name: ident = $val: expr_2021,)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/compiler/native_gen.rs:8:121 [INFO] [stderr] | [INFO] [stderr] 8 | ...e: ident: $m_param_kind: ident $m_param_type: ty $(= $m_param_default: expr_2021)?),*) $m_body: block)* [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/compiler/native_gen.rs:10:97 [INFO] [stderr] | [INFO] [stderr] 10 | ... $(fn $f_name: ident ($($f_param_name: ident: $f_param_kind: ident $f_param_type: ty $(= $f_param_default: expr_2021)?),*) $f_body: ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils/const_strs.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | ($($name: ident = $val: expr_2021,)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/compiler/native_gen.rs:111:13 [INFO] [stderr] | [INFO] [stderr] 111 | ... pub(super) fn evaluate_native_func(&mut self, f: NativeFunc, mut bindings: $crate::compiler::value::Dict, $call_range: $crate::utils::sourcefile::SourceRange) -> $crate::errors::PapyriResult<$crate::compiler::value::Value... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/compiler/native.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / crate::native_defs! { [INFO] [stderr] 14 | | let compiler, call_range; [INFO] [stderr] 15 | | [INFO] [stderr] 16 | | impl BOOL for Bool { [INFO] [stderr] ... | [INFO] [stderr] 449 | | } [INFO] [stderr] 450 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `Value: From` will fail [INFO] [stderr] --> src/compiler/native_gen.rs:128:25 [INFO] [stderr] | [INFO] [stderr] 128 | Value::from($f_body) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/compiler/native.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / crate::native_defs! { [INFO] [stderr] 14 | | let compiler, call_range; [INFO] [stderr] 15 | | [INFO] [stderr] 16 | | impl BOOL for Bool { [INFO] [stderr] ... | [INFO] [stderr] 449 | | } [INFO] [stderr] 450 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] = note: this warning originates in the macro `crate::native_defs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/compiler/native_gen.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | ... pub(super) fn evaluate_native_func(&mut self, f: NativeFunc, mut bindings: $crate::compiler::value::Dict, $call_range: $crate::utils::sourcefile::SourceRange) -> $crate::errors::PapyriResult<$crate::compiler::value::Value... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/native.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / crate::native_defs! { [INFO] [stdout] 14 | | let compiler, call_range; [INFO] [stdout] 15 | | [INFO] [stdout] 16 | | impl BOOL for Bool { [INFO] [stdout] ... | [INFO] [stdout] 449 | | } [INFO] [stdout] 450 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `Value: From` will fail [INFO] [stdout] --> src/compiler/native_gen.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | Value::from($f_body) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/native.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / crate::native_defs! { [INFO] [stdout] 14 | | let compiler, call_range; [INFO] [stdout] 15 | | [INFO] [stdout] 16 | | impl BOOL for Bool { [INFO] [stdout] ... | [INFO] [stdout] 449 | | } [INFO] [stdout] 450 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] = note: this warning originates in the macro `crate::native_defs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compiler/html.rs:226:19 [INFO] [stdout] | [INFO] [stdout] 226 | } else if let Some(node) = nodes.pop() { [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/compiler/html.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | } [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] 226 ~ } else { match nodes.pop() { Some(node) => { [INFO] [stdout] 227 | self.children.push(node); [INFO] [stdout] 228 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compiler/matcher.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | if let Some(r) = r { return r; } [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/compiler/matcher.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | if let Some(r) = r { return r; } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 19 | match r { Some(r) => { return r; } _ => {}} [INFO] [stdout] | ~~~~~ ++++++++++++ ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compiler/names.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | } else if let Value::Dict(ref vs) = subject { [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] 31 | } else if let Value::HTML(HTML::Tag(ref t)) = subject { [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/compiler/names.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | } else if let Value::HTML(HTML::Tag(ref t)) = subject { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/compiler/names.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 27 ~ } else { match subject { Value::Dict(ref vs) => { [INFO] [stdout] 28 | if let Some(v) = vs.get(&attr_id) { [INFO] [stdout] 29 | return Ok(v.clone()); [INFO] [stdout] 30 | } [INFO] [stdout] 31 ~ } _ => { match subject { Value::HTML(HTML::Tag(ref t)) => { [INFO] [stdout] 32 | if attr_id == str_ids::TAG_NAME { [INFO] [stdout] 33 | return Ok(self.get_name(t.name_id).into()) [INFO] [stdout] 34 | } [INFO] [stdout] 35 ~ } _ => {}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compiler/native.rs:235:16 [INFO] [stdout] | [INFO] [stdout] 235 | if let Some(f) = FUNCTION { [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/compiler/native.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | } 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] 235 ~ match FUNCTION { Some(f) => { [INFO] [stdout] 236 | let mut out = Vec::new(); [INFO] [stdout] ... [INFO] [stdout] 242 | out [INFO] [stdout] 243 ~ } _ => { [INFO] [stdout] 244 | LIST.as_ref() [INFO] [stdout] ... [INFO] [stdout] 248 | .collect() [INFO] [stdout] 249 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compiler/sequence.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | if let Err(e) = self.compile_node(&mut builder, child) { [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/compiler/sequence.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 30 ~ match self.compile_node(&mut builder, child) { Err(e) => { [INFO] [stdout] 31 | self.report(e, child.range()); [INFO] [stdout] 32 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compiler/signature.rs:164:32 [INFO] [stdout] | [INFO] [stdout] 164 | let type_hint = if let Some(param) = sig.positional_params.get(self.bound.positional_arg_count) { [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] 165 | ¶m.type_ [INFO] [stdout] 166 | } else if let Some(param) = &sig.spread_param { [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/compiler/signature.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | } else if let Some(param) = &sig.spread_param { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/compiler/signature.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | } 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] 164 ~ let type_hint = match sig.positional_params.get(self.bound.positional_arg_count) { Some(param) => { [INFO] [stdout] 165 | ¶m.type_ [INFO] [stdout] 166 ~ } _ => { match &sig.spread_param { Some(param) => { [INFO] [stdout] 167 | param.type_.component_type() [INFO] [stdout] 168 ~ } _ => { [INFO] [stdout] 169 | &Type::Any [INFO] [stdout] 170 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compiler/signature.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | let type_hint = if let Some(param) = sig.named_params.get(&arg.name_id) { [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] 188 | ¶m.type_ [INFO] [stdout] 189 | } else if let Some(param) = &sig.spread_named_param { [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/compiler/signature.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | } else if let Some(param) = &sig.spread_named_param { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/compiler/signature.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | } 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] 187 ~ let type_hint = match sig.named_params.get(&arg.name_id) { Some(param) => { [INFO] [stdout] 188 | ¶m.type_ [INFO] [stdout] 189 ~ } _ => { match &sig.spread_named_param { Some(param) => { [INFO] [stdout] 190 | param.type_.component_type() [INFO] [stdout] 191 ~ } _ => { [INFO] [stdout] 192 | &Type::Any [INFO] [stdout] 193 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compiler/signature.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 234 | if let Some(param) = sig.positional_params.get(self.bound.positional_arg_count) { [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] 237 | } else if let Some(param) = &sig.spread_param { [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/compiler/signature.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | } else if let Some(param) = &sig.spread_param { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/compiler/signature.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | } 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] 234 ~ match sig.positional_params.get(self.bound.positional_arg_count) { Some(param) => { [INFO] [stdout] 235 | let v = self.compiler.coerce(value, ¶m.type_)?; [INFO] [stdout] 236 | self.bound.map.insert(param.name_id, v); [INFO] [stdout] 237 ~ } _ => { match &sig.spread_param { Some(param) => { [INFO] [stdout] 238 | let v = self.compiler.coerce(value, param.type_.component_type())?; [INFO] [stdout] 239 | self.bound.spread_pos.push(v); [INFO] [stdout] 240 ~ } _ => { [INFO] [stdout] 241 | // do nothing; `TypeError::TooManyPositionalArgs` will be reported later [INFO] [stdout] 242 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compiler/signature.rs:250:31 [INFO] [stdout] | [INFO] [stdout] 250 | let (type_, map) = if let Some(param) = sig.named_params.get(&name_id) { [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] 251 | (¶m.type_, &mut self.bound.map) [INFO] [stdout] 252 | } else if let Some(param) = &sig.spread_named_param { [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/compiler/signature.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | } else if let Some(param) = &sig.spread_named_param { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/compiler/signature.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | } 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] 250 ~ let (type_, map) = match sig.named_params.get(&name_id) { Some(param) => { [INFO] [stdout] 251 | (¶m.type_, &mut self.bound.map) [INFO] [stdout] 252 ~ } _ => { match &sig.spread_named_param { Some(param) => { [INFO] [stdout] 253 | (param.type_.component_type(), &mut self.bound.spread_named) [INFO] [stdout] 254 ~ } _ => { [INFO] [stdout] 255 | let name = self.compiler.get_name(name_id); [INFO] [stdout] 256 | let e = errors::NameError::NoSuchParameter(name); [INFO] [stdout] 257 | return Err(e.into()); [INFO] [stdout] 258 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/errors/sink_base.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | if let Some(trace) = &self.trace { [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/errors/sink_base.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | } 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] 96 ~ match &self.trace { Some(trace) => { [INFO] [stdout] 97 | writeln!(f, "Traceback (most recent call last):")?; [INFO] [stdout] ... [INFO] [stdout] 104 | writeln!(f, "{}", self.msg)?; [INFO] [stdout] 105 ~ } _ => { [INFO] [stdout] 106 | writeln!(f, "{}", self.msg)?; [INFO] [stdout] 107 | write_trace_line(f, &self.range, None)?; [INFO] [stdout] 108 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/ast.rs:407:20 [INFO] [stdout] | [INFO] [stdout] 407 | if let Some(spread) = &dict_pattern.spread { [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/parser/ast.rs:409:17 [INFO] [stdout] | [INFO] [stdout] 409 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 407 ~ match &dict_pattern.spread { Some(spread) => { [INFO] [stdout] 408 | spread.get_name_ids(out); [INFO] [stdout] 409 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/func.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | } else if let Some(value) = c.default_value.as_ref() { [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/parser/func.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 143 ~ } else { match c.default_value.as_ref() { Some(value) => { [INFO] [stdout] 144 | self.report(SyntaxError::ParamContentDefault, value.range()); [INFO] [stdout] 145 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/matcher.rs:365:16 [INFO] [stdout] | [INFO] [stdout] 365 | if let Some(spread) = spread { [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/parser/matcher.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 365 ~ match spread { Some(spread) => { [INFO] [stdout] 366 | return Ok(spread); [INFO] [stdout] 367 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/base.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | } else if let Ok(child) = self.parse_node(tok) { [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/parser/base.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 62 ~ } else { match self.parse_node(tok) { Ok(child) => { [INFO] [stdout] 63 | nodes.push(child); [INFO] [stdout] 64 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/base.rs:268:16 [INFO] [stdout] | [INFO] [stdout] 268 | if let Ok(child) = self.parse_node(tok) { [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/parser/base.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 268 ~ match self.parse_node(tok) { Ok(child) => { [INFO] [stdout] 269 | children.push(child); [INFO] [stdout] 270 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/template.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | if let Ok(name) = self.parse_name(tok) { [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/parser/template.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | } [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 self.parse_name(tok) { Ok(name) => { [INFO] [stdout] 36 | parts.push(TemplatePart::Name(name)); [INFO] [stdout] 37 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/matcher.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `papyri_lang` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/compiler/native_gen.rs [INFO] [stderr] * src/utils/const_strs.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/compiler/native_gen.rs:8:121 [INFO] [stderr] | [INFO] [stderr] 8 | ...e: ident: $m_param_kind: ident $m_param_type: ty $(= $m_param_default: expr_2021)?),*) $m_body: block)* [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/compiler/native_gen.rs:10:97 [INFO] [stderr] | [INFO] [stderr] 10 | ... $(fn $f_name: ident ($($f_param_name: ident: $f_param_kind: ident $f_param_type: ty $(= $f_param_default: expr_2021)?),*) $f_body: ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils/const_strs.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | ($($name: ident = $val: expr_2021,)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/compiler/native_gen.rs:111:13 [INFO] [stderr] | [INFO] [stderr] 111 | ... pub(super) fn evaluate_native_func(&mut self, f: NativeFunc, mut bindings: $crate::compiler::value::Dict, $call_range: $crate::utils::sourcefile::SourceRange) -> $crate::errors::PapyriResult<$crate::compiler::value::Value... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/compiler/native.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / crate::native_defs! { [INFO] [stderr] 14 | | let compiler, call_range; [INFO] [stderr] 15 | | [INFO] [stderr] 16 | | impl BOOL for Bool { [INFO] [stderr] ... | [INFO] [stderr] 449 | | } [INFO] [stderr] 450 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `Value: From` will fail [INFO] [stderr] --> src/compiler/native_gen.rs:128:25 [INFO] [stderr] | [INFO] [stderr] 128 | Value::from($f_body) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/compiler/native.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / crate::native_defs! { [INFO] [stderr] 14 | | let compiler, call_range; [INFO] [stderr] 15 | | [INFO] [stderr] 16 | | impl BOOL for Bool { [INFO] [stderr] ... | [INFO] [stderr] 449 | | } [INFO] [stderr] 450 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] = note: this warning originates in the macro `crate::native_defs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [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/compiler/native_gen.rs:8:139 [INFO] [stdout] | [INFO] [stdout] 8 | ...nt: $m_param_kind: ident $m_param_type: ty $(= $m_param_default: expr)?),*) $m_body: block)* [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] 8 | $($(@$m_bind: ident)? fn $m_name: ident ($($m_param_name: ident: $m_param_kind: ident $m_param_type: ty $(= $m_param_default: expr_2021)?),*) $m_body: block)* [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/compiler/native_gen.rs:10:115 [INFO] [stdout] | [INFO] [stdout] 10 | ... $(fn $f_name: ident ($($f_param_name: ident: $f_param_kind: ident $f_param_type: ty $(= $f_param_default: expr)?),*) $f_body: block)* [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] 10 | $(fn $f_name: ident ($($f_param_name: ident: $f_param_kind: ident $f_param_type: ty $(= $f_param_default: expr_2021)?),*) $f_body: block)* [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/const_strs.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | ($($name: ident = $val: 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] 4 | ($($name: ident = $val: expr_2021,)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/compiler/native_gen.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | ... pub(super) fn evaluate_native_func(&mut self, f: NativeFunc, mut bindings: $crate::compiler::value::Dict, $call_range: $crate::utils::sourcefile::SourceRange) -> $crate::errors::PapyriResult<$crate::compiler::value::Value... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/native.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / crate::native_defs! { [INFO] [stdout] 14 | | let compiler, call_range; [INFO] [stdout] 15 | | [INFO] [stdout] 16 | | impl BOOL for Bool { [INFO] [stdout] ... | [INFO] [stdout] 449 | | } [INFO] [stdout] 450 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `Value: From` will fail [INFO] [stdout] --> src/compiler/native_gen.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | Value::from($f_body) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/native.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / crate::native_defs! { [INFO] [stdout] 14 | | let compiler, call_range; [INFO] [stdout] 15 | | [INFO] [stdout] 16 | | impl BOOL for Bool { [INFO] [stdout] ... | [INFO] [stdout] 449 | | } [INFO] [stdout] 450 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] = note: this warning originates in the macro `crate::native_defs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compiler/html.rs:226:19 [INFO] [stdout] | [INFO] [stdout] 226 | } else if let Some(node) = nodes.pop() { [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/compiler/html.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | } [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] 226 ~ } else { match nodes.pop() { Some(node) => { [INFO] [stdout] 227 | self.children.push(node); [INFO] [stdout] 228 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compiler/matcher.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | if let Some(r) = r { return r; } [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/compiler/matcher.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | if let Some(r) = r { return r; } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 19 | match r { Some(r) => { return r; } _ => {}} [INFO] [stdout] | ~~~~~ ++++++++++++ ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compiler/names.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | } else if let Value::Dict(ref vs) = subject { [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] 31 | } else if let Value::HTML(HTML::Tag(ref t)) = subject { [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/compiler/names.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | } else if let Value::HTML(HTML::Tag(ref t)) = subject { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/compiler/names.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 27 ~ } else { match subject { Value::Dict(ref vs) => { [INFO] [stdout] 28 | if let Some(v) = vs.get(&attr_id) { [INFO] [stdout] 29 | return Ok(v.clone()); [INFO] [stdout] 30 | } [INFO] [stdout] 31 ~ } _ => { match subject { Value::HTML(HTML::Tag(ref t)) => { [INFO] [stdout] 32 | if attr_id == str_ids::TAG_NAME { [INFO] [stdout] 33 | return Ok(self.get_name(t.name_id).into()) [INFO] [stdout] 34 | } [INFO] [stdout] 35 ~ } _ => {}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compiler/native.rs:235:16 [INFO] [stdout] | [INFO] [stdout] 235 | if let Some(f) = FUNCTION { [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/compiler/native.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | } 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] 235 ~ match FUNCTION { Some(f) => { [INFO] [stdout] 236 | let mut out = Vec::new(); [INFO] [stdout] ... [INFO] [stdout] 242 | out [INFO] [stdout] 243 ~ } _ => { [INFO] [stdout] 244 | LIST.as_ref() [INFO] [stdout] ... [INFO] [stdout] 248 | .collect() [INFO] [stdout] 249 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compiler/sequence.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | if let Err(e) = self.compile_node(&mut builder, child) { [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/compiler/sequence.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 30 ~ match self.compile_node(&mut builder, child) { Err(e) => { [INFO] [stdout] 31 | self.report(e, child.range()); [INFO] [stdout] 32 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compiler/signature.rs:164:32 [INFO] [stdout] | [INFO] [stdout] 164 | let type_hint = if let Some(param) = sig.positional_params.get(self.bound.positional_arg_count) { [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] 165 | ¶m.type_ [INFO] [stdout] 166 | } else if let Some(param) = &sig.spread_param { [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/compiler/signature.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | } else if let Some(param) = &sig.spread_param { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/compiler/signature.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | } 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] 164 ~ let type_hint = match sig.positional_params.get(self.bound.positional_arg_count) { Some(param) => { [INFO] [stdout] 165 | ¶m.type_ [INFO] [stdout] 166 ~ } _ => { match &sig.spread_param { Some(param) => { [INFO] [stdout] 167 | param.type_.component_type() [INFO] [stdout] 168 ~ } _ => { [INFO] [stdout] 169 | &Type::Any [INFO] [stdout] 170 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compiler/signature.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | let type_hint = if let Some(param) = sig.named_params.get(&arg.name_id) { [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] 188 | ¶m.type_ [INFO] [stdout] 189 | } else if let Some(param) = &sig.spread_named_param { [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/compiler/signature.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | } else if let Some(param) = &sig.spread_named_param { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/compiler/signature.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | } 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] 187 ~ let type_hint = match sig.named_params.get(&arg.name_id) { Some(param) => { [INFO] [stdout] 188 | ¶m.type_ [INFO] [stdout] 189 ~ } _ => { match &sig.spread_named_param { Some(param) => { [INFO] [stdout] 190 | param.type_.component_type() [INFO] [stdout] 191 ~ } _ => { [INFO] [stdout] 192 | &Type::Any [INFO] [stdout] 193 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compiler/signature.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 234 | if let Some(param) = sig.positional_params.get(self.bound.positional_arg_count) { [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] 237 | } else if let Some(param) = &sig.spread_param { [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/compiler/signature.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | } else if let Some(param) = &sig.spread_param { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/compiler/signature.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | } 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] 234 ~ match sig.positional_params.get(self.bound.positional_arg_count) { Some(param) => { [INFO] [stdout] 235 | let v = self.compiler.coerce(value, ¶m.type_)?; [INFO] [stdout] 236 | self.bound.map.insert(param.name_id, v); [INFO] [stdout] 237 ~ } _ => { match &sig.spread_param { Some(param) => { [INFO] [stdout] 238 | let v = self.compiler.coerce(value, param.type_.component_type())?; [INFO] [stdout] 239 | self.bound.spread_pos.push(v); [INFO] [stdout] 240 ~ } _ => { [INFO] [stdout] 241 | // do nothing; `TypeError::TooManyPositionalArgs` will be reported later [INFO] [stdout] 242 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/compiler/signature.rs:250:31 [INFO] [stdout] | [INFO] [stdout] 250 | let (type_, map) = if let Some(param) = sig.named_params.get(&name_id) { [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] 251 | (¶m.type_, &mut self.bound.map) [INFO] [stdout] 252 | } else if let Some(param) = &sig.spread_named_param { [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/compiler/signature.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | } else if let Some(param) = &sig.spread_named_param { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/compiler/signature.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | } 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] 250 ~ let (type_, map) = match sig.named_params.get(&name_id) { Some(param) => { [INFO] [stdout] 251 | (¶m.type_, &mut self.bound.map) [INFO] [stdout] 252 ~ } _ => { match &sig.spread_named_param { Some(param) => { [INFO] [stdout] 253 | (param.type_.component_type(), &mut self.bound.spread_named) [INFO] [stdout] 254 ~ } _ => { [INFO] [stdout] 255 | let name = self.compiler.get_name(name_id); [INFO] [stdout] 256 | let e = errors::NameError::NoSuchParameter(name); [INFO] [stdout] 257 | return Err(e.into()); [INFO] [stdout] 258 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/errors/sink_base.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | if let Some(trace) = &self.trace { [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/errors/sink_base.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | } 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] 96 ~ match &self.trace { Some(trace) => { [INFO] [stdout] 97 | writeln!(f, "Traceback (most recent call last):")?; [INFO] [stdout] ... [INFO] [stdout] 104 | writeln!(f, "{}", self.msg)?; [INFO] [stdout] 105 ~ } _ => { [INFO] [stdout] 106 | writeln!(f, "{}", self.msg)?; [INFO] [stdout] 107 | write_trace_line(f, &self.range, None)?; [INFO] [stdout] 108 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/ast.rs:407:20 [INFO] [stdout] | [INFO] [stdout] 407 | if let Some(spread) = &dict_pattern.spread { [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/parser/ast.rs:409:17 [INFO] [stdout] | [INFO] [stdout] 409 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 407 ~ match &dict_pattern.spread { Some(spread) => { [INFO] [stdout] 408 | spread.get_name_ids(out); [INFO] [stdout] 409 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/func.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | } else if let Some(value) = c.default_value.as_ref() { [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/parser/func.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 143 ~ } else { match c.default_value.as_ref() { Some(value) => { [INFO] [stdout] 144 | self.report(SyntaxError::ParamContentDefault, value.range()); [INFO] [stdout] 145 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/matcher.rs:365:16 [INFO] [stdout] | [INFO] [stdout] 365 | if let Some(spread) = spread { [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/parser/matcher.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 365 ~ match spread { Some(spread) => { [INFO] [stdout] 366 | return Ok(spread); [INFO] [stdout] 367 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/base.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | } else if let Ok(child) = self.parse_node(tok) { [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/parser/base.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 62 ~ } else { match self.parse_node(tok) { Ok(child) => { [INFO] [stdout] 63 | nodes.push(child); [INFO] [stdout] 64 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/base.rs:268:16 [INFO] [stdout] | [INFO] [stdout] 268 | if let Ok(child) = self.parse_node(tok) { [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/parser/base.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 268 ~ match self.parse_node(tok) { Ok(child) => { [INFO] [stdout] 269 | children.push(child); [INFO] [stdout] 270 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/template.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | if let Ok(name) = self.parse_name(tok) { [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/parser/template.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | } [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 self.parse_name(tok) { Ok(name) => { [INFO] [stdout] 36 | parts.push(TemplatePart::Name(name)); [INFO] [stdout] 37 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/papyri.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `matcher` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/common/mod.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:39 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:22 [INFO] [stderr] | [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:39 [INFO] [stderr] | [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [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] --> tests/common/mod.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] = 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] 5 | ($($name: ident ($src: expr_2021, $expected: expr$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] 5 | ($($name: ident ($src: expr, $expected: 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] --> tests/common/mod.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | ($($name: ident ($src: expr, $category: ident :: $expected: ident $(,)?);)*) => { [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] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr_2021, $pattern: expr$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr, $pattern: expr_2021$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/bin/papyri.rs (1 fix) [INFO] [stderr] Migrating tests/str.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/regex.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `str` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/common/mod.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:39 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:22 [INFO] [stderr] | [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:39 [INFO] [stderr] | [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [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] --> tests/common/mod.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] = 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] 5 | ($($name: ident ($src: expr_2021, $expected: expr$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] 5 | ($($name: ident ($src: expr, $expected: 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] --> tests/common/mod.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | ($($name: ident ($src: expr, $category: ident :: $expected: ident $(,)?);)*) => { [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] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr_2021, $pattern: expr$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr, $pattern: expr_2021$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/func.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `regex` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/common/mod.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:39 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:22 [INFO] [stderr] | [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:39 [INFO] [stderr] | [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [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] --> tests/common/mod.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] = 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] 5 | ($($name: ident ($src: expr_2021, $expected: expr$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] 5 | ($($name: ident ($src: expr, $expected: 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] --> tests/common/mod.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | ($($name: ident ($src: expr, $category: ident :: $expected: ident $(,)?);)*) => { [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] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr_2021, $pattern: expr$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr, $pattern: expr_2021$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/native.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `func` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/common/mod.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:39 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:22 [INFO] [stderr] | [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:39 [INFO] [stderr] | [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [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] --> tests/common/mod.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] = 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] 5 | ($($name: ident ($src: expr_2021, $expected: expr$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] 5 | ($($name: ident ($src: expr, $expected: 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] --> tests/common/mod.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | ($($name: ident ($src: expr, $category: ident :: $expected: ident $(,)?);)*) => { [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] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr_2021, $pattern: expr$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr, $pattern: expr_2021$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/list.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `native` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/common/mod.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:39 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:22 [INFO] [stderr] | [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:39 [INFO] [stderr] | [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [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] --> tests/common/mod.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] = 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] 5 | ($($name: ident ($src: expr_2021, $expected: expr$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] 5 | ($($name: ident ($src: expr, $expected: 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] --> tests/common/mod.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | ($($name: ident ($src: expr, $category: ident :: $expected: ident $(,)?);)*) => { [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] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr_2021, $pattern: expr$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr, $pattern: expr_2021$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/basic.rs from 2021 edition to 2024 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] = 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] 5 | ($($name: ident ($src: expr_2021, $expected: expr$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] 5 | ($($name: ident ($src: expr, $expected: 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] --> tests/common/mod.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | ($($name: ident ($src: expr, $category: ident :: $expected: ident $(,)?);)*) => { [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] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr_2021, $pattern: expr$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr, $pattern: expr_2021$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `list` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/common/mod.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:39 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:22 [INFO] [stderr] | [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:39 [INFO] [stderr] | [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Migrating tests/tag.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `basic` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] = 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] 5 | ($($name: ident ($src: expr_2021, $expected: expr$(,)?);)*) => { [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] * tests/common/mod.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:39 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] 5 | ($($name: ident ($src: expr, $expected: expr_2021$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:22 [INFO] [stderr] | [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:39 [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | ($($name: ident ($src: expr, $category: ident :: $expected: ident $(,)?);)*) => { [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] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr_2021, $pattern: expr$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr, $pattern: expr_2021$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `tag` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] = 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] 5 | ($($name: ident ($src: expr_2021, $expected: expr$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] 5 | ($($name: ident ($src: expr, $expected: expr_2021$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | ($($name: ident ($src: expr, $category: ident :: $expected: ident $(,)?);)*) => { [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] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr_2021, $pattern: expr$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * tests/common/mod.rs [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr, $pattern: expr_2021$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:39 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:22 [INFO] [stderr] | [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:39 [INFO] [stderr] | [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Migrating tests/text.rs from 2021 edition to 2024 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] = 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] 5 | ($($name: ident ($src: expr_2021, $expected: expr$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `text` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] 5 | ($($name: ident ($src: expr, $expected: expr_2021$(,)?);)*) => { [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] * tests/common/mod.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:39 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:22 [INFO] [stderr] | [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:39 [INFO] [stderr] | [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [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] --> tests/common/mod.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | ($($name: ident ($src: expr, $category: ident :: $expected: ident $(,)?);)*) => { [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] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr_2021, $pattern: expr$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr, $pattern: expr_2021$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/dict.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/types.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `dict` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/common/mod.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:39 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:22 [INFO] [stderr] | [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:39 [INFO] [stderr] | [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [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] --> tests/common/mod.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] = 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] 5 | ($($name: ident ($src: expr_2021, $expected: expr$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] 5 | ($($name: ident ($src: expr, $expected: 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] --> tests/common/mod.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | ($($name: ident ($src: expr, $category: ident :: $expected: ident $(,)?);)*) => { [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] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr_2021, $pattern: expr$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr, $pattern: expr_2021$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `types` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/common/mod.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:5:39 [INFO] [stderr] | [INFO] [stderr] 5 | ($($name: ident ($src: expr_2021, $expected: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:22 [INFO] [stderr] | [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/common/mod.rs:37:39 [INFO] [stderr] | [INFO] [stderr] 37 | ($($name: ident ($val: expr_2021, $pattern: expr_2021$(,)?);)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [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] --> tests/common/mod.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] = 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] 5 | ($($name: ident ($src: expr_2021, $expected: expr$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | ($($name: ident ($src: expr, $expected: 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] 5 | ($($name: ident ($src: expr, $expected: 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] --> tests/common/mod.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | ($($name: ident ($src: expr, $category: ident :: $expected: ident $(,)?);)*) => { [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] 18 | ($($name: ident ($src: expr_2021, $category: ident :: $expected: ident $(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr_2021, $pattern: expr$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/common/mod.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | ($($name: ident ($val: expr, $pattern: 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] 37 | ($($name: ident ($val: expr, $pattern: expr_2021$(,)?);)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.48s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking papyri-lang v0.7.0 (/tmp/fixit) [INFO] [stdout] error[E0277]: the trait bound `Value: From` is not satisfied [INFO] [stdout] --> src/compiler/native_gen.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | Value::from($f_body) [INFO] [stdout] | ^^^^^ the trait `From` is not implemented for `Value` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/native.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / crate::native_defs! { [INFO] [stdout] 14 | | let compiler, call_range; [INFO] [stdout] 15 | | [INFO] [stdout] 16 | | impl BOOL for Bool { [INFO] [stdout] ... | [INFO] [stdout] 449 | | } [INFO] [stdout] 450 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Value` implements `From<&html::HTML>` [INFO] [stdout] `Value` implements `From<&str>` [INFO] [stdout] `Value` implements `From<()>` [INFO] [stdout] `Value` implements `From` [INFO] [stdout] `Value` implements `From>>` [INFO] [stdout] `Value` implements `From>>>` [INFO] [stdout] `Value` implements `From>` [INFO] [stdout] `Value` implements `From>` [INFO] [stdout] and 8 others [INFO] [stdout] = note: this error originates in the macro `crate::native_defs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Value: From` is not satisfied [INFO] [stdout] --> src/compiler/native_gen.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | Value::from($f_body) [INFO] [stdout] | ^^^^^ the trait `From` is not implemented for `Value` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/native.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / crate::native_defs! { [INFO] [stdout] 14 | | let compiler, call_range; [INFO] [stdout] 15 | | [INFO] [stdout] 16 | | impl BOOL for Bool { [INFO] [stdout] ... | [INFO] [stdout] 449 | | } [INFO] [stdout] 450 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Value` implements `From<&html::HTML>` [INFO] [stdout] `Value` implements `From<&str>` [INFO] [stdout] `Value` implements `From<()>` [INFO] [stdout] `Value` implements `From` [INFO] [stdout] `Value` implements `From>>` [INFO] [stdout] `Value` implements `From>>>` [INFO] [stdout] `Value` implements `From>` [INFO] [stdout] `Value` implements `From>` [INFO] [stdout] and 8 others [INFO] [stdout] = note: this error originates in the macro `crate::native_defs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `papyri-lang` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `papyri-lang` (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" "589b3e6cecffd76593acd747b032221f9de6dce2847d24555834d1ba6c3c307e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "589b3e6cecffd76593acd747b032221f9de6dce2847d24555834d1ba6c3c307e", kill_on_drop: false }` [INFO] [stdout] 589b3e6cecffd76593acd747b032221f9de6dce2847d24555834d1ba6c3c307e