[INFO] cloning repository https://github.com/The-Minecraft-Scientist/desparse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/The-Minecraft-Scientist/desparse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThe-Minecraft-Scientist%2Fdesparse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThe-Minecraft-Scientist%2Fdesparse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 342891c6eeadaf64b64f9b459484bac219192623 [INFO] checking The-Minecraft-Scientist/desparse/342891c6eeadaf64b64f9b459484bac219192623 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThe-Minecraft-Scientist%2Fdesparse" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/The-Minecraft-Scientist/desparse on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/The-Minecraft-Scientist/desparse [INFO] finished tweaking git repo https://github.com/The-Minecraft-Scientist/desparse [INFO] tweaked toml for git repo https://github.com/The-Minecraft-Scientist/desparse written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/The-Minecraft-Scientist/desparse 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e3a467153da87949d2f81568804e307e1e70f87387ed46fd992c195cfb76a0e [INFO] running `Command { std: "docker" "start" "-a" "5e3a467153da87949d2f81568804e307e1e70f87387ed46fd992c195cfb76a0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e3a467153da87949d2f81568804e307e1e70f87387ed46fd992c195cfb76a0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e3a467153da87949d2f81568804e307e1e70f87387ed46fd992c195cfb76a0e", kill_on_drop: false }` [INFO] [stdout] 5e3a467153da87949d2f81568804e307e1e70f87387ed46fd992c195cfb76a0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a0756a9324721f00cb95ca0b605f246b851362e53ed72d4d42a64b3b7a1fe1d [INFO] running `Command { std: "docker" "start" "-a" "9a0756a9324721f00cb95ca0b605f246b851362e53ed72d4d42a64b3b7a1fe1d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.55 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.156 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking compact_str v0.8.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking debug_tree v0.4.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking thin-vec v0.2.13 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling shrinkwraprs v0.3.0 [INFO] [stderr] Compiling logos-codegen v0.14.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.55 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling logos-derive v0.14.0 [INFO] [stderr] Checking logos v0.14.0 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking desmoxide v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `desmoxide` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/graph/expressions.rs [INFO] [stderr] * src/lang/ast.rs [INFO] [stderr] * src/lang/lexer.rs [INFO] [stderr] * src/lang/parser.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/lang/lexer.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(logos::Logos + use<'s>, Debug, PartialEq, Clone, Copy)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lang::lexer::Token` [INFO] [stderr] --> src/graph/expressions.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | lexer::Token, [INFO] [stderr] | ^^^^^^^^^^^^ no `Token` in `lang::lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lang::lexer::Token` [INFO] [stderr] --> src/lang/ast.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | use crate::lang::lexer::Token; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Token` in `lang::lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lang::lexer::Token` [INFO] [stderr] --> src/lang/ast.rs:54:29 [INFO] [stderr] | [INFO] [stderr] 54 | use crate::lang::lexer::Token::*; [INFO] [stderr] | ^^^^^ could not find `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::Token` [INFO] [stderr] --> src/lang/lexer.rs:159:9 [INFO] [stderr] | [INFO] [stderr] 159 | use super::Token; [INFO] [stderr] | ^^^^^^^^^^^^ no `Token` in `lang::lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::Token` [INFO] [stderr] --> src/lang/lexer.rs:160:16 [INFO] [stderr] | [INFO] [stderr] 160 | use super::Token::*; [INFO] [stderr] | ^^^^^ could not find `Token` in `super` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::lexer::Token` [INFO] [stderr] --> src/lang/parser.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | lexer::Token, [INFO] [stderr] | ^^^^^^^^^^^^ no `Token` in `lang::lexer` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/ast.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | ($bname:expr, $bctx:expr,$($child: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] 273 | ($bname:expr_2021, $bctx:expr,$($child:expr),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/ast.rs:273:33 [INFO] [stdout] | [INFO] [stdout] 273 | ($bname:expr, $bctx:expr,$($child: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] 273 | ($bname:expr, $bctx:expr_2021,$($child:expr),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/ast.rs:273:47 [INFO] [stdout] | [INFO] [stdout] 273 | ($bname:expr, $bctx:expr,$($child: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] 273 | ($bname:expr, $bctx:expr,$($child: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/lang/ast.rs:282:21 [INFO] [stdout] | [INFO] [stdout] 282 | ($bname:expr, $bctx:expr,$children: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] 282 | ($bname:expr_2021, $bctx:expr,$children:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/ast.rs:282:33 [INFO] [stdout] | [INFO] [stdout] 282 | ($bname:expr, $bctx:expr,$children: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] 282 | ($bname:expr, $bctx:expr_2021,$children:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/ast.rs:282:48 [INFO] [stdout] | [INFO] [stdout] 282 | ($bname:expr, $bctx:expr,$children: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] 282 | ($bname:expr, $bctx:expr,$children: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/lang/compiler/ir.rs:392:21 [INFO] [stdout] | [INFO] [stdout] 392 | ($bname:expr, $bctx:expr,$($child: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] 392 | ($bname:expr_2021, $bctx:expr,$($child:expr),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/compiler/ir.rs:392:33 [INFO] [stdout] | [INFO] [stdout] 392 | ($bname:expr, $bctx:expr,$($child: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] 392 | ($bname:expr, $bctx:expr_2021,$($child:expr),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/compiler/ir.rs:392:47 [INFO] [stdout] | [INFO] [stdout] 392 | ($bname:expr, $bctx:expr,$($child: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] 392 | ($bname:expr, $bctx:expr,$($child: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/lang/compiler/ir.rs:399:21 [INFO] [stdout] | [INFO] [stdout] 399 | ($bname:expr, $bctx: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] 399 | ($bname:expr_2021, $bctx:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/compiler/ir.rs:399:33 [INFO] [stdout] | [INFO] [stdout] 399 | ($bname:expr, $bctx: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] 399 | ($bname:expr, $bctx: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/lang/compiler/ir.rs:404:21 [INFO] [stdout] | [INFO] [stdout] 404 | ($bname:expr, $bctx:expr,$children: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] 404 | ($bname:expr_2021, $bctx:expr,$children:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/compiler/ir.rs:404:33 [INFO] [stdout] | [INFO] [stdout] 404 | ($bname:expr, $bctx:expr,$children: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] 404 | ($bname:expr, $bctx:expr_2021,$children:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/compiler/ir.rs:404:48 [INFO] [stdout] | [INFO] [stdout] 404 | ($bname:expr, $bctx:expr,$children: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] 404 | ($bname:expr, $bctx:expr,$children: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/util/macros.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | ($s:expr, $t: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 | ($s:expr_2021, $t:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util/macros.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | ($s:expr, $t: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 | ($s:expr, $t: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/util/macros.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | ($s:expr, $t:expr, $msg: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] 6 | ($s:expr_2021, $t:expr, $msg:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util/macros.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | ($s:expr, $t:expr, $msg: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] 6 | ($s:expr, $t:expr_2021, $msg:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util/macros.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | ($s:expr, $t:expr, $msg: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] 6 | ($s:expr, $t:expr, $msg: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/util/macros.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | ($l:expr, $e:pat) => {{ [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] 12 | ($l:expr_2021, $e:pat) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util/macros.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | ($nid:expr, $($msg: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] 27 | ($nid:expr_2021, $($msg:tt)+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/lang/parser.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | (Opcode::Parens, ASTNode::Val(Value::Ident(ref s))) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lang/compiler/frontend.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | if let ExpressionMeta::Fn { [INFO] [stdout] | _____________^ [INFO] [stdout] 104 | | name, [INFO] [stdout] 105 | | params: args, [INFO] [stdout] 106 | | rhs: expr, [INFO] [stdout] 107 | | } = self [INFO] [stdout] | | _____________- [INFO] [stdout] 108 | || .exprs [INFO] [stdout] 109 | || .get(&id) [INFO] [stdout] 110 | || .context("getting function expression AST")? [INFO] [stdout] | ||________________________________________________________^ [INFO] [stdout] | |________________________________________________________| [INFO] [stdout] | 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/lang/compiler/frontend.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | } 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] 103 ~ match self [INFO] [stdout] 104 | .exprs [INFO] [stdout] 105 | .get(&id) [INFO] [stdout] 106 | .context("getting function expression AST")? [INFO] [stdout] 107 ~ { ExpressionMeta::Fn { [INFO] [stdout] 108 + name, [INFO] [stdout] 109 + params: args, [INFO] [stdout] 110 + rhs: expr, [INFO] [stdout] 111 ~ } => { [INFO] [stdout] 112 | let a = Arc::new(self.compile_fn(k.1.clone(), args, expr)?); [INFO] [stdout] 113 | self.fn_cache.insert((*id, k.1), Arc::clone(&a)); [INFO] [stdout] 114 | Ok(a) [INFO] [stdout] 115 ~ } _ => { [INFO] [stdout] 116 | bail!("expected function at id: {:?}", id) [INFO] [stdout] 117 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lang/compiler/frontend.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | if let ExpressionMeta::Fn { [INFO] [stdout] | _____________^ [INFO] [stdout] 121 | | name, [INFO] [stdout] 122 | | params: args, [INFO] [stdout] 123 | | rhs: expr, [INFO] [stdout] 124 | | } = self [INFO] [stdout] | | _____________- [INFO] [stdout] 125 | || .exprs [INFO] [stdout] 126 | || .get( [INFO] [stdout] 127 | || self.idents [INFO] [stdout] ... || [INFO] [stdout] 130 | || ) [INFO] [stdout] 131 | || .context("getting function expression AST")? [INFO] [stdout] | ||________________________________________________________^ [INFO] [stdout] | |________________________________________________________| [INFO] [stdout] | 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/lang/compiler/frontend.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | } 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] 120 ~ match self [INFO] [stdout] 121 | .exprs [INFO] [stdout] ... [INFO] [stdout] 127 | .context("getting function expression AST")? [INFO] [stdout] 128 ~ { ExpressionMeta::Fn { [INFO] [stdout] 129 + name, [INFO] [stdout] 130 + params: args, [INFO] [stdout] 131 + rhs: expr, [INFO] [stdout] 132 ~ } => { [INFO] [stdout] 133 | let v = vec![IRType::Number; args.len()]; [INFO] [stdout] 134 | [INFO] [stdout] 135 | self.compile_fn(v, args, expr) [INFO] [stdout] 136 ~ } _ => { [INFO] [stdout] 137 | bail!("expected function at id: {:?}", i) [INFO] [stdout] 138 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lang/compiler/frontend.rs:155:28 [INFO] [stdout] | [INFO] [stdout] 155 | if let ExpressionMeta::Var { rhs: expr, .. } = self [INFO] [stdout] | ____________________________^ - [INFO] [stdout] | |________________________________________________________________________| [INFO] [stdout] 156 | || .exprs [INFO] [stdout] 157 | || .get(self.idents.get(s).context("getting ident id")?) [INFO] [stdout] 158 | || .context("getting function expression AST")? [INFO] [stdout] | ||________________________________________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |________________________________________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lang/compiler/frontend.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 164 | } 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] 155 ~ match self [INFO] [stdout] 156 | .exprs [INFO] [stdout] 157 | .get(self.idents.get(s).context("getting ident id")?) [INFO] [stdout] 158 | .context("getting function expression AST")? [INFO] [stdout] 159 ~ { ExpressionMeta::Var { rhs: expr, .. } => { [INFO] [stdout] 160 | let out = [INFO] [stdout] ... [INFO] [stdout] 163 | out [INFO] [stdout] 164 ~ } _ => { [INFO] [stdout] 165 | bail!("expected var at id: {:?}", s) [INFO] [stdout] 166 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i64, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lang/lexer.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(logos::Logos, Debug, PartialEq, Clone, Copy)] [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/lang/lexer.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(logos::Logos, Debug, PartialEq, Clone, Copy)] [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::Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(logos::Logos + use<'s>, Debug, PartialEq, Clone, Copy)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i64, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lang/lexer.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(logos::Logos, Debug, PartialEq, Clone, Copy)] [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/lang/lexer.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(logos::Logos, Debug, PartialEq, Clone, Copy)] [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::Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(logos::Logos + use<'s>, Debug, PartialEq, Clone, Copy)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, f64, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lang/lexer.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(logos::Logos, Debug, PartialEq, Clone, Copy)] [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/lang/lexer.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(logos::Logos, Debug, PartialEq, Clone, Copy)] [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::Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(logos::Logos + use<'s>, Debug, PartialEq, Clone, Copy)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `desmoxide` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/graph/expressions.rs [INFO] [stderr] * src/lang/ast.rs [INFO] [stderr] * src/lang/lexer.rs [INFO] [stderr] * src/lang/parser.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/lang/lexer.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(logos::Logos + use<'s>, Debug, PartialEq, Clone, Copy)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lang::lexer::Token` [INFO] [stderr] --> src/graph/expressions.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | lexer::Token, [INFO] [stderr] | ^^^^^^^^^^^^ no `Token` in `lang::lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lang::lexer::Token` [INFO] [stderr] --> src/lang/ast.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | use crate::lang::lexer::Token; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Token` in `lang::lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lang::lexer::Token` [INFO] [stderr] --> src/lang/ast.rs:54:29 [INFO] [stderr] | [INFO] [stderr] 54 | use crate::lang::lexer::Token::*; [INFO] [stderr] | ^^^^^ could not find `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::Token` [INFO] [stderr] --> src/lang/lexer.rs:159:9 [INFO] [stderr] | [INFO] [stderr] 159 | use super::Token; [INFO] [stderr] | ^^^^^^^^^^^^ no `Token` in `lang::lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::Token` [INFO] [stderr] --> src/lang/lexer.rs:160:16 [INFO] [stderr] | [INFO] [stderr] 160 | use super::Token::*; [INFO] [stderr] | ^^^^^ could not find `Token` in `super` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::lexer::Token` [INFO] [stderr] --> src/lang/parser.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | lexer::Token, [INFO] [stderr] | ^^^^^^^^^^^^ no `Token` in `lang::lexer` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/ast.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | ($bname:expr, $bctx:expr,$($child: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] 273 | ($bname:expr_2021, $bctx:expr,$($child:expr),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/ast.rs:273:33 [INFO] [stdout] | [INFO] [stdout] 273 | ($bname:expr, $bctx:expr,$($child: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] 273 | ($bname:expr, $bctx:expr_2021,$($child:expr),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/ast.rs:273:47 [INFO] [stdout] | [INFO] [stdout] 273 | ($bname:expr, $bctx:expr,$($child: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] 273 | ($bname:expr, $bctx:expr,$($child: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/lang/ast.rs:282:21 [INFO] [stdout] | [INFO] [stdout] 282 | ($bname:expr, $bctx:expr,$children: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] 282 | ($bname:expr_2021, $bctx:expr,$children:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/ast.rs:282:33 [INFO] [stdout] | [INFO] [stdout] 282 | ($bname:expr, $bctx:expr,$children: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] 282 | ($bname:expr, $bctx:expr_2021,$children:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/ast.rs:282:48 [INFO] [stdout] | [INFO] [stdout] 282 | ($bname:expr, $bctx:expr,$children: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] 282 | ($bname:expr, $bctx:expr,$children: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/lang/compiler/backends/interpreter.rs:325:38 [INFO] [stdout] | [INFO] [stdout] 325 | ($($name:ident: {ir: $ir:expr, args: $args:expr, expected: $expected:expr, ret: $ret: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] 325 | ($($name:ident: {ir: $ir:expr_2021, args: $args:expr, expected: $expected:expr, ret: $ret:expr})*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/compiler/backends/interpreter.rs:325:56 [INFO] [stdout] | [INFO] [stdout] 325 | ($($name:ident: {ir: $ir:expr, args: $args:expr, expected: $expected:expr, ret: $ret: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] 325 | ($($name:ident: {ir: $ir:expr, args: $args:expr_2021, expected: $expected:expr, ret: $ret:expr})*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/compiler/backends/interpreter.rs:325:82 [INFO] [stdout] | [INFO] [stdout] 325 | ($($name:ident: {ir: $ir:expr, args: $args:expr, expected: $expected:expr, ret: $ret: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] 325 | ($($name:ident: {ir: $ir:expr, args: $args:expr, expected: $expected:expr_2021, ret: $ret:expr})*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/compiler/backends/interpreter.rs:325:98 [INFO] [stdout] | [INFO] [stdout] 325 | ($($name:ident: {ir: $ir:expr, args: $args:expr, expected: $expected:expr, ret: $ret: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] 325 | ($($name:ident: {ir: $ir:expr, args: $args:expr, expected: $expected:expr, ret: $ret: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/lang/compiler/ir.rs:392:21 [INFO] [stdout] | [INFO] [stdout] 392 | ($bname:expr, $bctx:expr,$($child: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] 392 | ($bname:expr_2021, $bctx:expr,$($child:expr),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/compiler/ir.rs:392:33 [INFO] [stdout] | [INFO] [stdout] 392 | ($bname:expr, $bctx:expr,$($child: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] 392 | ($bname:expr, $bctx:expr_2021,$($child:expr),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/compiler/ir.rs:392:47 [INFO] [stdout] | [INFO] [stdout] 392 | ($bname:expr, $bctx:expr,$($child: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] 392 | ($bname:expr, $bctx:expr,$($child: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/lang/compiler/ir.rs:399:21 [INFO] [stdout] | [INFO] [stdout] 399 | ($bname:expr, $bctx: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] 399 | ($bname:expr_2021, $bctx:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/compiler/ir.rs:399:33 [INFO] [stdout] | [INFO] [stdout] 399 | ($bname:expr, $bctx: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] 399 | ($bname:expr, $bctx: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/lang/compiler/ir.rs:404:21 [INFO] [stdout] | [INFO] [stdout] 404 | ($bname:expr, $bctx:expr,$children: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] 404 | ($bname:expr_2021, $bctx:expr,$children:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/compiler/ir.rs:404:33 [INFO] [stdout] | [INFO] [stdout] 404 | ($bname:expr, $bctx:expr,$children: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] 404 | ($bname:expr, $bctx:expr_2021,$children:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lang/compiler/ir.rs:404:48 [INFO] [stdout] | [INFO] [stdout] 404 | ($bname:expr, $bctx:expr,$children: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] 404 | ($bname:expr, $bctx:expr,$children: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/util/macros.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | ($s:expr, $t: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 | ($s:expr_2021, $t:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util/macros.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | ($s:expr, $t: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 | ($s:expr, $t: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/util/macros.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | ($s:expr, $t:expr, $msg: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] 6 | ($s:expr_2021, $t:expr, $msg:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util/macros.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | ($s:expr, $t:expr, $msg: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] 6 | ($s:expr, $t:expr_2021, $msg:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util/macros.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | ($s:expr, $t:expr, $msg: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] 6 | ($s:expr, $t:expr, $msg: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/util/macros.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | ($l:expr, $e:pat) => {{ [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] 12 | ($l:expr_2021, $e:pat) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/util/macros.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | ($nid:expr, $($msg: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] 27 | ($nid:expr_2021, $($msg:tt)+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/lang/parser.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | (Opcode::Parens, ASTNode::Val(Value::Ident(ref s))) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lang/compiler/frontend.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | if let ExpressionMeta::Fn { [INFO] [stdout] | _____________^ [INFO] [stdout] 104 | | name, [INFO] [stdout] 105 | | params: args, [INFO] [stdout] 106 | | rhs: expr, [INFO] [stdout] 107 | | } = self [INFO] [stdout] | | _____________- [INFO] [stdout] 108 | || .exprs [INFO] [stdout] 109 | || .get(&id) [INFO] [stdout] 110 | || .context("getting function expression AST")? [INFO] [stdout] | ||________________________________________________________^ [INFO] [stdout] | |________________________________________________________| [INFO] [stdout] | 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/lang/compiler/frontend.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | } 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] 103 ~ match self [INFO] [stdout] 104 | .exprs [INFO] [stdout] 105 | .get(&id) [INFO] [stdout] 106 | .context("getting function expression AST")? [INFO] [stdout] 107 ~ { ExpressionMeta::Fn { [INFO] [stdout] 108 + name, [INFO] [stdout] 109 + params: args, [INFO] [stdout] 110 + rhs: expr, [INFO] [stdout] 111 ~ } => { [INFO] [stdout] 112 | let a = Arc::new(self.compile_fn(k.1.clone(), args, expr)?); [INFO] [stdout] 113 | self.fn_cache.insert((*id, k.1), Arc::clone(&a)); [INFO] [stdout] 114 | Ok(a) [INFO] [stdout] 115 ~ } _ => { [INFO] [stdout] 116 | bail!("expected function at id: {:?}", id) [INFO] [stdout] 117 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lang/compiler/frontend.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | if let ExpressionMeta::Fn { [INFO] [stdout] | _____________^ [INFO] [stdout] 121 | | name, [INFO] [stdout] 122 | | params: args, [INFO] [stdout] 123 | | rhs: expr, [INFO] [stdout] 124 | | } = self [INFO] [stdout] | | _____________- [INFO] [stdout] 125 | || .exprs [INFO] [stdout] 126 | || .get( [INFO] [stdout] 127 | || self.idents [INFO] [stdout] ... || [INFO] [stdout] 130 | || ) [INFO] [stdout] 131 | || .context("getting function expression AST")? [INFO] [stdout] | ||________________________________________________________^ [INFO] [stdout] | |________________________________________________________| [INFO] [stdout] | 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/lang/compiler/frontend.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | } 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] 120 ~ match self [INFO] [stdout] 121 | .exprs [INFO] [stdout] ... [INFO] [stdout] 127 | .context("getting function expression AST")? [INFO] [stdout] 128 ~ { ExpressionMeta::Fn { [INFO] [stdout] 129 + name, [INFO] [stdout] 130 + params: args, [INFO] [stdout] 131 + rhs: expr, [INFO] [stdout] 132 ~ } => { [INFO] [stdout] 133 | let v = vec![IRType::Number; args.len()]; [INFO] [stdout] 134 | [INFO] [stdout] 135 | self.compile_fn(v, args, expr) [INFO] [stdout] 136 ~ } _ => { [INFO] [stdout] 137 | bail!("expected function at id: {:?}", i) [INFO] [stdout] 138 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lang/compiler/frontend.rs:155:28 [INFO] [stdout] | [INFO] [stdout] 155 | if let ExpressionMeta::Var { rhs: expr, .. } = self [INFO] [stdout] | ____________________________^ - [INFO] [stdout] | |________________________________________________________________________| [INFO] [stdout] 156 | || .exprs [INFO] [stdout] 157 | || .get(self.idents.get(s).context("getting ident id")?) [INFO] [stdout] 158 | || .context("getting function expression AST")? [INFO] [stdout] | ||________________________________________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |________________________________________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lang/compiler/frontend.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 164 | } 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] 155 ~ match self [INFO] [stdout] 156 | .exprs [INFO] [stdout] 157 | .get(self.idents.get(s).context("getting ident id")?) [INFO] [stdout] 158 | .context("getting function expression AST")? [INFO] [stdout] 159 ~ { ExpressionMeta::Var { rhs: expr, .. } => { [INFO] [stdout] 160 | let out = [INFO] [stdout] ... [INFO] [stdout] 163 | out [INFO] [stdout] 164 ~ } _ => { [INFO] [stdout] 165 | bail!("expected var at id: {:?}", s) [INFO] [stdout] 166 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i64, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lang/lexer.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(logos::Logos, Debug, PartialEq, Clone, Copy)] [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/lang/lexer.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(logos::Logos, Debug, PartialEq, Clone, Copy)] [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::Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(logos::Logos + use<'s>, Debug, PartialEq, Clone, Copy)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i64, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lang/lexer.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(logos::Logos, Debug, PartialEq, Clone, Copy)] [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/lang/lexer.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(logos::Logos, Debug, PartialEq, Clone, Copy)] [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::Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(logos::Logos + use<'s>, Debug, PartialEq, Clone, Copy)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, f64, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lang/lexer.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(logos::Logos, Debug, PartialEq, Clone, Copy)] [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/lang/lexer.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(logos::Logos, Debug, PartialEq, Clone, Copy)] [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::Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(logos::Logos + use<'s>, Debug, PartialEq, Clone, Copy)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating benches/simplex.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.16s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking desmoxide v0.1.0 (/tmp/fixit) [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/lang/parser.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | (Opcode::Parens, ASTNode::Val(Value::Ident(ref s))) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/lang/parser.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | (Opcode::Parens, ASTNode::Val(Value::Ident(ref s))) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `desmoxide` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `desmoxide` (lib) due to 1 previous error [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" "9a0756a9324721f00cb95ca0b605f246b851362e53ed72d4d42a64b3b7a1fe1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a0756a9324721f00cb95ca0b605f246b851362e53ed72d4d42a64b3b7a1fe1d", kill_on_drop: false }` [INFO] [stdout] 9a0756a9324721f00cb95ca0b605f246b851362e53ed72d4d42a64b3b7a1fe1d