[INFO] fetching crate erg_parser 0.6.43... [INFO] checking erg_parser-0.6.43 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate erg_parser 0.6.43 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate erg_parser 0.6.43 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 erg_parser 0.6.43 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate erg_parser 0.6.43 [INFO] tweaked toml for crates.io crate erg_parser 0.6.43 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate erg_parser 0.6.43 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 145840821eca79f833eecc1fa521d4851ad9021f970b5a8d40c31ae661d79e08 [INFO] running `Command { std: "docker" "start" "-a" "145840821eca79f833eecc1fa521d4851ad9021f970b5a8d40c31ae661d79e08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "145840821eca79f833eecc1fa521d4851ad9021f970b5a8d40c31ae661d79e08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "145840821eca79f833eecc1fa521d4851ad9021f970b5a8d40c31ae661d79e08", kill_on_drop: false }` [INFO] [stdout] 145840821eca79f833eecc1fa521d4851ad9021f970b5a8d40c31ae661d79e08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 82e72b3bcef19a180cd9a63fe65a2ee333c8e5e1e7e542e4f95d498c1cd3b560 [INFO] running `Command { std: "docker" "start" "-a" "82e72b3bcef19a180cd9a63fe65a2ee333c8e5e1e7e542e4f95d498c1cd3b560", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling erg_common v0.6.43 [INFO] [stderr] Checking unicode-xid v0.2.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling erg_proc_macros v0.6.43 [INFO] [stderr] Checking erg_parser v0.6.43 (/tmp/fixit) [INFO] [stderr] Migrating lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `erg_parser` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * parse.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] --> parse.rs:62:29 [INFO] [stderr] | [INFO] [stderr] 62 | ($self: ident, category $cate: 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] --> parse.rs:74:30 [INFO] [stderr] | [INFO] [stderr] 74 | ($self: ident, fail_next $kind: 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] --> parse.rs:87:20 [INFO] [stderr] | [INFO] [stderr] 87 | ($self: ident, $kind: 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 3 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ast.rs:972:20 [INFO] [stdout] | [INFO] [stdout] 972 | for (name, gen) in self.generators.iter() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ast.rs:1148:20 [INFO] [stdout] | [INFO] [stdout] 1148 | for (name, gen) in self.generators.iter() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ast.rs:1618:20 [INFO] [stdout] | [INFO] [stdout] 1618 | for (name, gen) in self.generators.iter() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ast.rs:2333:20 [INFO] [stdout] | [INFO] [stdout] 2333 | for (name, gen) in self.generators.iter() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ast.rs:2377:30 [INFO] [stdout] | [INFO] [stdout] 2377 | .map(|(name, gen)| (name, gen.downgrade())) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ast.rs:2377:43 [INFO] [stdout] | [INFO] [stdout] 2377 | .map(|(name, gen)| (name, gen.downgrade())) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> desugar.rs:213:39 [INFO] [stdout] | [INFO] [stdout] 213 | .map(|(ident, gen)| (ident, desugar(gen))) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> desugar.rs:213:61 [INFO] [stdout] | [INFO] [stdout] 213 | .map(|(ident, gen)| (ident, desugar(gen))) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> desugar.rs:253:33 [INFO] [stdout] | [INFO] [stdout] 253 | for (ident, gen) in set.generators.into_iter() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> desugar.rs:254:61 [INFO] [stdout] | [INFO] [stdout] 254 | new_generators.push((ident, desugar(gen))); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> typespec.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | for (name, gen) in set.generators.into_iter() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> typespec.rs:72:62 [INFO] [stdout] | [INFO] [stdout] 72 | let pred = Self::validate_const_expr(gen)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> parse.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | ($self: ident, category $cate: 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] 62 | ($self: ident, category $cate: 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] --> parse.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | ($self: ident, fail_next $kind: 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] 74 | ($self: ident, fail_next $kind: 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] --> parse.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | ($self: ident, $kind: 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] 87 | ($self: ident, $kind: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:2213:12 [INFO] [stdout] | [INFO] [stdout] 2213 | if let Some(guard) = &self.guard { [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] --> ast.rs:2215:9 [INFO] [stdout] | [INFO] [stdout] 2215 | } else { [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] 2213 ~ match &self.guard { Some(guard) => { [INFO] [stdout] 2214 | write!(f, "[{} | {}]", self.elems, guard) [INFO] [stdout] 2215 ~ } _ => { [INFO] [stdout] 2216 | write!(f, "[{}]", self.elems) [INFO] [stdout] 2217 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:2786:12 [INFO] [stdout] | [INFO] [stdout] 2786 | if let Some(attr_name) = self.attr_name { [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] --> ast.rs:2791:9 [INFO] [stdout] | [INFO] [stdout] 2791 | } 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] 2786 ~ match self.attr_name { Some(attr_name) => { [INFO] [stdout] 2787 | self.obj [INFO] [stdout] ... [INFO] [stdout] 2790 | .call(self.args.downgrade()) [INFO] [stdout] 2791 ~ } _ => { [INFO] [stdout] 2792 | self.obj.downgrade().call(self.args.downgrade()) [INFO] [stdout] 2793 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:2991:12 [INFO] [stdout] | [INFO] [stdout] 2991 | if let Some((l, r)) = &self.paren { [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] 2992 | Location::concat(l, r) [INFO] [stdout] 2993 | } else if let Some((first, last)) = self.pos_args.first().zip(self.kw_args.last()) { [INFO] [stdout] | ------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 2994 | Location::concat(first, last) [INFO] [stdout] 2995 | } else if let Some(last) = self.pos_args.last() { [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] --> ast.rs:2993:9 [INFO] [stdout] | [INFO] [stdout] 2993 | } else if let Some((first, last)) = self.pos_args.first().zip(self.kw_args.last()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> ast.rs:2995:9 [INFO] [stdout] | [INFO] [stdout] 2995 | } else if let Some(last) = self.pos_args.last() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> ast.rs:2997:9 [INFO] [stdout] | [INFO] [stdout] 2997 | } 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] 2991 ~ match &self.paren { Some((l, r)) => { [INFO] [stdout] 2992 | Location::concat(l, r) [INFO] [stdout] 2993 ~ } _ => { match self.pos_args.first().zip(self.kw_args.last()) { Some((first, last)) => { [INFO] [stdout] 2994 | Location::concat(first, last) [INFO] [stdout] 2995 ~ } _ => { match self.pos_args.last() { Some(last) => { [INFO] [stdout] 2996 | Location::concat(self.pos_args.first().unwrap(), last) [INFO] [stdout] 2997 ~ } _ => { [INFO] [stdout] 2998 | Location::Unknown [INFO] [stdout] 2999 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:3124:12 [INFO] [stdout] | [INFO] [stdout] 3124 | if let Some(last) = self.args.kw_args.last() { [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] 3125 | Location::concat(&self.acc, last) [INFO] [stdout] 3126 | } else if let Some(last) = self.args.pos_args.last() { [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] --> ast.rs:3126:9 [INFO] [stdout] | [INFO] [stdout] 3126 | } else if let Some(last) = self.args.pos_args.last() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> ast.rs:3128:9 [INFO] [stdout] | [INFO] [stdout] 3128 | } 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] 3124 ~ match self.args.kw_args.last() { Some(last) => { [INFO] [stdout] 3125 | Location::concat(&self.acc, last) [INFO] [stdout] 3126 ~ } _ => { match self.args.pos_args.last() { Some(last) => { [INFO] [stdout] 3127 | Location::concat(&self.acc, last) [INFO] [stdout] 3128 ~ } _ => { [INFO] [stdout] 3129 | self.acc.loc() [INFO] [stdout] 3130 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:3230:12 [INFO] [stdout] | [INFO] [stdout] 3230 | if let Some(name) = &self.name { [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] --> ast.rs:3232:9 [INFO] [stdout] | [INFO] [stdout] 3232 | } 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] 3230 ~ match &self.name { Some(name) => { [INFO] [stdout] 3231 | write!(f, "{}: {}", name.inspect(), self.ty) [INFO] [stdout] 3232 ~ } _ => { [INFO] [stdout] 3233 | write!(f, "{}", self.ty) [INFO] [stdout] 3234 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:3240:12 [INFO] [stdout] | [INFO] [stdout] 3240 | if let Some(name) = &self.name { [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] --> ast.rs:3242:9 [INFO] [stdout] | [INFO] [stdout] 3242 | } 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] 3240 ~ match &self.name { Some(name) => { [INFO] [stdout] 3241 | Location::concat(name, &self.ty) [INFO] [stdout] 3242 ~ } _ => { [INFO] [stdout] 3243 | self.ty.loc() [INFO] [stdout] 3244 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:3312:19 [INFO] [stdout] | [INFO] [stdout] 3312 | } else if let Some(lparen) = &self.lparen { [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] 3313 | Location::concat(lparen, self.return_t.as_ref()) [INFO] [stdout] 3314 | } else if let Some(nd_param) = self.non_defaults.first() { [INFO] [stdout] | ----------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 3315 | Location::concat(nd_param, self.return_t.as_ref()) [INFO] [stdout] 3316 | } else if let Some(var_params) = self.var_params.as_deref() { [INFO] [stdout] | --------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 3317 | Location::concat(var_params, self.return_t.as_ref()) [INFO] [stdout] 3318 | } else if let Some(d_param) = self.defaults.first() { [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] --> ast.rs:3314:9 [INFO] [stdout] | [INFO] [stdout] 3314 | } else if let Some(nd_param) = self.non_defaults.first() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> ast.rs:3316:9 [INFO] [stdout] | [INFO] [stdout] 3316 | } else if let Some(var_params) = self.var_params.as_deref() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> ast.rs:3318:9 [INFO] [stdout] | [INFO] [stdout] 3318 | } else if let Some(d_param) = self.defaults.first() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> ast.rs:3320:9 [INFO] [stdout] | [INFO] [stdout] 3320 | } 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] 3312 ~ } else { match &self.lparen { Some(lparen) => { [INFO] [stdout] 3313 | Location::concat(lparen, self.return_t.as_ref()) [INFO] [stdout] 3314 ~ } _ => { match self.non_defaults.first() { Some(nd_param) => { [INFO] [stdout] 3315 | Location::concat(nd_param, self.return_t.as_ref()) [INFO] [stdout] 3316 ~ } _ => { match self.var_params.as_deref() { Some(var_params) => { [INFO] [stdout] 3317 | Location::concat(var_params, self.return_t.as_ref()) [INFO] [stdout] 3318 ~ } _ => { match self.defaults.first() { Some(d_param) => { [INFO] [stdout] 3319 | Location::concat(&d_param.param, self.return_t.as_ref()) [INFO] [stdout] 3320 ~ } _ => { [INFO] [stdout] 3321 | self.return_t.loc() [INFO] [stdout] 3322 ~ }}}}}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:3367:12 [INFO] [stdout] | [INFO] [stdout] 3367 | if let Some((lsqbr, rsqbr)) = &self.sqbrs { [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] --> ast.rs:3369:9 [INFO] [stdout] | [INFO] [stdout] 3369 | } 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] 3367 ~ match &self.sqbrs { Some((lsqbr, rsqbr)) => { [INFO] [stdout] 3368 | Location::concat(lsqbr, rsqbr) [INFO] [stdout] 3369 ~ } _ => { [INFO] [stdout] 3370 | Location::concat(self.ty.as_ref(), &self.len) [INFO] [stdout] 3371 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:3424:12 [INFO] [stdout] | [INFO] [stdout] 3424 | if let Some((lparen, rparen)) = &self.parens { [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] 3425 | Location::concat(lparen, rparen) [INFO] [stdout] 3426 | } else if let Some((first, last)) = self.tys.first().zip(self.tys.last()) { [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] --> ast.rs:3426:9 [INFO] [stdout] | [INFO] [stdout] 3426 | } else if let Some((first, last)) = self.tys.first().zip(self.tys.last()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> ast.rs:3428:9 [INFO] [stdout] | [INFO] [stdout] 3428 | } 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] 3424 ~ match &self.parens { Some((lparen, rparen)) => { [INFO] [stdout] 3425 | Location::concat(lparen, rparen) [INFO] [stdout] 3426 ~ } _ => { match self.tys.first().zip(self.tys.last()) { Some((first, last)) => { [INFO] [stdout] 3427 | Location::concat(first, last) [INFO] [stdout] 3428 ~ } _ => { [INFO] [stdout] 3429 | Location::Unknown [INFO] [stdout] 3430 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:3459:12 [INFO] [stdout] | [INFO] [stdout] 3459 | if let Some((lparen, rparen)) = &self.braces { [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] --> ast.rs:3461:9 [INFO] [stdout] | [INFO] [stdout] 3461 | } else if !self.kvs.is_empty() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3459 ~ match &self.braces { Some((lparen, rparen)) => { [INFO] [stdout] 3460 | Location::concat(lparen, rparen) [INFO] [stdout] 3461 ~ } _ => if !self.kvs.is_empty() { [INFO] [stdout] 3462 | let (first, _) = self.kvs.first().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 3466 | Location::Unknown [INFO] [stdout] 3467 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:3496:12 [INFO] [stdout] | [INFO] [stdout] 3496 | if let Some((lparen, rparen)) = &self.braces { [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] --> ast.rs:3498:9 [INFO] [stdout] | [INFO] [stdout] 3498 | } else if !self.attrs.is_empty() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3496 ~ match &self.braces { Some((lparen, rparen)) => { [INFO] [stdout] 3497 | Location::concat(lparen, rparen) [INFO] [stdout] 3498 ~ } _ => if !self.attrs.is_empty() { [INFO] [stdout] 3499 | let (first, _) = self.attrs.first().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 3503 | Location::Unknown [INFO] [stdout] 3504 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:4556:12 [INFO] [stdout] | [INFO] [stdout] 4556 | if let Some(t_spec) = &self.t_spec { [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] --> ast.rs:4558:9 [INFO] [stdout] | [INFO] [stdout] 4558 | } 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] 4556 ~ match &self.t_spec { Some(t_spec) => { [INFO] [stdout] 4557 | Location::concat(&self.pat, t_spec) [INFO] [stdout] 4558 ~ } _ => { [INFO] [stdout] 4559 | self.pat.loc() [INFO] [stdout] 4560 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:4641:12 [INFO] [stdout] | [INFO] [stdout] 4641 | if let Some((first, last)) = self.elems.first().zip(self.elems.last()) { [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] --> ast.rs:4643:9 [INFO] [stdout] | [INFO] [stdout] 4643 | } 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] 4641 ~ match self.elems.first().zip(self.elems.last()) { Some((first, last)) => { [INFO] [stdout] 4642 | Location::concat(first, last) [INFO] [stdout] 4643 ~ } _ => { [INFO] [stdout] 4644 | Location::Unknown [INFO] [stdout] 4645 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:4970:12 [INFO] [stdout] | [INFO] [stdout] 4970 | if let Some(t_spec) = &self.t_spec { [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] --> ast.rs:4972:9 [INFO] [stdout] | [INFO] [stdout] 4972 | } 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] 4970 ~ match &self.t_spec { Some(t_spec) => { [INFO] [stdout] 4971 | Location::left_main_concat(&self.pat, t_spec) [INFO] [stdout] 4972 ~ } _ => { [INFO] [stdout] 4973 | self.pat.loc() [INFO] [stdout] 4974 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:5281:19 [INFO] [stdout] | [INFO] [stdout] 5281 | } else if let Some(return_t) = &self.return_t_spec { [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] --> ast.rs:5283:9 [INFO] [stdout] | [INFO] [stdout] 5283 | } 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] 5281 ~ } else { match &self.return_t_spec { Some(return_t) => { [INFO] [stdout] 5282 | Location::concat(&self.ident, return_t) [INFO] [stdout] 5283 ~ } _ => { [INFO] [stdout] 5284 | Location::concat(&self.ident, &self.params) [INFO] [stdout] 5285 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:5348:19 [INFO] [stdout] | [INFO] [stdout] 5348 | } else if let Some(return_t) = &self.return_t_spec { [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] --> ast.rs:5350:9 [INFO] [stdout] | [INFO] [stdout] 5350 | } else if self.params.is_empty() && self.params.parens.is_none() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 5348 ~ } else { match &self.return_t_spec { Some(return_t) => { [INFO] [stdout] 5349 | Location::concat(&self.params, return_t) [INFO] [stdout] 5350 ~ } _ => if self.params.is_empty() && self.params.parens.is_none() { [INFO] [stdout] 5351 | Location::Unknown [INFO] [stdout] 5352 | } else { [INFO] [stdout] 5353 | self.params.loc() [INFO] [stdout] 5354 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:5462:20 [INFO] [stdout] | [INFO] [stdout] 5462 | if let VarPattern::Ident(ident) = &var.pat { [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] --> ast.rs:5464:17 [INFO] [stdout] | [INFO] [stdout] 5464 | } 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] 5462 ~ match &var.pat { VarPattern::Ident(ident) => { [INFO] [stdout] 5463 | Some(ident) [INFO] [stdout] 5464 ~ } _ => { [INFO] [stdout] 5465 | None [INFO] [stdout] 5466 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:5475:20 [INFO] [stdout] | [INFO] [stdout] 5475 | if let VarPattern::Ident(ident) = &mut var.pat { [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] --> ast.rs:5477:17 [INFO] [stdout] | [INFO] [stdout] 5477 | } 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] 5475 ~ match &mut var.pat { VarPattern::Ident(ident) => { [INFO] [stdout] 5476 | Some(ident) [INFO] [stdout] 5477 ~ } _ => { [INFO] [stdout] 5478 | None [INFO] [stdout] 5479 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:5677:24 [INFO] [stdout] | [INFO] [stdout] 5677 | if let Some(Expr::Call(inner)) = call.args.get_left_or_key("Class") { [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] --> ast.rs:5683:21 [INFO] [stdout] | [INFO] [stdout] 5683 | } 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] 5677 ~ match call.args.get_left_or_key("Class") { Some(Expr::Call(inner)) => { [INFO] [stdout] 5678 | match inner.obj.get_name().map(|n| &n[..]) { [INFO] [stdout] ... [INFO] [stdout] 5682 | } [INFO] [stdout] 5683 ~ } _ => { [INFO] [stdout] 5684 | DefKind::Other [INFO] [stdout] 5685 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:5901:12 [INFO] [stdout] | [INFO] [stdout] 5901 | if let Some(expr) = self.exprs.first() { [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] --> ast.rs:5907:9 [INFO] [stdout] | [INFO] [stdout] 5907 | } 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] 5901 ~ match self.exprs.first() { Some(expr) => { [INFO] [stdout] 5902 | if let Some(last) = self.exprs.last() { [INFO] [stdout] ... [INFO] [stdout] 5906 | } [INFO] [stdout] 5907 ~ } _ => { [INFO] [stdout] 5908 | Location::Unknown [INFO] [stdout] 5909 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:5902:16 [INFO] [stdout] | [INFO] [stdout] 5902 | if let Some(last) = self.exprs.last() { [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] --> ast.rs:5904:13 [INFO] [stdout] | [INFO] [stdout] 5904 | } 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] 5902 ~ match self.exprs.last() { Some(last) => { [INFO] [stdout] 5903 | Location::concat(expr, last) [INFO] [stdout] 5904 ~ } _ => { [INFO] [stdout] 5905 | expr.loc() [INFO] [stdout] 5906 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> convert.rs:662:37 [INFO] [stdout] | [INFO] [stdout] 662 | let var_params = if let Some(var_args) = var_args { [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] --> convert.rs:665:17 [INFO] [stdout] | [INFO] [stdout] 665 | } 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] 662 ~ let var_params = match var_args { Some(var_args) => { [INFO] [stdout] 663 | let var_params = self.convert_pos_arg_to_non_default_param(var_args, false)?; [INFO] [stdout] 664 | Some(var_params) [INFO] [stdout] 665 ~ } _ => { [INFO] [stdout] 666 | None [INFO] [stdout] 667 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> desugar.rs:476:24 [INFO] [stdout] | [INFO] [stdout] 476 | if let Some(Expr::Def(previous)) = new.last() { [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] --> desugar.rs:552:21 [INFO] [stdout] | [INFO] [stdout] 552 | } 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] 476 ~ match new.last() { Some(Expr::Def(previous)) => { [INFO] [stdout] 477 | if previous.is_subr() && previous.sig.name_as_str() == def.sig.name_as_str() [INFO] [stdout] ... [INFO] [stdout] 551 | } [INFO] [stdout] 552 ~ } _ => { [INFO] [stdout] 553 | new.push(Expr::Def(def)); [INFO] [stdout] 554 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> desugar.rs:719:24 [INFO] [stdout] | [INFO] [stdout] 719 | if let Some(var) = tup.elems.starred.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] --> desugar.rs:721:21 [INFO] [stdout] | [INFO] [stdout] 721 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 719 ~ match tup.elems.starred.as_ref() { Some(var) => { [INFO] [stdout] 720 | self.desugar_rest_values(new, var, &buf_name, elems_len); [INFO] [stdout] 721 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> desugar.rs:732:24 [INFO] [stdout] | [INFO] [stdout] 732 | if let Some(var) = lis.elems.starred.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] --> desugar.rs:734:21 [INFO] [stdout] | [INFO] [stdout] 734 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 732 ~ match lis.elems.starred.as_ref() { Some(var) => { [INFO] [stdout] 733 | self.desugar_rest_values(new, var, &buf_name, elems_len); [INFO] [stdout] 734 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> desugar.rs:1014:20 [INFO] [stdout] | [INFO] [stdout] 1014 | if let Record::Mixed(rec) = pack.args { [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] --> desugar.rs:1019:17 [INFO] [stdout] | [INFO] [stdout] 1019 | } 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] 1014 ~ match pack.args { Record::Mixed(rec) => { [INFO] [stdout] 1015 | let class = Self::rec_desugar_shortened_record(*pack.class); [INFO] [stdout] ... [INFO] [stdout] 1018 | Expr::DataPack(DataPack::new(class, pack.connector, args)) [INFO] [stdout] 1019 ~ } _ => { [INFO] [stdout] 1020 | Expr::DataPack(pack) [INFO] [stdout] 1021 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> desugar.rs:1313:45 [INFO] [stdout] | [INFO] [stdout] 1313 | let t_spec_as_expr = if let Ok(expr) = expr { [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] --> desugar.rs:1319:21 [INFO] [stdout] | [INFO] [stdout] 1319 | } 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] 1313 ~ let t_spec_as_expr = match expr { Ok(expr) => { [INFO] [stdout] 1314 | Expr::Set(astSet::Normal(NormalSet::new( [INFO] [stdout] ... [INFO] [stdout] 1318 | ))) [INFO] [stdout] 1319 ~ } _ => { [INFO] [stdout] 1320 | Self::dummy_list_expr(len) [INFO] [stdout] 1321 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> error.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | if let Some(sub_msg) = self.0.sub_messages.get_mut(0) { [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] --> error.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 82 ~ match self.0.sub_messages.get_mut(0) { Some(sub_msg) => { [INFO] [stdout] 83 | sub_msg.set_hint(hint) [INFO] [stdout] 84 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> lex.rs:1206:23 [INFO] [stdout] | [INFO] [stdout] 1206 | } else if let Err(e) = self.lex_comment() { [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] --> lex.rs:1208:13 [INFO] [stdout] | [INFO] [stdout] 1208 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1206 ~ } else { match self.lex_comment() { Err(e) => { [INFO] [stdout] 1207 | return Some(Err(e)); [INFO] [stdout] 1208 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> lex.rs:1203:20 [INFO] [stdout] | [INFO] [stdout] 1203 | if let Err(e) = self.lex_multi_line_comment() { [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] --> lex.rs:1205:17 [INFO] [stdout] | [INFO] [stdout] 1205 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1203 ~ match self.lex_multi_line_comment() { Err(e) => { [INFO] [stdout] 1204 | return Some(Err(e)); [INFO] [stdout] 1205 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:540:24 [INFO] [stdout] | [INFO] [stdout] 540 | if let Ok(expr) = self.try_reduce_chunk(true, false) { [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] --> parse.rs:550:21 [INFO] [stdout] | [INFO] [stdout] 550 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 540 ~ match self.try_reduce_chunk(true, false) { Ok(expr) => { [INFO] [stdout] 541 | if !self.cur_is(EOF) && !self.cur_category_is(TC::Separator) { [INFO] [stdout] ... [INFO] [stdout] 549 | chunks.push(expr); [INFO] [stdout] 550 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:554:38 [INFO] [stdout] | [INFO] [stdout] 554 | let err = if let Some(last) = chunks.last() { [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] --> parse.rs:556:25 [INFO] [stdout] | [INFO] [stdout] 556 | } 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] 554 ~ let err = match chunks.last() { Some(last) => { [INFO] [stdout] 555 | self.skip_and_throw_invalid_chunk_err(caused_by!(), line!(), last.loc()) [INFO] [stdout] 556 ~ } _ => { [INFO] [stdout] 557 | self.unexpected_none(line!(), caused_by!()) [INFO] [stdout] 558 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:631:24 [INFO] [stdout] | [INFO] [stdout] 631 | if let Ok(expr) = self.try_reduce_chunk(true, false) { [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] --> parse.rs:642:21 [INFO] [stdout] | [INFO] [stdout] 642 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 631 ~ match self.try_reduce_chunk(true, false) { Ok(expr) => { [INFO] [stdout] 632 | if !self.cur_is(Dedent) && !self.cur_category_is(TC::Separator) { [INFO] [stdout] ... [INFO] [stdout] 641 | block.push(expr); [INFO] [stdout] 642 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:704:15 [INFO] [stdout] | [INFO] [stdout] 704 | while let Some(deco) = self [INFO] [stdout] | _______________^ - [INFO] [stdout] | |________________________________| [INFO] [stdout] 705 | || .opt_reduce_decorator() [INFO] [stdout] 706 | || .map_err(|_| self.stack_dec(fn_name!()))? [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] | [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] --> parse.rs:716:9 [INFO] [stdout] | [INFO] [stdout] 716 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:1194:24 [INFO] [stdout] | [INFO] [stdout] 1194 | if let Some(lp) = lp { [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] --> parse.rs:1197:21 [INFO] [stdout] | [INFO] [stdout] 1197 | } 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] 1194 ~ match lp { Some(lp) => { [INFO] [stdout] 1195 | let rp = self.lpop(); [INFO] [stdout] 1196 | args.set_parens((lp, rp)); [INFO] [stdout] 1197 ~ } _ => { [INFO] [stdout] 1198 | // e.g. f(g 1) [INFO] [stdout] 1199 | let (pos_args, var_args, kw_args, kw_var, _) = args.deconstruct(); [INFO] [stdout] 1200 | args = Args::new(pos_args, var_args, kw_args, kw_var, None); [INFO] [stdout] 1201 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:1286:33 [INFO] [stdout] | [INFO] [stdout] 1286 | let kw = if let Accessor::Ident(n) = acc { [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] --> parse.rs:1288:21 [INFO] [stdout] | [INFO] [stdout] 1288 | } 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] 1286 ~ let kw = match acc { Accessor::Ident(n) => { [INFO] [stdout] 1287 | n.name.into_token() [INFO] [stdout] 1288 ~ } _ => { [INFO] [stdout] 1289 | let caused_by = caused_by!(); [INFO] [stdout] ... [INFO] [stdout] 1295 | return Err(()); [INFO] [stdout] 1296 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:1331:36 [INFO] [stdout] | [INFO] [stdout] 1331 | ... if let Expr::Accessor(Accessor::Ident(n)) = *tasc.expr { [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] --> parse.rs:1333:33 [INFO] [stdout] | [INFO] [stdout] 1333 | ... } 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] 1331 ~ match *tasc.expr { Expr::Accessor(Accessor::Ident(n)) => { [INFO] [stdout] 1332 | (n.name.into_token(), Some(tasc.t_spec)) [INFO] [stdout] 1333 ~ } _ => { [INFO] [stdout] 1334 | let err = self.skip_and_throw_invalid_seq_err( [INFO] [stdout] ... [INFO] [stdout] 1342 | return Err(()); [INFO] [stdout] 1343 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:1423:38 [INFO] [stdout] | [INFO] [stdout] 1423 | let keyword = if let Accessor::Ident(n) = acc { [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] --> parse.rs:1425:21 [INFO] [stdout] | [INFO] [stdout] 1425 | } 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] 1423 ~ let keyword = match acc { Accessor::Ident(n) => { [INFO] [stdout] 1424 | n.name.into_token() [INFO] [stdout] 1425 ~ } _ => { [INFO] [stdout] 1426 | let caused_by = caused_by!(); [INFO] [stdout] ... [INFO] [stdout] 1432 | return Err(()); [INFO] [stdout] 1433 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:1467:38 [INFO] [stdout] | [INFO] [stdout] 1467 | let keyword = if let Accessor::Ident(n) = acc { [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] --> parse.rs:1469:21 [INFO] [stdout] | [INFO] [stdout] 1469 | } 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] 1467 ~ let keyword = match acc { Accessor::Ident(n) => { [INFO] [stdout] 1468 | n.name.into_token() [INFO] [stdout] 1469 ~ } _ => { [INFO] [stdout] 1470 | let caused_by = caused_by!(); [INFO] [stdout] ... [INFO] [stdout] 1476 | return Err(()); [INFO] [stdout] 1477 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:1848:31 [INFO] [stdout] | [INFO] [stdout] 1848 | while let Some(ExprOrOp::Op(prev_op)) = stack.get(stack.len() - 2) { [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] --> parse.rs:1859:25 [INFO] [stdout] | [INFO] [stdout] 1859 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:1887:32 [INFO] [stdout] | [INFO] [stdout] 1887 | ... if let Some(args) = self [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 1888 | || ... .opt_reduce_args(false) [INFO] [stdout] 1889 | || ... .transpose() [INFO] [stdout] 1890 | || ... .map_err(|_| self.stack_dec(fn_name!()))? [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] | [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] --> parse.rs:1896:29 [INFO] [stdout] | [INFO] [stdout] 1896 | ... } 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] 1887 ~ match self [INFO] [stdout] 1888 | .opt_reduce_args(false) [INFO] [stdout] 1889 | .transpose() [INFO] [stdout] 1890 | .map_err(|_| self.stack_dec(fn_name!()))? [INFO] [stdout] 1891 ~ { Some(args) => { [INFO] [stdout] 1892 | let ident = [INFO] [stdout] ... [INFO] [stdout] 1895 | stack.push(ExprOrOp::Expr(Expr::Call(call))); [INFO] [stdout] 1896 ~ } _ => { [INFO] [stdout] 1897 | let ident = [INFO] [stdout] 1898 | Identifier::new(VisModifierSpec::Private, VarName::new(token)); [INFO] [stdout] 1899 | stack.push(ExprOrOp::Expr(obj.attr_expr(ident))); [INFO] [stdout] 1900 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:1973:32 [INFO] [stdout] | [INFO] [stdout] 1973 | ... if let Some(args) = self [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 1974 | || ... .opt_reduce_args(false) [INFO] [stdout] 1975 | || ... .transpose() [INFO] [stdout] 1976 | || ... .map_err(|_| self.stack_dec(fn_name!()))? [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] | [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] --> parse.rs:1981:29 [INFO] [stdout] | [INFO] [stdout] 1981 | ... } 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] 1973 ~ match self [INFO] [stdout] 1974 | .opt_reduce_args(false) [INFO] [stdout] 1975 | .transpose() [INFO] [stdout] 1976 | .map_err(|_| self.stack_dec(fn_name!()))? [INFO] [stdout] 1977 ~ { Some(args) => { [INFO] [stdout] 1978 | let ident = Identifier::public_from_token(dot, token); [INFO] [stdout] 1979 | let call = Expr::Call(Call::new(obj, Some(ident), args)); [INFO] [stdout] 1980 | stack.push(ExprOrOp::Expr(call)); [INFO] [stdout] 1981 ~ } _ => { [INFO] [stdout] 1982 | let ident = Identifier::public_from_token(dot, token); [INFO] [stdout] 1983 | stack.push(ExprOrOp::Expr(obj.attr_expr(ident))); [INFO] [stdout] 1984 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:2186:31 [INFO] [stdout] | [INFO] [stdout] 2186 | while let Some(ExprOrOp::Op(prev_op)) = stack.get(stack.len() - 2) { [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] --> parse.rs:2201:25 [INFO] [stdout] | [INFO] [stdout] 2201 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:2229:32 [INFO] [stdout] | [INFO] [stdout] 2229 | ... if let Some(args) = self [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 2230 | || ... .opt_reduce_args(in_type_args) [INFO] [stdout] 2231 | || ... .transpose() [INFO] [stdout] 2232 | || ... .map_err(|_| self.stack_dec(fn_name!()))? [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] | [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] --> parse.rs:2240:29 [INFO] [stdout] | [INFO] [stdout] 2240 | ... } 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] 2229 ~ match self [INFO] [stdout] 2230 | .opt_reduce_args(in_type_args) [INFO] [stdout] 2231 | .transpose() [INFO] [stdout] 2232 | .map_err(|_| self.stack_dec(fn_name!()))? [INFO] [stdout] 2233 ~ { Some(args) => { [INFO] [stdout] 2234 | let ident = Identifier::new( [INFO] [stdout] ... [INFO] [stdout] 2239 | stack.push(ExprOrOp::Expr(Expr::Call(call))); [INFO] [stdout] 2240 ~ } _ => { [INFO] [stdout] 2241 | let ident = Identifier::new( [INFO] [stdout] ... [INFO] [stdout] 2245 | stack.push(ExprOrOp::Expr(obj.attr_expr(ident))); [INFO] [stdout] 2246 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:2365:20 [INFO] [stdout] | [INFO] [stdout] 2365 | if let Expr::Accessor(Accessor::Ident(ident)) = *tasc.expr { [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] --> parse.rs:2367:17 [INFO] [stdout] | [INFO] [stdout] 2367 | } 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] 2365 ~ match *tasc.expr { Expr::Accessor(Accessor::Ident(ident)) => { [INFO] [stdout] 2366 | (ident.name.into_token(), Some(tasc.t_spec)) [INFO] [stdout] 2367 ~ } _ => { [INFO] [stdout] 2368 | let caused_by = caused_by!(); [INFO] [stdout] ... [INFO] [stdout] 2374 | return Err(()); [INFO] [stdout] 2375 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:2686:15 [INFO] [stdout] | [INFO] [stdout] 2686 | while let Some(res) = self.opt_reduce_args(in_type_args) { [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] --> parse.rs:2690:9 [INFO] [stdout] | [INFO] [stdout] 2690 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:3738:24 [INFO] [stdout] | [INFO] [stdout] 3738 | if let Some(args) = self [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 3739 | || .opt_reduce_args(false) [INFO] [stdout] 3740 | || .transpose() [INFO] [stdout] 3741 | || .map_err(|_| self.stack_dec(fn_name!()))? [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] | [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] --> parse.rs:3751:21 [INFO] [stdout] | [INFO] [stdout] 3751 | } 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] 3738 ~ match self [INFO] [stdout] 3739 | .opt_reduce_args(false) [INFO] [stdout] 3740 | .transpose() [INFO] [stdout] 3741 | .map_err(|_| self.stack_dec(fn_name!()))? [INFO] [stdout] 3742 ~ { Some(args) => { [INFO] [stdout] 3743 | let ident = [INFO] [stdout] ... [INFO] [stdout] 3750 | stack.push(ExprOrOp::Expr(call)); [INFO] [stdout] 3751 ~ } _ => { [INFO] [stdout] 3752 | let err = self.get_stream_op_syntax_error( [INFO] [stdout] ... [INFO] [stdout] 3759 | return Err(()); [INFO] [stdout] 3760 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:3746:31 [INFO] [stdout] | [INFO] [stdout] 3746 | while let Some(res) = self.opt_reduce_args(false) { [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] --> parse.rs:3749:25 [INFO] [stdout] | [INFO] [stdout] 3749 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> typespec.rs:239:27 [INFO] [stdout] | [INFO] [stdout] 239 | let var_args = if let Some(var_args) = _var_args { [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] --> typespec.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | } 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] 239 ~ let var_args = match _var_args { Some(var_args) => { [INFO] [stdout] 240 | let const_var_args = Self::validate_const_expr(var_args.expr)?; [INFO] [stdout] 241 | Some(ConstPosArg::new(const_var_args)) [INFO] [stdout] 242 ~ } _ => { [INFO] [stdout] 243 | None [INFO] [stdout] 244 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> typespec.rs:250:25 [INFO] [stdout] | [INFO] [stdout] 250 | let kw_var = if let Some(kw_var) = _kw_var { [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] --> typespec.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | } 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 kw_var = match _kw_var { Some(kw_var) => { [INFO] [stdout] 251 | let const_kw_var = Self::validate_const_expr(kw_var.expr)?; [INFO] [stdout] 252 | Some(ConstPosArg::new(const_kw_var)) [INFO] [stdout] 253 ~ } _ => { [INFO] [stdout] 254 | None [INFO] [stdout] 255 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> typespec.rs:277:30 [INFO] [stdout] | [INFO] [stdout] 277 | let acc = if let Some(attr) = call.attr_name { [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] --> typespec.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | } 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] 277 ~ let acc = match call.attr_name { Some(attr) => { [INFO] [stdout] 278 | ConstAccessor::attr(ConstExpr::Accessor(acc), attr) [INFO] [stdout] 279 ~ } _ => { [INFO] [stdout] 280 | acc [INFO] [stdout] 281 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> visitor.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_classes(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> visitor.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_classes(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_classes(&self) -> impl Iterator + use<'a> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 67 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/parse_test.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `erg_parser` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * parse.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] --> parse.rs:62:29 [INFO] [stderr] | [INFO] [stderr] 62 | ($self: ident, category $cate: 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] --> parse.rs:74:30 [INFO] [stderr] | [INFO] [stderr] 74 | ($self: ident, fail_next $kind: 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] --> parse.rs:87:20 [INFO] [stderr] | [INFO] [stderr] 87 | ($self: ident, $kind: 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 3 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ast.rs:972:20 [INFO] [stdout] | [INFO] [stdout] 972 | for (name, gen) in self.generators.iter() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ast.rs:1148:20 [INFO] [stdout] | [INFO] [stdout] 1148 | for (name, gen) in self.generators.iter() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ast.rs:1618:20 [INFO] [stdout] | [INFO] [stdout] 1618 | for (name, gen) in self.generators.iter() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ast.rs:2333:20 [INFO] [stdout] | [INFO] [stdout] 2333 | for (name, gen) in self.generators.iter() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ast.rs:2377:30 [INFO] [stdout] | [INFO] [stdout] 2377 | .map(|(name, gen)| (name, gen.downgrade())) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ast.rs:2377:43 [INFO] [stdout] | [INFO] [stdout] 2377 | .map(|(name, gen)| (name, gen.downgrade())) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> desugar.rs:213:39 [INFO] [stdout] | [INFO] [stdout] 213 | .map(|(ident, gen)| (ident, desugar(gen))) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> desugar.rs:213:61 [INFO] [stdout] | [INFO] [stdout] 213 | .map(|(ident, gen)| (ident, desugar(gen))) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> desugar.rs:253:33 [INFO] [stdout] | [INFO] [stdout] 253 | for (ident, gen) in set.generators.into_iter() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> desugar.rs:254:61 [INFO] [stdout] | [INFO] [stdout] 254 | new_generators.push((ident, desugar(gen))); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> typespec.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | for (name, gen) in set.generators.into_iter() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> typespec.rs:72:62 [INFO] [stdout] | [INFO] [stdout] 72 | let pred = Self::validate_const_expr(gen)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> parse.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | ($self: ident, category $cate: 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] 62 | ($self: ident, category $cate: 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] --> parse.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | ($self: ident, fail_next $kind: 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] 74 | ($self: ident, fail_next $kind: 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] --> parse.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | ($self: ident, $kind: 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] 87 | ($self: ident, $kind: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:2213:12 [INFO] [stdout] | [INFO] [stdout] 2213 | if let Some(guard) = &self.guard { [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] --> ast.rs:2215:9 [INFO] [stdout] | [INFO] [stdout] 2215 | } else { [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] 2213 ~ match &self.guard { Some(guard) => { [INFO] [stdout] 2214 | write!(f, "[{} | {}]", self.elems, guard) [INFO] [stdout] 2215 ~ } _ => { [INFO] [stdout] 2216 | write!(f, "[{}]", self.elems) [INFO] [stdout] 2217 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:2786:12 [INFO] [stdout] | [INFO] [stdout] 2786 | if let Some(attr_name) = self.attr_name { [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] --> ast.rs:2791:9 [INFO] [stdout] | [INFO] [stdout] 2791 | } 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] 2786 ~ match self.attr_name { Some(attr_name) => { [INFO] [stdout] 2787 | self.obj [INFO] [stdout] ... [INFO] [stdout] 2790 | .call(self.args.downgrade()) [INFO] [stdout] 2791 ~ } _ => { [INFO] [stdout] 2792 | self.obj.downgrade().call(self.args.downgrade()) [INFO] [stdout] 2793 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:2991:12 [INFO] [stdout] | [INFO] [stdout] 2991 | if let Some((l, r)) = &self.paren { [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] 2992 | Location::concat(l, r) [INFO] [stdout] 2993 | } else if let Some((first, last)) = self.pos_args.first().zip(self.kw_args.last()) { [INFO] [stdout] | ------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 2994 | Location::concat(first, last) [INFO] [stdout] 2995 | } else if let Some(last) = self.pos_args.last() { [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] --> ast.rs:2993:9 [INFO] [stdout] | [INFO] [stdout] 2993 | } else if let Some((first, last)) = self.pos_args.first().zip(self.kw_args.last()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> ast.rs:2995:9 [INFO] [stdout] | [INFO] [stdout] 2995 | } else if let Some(last) = self.pos_args.last() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> ast.rs:2997:9 [INFO] [stdout] | [INFO] [stdout] 2997 | } 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] 2991 ~ match &self.paren { Some((l, r)) => { [INFO] [stdout] 2992 | Location::concat(l, r) [INFO] [stdout] 2993 ~ } _ => { match self.pos_args.first().zip(self.kw_args.last()) { Some((first, last)) => { [INFO] [stdout] 2994 | Location::concat(first, last) [INFO] [stdout] 2995 ~ } _ => { match self.pos_args.last() { Some(last) => { [INFO] [stdout] 2996 | Location::concat(self.pos_args.first().unwrap(), last) [INFO] [stdout] 2997 ~ } _ => { [INFO] [stdout] 2998 | Location::Unknown [INFO] [stdout] 2999 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:3124:12 [INFO] [stdout] | [INFO] [stdout] 3124 | if let Some(last) = self.args.kw_args.last() { [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] 3125 | Location::concat(&self.acc, last) [INFO] [stdout] 3126 | } else if let Some(last) = self.args.pos_args.last() { [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] --> ast.rs:3126:9 [INFO] [stdout] | [INFO] [stdout] 3126 | } else if let Some(last) = self.args.pos_args.last() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> ast.rs:3128:9 [INFO] [stdout] | [INFO] [stdout] 3128 | } 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] 3124 ~ match self.args.kw_args.last() { Some(last) => { [INFO] [stdout] 3125 | Location::concat(&self.acc, last) [INFO] [stdout] 3126 ~ } _ => { match self.args.pos_args.last() { Some(last) => { [INFO] [stdout] 3127 | Location::concat(&self.acc, last) [INFO] [stdout] 3128 ~ } _ => { [INFO] [stdout] 3129 | self.acc.loc() [INFO] [stdout] 3130 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:3230:12 [INFO] [stdout] | [INFO] [stdout] 3230 | if let Some(name) = &self.name { [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] --> ast.rs:3232:9 [INFO] [stdout] | [INFO] [stdout] 3232 | } 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] 3230 ~ match &self.name { Some(name) => { [INFO] [stdout] 3231 | write!(f, "{}: {}", name.inspect(), self.ty) [INFO] [stdout] 3232 ~ } _ => { [INFO] [stdout] 3233 | write!(f, "{}", self.ty) [INFO] [stdout] 3234 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:3240:12 [INFO] [stdout] | [INFO] [stdout] 3240 | if let Some(name) = &self.name { [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] --> ast.rs:3242:9 [INFO] [stdout] | [INFO] [stdout] 3242 | } 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] 3240 ~ match &self.name { Some(name) => { [INFO] [stdout] 3241 | Location::concat(name, &self.ty) [INFO] [stdout] 3242 ~ } _ => { [INFO] [stdout] 3243 | self.ty.loc() [INFO] [stdout] 3244 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:3312:19 [INFO] [stdout] | [INFO] [stdout] 3312 | } else if let Some(lparen) = &self.lparen { [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] 3313 | Location::concat(lparen, self.return_t.as_ref()) [INFO] [stdout] 3314 | } else if let Some(nd_param) = self.non_defaults.first() { [INFO] [stdout] | ----------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 3315 | Location::concat(nd_param, self.return_t.as_ref()) [INFO] [stdout] 3316 | } else if let Some(var_params) = self.var_params.as_deref() { [INFO] [stdout] | --------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 3317 | Location::concat(var_params, self.return_t.as_ref()) [INFO] [stdout] 3318 | } else if let Some(d_param) = self.defaults.first() { [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] --> ast.rs:3314:9 [INFO] [stdout] | [INFO] [stdout] 3314 | } else if let Some(nd_param) = self.non_defaults.first() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> ast.rs:3316:9 [INFO] [stdout] | [INFO] [stdout] 3316 | } else if let Some(var_params) = self.var_params.as_deref() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> ast.rs:3318:9 [INFO] [stdout] | [INFO] [stdout] 3318 | } else if let Some(d_param) = self.defaults.first() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> ast.rs:3320:9 [INFO] [stdout] | [INFO] [stdout] 3320 | } 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] 3312 ~ } else { match &self.lparen { Some(lparen) => { [INFO] [stdout] 3313 | Location::concat(lparen, self.return_t.as_ref()) [INFO] [stdout] 3314 ~ } _ => { match self.non_defaults.first() { Some(nd_param) => { [INFO] [stdout] 3315 | Location::concat(nd_param, self.return_t.as_ref()) [INFO] [stdout] 3316 ~ } _ => { match self.var_params.as_deref() { Some(var_params) => { [INFO] [stdout] 3317 | Location::concat(var_params, self.return_t.as_ref()) [INFO] [stdout] 3318 ~ } _ => { match self.defaults.first() { Some(d_param) => { [INFO] [stdout] 3319 | Location::concat(&d_param.param, self.return_t.as_ref()) [INFO] [stdout] 3320 ~ } _ => { [INFO] [stdout] 3321 | self.return_t.loc() [INFO] [stdout] 3322 ~ }}}}}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:3367:12 [INFO] [stdout] | [INFO] [stdout] 3367 | if let Some((lsqbr, rsqbr)) = &self.sqbrs { [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] --> ast.rs:3369:9 [INFO] [stdout] | [INFO] [stdout] 3369 | } 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] 3367 ~ match &self.sqbrs { Some((lsqbr, rsqbr)) => { [INFO] [stdout] 3368 | Location::concat(lsqbr, rsqbr) [INFO] [stdout] 3369 ~ } _ => { [INFO] [stdout] 3370 | Location::concat(self.ty.as_ref(), &self.len) [INFO] [stdout] 3371 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:3424:12 [INFO] [stdout] | [INFO] [stdout] 3424 | if let Some((lparen, rparen)) = &self.parens { [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] 3425 | Location::concat(lparen, rparen) [INFO] [stdout] 3426 | } else if let Some((first, last)) = self.tys.first().zip(self.tys.last()) { [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] --> ast.rs:3426:9 [INFO] [stdout] | [INFO] [stdout] 3426 | } else if let Some((first, last)) = self.tys.first().zip(self.tys.last()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> ast.rs:3428:9 [INFO] [stdout] | [INFO] [stdout] 3428 | } 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] 3424 ~ match &self.parens { Some((lparen, rparen)) => { [INFO] [stdout] 3425 | Location::concat(lparen, rparen) [INFO] [stdout] 3426 ~ } _ => { match self.tys.first().zip(self.tys.last()) { Some((first, last)) => { [INFO] [stdout] 3427 | Location::concat(first, last) [INFO] [stdout] 3428 ~ } _ => { [INFO] [stdout] 3429 | Location::Unknown [INFO] [stdout] 3430 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:3459:12 [INFO] [stdout] | [INFO] [stdout] 3459 | if let Some((lparen, rparen)) = &self.braces { [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] --> ast.rs:3461:9 [INFO] [stdout] | [INFO] [stdout] 3461 | } else if !self.kvs.is_empty() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3459 ~ match &self.braces { Some((lparen, rparen)) => { [INFO] [stdout] 3460 | Location::concat(lparen, rparen) [INFO] [stdout] 3461 ~ } _ => if !self.kvs.is_empty() { [INFO] [stdout] 3462 | let (first, _) = self.kvs.first().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 3466 | Location::Unknown [INFO] [stdout] 3467 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:3496:12 [INFO] [stdout] | [INFO] [stdout] 3496 | if let Some((lparen, rparen)) = &self.braces { [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] --> ast.rs:3498:9 [INFO] [stdout] | [INFO] [stdout] 3498 | } else if !self.attrs.is_empty() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3496 ~ match &self.braces { Some((lparen, rparen)) => { [INFO] [stdout] 3497 | Location::concat(lparen, rparen) [INFO] [stdout] 3498 ~ } _ => if !self.attrs.is_empty() { [INFO] [stdout] 3499 | let (first, _) = self.attrs.first().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 3503 | Location::Unknown [INFO] [stdout] 3504 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:4556:12 [INFO] [stdout] | [INFO] [stdout] 4556 | if let Some(t_spec) = &self.t_spec { [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] --> ast.rs:4558:9 [INFO] [stdout] | [INFO] [stdout] 4558 | } 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] 4556 ~ match &self.t_spec { Some(t_spec) => { [INFO] [stdout] 4557 | Location::concat(&self.pat, t_spec) [INFO] [stdout] 4558 ~ } _ => { [INFO] [stdout] 4559 | self.pat.loc() [INFO] [stdout] 4560 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:4641:12 [INFO] [stdout] | [INFO] [stdout] 4641 | if let Some((first, last)) = self.elems.first().zip(self.elems.last()) { [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] --> ast.rs:4643:9 [INFO] [stdout] | [INFO] [stdout] 4643 | } 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] 4641 ~ match self.elems.first().zip(self.elems.last()) { Some((first, last)) => { [INFO] [stdout] 4642 | Location::concat(first, last) [INFO] [stdout] 4643 ~ } _ => { [INFO] [stdout] 4644 | Location::Unknown [INFO] [stdout] 4645 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:4970:12 [INFO] [stdout] | [INFO] [stdout] 4970 | if let Some(t_spec) = &self.t_spec { [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] --> ast.rs:4972:9 [INFO] [stdout] | [INFO] [stdout] 4972 | } 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] 4970 ~ match &self.t_spec { Some(t_spec) => { [INFO] [stdout] 4971 | Location::left_main_concat(&self.pat, t_spec) [INFO] [stdout] 4972 ~ } _ => { [INFO] [stdout] 4973 | self.pat.loc() [INFO] [stdout] 4974 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:5281:19 [INFO] [stdout] | [INFO] [stdout] 5281 | } else if let Some(return_t) = &self.return_t_spec { [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] --> ast.rs:5283:9 [INFO] [stdout] | [INFO] [stdout] 5283 | } 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] 5281 ~ } else { match &self.return_t_spec { Some(return_t) => { [INFO] [stdout] 5282 | Location::concat(&self.ident, return_t) [INFO] [stdout] 5283 ~ } _ => { [INFO] [stdout] 5284 | Location::concat(&self.ident, &self.params) [INFO] [stdout] 5285 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:5348:19 [INFO] [stdout] | [INFO] [stdout] 5348 | } else if let Some(return_t) = &self.return_t_spec { [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] --> ast.rs:5350:9 [INFO] [stdout] | [INFO] [stdout] 5350 | } else if self.params.is_empty() && self.params.parens.is_none() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 5348 ~ } else { match &self.return_t_spec { Some(return_t) => { [INFO] [stdout] 5349 | Location::concat(&self.params, return_t) [INFO] [stdout] 5350 ~ } _ => if self.params.is_empty() && self.params.parens.is_none() { [INFO] [stdout] 5351 | Location::Unknown [INFO] [stdout] 5352 | } else { [INFO] [stdout] 5353 | self.params.loc() [INFO] [stdout] 5354 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:5462:20 [INFO] [stdout] | [INFO] [stdout] 5462 | if let VarPattern::Ident(ident) = &var.pat { [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] --> ast.rs:5464:17 [INFO] [stdout] | [INFO] [stdout] 5464 | } 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] 5462 ~ match &var.pat { VarPattern::Ident(ident) => { [INFO] [stdout] 5463 | Some(ident) [INFO] [stdout] 5464 ~ } _ => { [INFO] [stdout] 5465 | None [INFO] [stdout] 5466 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:5475:20 [INFO] [stdout] | [INFO] [stdout] 5475 | if let VarPattern::Ident(ident) = &mut var.pat { [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] --> ast.rs:5477:17 [INFO] [stdout] | [INFO] [stdout] 5477 | } 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] 5475 ~ match &mut var.pat { VarPattern::Ident(ident) => { [INFO] [stdout] 5476 | Some(ident) [INFO] [stdout] 5477 ~ } _ => { [INFO] [stdout] 5478 | None [INFO] [stdout] 5479 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:5677:24 [INFO] [stdout] | [INFO] [stdout] 5677 | if let Some(Expr::Call(inner)) = call.args.get_left_or_key("Class") { [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] --> ast.rs:5683:21 [INFO] [stdout] | [INFO] [stdout] 5683 | } 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] 5677 ~ match call.args.get_left_or_key("Class") { Some(Expr::Call(inner)) => { [INFO] [stdout] 5678 | match inner.obj.get_name().map(|n| &n[..]) { [INFO] [stdout] ... [INFO] [stdout] 5682 | } [INFO] [stdout] 5683 ~ } _ => { [INFO] [stdout] 5684 | DefKind::Other [INFO] [stdout] 5685 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:5901:12 [INFO] [stdout] | [INFO] [stdout] 5901 | if let Some(expr) = self.exprs.first() { [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] --> ast.rs:5907:9 [INFO] [stdout] | [INFO] [stdout] 5907 | } 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] 5901 ~ match self.exprs.first() { Some(expr) => { [INFO] [stdout] 5902 | if let Some(last) = self.exprs.last() { [INFO] [stdout] ... [INFO] [stdout] 5906 | } [INFO] [stdout] 5907 ~ } _ => { [INFO] [stdout] 5908 | Location::Unknown [INFO] [stdout] 5909 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> ast.rs:5902:16 [INFO] [stdout] | [INFO] [stdout] 5902 | if let Some(last) = self.exprs.last() { [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] --> ast.rs:5904:13 [INFO] [stdout] | [INFO] [stdout] 5904 | } 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] 5902 ~ match self.exprs.last() { Some(last) => { [INFO] [stdout] 5903 | Location::concat(expr, last) [INFO] [stdout] 5904 ~ } _ => { [INFO] [stdout] 5905 | expr.loc() [INFO] [stdout] 5906 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> convert.rs:662:37 [INFO] [stdout] | [INFO] [stdout] 662 | let var_params = if let Some(var_args) = var_args { [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] --> convert.rs:665:17 [INFO] [stdout] | [INFO] [stdout] 665 | } 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] 662 ~ let var_params = match var_args { Some(var_args) => { [INFO] [stdout] 663 | let var_params = self.convert_pos_arg_to_non_default_param(var_args, false)?; [INFO] [stdout] 664 | Some(var_params) [INFO] [stdout] 665 ~ } _ => { [INFO] [stdout] 666 | None [INFO] [stdout] 667 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> desugar.rs:476:24 [INFO] [stdout] | [INFO] [stdout] 476 | if let Some(Expr::Def(previous)) = new.last() { [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] --> desugar.rs:552:21 [INFO] [stdout] | [INFO] [stdout] 552 | } 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] 476 ~ match new.last() { Some(Expr::Def(previous)) => { [INFO] [stdout] 477 | if previous.is_subr() && previous.sig.name_as_str() == def.sig.name_as_str() [INFO] [stdout] ... [INFO] [stdout] 551 | } [INFO] [stdout] 552 ~ } _ => { [INFO] [stdout] 553 | new.push(Expr::Def(def)); [INFO] [stdout] 554 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> desugar.rs:719:24 [INFO] [stdout] | [INFO] [stdout] 719 | if let Some(var) = tup.elems.starred.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] --> desugar.rs:721:21 [INFO] [stdout] | [INFO] [stdout] 721 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 719 ~ match tup.elems.starred.as_ref() { Some(var) => { [INFO] [stdout] 720 | self.desugar_rest_values(new, var, &buf_name, elems_len); [INFO] [stdout] 721 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> desugar.rs:732:24 [INFO] [stdout] | [INFO] [stdout] 732 | if let Some(var) = lis.elems.starred.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] --> desugar.rs:734:21 [INFO] [stdout] | [INFO] [stdout] 734 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 732 ~ match lis.elems.starred.as_ref() { Some(var) => { [INFO] [stdout] 733 | self.desugar_rest_values(new, var, &buf_name, elems_len); [INFO] [stdout] 734 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> desugar.rs:1014:20 [INFO] [stdout] | [INFO] [stdout] 1014 | if let Record::Mixed(rec) = pack.args { [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] --> desugar.rs:1019:17 [INFO] [stdout] | [INFO] [stdout] 1019 | } 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] 1014 ~ match pack.args { Record::Mixed(rec) => { [INFO] [stdout] 1015 | let class = Self::rec_desugar_shortened_record(*pack.class); [INFO] [stdout] ... [INFO] [stdout] 1018 | Expr::DataPack(DataPack::new(class, pack.connector, args)) [INFO] [stdout] 1019 ~ } _ => { [INFO] [stdout] 1020 | Expr::DataPack(pack) [INFO] [stdout] 1021 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> desugar.rs:1313:45 [INFO] [stdout] | [INFO] [stdout] 1313 | let t_spec_as_expr = if let Ok(expr) = expr { [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] --> desugar.rs:1319:21 [INFO] [stdout] | [INFO] [stdout] 1319 | } 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] 1313 ~ let t_spec_as_expr = match expr { Ok(expr) => { [INFO] [stdout] 1314 | Expr::Set(astSet::Normal(NormalSet::new( [INFO] [stdout] ... [INFO] [stdout] 1318 | ))) [INFO] [stdout] 1319 ~ } _ => { [INFO] [stdout] 1320 | Self::dummy_list_expr(len) [INFO] [stdout] 1321 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> error.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | if let Some(sub_msg) = self.0.sub_messages.get_mut(0) { [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] --> error.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 82 ~ match self.0.sub_messages.get_mut(0) { Some(sub_msg) => { [INFO] [stdout] 83 | sub_msg.set_hint(hint) [INFO] [stdout] 84 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> lex.rs:1206:23 [INFO] [stdout] | [INFO] [stdout] 1206 | } else if let Err(e) = self.lex_comment() { [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] --> lex.rs:1208:13 [INFO] [stdout] | [INFO] [stdout] 1208 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1206 ~ } else { match self.lex_comment() { Err(e) => { [INFO] [stdout] 1207 | return Some(Err(e)); [INFO] [stdout] 1208 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> lex.rs:1203:20 [INFO] [stdout] | [INFO] [stdout] 1203 | if let Err(e) = self.lex_multi_line_comment() { [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] --> lex.rs:1205:17 [INFO] [stdout] | [INFO] [stdout] 1205 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1203 ~ match self.lex_multi_line_comment() { Err(e) => { [INFO] [stdout] 1204 | return Some(Err(e)); [INFO] [stdout] 1205 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:540:24 [INFO] [stdout] | [INFO] [stdout] 540 | if let Ok(expr) = self.try_reduce_chunk(true, false) { [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] --> parse.rs:550:21 [INFO] [stdout] | [INFO] [stdout] 550 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 540 ~ match self.try_reduce_chunk(true, false) { Ok(expr) => { [INFO] [stdout] 541 | if !self.cur_is(EOF) && !self.cur_category_is(TC::Separator) { [INFO] [stdout] ... [INFO] [stdout] 549 | chunks.push(expr); [INFO] [stdout] 550 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:554:38 [INFO] [stdout] | [INFO] [stdout] 554 | let err = if let Some(last) = chunks.last() { [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] --> parse.rs:556:25 [INFO] [stdout] | [INFO] [stdout] 556 | } 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] 554 ~ let err = match chunks.last() { Some(last) => { [INFO] [stdout] 555 | self.skip_and_throw_invalid_chunk_err(caused_by!(), line!(), last.loc()) [INFO] [stdout] 556 ~ } _ => { [INFO] [stdout] 557 | self.unexpected_none(line!(), caused_by!()) [INFO] [stdout] 558 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:631:24 [INFO] [stdout] | [INFO] [stdout] 631 | if let Ok(expr) = self.try_reduce_chunk(true, false) { [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] --> parse.rs:642:21 [INFO] [stdout] | [INFO] [stdout] 642 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 631 ~ match self.try_reduce_chunk(true, false) { Ok(expr) => { [INFO] [stdout] 632 | if !self.cur_is(Dedent) && !self.cur_category_is(TC::Separator) { [INFO] [stdout] ... [INFO] [stdout] 641 | block.push(expr); [INFO] [stdout] 642 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:704:15 [INFO] [stdout] | [INFO] [stdout] 704 | while let Some(deco) = self [INFO] [stdout] | _______________^ - [INFO] [stdout] | |________________________________| [INFO] [stdout] 705 | || .opt_reduce_decorator() [INFO] [stdout] 706 | || .map_err(|_| self.stack_dec(fn_name!()))? [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] | [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] --> parse.rs:716:9 [INFO] [stdout] | [INFO] [stdout] 716 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:1194:24 [INFO] [stdout] | [INFO] [stdout] 1194 | if let Some(lp) = lp { [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] --> parse.rs:1197:21 [INFO] [stdout] | [INFO] [stdout] 1197 | } 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] 1194 ~ match lp { Some(lp) => { [INFO] [stdout] 1195 | let rp = self.lpop(); [INFO] [stdout] 1196 | args.set_parens((lp, rp)); [INFO] [stdout] 1197 ~ } _ => { [INFO] [stdout] 1198 | // e.g. f(g 1) [INFO] [stdout] 1199 | let (pos_args, var_args, kw_args, kw_var, _) = args.deconstruct(); [INFO] [stdout] 1200 | args = Args::new(pos_args, var_args, kw_args, kw_var, None); [INFO] [stdout] 1201 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:1286:33 [INFO] [stdout] | [INFO] [stdout] 1286 | let kw = if let Accessor::Ident(n) = acc { [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] --> parse.rs:1288:21 [INFO] [stdout] | [INFO] [stdout] 1288 | } 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] 1286 ~ let kw = match acc { Accessor::Ident(n) => { [INFO] [stdout] 1287 | n.name.into_token() [INFO] [stdout] 1288 ~ } _ => { [INFO] [stdout] 1289 | let caused_by = caused_by!(); [INFO] [stdout] ... [INFO] [stdout] 1295 | return Err(()); [INFO] [stdout] 1296 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:1331:36 [INFO] [stdout] | [INFO] [stdout] 1331 | ... if let Expr::Accessor(Accessor::Ident(n)) = *tasc.expr { [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] --> parse.rs:1333:33 [INFO] [stdout] | [INFO] [stdout] 1333 | ... } 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] 1331 ~ match *tasc.expr { Expr::Accessor(Accessor::Ident(n)) => { [INFO] [stdout] 1332 | (n.name.into_token(), Some(tasc.t_spec)) [INFO] [stdout] 1333 ~ } _ => { [INFO] [stdout] 1334 | let err = self.skip_and_throw_invalid_seq_err( [INFO] [stdout] ... [INFO] [stdout] 1342 | return Err(()); [INFO] [stdout] 1343 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:1423:38 [INFO] [stdout] | [INFO] [stdout] 1423 | let keyword = if let Accessor::Ident(n) = acc { [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] --> parse.rs:1425:21 [INFO] [stdout] | [INFO] [stdout] 1425 | } 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] 1423 ~ let keyword = match acc { Accessor::Ident(n) => { [INFO] [stdout] 1424 | n.name.into_token() [INFO] [stdout] 1425 ~ } _ => { [INFO] [stdout] 1426 | let caused_by = caused_by!(); [INFO] [stdout] ... [INFO] [stdout] 1432 | return Err(()); [INFO] [stdout] 1433 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:1467:38 [INFO] [stdout] | [INFO] [stdout] 1467 | let keyword = if let Accessor::Ident(n) = acc { [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] --> parse.rs:1469:21 [INFO] [stdout] | [INFO] [stdout] 1469 | } 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] 1467 ~ let keyword = match acc { Accessor::Ident(n) => { [INFO] [stdout] 1468 | n.name.into_token() [INFO] [stdout] 1469 ~ } _ => { [INFO] [stdout] 1470 | let caused_by = caused_by!(); [INFO] [stdout] ... [INFO] [stdout] 1476 | return Err(()); [INFO] [stdout] 1477 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:1848:31 [INFO] [stdout] | [INFO] [stdout] 1848 | while let Some(ExprOrOp::Op(prev_op)) = stack.get(stack.len() - 2) { [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] --> parse.rs:1859:25 [INFO] [stdout] | [INFO] [stdout] 1859 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:1887:32 [INFO] [stdout] | [INFO] [stdout] 1887 | ... if let Some(args) = self [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 1888 | || ... .opt_reduce_args(false) [INFO] [stdout] 1889 | || ... .transpose() [INFO] [stdout] 1890 | || ... .map_err(|_| self.stack_dec(fn_name!()))? [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] | [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] --> parse.rs:1896:29 [INFO] [stdout] | [INFO] [stdout] 1896 | ... } 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] 1887 ~ match self [INFO] [stdout] 1888 | .opt_reduce_args(false) [INFO] [stdout] 1889 | .transpose() [INFO] [stdout] 1890 | .map_err(|_| self.stack_dec(fn_name!()))? [INFO] [stdout] 1891 ~ { Some(args) => { [INFO] [stdout] 1892 | let ident = [INFO] [stdout] ... [INFO] [stdout] 1895 | stack.push(ExprOrOp::Expr(Expr::Call(call))); [INFO] [stdout] 1896 ~ } _ => { [INFO] [stdout] 1897 | let ident = [INFO] [stdout] 1898 | Identifier::new(VisModifierSpec::Private, VarName::new(token)); [INFO] [stdout] 1899 | stack.push(ExprOrOp::Expr(obj.attr_expr(ident))); [INFO] [stdout] 1900 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:1973:32 [INFO] [stdout] | [INFO] [stdout] 1973 | ... if let Some(args) = self [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 1974 | || ... .opt_reduce_args(false) [INFO] [stdout] 1975 | || ... .transpose() [INFO] [stdout] 1976 | || ... .map_err(|_| self.stack_dec(fn_name!()))? [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] | [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] --> parse.rs:1981:29 [INFO] [stdout] | [INFO] [stdout] 1981 | ... } 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] 1973 ~ match self [INFO] [stdout] 1974 | .opt_reduce_args(false) [INFO] [stdout] 1975 | .transpose() [INFO] [stdout] 1976 | .map_err(|_| self.stack_dec(fn_name!()))? [INFO] [stdout] 1977 ~ { Some(args) => { [INFO] [stdout] 1978 | let ident = Identifier::public_from_token(dot, token); [INFO] [stdout] 1979 | let call = Expr::Call(Call::new(obj, Some(ident), args)); [INFO] [stdout] 1980 | stack.push(ExprOrOp::Expr(call)); [INFO] [stdout] 1981 ~ } _ => { [INFO] [stdout] 1982 | let ident = Identifier::public_from_token(dot, token); [INFO] [stdout] 1983 | stack.push(ExprOrOp::Expr(obj.attr_expr(ident))); [INFO] [stdout] 1984 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:2186:31 [INFO] [stdout] | [INFO] [stdout] 2186 | while let Some(ExprOrOp::Op(prev_op)) = stack.get(stack.len() - 2) { [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] --> parse.rs:2201:25 [INFO] [stdout] | [INFO] [stdout] 2201 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:2229:32 [INFO] [stdout] | [INFO] [stdout] 2229 | ... if let Some(args) = self [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |___________________________________________| [INFO] [stdout] 2230 | || ... .opt_reduce_args(in_type_args) [INFO] [stdout] 2231 | || ... .transpose() [INFO] [stdout] 2232 | || ... .map_err(|_| self.stack_dec(fn_name!()))? [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] | [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] --> parse.rs:2240:29 [INFO] [stdout] | [INFO] [stdout] 2240 | ... } 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] 2229 ~ match self [INFO] [stdout] 2230 | .opt_reduce_args(in_type_args) [INFO] [stdout] 2231 | .transpose() [INFO] [stdout] 2232 | .map_err(|_| self.stack_dec(fn_name!()))? [INFO] [stdout] 2233 ~ { Some(args) => { [INFO] [stdout] 2234 | let ident = Identifier::new( [INFO] [stdout] ... [INFO] [stdout] 2239 | stack.push(ExprOrOp::Expr(Expr::Call(call))); [INFO] [stdout] 2240 ~ } _ => { [INFO] [stdout] 2241 | let ident = Identifier::new( [INFO] [stdout] ... [INFO] [stdout] 2245 | stack.push(ExprOrOp::Expr(obj.attr_expr(ident))); [INFO] [stdout] 2246 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:2365:20 [INFO] [stdout] | [INFO] [stdout] 2365 | if let Expr::Accessor(Accessor::Ident(ident)) = *tasc.expr { [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] --> parse.rs:2367:17 [INFO] [stdout] | [INFO] [stdout] 2367 | } 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] 2365 ~ match *tasc.expr { Expr::Accessor(Accessor::Ident(ident)) => { [INFO] [stdout] 2366 | (ident.name.into_token(), Some(tasc.t_spec)) [INFO] [stdout] 2367 ~ } _ => { [INFO] [stdout] 2368 | let caused_by = caused_by!(); [INFO] [stdout] ... [INFO] [stdout] 2374 | return Err(()); [INFO] [stdout] 2375 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:2686:15 [INFO] [stdout] | [INFO] [stdout] 2686 | while let Some(res) = self.opt_reduce_args(in_type_args) { [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] --> parse.rs:2690:9 [INFO] [stdout] | [INFO] [stdout] 2690 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:3738:24 [INFO] [stdout] | [INFO] [stdout] 3738 | if let Some(args) = self [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 3739 | || .opt_reduce_args(false) [INFO] [stdout] 3740 | || .transpose() [INFO] [stdout] 3741 | || .map_err(|_| self.stack_dec(fn_name!()))? [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] | [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] --> parse.rs:3751:21 [INFO] [stdout] | [INFO] [stdout] 3751 | } 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] 3738 ~ match self [INFO] [stdout] 3739 | .opt_reduce_args(false) [INFO] [stdout] 3740 | .transpose() [INFO] [stdout] 3741 | .map_err(|_| self.stack_dec(fn_name!()))? [INFO] [stdout] 3742 ~ { Some(args) => { [INFO] [stdout] 3743 | let ident = [INFO] [stdout] ... [INFO] [stdout] 3750 | stack.push(ExprOrOp::Expr(call)); [INFO] [stdout] 3751 ~ } _ => { [INFO] [stdout] 3752 | let err = self.get_stream_op_syntax_error( [INFO] [stdout] ... [INFO] [stdout] 3759 | return Err(()); [INFO] [stdout] 3760 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> parse.rs:3746:31 [INFO] [stdout] | [INFO] [stdout] 3746 | while let Some(res) = self.opt_reduce_args(false) { [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] --> parse.rs:3749:25 [INFO] [stdout] | [INFO] [stdout] 3749 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> typespec.rs:239:27 [INFO] [stdout] | [INFO] [stdout] 239 | let var_args = if let Some(var_args) = _var_args { [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] --> typespec.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | } 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] 239 ~ let var_args = match _var_args { Some(var_args) => { [INFO] [stdout] 240 | let const_var_args = Self::validate_const_expr(var_args.expr)?; [INFO] [stdout] 241 | Some(ConstPosArg::new(const_var_args)) [INFO] [stdout] 242 ~ } _ => { [INFO] [stdout] 243 | None [INFO] [stdout] 244 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> typespec.rs:250:25 [INFO] [stdout] | [INFO] [stdout] 250 | let kw_var = if let Some(kw_var) = _kw_var { [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] --> typespec.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | } 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 kw_var = match _kw_var { Some(kw_var) => { [INFO] [stdout] 251 | let const_kw_var = Self::validate_const_expr(kw_var.expr)?; [INFO] [stdout] 252 | Some(ConstPosArg::new(const_kw_var)) [INFO] [stdout] 253 ~ } _ => { [INFO] [stdout] 254 | None [INFO] [stdout] 255 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> typespec.rs:277:30 [INFO] [stdout] | [INFO] [stdout] 277 | let acc = if let Some(attr) = call.attr_name { [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] --> typespec.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | } 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] 277 ~ let acc = match call.attr_name { Some(attr) => { [INFO] [stdout] 278 | ConstAccessor::attr(ConstExpr::Accessor(acc), attr) [INFO] [stdout] 279 ~ } _ => { [INFO] [stdout] 280 | acc [INFO] [stdout] 281 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> visitor.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_classes(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> visitor.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_classes(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_classes(&self) -> impl Iterator + use<'a> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 67 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/tokenize_test.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.13s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking erg_parser v0.6.43 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> ast.rs:972:20 [INFO] [stdout] | [INFO] [stdout] 972 | for (name, gen) in self.generators.iter() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 972 | for (name, r#gen) in self.generators.iter() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> ast.rs:1148:20 [INFO] [stdout] | [INFO] [stdout] 1148 | for (name, gen) in self.generators.iter() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1148 | for (name, r#gen) in self.generators.iter() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> ast.rs:1618:20 [INFO] [stdout] | [INFO] [stdout] 1618 | for (name, gen) in self.generators.iter() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1618 | for (name, r#gen) in self.generators.iter() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> ast.rs:2333:20 [INFO] [stdout] | [INFO] [stdout] 2333 | for (name, gen) in self.generators.iter() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 2333 | for (name, r#gen) in self.generators.iter() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> ast.rs:2377:30 [INFO] [stdout] | [INFO] [stdout] 2377 | .map(|(name, gen)| (name, gen.downgrade())) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 2377 | .map(|(name, r#gen)| (name, gen.downgrade())) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> ast.rs:2377:43 [INFO] [stdout] | [INFO] [stdout] 2377 | .map(|(name, gen)| (name, gen.downgrade())) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> ast.rs:972:20 [INFO] [stdout] | [INFO] [stdout] 972 | for (name, gen) in self.generators.iter() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 972 | for (name, r#gen) in self.generators.iter() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> ast.rs:1148:20 [INFO] [stdout] | [INFO] [stdout] 1148 | for (name, gen) in self.generators.iter() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1148 | for (name, r#gen) in self.generators.iter() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> ast.rs:1618:20 [INFO] [stdout] | [INFO] [stdout] 1618 | for (name, gen) in self.generators.iter() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1618 | for (name, r#gen) in self.generators.iter() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> ast.rs:2333:20 [INFO] [stdout] | [INFO] [stdout] 2333 | for (name, gen) in self.generators.iter() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 2333 | for (name, r#gen) in self.generators.iter() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> ast.rs:2377:30 [INFO] [stdout] | [INFO] [stdout] 2377 | .map(|(name, gen)| (name, gen.downgrade())) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 2377 | .map(|(name, r#gen)| (name, gen.downgrade())) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> ast.rs:2377:43 [INFO] [stdout] | [INFO] [stdout] 2377 | .map(|(name, gen)| (name, gen.downgrade())) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> desugar.rs:213:39 [INFO] [stdout] | [INFO] [stdout] 213 | .map(|(ident, gen)| (ident, desugar(gen))) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 213 | .map(|(ident, r#gen)| (ident, desugar(gen))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> desugar.rs:213:61 [INFO] [stdout] | [INFO] [stdout] 213 | .map(|(ident, gen)| (ident, desugar(gen))) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> desugar.rs:253:33 [INFO] [stdout] | [INFO] [stdout] 253 | for (ident, gen) in set.generators.into_iter() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 253 | for (ident, r#gen) in set.generators.into_iter() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> desugar.rs:254:61 [INFO] [stdout] | [INFO] [stdout] 254 | new_generators.push((ident, desugar(gen))); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> desugar.rs:213:39 [INFO] [stdout] | [INFO] [stdout] 213 | .map(|(ident, gen)| (ident, desugar(gen))) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 213 | .map(|(ident, r#gen)| (ident, desugar(gen))) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> desugar.rs:213:61 [INFO] [stdout] | [INFO] [stdout] 213 | .map(|(ident, gen)| (ident, desugar(gen))) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> desugar.rs:253:33 [INFO] [stdout] | [INFO] [stdout] 253 | for (ident, gen) in set.generators.into_iter() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 253 | for (ident, r#gen) in set.generators.into_iter() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> desugar.rs:254:61 [INFO] [stdout] | [INFO] [stdout] 254 | new_generators.push((ident, desugar(gen))); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> typespec.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | for (name, gen) in set.generators.into_iter() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 71 | for (name, r#gen) in set.generators.into_iter() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> typespec.rs:72:62 [INFO] [stdout] | [INFO] [stdout] 72 | let pred = Self::validate_const_expr(gen)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> typespec.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | for (name, gen) in set.generators.into_iter() { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 71 | for (name, r#gen) in set.generators.into_iter() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> typespec.rs:72:62 [INFO] [stdout] | [INFO] [stdout] 72 | let pred = Self::validate_const_expr(gen)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `r#gen` in this scope [INFO] [stdout] --> ast.rs:973:44 [INFO] [stdout] | [INFO] [stdout] 973 | write!(generators, "{name} <- {gen}; ")?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `r#gen` in this scope [INFO] [stdout] --> ast.rs:1149:44 [INFO] [stdout] | [INFO] [stdout] 1149 | write!(generators, "{name} <- {gen}; ")?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `r#gen` in this scope [INFO] [stdout] --> ast.rs:1619:44 [INFO] [stdout] | [INFO] [stdout] 1619 | write!(generators, "{name} <- {gen}; ")?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `r#gen` in this scope [INFO] [stdout] --> ast.rs:2334:44 [INFO] [stdout] | [INFO] [stdout] 2334 | write!(generators, "{name} <- {gen}, ")?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `r#gen` in this scope [INFO] [stdout] --> ast.rs:973:44 [INFO] [stdout] | [INFO] [stdout] 973 | write!(generators, "{name} <- {gen}; ")?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `r#gen` in this scope [INFO] [stdout] --> ast.rs:1149:44 [INFO] [stdout] | [INFO] [stdout] 1149 | write!(generators, "{name} <- {gen}; ")?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `r#gen` in this scope [INFO] [stdout] --> ast.rs:1619:44 [INFO] [stdout] | [INFO] [stdout] 1619 | write!(generators, "{name} <- {gen}; ")?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `r#gen` in this scope [INFO] [stdout] --> ast.rs:2334:44 [INFO] [stdout] | [INFO] [stdout] 2334 | write!(generators, "{name} <- {gen}, ")?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `erg_parser` (lib) due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `erg_parser` (lib test) due to 17 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" "82e72b3bcef19a180cd9a63fe65a2ee333c8e5e1e7e542e4f95d498c1cd3b560", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82e72b3bcef19a180cd9a63fe65a2ee333c8e5e1e7e542e4f95d498c1cd3b560", kill_on_drop: false }` [INFO] [stdout] 82e72b3bcef19a180cd9a63fe65a2ee333c8e5e1e7e542e4f95d498c1cd3b560