[INFO] cloning repository https://github.com/Toni-Graphics/ygen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Toni-Graphics/ygen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FToni-Graphics%2Fygen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FToni-Graphics%2Fygen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca928b6a4ef27e9e8e37325e1eb67d0589855c90 [INFO] checking Toni-Graphics/ygen/ca928b6a4ef27e9e8e37325e1eb67d0589855c90 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FToni-Graphics%2Fygen" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Toni-Graphics/ygen 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 git repo https://github.com/Toni-Graphics/ygen [INFO] finished tweaking git repo https://github.com/Toni-Graphics/ygen [INFO] tweaked toml for git repo https://github.com/Toni-Graphics/ygen written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Toni-Graphics/ygen 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77ca6d944963ec6897b3c38206cd1edb488ef1177fcf9a3ee65e2cd8c6bdfcdf [INFO] running `Command { std: "docker" "start" "-a" "77ca6d944963ec6897b3c38206cd1edb488ef1177fcf9a3ee65e2cd8c6bdfcdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77ca6d944963ec6897b3c38206cd1edb488ef1177fcf9a3ee65e2cd8c6bdfcdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77ca6d944963ec6897b3c38206cd1edb488ef1177fcf9a3ee65e2cd8c6bdfcdf", kill_on_drop: false }` [INFO] [stdout] 77ca6d944963ec6897b3c38206cd1edb488ef1177fcf9a3ee65e2cd8c6bdfcdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc6632ee6e8aa2f32fb65f346d51d557b726e298f0eafdda3d7992b6f3c859ed [INFO] running `Command { std: "docker" "start" "-a" "cc6632ee6e8aa2f32fb65f346d51d557b726e298f0eafdda3d7992b6f3c859ed", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating tools/ygen-mc/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating src/proc/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating tools/simplelang/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating tools/ytest/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating tools/ylc/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking ruzstd v0.7.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking proc v0.1.0 (/tmp/fixit/src/proc) [INFO] [stderr] Migrating src/proc/./proc.rs from 2021 edition to 2024 [INFO] [stderr] Compiling logos-codegen v0.14.2 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling logos-derive v0.14.2 [INFO] [stderr] Checking logos v0.14.2 [INFO] [stderr] Checking unescaper v0.1.5 [INFO] [stderr] Checking ygen v0.1.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ygen` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/CodeGen/compilation/math.rs [INFO] [stderr] * src/CodeGen/ir_area.rs [INFO] [stderr] * src/IR/nodes/math.rs [INFO] [stderr] * src/Target/x64/lower.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/Target/x64/lower.rs:9:6 [INFO] [stderr] | [INFO] [stderr] 9 | ($off: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] --> src/Target/x64/lower.rs:356:19 [INFO] [stderr] | [INFO] [stderr] 356 | ($func:ident, $mnemonic: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] --> src/IR/nodes/math.rs:4:139 [INFO] [stderr] | [INFO] [stderr] 4 | ...ncTyTy:ident, $buildTraitName:ident, $buildFuncName:ident, $dump:expr_2021, $op:tt) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/CodeGen/compilation/math.rs:7:32 [INFO] [stderr] | [INFO] [stderr] 7 | ($func:ident, $node:ident, $mnemonic: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] --> src/CodeGen/compilation/math.rs:64:32 [INFO] [stderr] | [INFO] [stderr] 64 | ($func:ident, $node:ident, $mnemonic: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] --> src/CodeGen/compilation/math.rs:115:32 [INFO] [stderr] | [INFO] [stderr] 115 | ($func:ident, $node:ident, $mnemonic: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] --> src/CodeGen/ir_area.rs:60:20 [INFO] [stderr] | [INFO] [stderr] 60 | ($func:ident, $comment:expr_2021, $($node:tt)*) => { [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 7 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] --> src/IR/parser/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub mod 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] = 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] --> src/IR/parser/mod.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | let mut gen = gen::IrGen::new(parser.out); [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] --> src/IR/parser/mod.rs:339:23 [INFO] [stdout] | [INFO] [stdout] 339 | let mut gen = gen::IrGen::new(parser.out); [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] --> src/IR/parser/mod.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | gen.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] --> src/IR/parser/mod.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | gen.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] --> src/IR/parser/mod.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 343 | Ok(gen.module()) [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] --> src/IR/parser/gen.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn gen(&mut self) { [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] --> src/Target/x64/lower.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | ($off: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] 9 | ($off:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/Target/x64/lower.rs:356:29 [INFO] [stdout] | [INFO] [stdout] 356 | ($func:ident, $mnemonic: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] 356 | ($func:ident, $mnemonic:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/IR/nodes/math.rs:4:145 [INFO] [stdout] | [INFO] [stdout] 4 | ...ncTyTy:ident, $buildTraitName:ident, $buildFuncName:ident, $dump:expr, $op:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 4 | ($name:ident, $compileFuncVarVar:ident, $compileFuncVarTy:ident, $compileFuncTyTy:ident, $buildTraitName:ident, $buildFuncName:ident, $dump:expr_2021, $op:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/CodeGen/compilation/math.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | ($func:ident, $node:ident, $mnemonic: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] 7 | ($func:ident, $node:ident, $mnemonic:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/CodeGen/compilation/math.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | ($func:ident, $node:ident, $mnemonic: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] 64 | ($func:ident, $node:ident, $mnemonic:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/CodeGen/compilation/math.rs:115:42 [INFO] [stdout] | [INFO] [stdout] 115 | ($func:ident, $node:ident, $mnemonic: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] 115 | ($func:ident, $node:ident, $mnemonic:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/CodeGen/ir_area.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | ($func:ident, $comment:expr, $($node:tt)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 60 | ($func:ident, $comment:expr_2021, $($node:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | let block = if let Some(block) = &self.block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | } 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] 98 ~ let block = match &self.block { Some(block) => { [INFO] [stdout] 99 | block.clone() [INFO] [stdout] 100 ~ } _ => { [INFO] [stdout] 101 | panic!("no current block"); [INFO] [stdout] 102 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | if let Some(node) = node.as_any().downcast_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] 135 | } else if let Some(node) = node.as_any().downcast_ref::>() { [INFO] [stdout] | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | } else if let Some(node) = node.as_any().downcast_ref::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | } 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] 121 ~ match node.as_any().downcast_ref::>() { Some(node) => { [INFO] [stdout] 122 | ir_helper.compile_ret_ty(node, &block); [INFO] [stdout] ... [INFO] [stdout] 134 | } [INFO] [stdout] 135 ~ } _ => { match node.as_any().downcast_ref::>() { Some(node) => { [INFO] [stdout] 136 | ir_helper.compile_ret_var(node, &block); [INFO] [stdout] ... [INFO] [stdout] 147 | } [INFO] [stdout] 148 ~ } _ => { [INFO] [stdout] 149 | node.compile_dir(&mut ir_helper, &block); [INFO] [stdout] 150 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | if let Some(last) = ir_helper.compiled.last_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 128 ~ match ir_helper.compiled.last_mut() { Some(last) => { [INFO] [stdout] 129 | let backup = last.compiled.clone(); [INFO] [stdout] 130 | last.compiled = epilog_instrs; [INFO] [stdout] 131 | last.compiled.extend_from_slice(&backup); [INFO] [stdout] 132 ~ } _ => { unreachable!() }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | if let Some(last) = ir_helper.compiled.last_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 142 ~ match ir_helper.compiled.last_mut() { Some(last) => { [INFO] [stdout] 143 | let backup = last.compiled.clone(); [INFO] [stdout] 144 | last.compiled = epilog_instrs; [INFO] [stdout] 145 | last.compiled.extend_from_slice(&backup); [INFO] [stdout] 146 ~ } _ => { unreachable!() }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:223:20 [INFO] [stdout] | [INFO] [stdout] 223 | if let Some(debug_info) = area.debug_info { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | } 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] 223 ~ match area.debug_info { Some(debug_info) => { [INFO] [stdout] 224 | debug.push((mc_instrs, debug_info)); [INFO] [stdout] 225 ~ } _ => { [INFO] [stdout] 226 | debug.push((mc_instrs, DebugLocation { [INFO] [stdout] ... [INFO] [stdout] 232 | })); [INFO] [stdout] 233 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 243 | compile_func!(compile_add_var_var, compile_add_var_var, Add); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 243 | compile_func!(compile_add_var_var, compile_add_var_var, Add); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 244 | compile_func!(compile_and_var_var, compile_and_var_var, And); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 244 | compile_func!(compile_and_var_var, compile_and_var_var, And); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 245 | compile_func!(compile_div_var_var, compile_div_var_var, Div); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 245 | compile_func!(compile_div_var_var, compile_div_var_var, Div); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 246 | compile_func!(compile_mul_var_var, compile_mul_var_var, Mul); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 246 | compile_func!(compile_mul_var_var, compile_mul_var_var, Mul); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 247 | compile_func!(compile_or_var_var, compile_or_var_var, Or); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 247 | compile_func!(compile_or_var_var, compile_or_var_var, Or); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 248 | compile_func!(compile_sub_var_var, compile_sub_var_var, Sub); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 248 | compile_func!(compile_sub_var_var, compile_sub_var_var, Sub); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 249 | compile_func!(compile_xor_var_var, compile_xor_var_var, Xor); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 249 | compile_func!(compile_xor_var_var, compile_xor_var_var, Xor); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 251 | compile_func!(compile_add_var_type, compile_add_var_type, Add); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 251 | compile_func!(compile_add_var_type, compile_add_var_type, Add); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 252 | compile_func!(compile_and_var_type, compile_and_var_type, And); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 252 | compile_func!(compile_and_var_type, compile_and_var_type, And); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 253 | compile_func!(compile_div_var_type, compile_div_var_type, Div); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 253 | compile_func!(compile_div_var_type, compile_div_var_type, Div); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 254 | compile_func!(compile_mul_var_type, compile_mul_var_type, Mul); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 254 | compile_func!(compile_mul_var_type, compile_mul_var_type, Mul); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 255 | compile_func!(compile_or_var_type, compile_or_var_type, Or); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 255 | compile_func!(compile_or_var_type, compile_or_var_type, Or); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 256 | compile_func!(compile_sub_var_type, compile_sub_var_type, Sub); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 256 | compile_func!(compile_sub_var_type, compile_sub_var_type, Sub); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 257 | compile_func!(compile_xor_var_type, compile_xor_var_type, Xor); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 257 | compile_func!(compile_xor_var_type, compile_xor_var_type, Xor); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 259 | compile_func!(compile_add_type_type, compile_add_type_type, Add); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 259 | compile_func!(compile_add_type_type, compile_add_type_type, Add); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 260 | compile_func!(compile_and_type_type, compile_and_type_type, And); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 260 | compile_func!(compile_and_type_type, compile_and_type_type, And); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 261 | compile_func!(compile_div_type_type, compile_div_type_type, Div); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 261 | compile_func!(compile_div_type_type, compile_div_type_type, Div); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 262 | compile_func!(compile_mul_type_type, compile_mul_type_type, Mul); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 262 | compile_func!(compile_mul_type_type, compile_mul_type_type, Mul); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 263 | compile_func!(compile_or_type_type, compile_or_type_type, Or); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 263 | compile_func!(compile_or_type_type, compile_or_type_type, Or); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 264 | compile_func!(compile_sub_type_type, compile_sub_type_type, Sub); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 264 | compile_func!(compile_sub_type_type, compile_sub_type_type, Sub); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 265 | compile_func!(compile_xor_type_type, compile_xor_type_type, Xor); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 265 | compile_func!(compile_xor_type_type, compile_xor_type_type, Xor); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 267 | compile_func!(compile_ret_ty, compile_ret_ty, Return); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 267 | compile_func!(compile_ret_ty, compile_ret_ty, Return); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 268 | compile_func!(compile_ret_var, compile_ret_var, Return); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 268 | compile_func!(compile_ret_var, compile_ret_var, Return); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 270 | compile_func!(compile_cast_var, compile_cast, Cast); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 270 | compile_func!(compile_cast_var, compile_cast, Cast); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 272 | compile_func!(compile_call, compile_call, Call, Var>); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 272 | compile_func!(compile_call, compile_call, Call, Var>); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 274 | compile_func!(compile_assign_var_type, compile_assign_var_type, Assign); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 274 | compile_func!(compile_assign_var_type, compile_assign_var_type, Assign); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 275 | compile_func!(compile_assign_var_var, compile_assign_var_var, Assign); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 275 | compile_func!(compile_assign_var_var, compile_assign_var_var, Assign); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 276 | compile_func!(compile_assign_var_const, compile_assign_var_const, Assign); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 276 | compile_func!(compile_assign_var_const, compile_assign_var_const, Assign); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 278 | compile_func!(compile_br, compile_br, Br>); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 278 | compile_func!(compile_br, compile_br, Br>); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 279 | compile_func!(compile_br_cond, compile_br_cond, BrCond); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 279 | compile_func!(compile_br_cond, compile_br_cond, BrCond); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 281 | compile_func!(compile_cmp, compile_cmp, Cmp); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 281 | compile_func!(compile_cmp, compile_cmp, Cmp); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 283 | compile_func!(compile_alloca, compile_alloca, Alloca); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 283 | compile_func!(compile_alloca, compile_alloca, Alloca); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 284 | compile_func!(compile_store, compile_store, Store); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 284 | compile_func!(compile_store, compile_store, Store); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 285 | compile_func!(compile_store_ty, compile_store_ty, Store); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 285 | compile_func!(compile_store_ty, compile_store_ty, Store); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 286 | compile_func!(compile_load, compile_load, Load); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 286 | compile_func!(compile_load, compile_load, Load); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, asm::lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/Target/x64/asm/lexer.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] --> src/Target/x64/asm/lexer.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i64, asm::lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/Target/x64/asm/lexer.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] --> src/Target/x64/asm/lexer.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i64, asm::lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/Target/x64/asm/lexer.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] --> src/Target/x64/asm/lexer.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, asm::lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/Target/x64/asm/lexer.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] --> src/Target/x64/asm/lexer.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/registry.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | if let Some(target) = self.targets.get_mut(&arch) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/registry.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 36 ~ match self.targets.get_mut(&arch) { Some(target) => { [INFO] [stdout] 37 | target.call = call; [INFO] [stdout] 38 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/registry.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | if let Some(descr) = self.targets.get_mut(&arch) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/registry.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | } 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] 43 ~ match self.targets.get_mut(&arch) { Some(descr) => { [INFO] [stdout] 44 | Ok(descr) [INFO] [stdout] 45 ~ } _ => { [INFO] [stdout] 46 | Err(Box::from( [INFO] [stdout] 47 | RegistryError::UnsuportedArch(arch) [INFO] [stdout] 48 | )) [INFO] [stdout] 49 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:419:20 [INFO] [stdout] | [INFO] [stdout] 419 | if let TokenType::Ident(instrinc) = &self.current_token()?.typ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 419 ~ match &self.current_token()?.typ { TokenType::Ident(instrinc) => { [INFO] [stdout] 420 | match instrinc.as_str() { [INFO] [stdout] ... [INFO] [stdout] 438 | } [INFO] [stdout] 439 ~ } _ => { unreachable!() }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:453:31 [INFO] [stdout] | [INFO] [stdout] 453 | let line = if let TokenType::Int(int) = &self.current_token()?.typ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:455:17 [INFO] [stdout] | [INFO] [stdout] 455 | } else { unreachable!() }; [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 453 ~ let line = match &self.current_token()?.typ { TokenType::Int(int) => { [INFO] [stdout] 454 | *int [INFO] [stdout] 455 ~ } _ => { unreachable!() }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:462:34 [INFO] [stdout] | [INFO] [stdout] 462 | let coloumn = if let TokenType::Int(int) = &self.current_token()?.typ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:464:17 [INFO] [stdout] | [INFO] [stdout] 464 | } else { unreachable!() }; [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 462 ~ let coloumn = match &self.current_token()?.typ { TokenType::Int(int) => { [INFO] [stdout] 463 | *int [INFO] [stdout] 464 ~ } _ => { unreachable!() }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:471:31 [INFO] [stdout] | [INFO] [stdout] 471 | let file = if let TokenType::UnIdent(string) = &self.current_token()?.typ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:473:17 [INFO] [stdout] | [INFO] [stdout] 473 | } else { unreachable!() }; [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 471 ~ let file = match &self.current_token()?.typ { TokenType::UnIdent(string) => { [INFO] [stdout] 472 | string.to_owned() [INFO] [stdout] 473 ~ } _ => { unreachable!() }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:575:25 [INFO] [stdout] | [INFO] [stdout] 575 | let ty = if let TokenType::Ident(ty) = &self.current_token()?.typ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:581:13 [INFO] [stdout] | [INFO] [stdout] 581 | } else { break; }; [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 575 ~ let ty = match &self.current_token()?.typ { TokenType::Ident(ty) => { [INFO] [stdout] 576 | if let Some(ty) = TypeMetadata::parse(ty.to_owned()) { [INFO] [stdout] ... [INFO] [stdout] 580 | } [INFO] [stdout] 581 ~ } _ => { break; }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let TokenType::Ident(ident) = &self.current_token()?.typ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:638:17 [INFO] [stdout] | [INFO] [stdout] 638 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 636 ~ match &self.current_token()?.typ { TokenType::Ident(ident) => { [INFO] [stdout] 637 | iftrue = ident.to_owned(); [INFO] [stdout] 638 ~ } _ => { unreachable!() }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:649:20 [INFO] [stdout] | [INFO] [stdout] 649 | if let TokenType::Ident(ident) = &self.current_token()?.typ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:651:17 [INFO] [stdout] | [INFO] [stdout] 651 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 649 ~ match &self.current_token()?.typ { TokenType::Ident(ident) => { [INFO] [stdout] 650 | iffalse = ident.to_owned(); [INFO] [stdout] 651 ~ } _ => { unreachable!() }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:676:25 [INFO] [stdout] | [INFO] [stdout] 676 | let in_var = if let TokenType::Var(name) = &self.current_token()?.typ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | } else { unreachable!() }; [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 676 ~ let in_var = match &self.current_token()?.typ { TokenType::Var(name) => { [INFO] [stdout] 677 | Var { [INFO] [stdout] ... [INFO] [stdout] 680 | } [INFO] [stdout] 681 ~ } _ => { unreachable!() }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:721:12 [INFO] [stdout] | [INFO] [stdout] 721 | if let TokenType::Int(imm) = self.current_token()?.typ { [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] 738 | } else if let TokenType::Var(var) = self.current_token()?.typ.to_owned() { [INFO] [stdout] | --------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:738:9 [INFO] [stdout] | [INFO] [stdout] 738 | } else if let TokenType::Var(var) = self.current_token()?.typ.to_owned() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:756:9 [INFO] [stdout] | [INFO] [stdout] 756 | } 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] 721 ~ match self.current_token()?.typ { TokenType::Int(imm) => { [INFO] [stdout] 722 | self.input.pop_front(); [INFO] [stdout] ... [INFO] [stdout] 737 | }, Type::from_int(ty, imm))) [INFO] [stdout] 738 ~ } _ => { match self.current_token()?.typ.to_owned() { TokenType::Var(var) => { [INFO] [stdout] 739 | self.input.pop_front(); [INFO] [stdout] ... [INFO] [stdout] 755 | })) [INFO] [stdout] 756 ~ } _ => { [INFO] [stdout] 757 | Err(IrError::ExpectedTokenButFoundAnUnexpectedOne { [INFO] [stdout] ... [INFO] [stdout] 760 | }) [INFO] [stdout] 761 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:729:26 [INFO] [stdout] | [INFO] [stdout] 729 | let var = if let TokenType::Var(var) = &self.current_token()?.typ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:731:13 [INFO] [stdout] | [INFO] [stdout] 731 | } else { unreachable!() }; [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 729 ~ let var = match &self.current_token()?.typ { TokenType::Var(var) => { [INFO] [stdout] 730 | var.to_owned() [INFO] [stdout] 731 ~ } _ => { unreachable!() }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:744:26 [INFO] [stdout] | [INFO] [stdout] 744 | let src = if let TokenType::Var(var) = &self.current_token()?.typ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:746:13 [INFO] [stdout] | [INFO] [stdout] 746 | } else { unreachable!() }; [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 744 ~ let src = match &self.current_token()?.typ { TokenType::Var(var) => { [INFO] [stdout] 745 | var.to_owned() [INFO] [stdout] 746 ~ } _ => { unreachable!() }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:934:22 [INFO] [stdout] | [INFO] [stdout] 934 | let var = if let TokenType::Var(var) = self.current_token()?.typ.to_owned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:939:9 [INFO] [stdout] | [INFO] [stdout] 939 | } else { unreachable!() }; [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 934 ~ let var = match self.current_token()?.typ.to_owned() { TokenType::Var(var) => { [INFO] [stdout] 935 | Var { [INFO] [stdout] ... [INFO] [stdout] 938 | } [INFO] [stdout] 939 ~ } _ => { unreachable!() }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:974:28 [INFO] [stdout] | [INFO] [stdout] 974 | if let TokenType::Int(int) = &self.current_token()?.typ { [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] 1038 | ParserImplParseMath!(parse_add, Add); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:976:25 [INFO] [stdout] | [INFO] [stdout] 976 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1038 | ParserImplParseMath!(parse_add, Add); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:994:28 [INFO] [stdout] | [INFO] [stdout] 994 | if let TokenType::Var(var) = &self.current_token()?.typ { [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] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [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] 1038 | ParserImplParseMath!(parse_add, Add); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1008:25 [INFO] [stdout] | [INFO] [stdout] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1038 | ParserImplParseMath!(parse_add, Add); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1019:25 [INFO] [stdout] | [INFO] [stdout] 1019 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1038 | ParserImplParseMath!(parse_add, Add); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:974:28 [INFO] [stdout] | [INFO] [stdout] 974 | if let TokenType::Int(int) = &self.current_token()?.typ { [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] 1039 | ParserImplParseMath!(parse_sub, Sub); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:976:25 [INFO] [stdout] | [INFO] [stdout] 976 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1039 | ParserImplParseMath!(parse_sub, Sub); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:994:28 [INFO] [stdout] | [INFO] [stdout] 994 | if let TokenType::Var(var) = &self.current_token()?.typ { [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] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [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] 1039 | ParserImplParseMath!(parse_sub, Sub); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1008:25 [INFO] [stdout] | [INFO] [stdout] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1039 | ParserImplParseMath!(parse_sub, Sub); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1019:25 [INFO] [stdout] | [INFO] [stdout] 1019 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1039 | ParserImplParseMath!(parse_sub, Sub); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:974:28 [INFO] [stdout] | [INFO] [stdout] 974 | if let TokenType::Int(int) = &self.current_token()?.typ { [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] 1040 | ParserImplParseMath!(parse_xor, Xor); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:976:25 [INFO] [stdout] | [INFO] [stdout] 976 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1040 | ParserImplParseMath!(parse_xor, Xor); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:994:28 [INFO] [stdout] | [INFO] [stdout] 994 | if let TokenType::Var(var) = &self.current_token()?.typ { [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] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [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] 1040 | ParserImplParseMath!(parse_xor, Xor); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1008:25 [INFO] [stdout] | [INFO] [stdout] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1040 | ParserImplParseMath!(parse_xor, Xor); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1019:25 [INFO] [stdout] | [INFO] [stdout] 1019 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1040 | ParserImplParseMath!(parse_xor, Xor); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:974:28 [INFO] [stdout] | [INFO] [stdout] 974 | if let TokenType::Int(int) = &self.current_token()?.typ { [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] 1041 | ParserImplParseMath!(parse_or, Or ); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:976:25 [INFO] [stdout] | [INFO] [stdout] 976 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1041 | ParserImplParseMath!(parse_or, Or ); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:994:28 [INFO] [stdout] | [INFO] [stdout] 994 | if let TokenType::Var(var) = &self.current_token()?.typ { [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] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [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] 1041 | ParserImplParseMath!(parse_or, Or ); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1008:25 [INFO] [stdout] | [INFO] [stdout] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1041 | ParserImplParseMath!(parse_or, Or ); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1019:25 [INFO] [stdout] | [INFO] [stdout] 1019 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1041 | ParserImplParseMath!(parse_or, Or ); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:974:28 [INFO] [stdout] | [INFO] [stdout] 974 | if let TokenType::Int(int) = &self.current_token()?.typ { [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] 1042 | ParserImplParseMath!(parse_and, And); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:976:25 [INFO] [stdout] | [INFO] [stdout] 976 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1042 | ParserImplParseMath!(parse_and, And); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:994:28 [INFO] [stdout] | [INFO] [stdout] 994 | if let TokenType::Var(var) = &self.current_token()?.typ { [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] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [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] 1042 | ParserImplParseMath!(parse_and, And); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1008:25 [INFO] [stdout] | [INFO] [stdout] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1042 | ParserImplParseMath!(parse_and, And); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1019:25 [INFO] [stdout] | [INFO] [stdout] 1019 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1042 | ParserImplParseMath!(parse_and, And); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:974:28 [INFO] [stdout] | [INFO] [stdout] 974 | if let TokenType::Int(int) = &self.current_token()?.typ { [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] 1043 | ParserImplParseMath!(parse_mul, Mul); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:976:25 [INFO] [stdout] | [INFO] [stdout] 976 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1043 | ParserImplParseMath!(parse_mul, Mul); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:994:28 [INFO] [stdout] | [INFO] [stdout] 994 | if let TokenType::Var(var) = &self.current_token()?.typ { [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] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [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] 1043 | ParserImplParseMath!(parse_mul, Mul); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1008:25 [INFO] [stdout] | [INFO] [stdout] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1043 | ParserImplParseMath!(parse_mul, Mul); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1019:25 [INFO] [stdout] | [INFO] [stdout] 1019 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1043 | ParserImplParseMath!(parse_mul, Mul); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:974:28 [INFO] [stdout] | [INFO] [stdout] 974 | if let TokenType::Int(int) = &self.current_token()?.typ { [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] 1044 | ParserImplParseMath!(parse_div, Div); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:976:25 [INFO] [stdout] | [INFO] [stdout] 976 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1044 | ParserImplParseMath!(parse_div, Div); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:994:28 [INFO] [stdout] | [INFO] [stdout] 994 | if let TokenType::Var(var) = &self.current_token()?.typ { [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] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [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] 1044 | ParserImplParseMath!(parse_div, Div); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1008:25 [INFO] [stdout] | [INFO] [stdout] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1044 | ParserImplParseMath!(parse_div, Div); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1019:25 [INFO] [stdout] | [INFO] [stdout] 1019 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1044 | ParserImplParseMath!(parse_div, Div); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/semnatic.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 313 | if let Some((ty, _, _)) = self.func_sigs.get(&node.inner1.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] --> src/IR/parser/semnatic.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | } 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] 313 ~ match self.func_sigs.get(&node.inner1.name) { Some((ty, _, _)) => { [INFO] [stdout] 314 | sig = ty.to_owned(); [INFO] [stdout] 315 ~ } _ => { [INFO] [stdout] 316 | Err(IrError::Unkown { [INFO] [stdout] ... [INFO] [stdout] 320 | })? [INFO] [stdout] 321 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Support/tokmngr.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | while let Some((tok, line, cols)) = (self.callback)(srcMngr)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Support/tokmngr.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 88 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking simplelang v0.1.0 (/tmp/fixit/tools/simplelang) [INFO] [stderr] Checking ygen-mc v0.1.0 (/tmp/fixit/tools/ygen-mc) [INFO] [stderr] Checking ylc v0.1.0 (/tmp/fixit/tools/ylc) [INFO] [stderr] Checking ytest v0.1.0 (/tmp/fixit/tools/ytest) [INFO] [stderr] Migrating tests/ir.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ygen` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/CodeGen/compilation/math.rs [INFO] [stderr] * src/CodeGen/ir_area.rs [INFO] [stderr] * src/IR/nodes/math.rs [INFO] [stderr] * src/Target/x64/lower.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/Target/x64/lower.rs:9:6 [INFO] [stderr] | [INFO] [stderr] 9 | ($off: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] --> src/Target/x64/lower.rs:356:19 [INFO] [stderr] | [INFO] [stderr] 356 | ($func:ident, $mnemonic: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] --> src/IR/nodes/math.rs:4:139 [INFO] [stderr] | [INFO] [stderr] 4 | ...ncTyTy:ident, $buildTraitName:ident, $buildFuncName:ident, $dump:expr_2021, $op:tt) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/CodeGen/compilation/math.rs:7:32 [INFO] [stderr] | [INFO] [stderr] 7 | ($func:ident, $node:ident, $mnemonic: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] --> src/CodeGen/compilation/math.rs:64:32 [INFO] [stderr] | [INFO] [stderr] 64 | ($func:ident, $node:ident, $mnemonic: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] --> src/CodeGen/compilation/math.rs:115:32 [INFO] [stderr] | [INFO] [stderr] 115 | ($func:ident, $node:ident, $mnemonic: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] --> src/CodeGen/ir_area.rs:60:20 [INFO] [stderr] | [INFO] [stderr] 60 | ($func:ident, $comment:expr_2021, $($node:tt)*) => { [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 7 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/IR/parser/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub mod 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] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/IR/parser/mod.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | let mut gen = gen::IrGen::new(parser.out); [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] --> src/IR/parser/mod.rs:339:23 [INFO] [stdout] | [INFO] [stdout] 339 | let mut gen = gen::IrGen::new(parser.out); [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] --> src/IR/parser/mod.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | gen.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] --> src/IR/parser/mod.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | gen.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] --> src/IR/parser/mod.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 343 | Ok(gen.module()) [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] --> src/IR/parser/gen.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn gen(&mut self) { [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] --> src/Target/x64/lower.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | ($off: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] 9 | ($off:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/Target/x64/lower.rs:356:29 [INFO] [stdout] | [INFO] [stdout] 356 | ($func:ident, $mnemonic: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] 356 | ($func:ident, $mnemonic:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/IR/nodes/math.rs:4:145 [INFO] [stdout] | [INFO] [stdout] 4 | ...ncTyTy:ident, $buildTraitName:ident, $buildFuncName:ident, $dump:expr, $op:tt) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 4 | ($name:ident, $compileFuncVarVar:ident, $compileFuncVarTy:ident, $compileFuncTyTy:ident, $buildTraitName:ident, $buildFuncName:ident, $dump:expr_2021, $op:tt) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/CodeGen/compilation/math.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | ($func:ident, $node:ident, $mnemonic: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] 7 | ($func:ident, $node:ident, $mnemonic:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/CodeGen/compilation/math.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | ($func:ident, $node:ident, $mnemonic: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] 64 | ($func:ident, $node:ident, $mnemonic:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/CodeGen/compilation/math.rs:115:42 [INFO] [stdout] | [INFO] [stdout] 115 | ($func:ident, $node:ident, $mnemonic: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] 115 | ($func:ident, $node:ident, $mnemonic:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/CodeGen/ir_area.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | ($func:ident, $comment:expr, $($node:tt)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 60 | ($func:ident, $comment:expr_2021, $($node:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | let block = if let Some(block) = &self.block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | } 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] 98 ~ let block = match &self.block { Some(block) => { [INFO] [stdout] 99 | block.clone() [INFO] [stdout] 100 ~ } _ => { [INFO] [stdout] 101 | panic!("no current block"); [INFO] [stdout] 102 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | if let Some(node) = node.as_any().downcast_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] 135 | } else if let Some(node) = node.as_any().downcast_ref::>() { [INFO] [stdout] | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | } else if let Some(node) = node.as_any().downcast_ref::>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | } 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] 121 ~ match node.as_any().downcast_ref::>() { Some(node) => { [INFO] [stdout] 122 | ir_helper.compile_ret_ty(node, &block); [INFO] [stdout] ... [INFO] [stdout] 134 | } [INFO] [stdout] 135 ~ } _ => { match node.as_any().downcast_ref::>() { Some(node) => { [INFO] [stdout] 136 | ir_helper.compile_ret_var(node, &block); [INFO] [stdout] ... [INFO] [stdout] 147 | } [INFO] [stdout] 148 ~ } _ => { [INFO] [stdout] 149 | node.compile_dir(&mut ir_helper, &block); [INFO] [stdout] 150 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | if let Some(last) = ir_helper.compiled.last_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 128 ~ match ir_helper.compiled.last_mut() { Some(last) => { [INFO] [stdout] 129 | let backup = last.compiled.clone(); [INFO] [stdout] 130 | last.compiled = epilog_instrs; [INFO] [stdout] 131 | last.compiled.extend_from_slice(&backup); [INFO] [stdout] 132 ~ } _ => { unreachable!() }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | if let Some(last) = ir_helper.compiled.last_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 142 ~ match ir_helper.compiled.last_mut() { Some(last) => { [INFO] [stdout] 143 | let backup = last.compiled.clone(); [INFO] [stdout] 144 | last.compiled = epilog_instrs; [INFO] [stdout] 145 | last.compiled.extend_from_slice(&backup); [INFO] [stdout] 146 ~ } _ => { unreachable!() }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:223:20 [INFO] [stdout] | [INFO] [stdout] 223 | if let Some(debug_info) = area.debug_info { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | } 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] 223 ~ match area.debug_info { Some(debug_info) => { [INFO] [stdout] 224 | debug.push((mc_instrs, debug_info)); [INFO] [stdout] 225 ~ } _ => { [INFO] [stdout] 226 | debug.push((mc_instrs, DebugLocation { [INFO] [stdout] ... [INFO] [stdout] 232 | })); [INFO] [stdout] 233 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 243 | compile_func!(compile_add_var_var, compile_add_var_var, Add); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 243 | compile_func!(compile_add_var_var, compile_add_var_var, Add); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 244 | compile_func!(compile_and_var_var, compile_and_var_var, And); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 244 | compile_func!(compile_and_var_var, compile_and_var_var, And); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 245 | compile_func!(compile_div_var_var, compile_div_var_var, Div); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 245 | compile_func!(compile_div_var_var, compile_div_var_var, Div); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 246 | compile_func!(compile_mul_var_var, compile_mul_var_var, Mul); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 246 | compile_func!(compile_mul_var_var, compile_mul_var_var, Mul); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 247 | compile_func!(compile_or_var_var, compile_or_var_var, Or); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 247 | compile_func!(compile_or_var_var, compile_or_var_var, Or); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 248 | compile_func!(compile_sub_var_var, compile_sub_var_var, Sub); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 248 | compile_func!(compile_sub_var_var, compile_sub_var_var, Sub); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 249 | compile_func!(compile_xor_var_var, compile_xor_var_var, Xor); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 249 | compile_func!(compile_xor_var_var, compile_xor_var_var, Xor); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 251 | compile_func!(compile_add_var_type, compile_add_var_type, Add); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 251 | compile_func!(compile_add_var_type, compile_add_var_type, Add); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 252 | compile_func!(compile_and_var_type, compile_and_var_type, And); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 252 | compile_func!(compile_and_var_type, compile_and_var_type, And); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 253 | compile_func!(compile_div_var_type, compile_div_var_type, Div); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 253 | compile_func!(compile_div_var_type, compile_div_var_type, Div); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 254 | compile_func!(compile_mul_var_type, compile_mul_var_type, Mul); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 254 | compile_func!(compile_mul_var_type, compile_mul_var_type, Mul); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 255 | compile_func!(compile_or_var_type, compile_or_var_type, Or); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 255 | compile_func!(compile_or_var_type, compile_or_var_type, Or); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 256 | compile_func!(compile_sub_var_type, compile_sub_var_type, Sub); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 256 | compile_func!(compile_sub_var_type, compile_sub_var_type, Sub); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 257 | compile_func!(compile_xor_var_type, compile_xor_var_type, Xor); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 257 | compile_func!(compile_xor_var_type, compile_xor_var_type, Xor); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 259 | compile_func!(compile_add_type_type, compile_add_type_type, Add); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 259 | compile_func!(compile_add_type_type, compile_add_type_type, Add); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 260 | compile_func!(compile_and_type_type, compile_and_type_type, And); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 260 | compile_func!(compile_and_type_type, compile_and_type_type, And); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 261 | compile_func!(compile_div_type_type, compile_div_type_type, Div); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 261 | compile_func!(compile_div_type_type, compile_div_type_type, Div); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 262 | compile_func!(compile_mul_type_type, compile_mul_type_type, Mul); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 262 | compile_func!(compile_mul_type_type, compile_mul_type_type, Mul); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 263 | compile_func!(compile_or_type_type, compile_or_type_type, Or); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 263 | compile_func!(compile_or_type_type, compile_or_type_type, Or); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 264 | compile_func!(compile_sub_type_type, compile_sub_type_type, Sub); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 264 | compile_func!(compile_sub_type_type, compile_sub_type_type, Sub); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 265 | compile_func!(compile_xor_type_type, compile_xor_type_type, Xor); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 265 | compile_func!(compile_xor_type_type, compile_xor_type_type, Xor); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 267 | compile_func!(compile_ret_ty, compile_ret_ty, Return); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 267 | compile_func!(compile_ret_ty, compile_ret_ty, Return); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 268 | compile_func!(compile_ret_var, compile_ret_var, Return); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 268 | compile_func!(compile_ret_var, compile_ret_var, Return); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 270 | compile_func!(compile_cast_var, compile_cast, Cast); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 270 | compile_func!(compile_cast_var, compile_cast, Cast); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 272 | compile_func!(compile_call, compile_call, Call, Var>); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 272 | compile_func!(compile_call, compile_call, Call, Var>); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 274 | compile_func!(compile_assign_var_type, compile_assign_var_type, Assign); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 274 | compile_func!(compile_assign_var_type, compile_assign_var_type, Assign); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 275 | compile_func!(compile_assign_var_var, compile_assign_var_var, Assign); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 275 | compile_func!(compile_assign_var_var, compile_assign_var_var, Assign); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 276 | compile_func!(compile_assign_var_const, compile_assign_var_const, Assign); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 276 | compile_func!(compile_assign_var_const, compile_assign_var_const, Assign); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 278 | compile_func!(compile_br, compile_br, Br>); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 278 | compile_func!(compile_br, compile_br, Br>); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 279 | compile_func!(compile_br_cond, compile_br_cond, BrCond); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 279 | compile_func!(compile_br_cond, compile_br_cond, BrCond); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 281 | compile_func!(compile_cmp, compile_cmp, Cmp); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 281 | compile_func!(compile_cmp, compile_cmp, Cmp); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 283 | compile_func!(compile_alloca, compile_alloca, Alloca); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 283 | compile_func!(compile_alloca, compile_alloca, Alloca); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 284 | compile_func!(compile_store, compile_store, Store); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 284 | compile_func!(compile_store, compile_store, Store); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 285 | compile_func!(compile_store_ty, compile_store_ty, Store); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 285 | compile_func!(compile_store_ty, compile_store_ty, Store); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(block) = &self.block { [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] 286 | compile_func!(compile_load, compile_load, Load); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/target_descr.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 286 | compile_func!(compile_load, compile_load, Load); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compile_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, asm::lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/Target/x64/asm/lexer.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] --> src/Target/x64/asm/lexer.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i64, asm::lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/Target/x64/asm/lexer.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] --> src/Target/x64/asm/lexer.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i64, asm::lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/Target/x64/asm/lexer.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] --> src/Target/x64/asm/lexer.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, asm::lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/Target/x64/asm/lexer.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] --> src/Target/x64/asm/lexer.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/registry.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | if let Some(target) = self.targets.get_mut(&arch) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/registry.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 36 ~ match self.targets.get_mut(&arch) { Some(target) => { [INFO] [stdout] 37 | target.call = call; [INFO] [stdout] 38 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Target/registry.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | if let Some(descr) = self.targets.get_mut(&arch) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Target/registry.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | } 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] 43 ~ match self.targets.get_mut(&arch) { Some(descr) => { [INFO] [stdout] 44 | Ok(descr) [INFO] [stdout] 45 ~ } _ => { [INFO] [stdout] 46 | Err(Box::from( [INFO] [stdout] 47 | RegistryError::UnsuportedArch(arch) [INFO] [stdout] 48 | )) [INFO] [stdout] 49 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:419:20 [INFO] [stdout] | [INFO] [stdout] 419 | if let TokenType::Ident(instrinc) = &self.current_token()?.typ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 419 ~ match &self.current_token()?.typ { TokenType::Ident(instrinc) => { [INFO] [stdout] 420 | match instrinc.as_str() { [INFO] [stdout] ... [INFO] [stdout] 438 | } [INFO] [stdout] 439 ~ } _ => { unreachable!() }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:453:31 [INFO] [stdout] | [INFO] [stdout] 453 | let line = if let TokenType::Int(int) = &self.current_token()?.typ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:455:17 [INFO] [stdout] | [INFO] [stdout] 455 | } else { unreachable!() }; [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 453 ~ let line = match &self.current_token()?.typ { TokenType::Int(int) => { [INFO] [stdout] 454 | *int [INFO] [stdout] 455 ~ } _ => { unreachable!() }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:462:34 [INFO] [stdout] | [INFO] [stdout] 462 | let coloumn = if let TokenType::Int(int) = &self.current_token()?.typ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:464:17 [INFO] [stdout] | [INFO] [stdout] 464 | } else { unreachable!() }; [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 462 ~ let coloumn = match &self.current_token()?.typ { TokenType::Int(int) => { [INFO] [stdout] 463 | *int [INFO] [stdout] 464 ~ } _ => { unreachable!() }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:471:31 [INFO] [stdout] | [INFO] [stdout] 471 | let file = if let TokenType::UnIdent(string) = &self.current_token()?.typ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:473:17 [INFO] [stdout] | [INFO] [stdout] 473 | } else { unreachable!() }; [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 471 ~ let file = match &self.current_token()?.typ { TokenType::UnIdent(string) => { [INFO] [stdout] 472 | string.to_owned() [INFO] [stdout] 473 ~ } _ => { unreachable!() }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:575:25 [INFO] [stdout] | [INFO] [stdout] 575 | let ty = if let TokenType::Ident(ty) = &self.current_token()?.typ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:581:13 [INFO] [stdout] | [INFO] [stdout] 581 | } else { break; }; [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 575 ~ let ty = match &self.current_token()?.typ { TokenType::Ident(ty) => { [INFO] [stdout] 576 | if let Some(ty) = TypeMetadata::parse(ty.to_owned()) { [INFO] [stdout] ... [INFO] [stdout] 580 | } [INFO] [stdout] 581 ~ } _ => { break; }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:636:20 [INFO] [stdout] | [INFO] [stdout] 636 | if let TokenType::Ident(ident) = &self.current_token()?.typ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:638:17 [INFO] [stdout] | [INFO] [stdout] 638 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 636 ~ match &self.current_token()?.typ { TokenType::Ident(ident) => { [INFO] [stdout] 637 | iftrue = ident.to_owned(); [INFO] [stdout] 638 ~ } _ => { unreachable!() }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:649:20 [INFO] [stdout] | [INFO] [stdout] 649 | if let TokenType::Ident(ident) = &self.current_token()?.typ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:651:17 [INFO] [stdout] | [INFO] [stdout] 651 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 649 ~ match &self.current_token()?.typ { TokenType::Ident(ident) => { [INFO] [stdout] 650 | iffalse = ident.to_owned(); [INFO] [stdout] 651 ~ } _ => { unreachable!() }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:676:25 [INFO] [stdout] | [INFO] [stdout] 676 | let in_var = if let TokenType::Var(name) = &self.current_token()?.typ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | } else { unreachable!() }; [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 676 ~ let in_var = match &self.current_token()?.typ { TokenType::Var(name) => { [INFO] [stdout] 677 | Var { [INFO] [stdout] ... [INFO] [stdout] 680 | } [INFO] [stdout] 681 ~ } _ => { unreachable!() }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:721:12 [INFO] [stdout] | [INFO] [stdout] 721 | if let TokenType::Int(imm) = self.current_token()?.typ { [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] 738 | } else if let TokenType::Var(var) = self.current_token()?.typ.to_owned() { [INFO] [stdout] | --------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:738:9 [INFO] [stdout] | [INFO] [stdout] 738 | } else if let TokenType::Var(var) = self.current_token()?.typ.to_owned() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:756:9 [INFO] [stdout] | [INFO] [stdout] 756 | } 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] 721 ~ match self.current_token()?.typ { TokenType::Int(imm) => { [INFO] [stdout] 722 | self.input.pop_front(); [INFO] [stdout] ... [INFO] [stdout] 737 | }, Type::from_int(ty, imm))) [INFO] [stdout] 738 ~ } _ => { match self.current_token()?.typ.to_owned() { TokenType::Var(var) => { [INFO] [stdout] 739 | self.input.pop_front(); [INFO] [stdout] ... [INFO] [stdout] 755 | })) [INFO] [stdout] 756 ~ } _ => { [INFO] [stdout] 757 | Err(IrError::ExpectedTokenButFoundAnUnexpectedOne { [INFO] [stdout] ... [INFO] [stdout] 760 | }) [INFO] [stdout] 761 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:729:26 [INFO] [stdout] | [INFO] [stdout] 729 | let var = if let TokenType::Var(var) = &self.current_token()?.typ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:731:13 [INFO] [stdout] | [INFO] [stdout] 731 | } else { unreachable!() }; [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 729 ~ let var = match &self.current_token()?.typ { TokenType::Var(var) => { [INFO] [stdout] 730 | var.to_owned() [INFO] [stdout] 731 ~ } _ => { unreachable!() }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:744:26 [INFO] [stdout] | [INFO] [stdout] 744 | let src = if let TokenType::Var(var) = &self.current_token()?.typ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:746:13 [INFO] [stdout] | [INFO] [stdout] 746 | } else { unreachable!() }; [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 744 ~ let src = match &self.current_token()?.typ { TokenType::Var(var) => { [INFO] [stdout] 745 | var.to_owned() [INFO] [stdout] 746 ~ } _ => { unreachable!() }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:934:22 [INFO] [stdout] | [INFO] [stdout] 934 | let var = if let TokenType::Var(var) = self.current_token()?.typ.to_owned() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:939:9 [INFO] [stdout] | [INFO] [stdout] 939 | } else { unreachable!() }; [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 934 ~ let var = match self.current_token()?.typ.to_owned() { TokenType::Var(var) => { [INFO] [stdout] 935 | Var { [INFO] [stdout] ... [INFO] [stdout] 938 | } [INFO] [stdout] 939 ~ } _ => { unreachable!() }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:974:28 [INFO] [stdout] | [INFO] [stdout] 974 | if let TokenType::Int(int) = &self.current_token()?.typ { [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] 1038 | ParserImplParseMath!(parse_add, Add); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:976:25 [INFO] [stdout] | [INFO] [stdout] 976 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1038 | ParserImplParseMath!(parse_add, Add); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:994:28 [INFO] [stdout] | [INFO] [stdout] 994 | if let TokenType::Var(var) = &self.current_token()?.typ { [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] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [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] 1038 | ParserImplParseMath!(parse_add, Add); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1008:25 [INFO] [stdout] | [INFO] [stdout] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1038 | ParserImplParseMath!(parse_add, Add); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1019:25 [INFO] [stdout] | [INFO] [stdout] 1019 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1038 | ParserImplParseMath!(parse_add, Add); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:974:28 [INFO] [stdout] | [INFO] [stdout] 974 | if let TokenType::Int(int) = &self.current_token()?.typ { [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] 1039 | ParserImplParseMath!(parse_sub, Sub); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:976:25 [INFO] [stdout] | [INFO] [stdout] 976 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1039 | ParserImplParseMath!(parse_sub, Sub); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:994:28 [INFO] [stdout] | [INFO] [stdout] 994 | if let TokenType::Var(var) = &self.current_token()?.typ { [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] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [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] 1039 | ParserImplParseMath!(parse_sub, Sub); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1008:25 [INFO] [stdout] | [INFO] [stdout] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1039 | ParserImplParseMath!(parse_sub, Sub); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1019:25 [INFO] [stdout] | [INFO] [stdout] 1019 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1039 | ParserImplParseMath!(parse_sub, Sub); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:974:28 [INFO] [stdout] | [INFO] [stdout] 974 | if let TokenType::Int(int) = &self.current_token()?.typ { [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] 1040 | ParserImplParseMath!(parse_xor, Xor); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:976:25 [INFO] [stdout] | [INFO] [stdout] 976 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1040 | ParserImplParseMath!(parse_xor, Xor); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:994:28 [INFO] [stdout] | [INFO] [stdout] 994 | if let TokenType::Var(var) = &self.current_token()?.typ { [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] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [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] 1040 | ParserImplParseMath!(parse_xor, Xor); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1008:25 [INFO] [stdout] | [INFO] [stdout] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1040 | ParserImplParseMath!(parse_xor, Xor); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1019:25 [INFO] [stdout] | [INFO] [stdout] 1019 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1040 | ParserImplParseMath!(parse_xor, Xor); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:974:28 [INFO] [stdout] | [INFO] [stdout] 974 | if let TokenType::Int(int) = &self.current_token()?.typ { [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] 1041 | ParserImplParseMath!(parse_or, Or ); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:976:25 [INFO] [stdout] | [INFO] [stdout] 976 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1041 | ParserImplParseMath!(parse_or, Or ); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:994:28 [INFO] [stdout] | [INFO] [stdout] 994 | if let TokenType::Var(var) = &self.current_token()?.typ { [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] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [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] 1041 | ParserImplParseMath!(parse_or, Or ); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1008:25 [INFO] [stdout] | [INFO] [stdout] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1041 | ParserImplParseMath!(parse_or, Or ); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1019:25 [INFO] [stdout] | [INFO] [stdout] 1019 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1041 | ParserImplParseMath!(parse_or, Or ); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:974:28 [INFO] [stdout] | [INFO] [stdout] 974 | if let TokenType::Int(int) = &self.current_token()?.typ { [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] 1042 | ParserImplParseMath!(parse_and, And); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:976:25 [INFO] [stdout] | [INFO] [stdout] 976 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1042 | ParserImplParseMath!(parse_and, And); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:994:28 [INFO] [stdout] | [INFO] [stdout] 994 | if let TokenType::Var(var) = &self.current_token()?.typ { [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] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [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] 1042 | ParserImplParseMath!(parse_and, And); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1008:25 [INFO] [stdout] | [INFO] [stdout] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1042 | ParserImplParseMath!(parse_and, And); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1019:25 [INFO] [stdout] | [INFO] [stdout] 1019 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1042 | ParserImplParseMath!(parse_and, And); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:974:28 [INFO] [stdout] | [INFO] [stdout] 974 | if let TokenType::Int(int) = &self.current_token()?.typ { [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] 1043 | ParserImplParseMath!(parse_mul, Mul); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:976:25 [INFO] [stdout] | [INFO] [stdout] 976 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1043 | ParserImplParseMath!(parse_mul, Mul); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:994:28 [INFO] [stdout] | [INFO] [stdout] 994 | if let TokenType::Var(var) = &self.current_token()?.typ { [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] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [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] 1043 | ParserImplParseMath!(parse_mul, Mul); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1008:25 [INFO] [stdout] | [INFO] [stdout] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1043 | ParserImplParseMath!(parse_mul, Mul); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1019:25 [INFO] [stdout] | [INFO] [stdout] 1019 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1043 | ParserImplParseMath!(parse_mul, Mul); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:974:28 [INFO] [stdout] | [INFO] [stdout] 974 | if let TokenType::Int(int) = &self.current_token()?.typ { [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] 1044 | ParserImplParseMath!(parse_div, Div); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:976:25 [INFO] [stdout] | [INFO] [stdout] 976 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1044 | ParserImplParseMath!(parse_div, Div); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:994:28 [INFO] [stdout] | [INFO] [stdout] 994 | if let TokenType::Var(var) = &self.current_token()?.typ { [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] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [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] 1044 | ParserImplParseMath!(parse_div, Div); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1008:25 [INFO] [stdout] | [INFO] [stdout] 1008 | } else if let TokenType::Int(op) = &self.current_token()?.typ { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1044 | ParserImplParseMath!(parse_div, Div); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/IR/parser/parser.rs:1019:25 [INFO] [stdout] | [INFO] [stdout] 1019 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1044 | ParserImplParseMath!(parse_div, Div); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ParserImplParseMath` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/IR/parser/semnatic.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 313 | if let Some((ty, _, _)) = self.func_sigs.get(&node.inner1.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] --> src/IR/parser/semnatic.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | } 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] 313 ~ match self.func_sigs.get(&node.inner1.name) { Some((ty, _, _)) => { [INFO] [stdout] 314 | sig = ty.to_owned(); [INFO] [stdout] 315 ~ } _ => { [INFO] [stdout] 316 | Err(IrError::Unkown { [INFO] [stdout] ... [INFO] [stdout] 320 | })? [INFO] [stdout] 321 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Support/tokmngr.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | while let Some((tok, line, cols)) = (self.callback)(srcMngr)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Support/tokmngr.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 88 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tools/simplelang/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/x64_instruction_encoding.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `simplelang` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tools/simplelang/macros.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] --> tools/simplelang/macros.rs:3:6 [INFO] [stderr] | [INFO] [stderr] 3 | ($tok:expr_2021,$pat:pat,$fail: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] --> tools/simplelang/macros.rs:3:30 [INFO] [stderr] | [INFO] [stderr] 3 | ($tok:expr_2021,$pat:pat,$fail: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] --> tools/simplelang/macros.rs:15:6 [INFO] [stderr] | [INFO] [stderr] 15 | ($err_var:expr_2021, $($arg:tt)+) => { [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] --> tools/simplelang/main.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | code.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] = 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] --> tools/simplelang/codegen.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn gen(&mut self) { [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] --> tools/simplelang/macros.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | ($tok:expr,$pat:pat,$fail: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] 3 | ($tok:expr_2021,$pat:pat,$fail:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tools/simplelang/macros.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | ($tok:expr,$pat:pat,$fail: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] 3 | ($tok:expr,$pat:pat,$fail: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] --> tools/simplelang/macros.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | ($err_var:expr, $($arg:tt)+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 15 | ($err_var:expr_2021, $($arg:tt)+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i64, lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i64, lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/parser.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | if let Some(stmt) = self.parse_stmt() { [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] --> tools/simplelang/parser.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | } 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] 30 ~ match self.parse_stmt() { Some(stmt) => { [INFO] [stdout] 31 | self.out.push(stmt); [INFO] [stdout] 32 ~ } _ => { [INFO] [stdout] 33 | break; [INFO] [stdout] 34 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/parser.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | if let Some(expr) = self.parse_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] --> tools/simplelang/parser.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | } 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] 232 ~ match self.parse_expr() { Some(expr) => { [INFO] [stdout] 233 | Some(Statement::Expr(expr)) [INFO] [stdout] 234 ~ } _ => { [INFO] [stdout] 235 | err!(self.error, "unexpected ident {:?}", self.tokens.front()); [INFO] [stdout] 236 | None [INFO] [stdout] 237 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/parser.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | if let Some(expr) = self.parse_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] --> tools/simplelang/parser.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | } else if let Some(var) = self.parse_var() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 245 ~ match self.parse_expr() { Some(expr) => { [INFO] [stdout] 246 | to_return = Some(expr); [INFO] [stdout] 247 ~ } _ => if let Some(var) = self.parse_var() { [INFO] [stdout] 248 | to_return = Some(Expr::Var(var)); [INFO] [stdout] 249 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/parser.rs:277:35 [INFO] [stdout] | [INFO] [stdout] 277 | let box_left = if let Some(kleft) = left { [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] --> tools/simplelang/parser.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 box_left = match left { Some(kleft) => { [INFO] [stdout] 278 | Some(Box::from(kleft)) [INFO] [stdout] 279 ~ } _ => { [INFO] [stdout] 280 | err!(self.error, "expected left side expression before +, -, * or / found nothing"); [INFO] [stdout] 281 | return None; [INFO] [stdout] 282 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/parser.rs:284:36 [INFO] [stdout] | [INFO] [stdout] 284 | let box_right = if let Some(kright) = right { [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] --> tools/simplelang/parser.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | } 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] 284 ~ let box_right = match right { Some(kright) => { [INFO] [stdout] 285 | Some(Box::from(kright)) [INFO] [stdout] 286 ~ } _ => { [INFO] [stdout] 287 | err!(self.error, "expected right side expression after +, -, * or / found nothing"); [INFO] [stdout] 288 | return None; [INFO] [stdout] 289 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/parser.rs:315:35 [INFO] [stdout] | [INFO] [stdout] 315 | let box_left = if let Some(kleft) = left { [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] --> tools/simplelang/parser.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | } else { 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] 315 ~ let box_left = match left { Some(kleft) => { [INFO] [stdout] 316 | Some(Box::from(kleft)) [INFO] [stdout] 317 ~ } _ => { None }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/parser.rs:319:36 [INFO] [stdout] | [INFO] [stdout] 319 | let box_right = if let Some(kright) = right { [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] --> tools/simplelang/parser.rs:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | } else { 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] 319 ~ let box_right = match right { Some(kright) => { [INFO] [stdout] 320 | Some(Box::from(kright)) [INFO] [stdout] 321 ~ } _ => { None }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/parser.rs:360:28 [INFO] [stdout] | [INFO] [stdout] 360 | if let Some(assign) = self.parse_assign() { [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] --> tools/simplelang/parser.rs:363:25 [INFO] [stdout] | [INFO] [stdout] 363 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 360 ~ match self.parse_assign() { Some(assign) => { [INFO] [stdout] 361 | out = Some(assign); [INFO] [stdout] 362 | pop = false; [INFO] [stdout] 363 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/parser.rs:366:28 [INFO] [stdout] | [INFO] [stdout] 366 | if let Some(call) = self.parse_call() { [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] --> tools/simplelang/parser.rs:369:25 [INFO] [stdout] | [INFO] [stdout] 369 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 366 ~ match self.parse_call() { Some(call) => { [INFO] [stdout] 367 | out = Some(call); [INFO] [stdout] 368 | pop = false; [INFO] [stdout] 369 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/parser.rs:465:22 [INFO] [stdout] | [INFO] [stdout] 465 | let rhs = if let Some(expr) = self.parse_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] --> tools/simplelang/parser.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | } 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] 465 ~ let rhs = match self.parse_expr() { Some(expr) => { [INFO] [stdout] 466 | expr [INFO] [stdout] 467 ~ } _ => { [INFO] [stdout] 468 | err!(self.error, "expected right expression after var"); [INFO] [stdout] 469 | return None; [INFO] [stdout] 470 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/semnatic.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | if let Statement::Fn(func) = stmt { [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] --> tools/simplelang/semnatic.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | } 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] 33 ~ match stmt { Statement::Fn(func) => { [INFO] [stdout] 34 | self.add_func(&func); [INFO] [stdout] 35 ~ } _ => { [INFO] [stdout] 36 | err!(self.error, "expected function statement found {:?}", stmt); [INFO] [stdout] 37 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/semnatic.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | while let Some(stmt) = self.stmts.pop_front() { [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] --> tools/simplelang/semnatic.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/semnatic.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | if let Statement::Fn(func) = stmt { [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] --> tools/simplelang/semnatic.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | } 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] 41 ~ match stmt { Statement::Fn(func) => { [INFO] [stdout] 42 | self.analyze_func(&func); [INFO] [stdout] 43 ~ } _ => { [INFO] [stdout] 44 | err!(self.error, "expected function statement found {:?}", stmt); [INFO] [stdout] 45 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/semnatic.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | if let Some(expr) = &ret.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] --> tools/simplelang/semnatic.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | } 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] 156 ~ match &ret.var { Some(expr) => { [INFO] [stdout] 157 | self.analyze_expr(&expr, vars); [INFO] [stdout] 158 ~ } _ => { [INFO] [stdout] 159 | //err!(self.error, "expected return value"); [INFO] [stdout] 160 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/semnatic.rs:166:23 [INFO] [stdout] | [INFO] [stdout] 166 | let left = if let Some(left) = &bin.1 { [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] --> tools/simplelang/semnatic.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 166 ~ let left = match &bin.1 { Some(left) => { [INFO] [stdout] 167 | left.clone() [INFO] [stdout] 168 ~ } _ => { [INFO] [stdout] 169 | err!(self.error, "expected lhs found nothing"); [INFO] [stdout] 170 | return; [INFO] [stdout] 171 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/semnatic.rs:173:24 [INFO] [stdout] | [INFO] [stdout] 173 | let right = if let Some(right) = &bin.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] --> tools/simplelang/semnatic.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | } 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] 173 ~ let right = match &bin.2 { Some(right) => { [INFO] [stdout] 174 | right.clone() [INFO] [stdout] 175 ~ } _ => { [INFO] [stdout] 176 | err!(self.error, "expected rhs found nothing"); [INFO] [stdout] 177 | return; [INFO] [stdout] 178 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/codegen.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | while let Some(stmt) = self.input.pop_front() { [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] --> tools/simplelang/codegen.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/codegen.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | if let Statement::Fn(func) = stmt { [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] --> tools/simplelang/codegen.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 30 ~ match stmt { Statement::Fn(func) => { [INFO] [stdout] 31 | self.gen_func(&func); [INFO] [stdout] 32 ~ } _ => { unreachable!() }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/codegen.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | let ret = if let Some(ret) = &ret.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] --> tools/simplelang/codegen.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | } 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] 115 ~ let ret = match &ret.var { Some(ret) => { [INFO] [stdout] 116 | ret [INFO] [stdout] 117 ~ } _ => { [INFO] [stdout] 118 | builder.BuildRet(Type::Void); [INFO] [stdout] 119 | return; [INFO] [stdout] 120 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/debug_metadata.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/helloworld.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tools/ygen-mc/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/obj.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/simple.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tools/ylc/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tools/ylc/main.rs (7 fixes) [INFO] [stderr] Migrating tools/ytest/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `simplelang` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tools/simplelang/macros.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] --> tools/simplelang/macros.rs:3:6 [INFO] [stderr] | [INFO] [stderr] 3 | ($tok:expr_2021,$pat:pat,$fail: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] --> tools/simplelang/macros.rs:3:30 [INFO] [stderr] | [INFO] [stderr] 3 | ($tok:expr_2021,$pat:pat,$fail: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] --> tools/simplelang/macros.rs:15:6 [INFO] [stderr] | [INFO] [stderr] 15 | ($err_var:expr_2021, $($arg:tt)+) => { [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] --> tools/simplelang/main.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | code.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] = 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] --> tools/simplelang/codegen.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn gen(&mut self) { [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] --> tools/simplelang/macros.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | ($tok:expr,$pat:pat,$fail: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] 3 | ($tok:expr_2021,$pat:pat,$fail:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tools/simplelang/macros.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | ($tok:expr,$pat:pat,$fail: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] 3 | ($tok:expr,$pat:pat,$fail: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] --> tools/simplelang/macros.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | ($err_var:expr, $($arg:tt)+) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 15 | ($err_var:expr_2021, $($arg:tt)+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i64, lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i64, lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, lexer::Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [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] --> tools/simplelang/lexer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Logos, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/parser.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | if let Some(stmt) = self.parse_stmt() { [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] --> tools/simplelang/parser.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | } 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] 30 ~ match self.parse_stmt() { Some(stmt) => { [INFO] [stdout] 31 | self.out.push(stmt); [INFO] [stdout] 32 ~ } _ => { [INFO] [stdout] 33 | break; [INFO] [stdout] 34 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/parser.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | if let Some(expr) = self.parse_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] --> tools/simplelang/parser.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | } 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] 232 ~ match self.parse_expr() { Some(expr) => { [INFO] [stdout] 233 | Some(Statement::Expr(expr)) [INFO] [stdout] 234 ~ } _ => { [INFO] [stdout] 235 | err!(self.error, "unexpected ident {:?}", self.tokens.front()); [INFO] [stdout] 236 | None [INFO] [stdout] 237 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/parser.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | if let Some(expr) = self.parse_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] --> tools/simplelang/parser.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | } else if let Some(var) = self.parse_var() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 245 ~ match self.parse_expr() { Some(expr) => { [INFO] [stdout] 246 | to_return = Some(expr); [INFO] [stdout] 247 ~ } _ => if let Some(var) = self.parse_var() { [INFO] [stdout] 248 | to_return = Some(Expr::Var(var)); [INFO] [stdout] 249 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/parser.rs:277:35 [INFO] [stdout] | [INFO] [stdout] 277 | let box_left = if let Some(kleft) = left { [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] --> tools/simplelang/parser.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 box_left = match left { Some(kleft) => { [INFO] [stdout] 278 | Some(Box::from(kleft)) [INFO] [stdout] 279 ~ } _ => { [INFO] [stdout] 280 | err!(self.error, "expected left side expression before +, -, * or / found nothing"); [INFO] [stdout] 281 | return None; [INFO] [stdout] 282 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/parser.rs:284:36 [INFO] [stdout] | [INFO] [stdout] 284 | let box_right = if let Some(kright) = right { [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] --> tools/simplelang/parser.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | } 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] 284 ~ let box_right = match right { Some(kright) => { [INFO] [stdout] 285 | Some(Box::from(kright)) [INFO] [stdout] 286 ~ } _ => { [INFO] [stdout] 287 | err!(self.error, "expected right side expression after +, -, * or / found nothing"); [INFO] [stdout] 288 | return None; [INFO] [stdout] 289 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/parser.rs:315:35 [INFO] [stdout] | [INFO] [stdout] 315 | let box_left = if let Some(kleft) = left { [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] --> tools/simplelang/parser.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | } else { 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] 315 ~ let box_left = match left { Some(kleft) => { [INFO] [stdout] 316 | Some(Box::from(kleft)) [INFO] [stdout] 317 ~ } _ => { None }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/parser.rs:319:36 [INFO] [stdout] | [INFO] [stdout] 319 | let box_right = if let Some(kright) = right { [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] --> tools/simplelang/parser.rs:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | } else { 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] 319 ~ let box_right = match right { Some(kright) => { [INFO] [stdout] 320 | Some(Box::from(kright)) [INFO] [stdout] 321 ~ } _ => { None }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/parser.rs:360:28 [INFO] [stdout] | [INFO] [stdout] 360 | if let Some(assign) = self.parse_assign() { [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] --> tools/simplelang/parser.rs:363:25 [INFO] [stdout] | [INFO] [stdout] 363 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 360 ~ match self.parse_assign() { Some(assign) => { [INFO] [stdout] 361 | out = Some(assign); [INFO] [stdout] 362 | pop = false; [INFO] [stdout] 363 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/parser.rs:366:28 [INFO] [stdout] | [INFO] [stdout] 366 | if let Some(call) = self.parse_call() { [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] --> tools/simplelang/parser.rs:369:25 [INFO] [stdout] | [INFO] [stdout] 369 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 366 ~ match self.parse_call() { Some(call) => { [INFO] [stdout] 367 | out = Some(call); [INFO] [stdout] 368 | pop = false; [INFO] [stdout] 369 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/parser.rs:465:22 [INFO] [stdout] | [INFO] [stdout] 465 | let rhs = if let Some(expr) = self.parse_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] --> tools/simplelang/parser.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | } 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] 465 ~ let rhs = match self.parse_expr() { Some(expr) => { [INFO] [stdout] 466 | expr [INFO] [stdout] 467 ~ } _ => { [INFO] [stdout] 468 | err!(self.error, "expected right expression after var"); [INFO] [stdout] 469 | return None; [INFO] [stdout] 470 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/semnatic.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | if let Statement::Fn(func) = stmt { [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] --> tools/simplelang/semnatic.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | } 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] 33 ~ match stmt { Statement::Fn(func) => { [INFO] [stdout] 34 | self.add_func(&func); [INFO] [stdout] 35 ~ } _ => { [INFO] [stdout] 36 | err!(self.error, "expected function statement found {:?}", stmt); [INFO] [stdout] 37 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/semnatic.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | while let Some(stmt) = self.stmts.pop_front() { [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] --> tools/simplelang/semnatic.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/semnatic.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | if let Statement::Fn(func) = stmt { [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] --> tools/simplelang/semnatic.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | } 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] 41 ~ match stmt { Statement::Fn(func) => { [INFO] [stdout] 42 | self.analyze_func(&func); [INFO] [stdout] 43 ~ } _ => { [INFO] [stdout] 44 | err!(self.error, "expected function statement found {:?}", stmt); [INFO] [stdout] 45 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/semnatic.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | if let Some(expr) = &ret.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] --> tools/simplelang/semnatic.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | } 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] 156 ~ match &ret.var { Some(expr) => { [INFO] [stdout] 157 | self.analyze_expr(&expr, vars); [INFO] [stdout] 158 ~ } _ => { [INFO] [stdout] 159 | //err!(self.error, "expected return value"); [INFO] [stdout] 160 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/semnatic.rs:166:23 [INFO] [stdout] | [INFO] [stdout] 166 | let left = if let Some(left) = &bin.1 { [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] --> tools/simplelang/semnatic.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 166 ~ let left = match &bin.1 { Some(left) => { [INFO] [stdout] 167 | left.clone() [INFO] [stdout] 168 ~ } _ => { [INFO] [stdout] 169 | err!(self.error, "expected lhs found nothing"); [INFO] [stdout] 170 | return; [INFO] [stdout] 171 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/semnatic.rs:173:24 [INFO] [stdout] | [INFO] [stdout] 173 | let right = if let Some(right) = &bin.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] --> tools/simplelang/semnatic.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | } 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] 173 ~ let right = match &bin.2 { Some(right) => { [INFO] [stdout] 174 | right.clone() [INFO] [stdout] 175 ~ } _ => { [INFO] [stdout] 176 | err!(self.error, "expected rhs found nothing"); [INFO] [stdout] 177 | return; [INFO] [stdout] 178 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/codegen.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | while let Some(stmt) = self.input.pop_front() { [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] --> tools/simplelang/codegen.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/codegen.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | if let Statement::Fn(func) = stmt { [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] --> tools/simplelang/codegen.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | } else { unreachable!() } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 30 ~ match stmt { Statement::Fn(func) => { [INFO] [stdout] 31 | self.gen_func(&func); [INFO] [stdout] 32 ~ } _ => { unreachable!() }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tools/simplelang/codegen.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | let ret = if let Some(ret) = &ret.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] --> tools/simplelang/codegen.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | } 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] 115 ~ let ret = match &ret.var { Some(ret) => { [INFO] [stdout] 116 | ret [INFO] [stdout] 117 ~ } _ => { [INFO] [stdout] 118 | builder.BuildRet(Type::Void); [INFO] [stdout] 119 | return; [INFO] [stdout] 120 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.26s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ygen v0.1.1 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/IR/parser/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub mod 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] 22 | pub mod r#gen; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/IR/parser/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub mod 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] 22 | pub mod r#gen; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/IR/parser/mod.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | let mut gen = gen::IrGen::new(parser.out); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 339 | let mut r#gen = gen::IrGen::new(parser.out); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/IR/parser/mod.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | let mut gen = gen::IrGen::new(parser.out); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 339 | let mut r#gen = gen::IrGen::new(parser.out); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/IR/parser/mod.rs:339:23 [INFO] [stdout] | [INFO] [stdout] 339 | let mut gen = gen::IrGen::new(parser.out); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/IR/parser/mod.rs:339:23 [INFO] [stdout] | [INFO] [stdout] 339 | let mut gen = gen::IrGen::new(parser.out); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/IR/parser/gen.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn gen(&mut self) { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 66 | pub fn r#gen(&mut self) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/IR/parser/gen.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn gen(&mut self) { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 66 | pub fn r#gen(&mut self) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ygen` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ygen` (lib) due to 5 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" "cc6632ee6e8aa2f32fb65f346d51d557b726e298f0eafdda3d7992b6f3c859ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc6632ee6e8aa2f32fb65f346d51d557b726e298f0eafdda3d7992b6f3c859ed", kill_on_drop: false }` [INFO] [stdout] cc6632ee6e8aa2f32fb65f346d51d557b726e298f0eafdda3d7992b6f3c859ed