[INFO] cloning repository https://github.com/Kingalidj/Chronos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kingalidj/Chronos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingalidj%2FChronos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingalidj%2FChronos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e7f5971e2ca495b38b0dd1f5b0b4b940d4da575 [INFO] checking Kingalidj/Chronos/2e7f5971e2ca495b38b0dd1f5b0b4b940d4da575 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKingalidj%2FChronos" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kingalidj/Chronos 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/Kingalidj/Chronos [INFO] finished tweaking git repo https://github.com/Kingalidj/Chronos [INFO] tweaked toml for git repo https://github.com/Kingalidj/Chronos written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Kingalidj/Chronos 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fea19f411e3a549d2ecc599bbf719c79e1e8f1b6860b3136a316de87cf3e3e8 [INFO] running `Command { std: "docker" "start" "-a" "2fea19f411e3a549d2ecc599bbf719c79e1e8f1b6860b3136a316de87cf3e3e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fea19f411e3a549d2ecc599bbf719c79e1e8f1b6860b3136a316de87cf3e3e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fea19f411e3a549d2ecc599bbf719c79e1e8f1b6860b3136a316de87cf3e3e8", kill_on_drop: false }` [INFO] [stdout] 2fea19f411e3a549d2ecc599bbf719c79e1e8f1b6860b3136a316de87cf3e3e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7395b79b129b26e29f412be8aed79ae7302bfec7c11ce80886f584a1d506f402 [INFO] running `Command { std: "docker" "start" "-a" "7395b79b129b26e29f412be8aed79ae7302bfec7c11ce80886f584a1d506f402", 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.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking chronos v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `chronos` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/interpreter.rs [INFO] [stderr] * src/lexer.rs [INFO] [stderr] * src/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/lexer.rs:111:16 [INFO] [stderr] | [INFO] [stderr] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::TokenType` [INFO] [stderr] --> src/interpreter.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 4 | lexer::{Range, TokenType}, [INFO] [stderr] | ^^^^^^^^^ no `TokenType` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `TokenType` [INFO] [stderr] --> src/lexer.rs:378:9 [INFO] [stderr] | [INFO] [stderr] 378 | use TokenType::*; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `TokenType` [INFO] [stderr] --> src/lexer.rs:384:9 [INFO] [stderr] | [INFO] [stderr] 384 | use TokenType::*; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::TokenType` [INFO] [stderr] --> src/parser.rs:3:27 [INFO] [stderr] | [INFO] [stderr] 3 | lexer::{Range, Token, TokenType}, [INFO] [stderr] | ^^^^^^^^^ no `TokenType` in `lexer` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 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/lexer.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | ($self:ident, $default:expr, $n:expr,) => {$default}; [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] 20 | ($self:ident, $default:expr_2021, $n:expr,) => {$default}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lexer.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | ($self:ident, $default:expr, $n:expr,) => {$default}; [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] 20 | ($self:ident, $default:expr, $n:expr_2021,) => {$default}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lexer.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | ($self:ident, $default:expr, $n:expr, [$($x1:pat),*] $([$($x2: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] 22 | ($self:ident, $default:expr_2021, $n:expr, [$($x1:pat),*] $([$($x2: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/lexer.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | ($self:ident, $default:expr, $n:expr, [$($x1:pat),*] $([$($x2: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] 22 | ($self:ident, $default:expr, $n:expr_2021, [$($x1:pat),*] $([$($x2: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/lexer.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | ($name:tt -> $typ:ty, $default:expr, $([$($x: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] 35 | ($name:tt -> $typ:ty, $default:expr_2021, $([$($x: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/lexer.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | ($name: tt -> $typ:ty, $default: expr, $([$val:expr; $($x2: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] 46 | ($name: tt -> $typ:ty, $default: expr_2021, $([$val:expr; $($x2: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/lexer.rs:46:52 [INFO] [stdout] | [INFO] [stdout] 46 | ($name: tt -> $typ:ty, $default: expr, $([$val:expr; $($x2: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] 46 | ($name: tt -> $typ:ty, $default: expr, $([$val:expr_2021; $($x2: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/parser.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | ($e: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] 10 | ($e: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/parser.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ($e: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] 19 | ($e: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/parser.rs:105:11 [INFO] [stdout] | [INFO] [stdout] 105 | ($tok:expr, $panic:expr, $($lhs:pat => $rhs: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] 105 | ($tok:expr_2021, $panic:expr, $($lhs:pat => $rhs: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/parser.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | ($tok:expr, $panic:expr, $($lhs:pat => $rhs: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] 105 | ($tok:expr, $panic:expr_2021, $($lhs:pat => $rhs: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/parser.rs:105:49 [INFO] [stdout] | [INFO] [stdout] 105 | ($tok:expr, $panic:expr, $($lhs:pat => $rhs: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] 105 | ($tok:expr, $panic:expr, $($lhs:pat => $rhs: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/primitive.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | ($lhs:expr; $op:tt $rhs:expr; $op_fn:ident) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 113 | ($lhs:expr_2021; $op:tt $rhs:expr; $op_fn:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/primitive.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | ($lhs:expr; $op:tt $rhs:expr; $op_fn:ident) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 113 | ($lhs:expr; $op:tt $rhs:expr_2021; $op_fn:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/primitive.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | ($lhs:expr; $op:tt $rhs:expr; => $rest: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] 139 | ($lhs:expr_2021; $op:tt $rhs:expr; => $rest: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/primitive.rs:139:29 [INFO] [stdout] | [INFO] [stdout] 139 | ($lhs:expr; $op:tt $rhs:expr; => $rest: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] 139 | ($lhs:expr; $op:tt $rhs:expr_2021; => $rest: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/primitive.rs:139:44 [INFO] [stdout] | [INFO] [stdout] 139 | ($lhs:expr; $op:tt $rhs:expr; => $rest: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] 139 | ($lhs:expr; $op:tt $rhs:expr; => $rest:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/primitive.rs:420:16 [INFO] [stdout] | [INFO] [stdout] 420 | if let String(ref s1) = self { [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: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | env::set_var("RUST_BACKTRACE", "1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [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 #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 40 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 41 ~ unsafe { env::set_var("RUST_BACKTRACE", "1") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interpreter.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | let val = if let Some(v) = scope.borrow().find_key(&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/interpreter.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | } 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] 183 ~ let val = match scope.borrow().find_key(&name) { Some(v) => { [INFO] [stdout] 184 | v.borrow().clone() [INFO] [stdout] 185 ~ } _ => { [INFO] [stdout] 186 | return Err(RuntimeErr::new( [INFO] [stdout] ... [INFO] [stdout] 189 | )); [INFO] [stdout] 190 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interpreter.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 241 | if let Some(v) = scope.borrow().find_key(&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/interpreter.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 241 ~ match scope.borrow().find_key(&name) { Some(v) => { [INFO] [stdout] 242 | Ok(ChValue::from(Primitive::Ref(v))) [INFO] [stdout] 243 ~ } _ => { [INFO] [stdout] 244 | Err(RuntimeErr::new( [INFO] [stdout] ... [INFO] [stdout] 247 | )) [INFO] [stdout] 248 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lexer.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | if let Ok(res) = num.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | 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/lexer.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 103 ~ match num.parse() { Ok(res) => { [INFO] [stdout] 104 | return Some(res); [INFO] [stdout] 105 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i32, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i32, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, f32, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, f32, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, f64, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, f32, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i64, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, isize, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i16, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i128, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i8, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i32, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, u8, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, u32, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, u64, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, u128, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, u16, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, usize, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `chronos` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/interpreter.rs [INFO] [stderr] * src/lexer.rs [INFO] [stderr] * src/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/lexer.rs:111:16 [INFO] [stderr] | [INFO] [stderr] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::TokenType` [INFO] [stderr] --> src/interpreter.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 4 | lexer::{Range, TokenType}, [INFO] [stderr] | ^^^^^^^^^ no `TokenType` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `TokenType` [INFO] [stderr] --> src/lexer.rs:378:9 [INFO] [stderr] | [INFO] [stderr] 378 | use TokenType::*; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `TokenType` [INFO] [stderr] --> src/lexer.rs:384:9 [INFO] [stderr] | [INFO] [stderr] 384 | use TokenType::*; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::TokenType` [INFO] [stderr] --> src/parser.rs:3:27 [INFO] [stderr] | [INFO] [stderr] 3 | lexer::{Range, Token, TokenType}, [INFO] [stderr] | ^^^^^^^^^ no `TokenType` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `TokenType` [INFO] [stderr] --> src/lexer.rs:444:9 [INFO] [stderr] | [INFO] [stderr] 444 | use TokenType::*; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 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/lexer.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | ($self:ident, $default:expr, $n:expr,) => {$default}; [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] 20 | ($self:ident, $default:expr_2021, $n:expr,) => {$default}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lexer.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | ($self:ident, $default:expr, $n:expr,) => {$default}; [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] 20 | ($self:ident, $default:expr, $n:expr_2021,) => {$default}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lexer.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | ($self:ident, $default:expr, $n:expr, [$($x1:pat),*] $([$($x2: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] 22 | ($self:ident, $default:expr_2021, $n:expr, [$($x1:pat),*] $([$($x2: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/lexer.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | ($self:ident, $default:expr, $n:expr, [$($x1:pat),*] $([$($x2: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] 22 | ($self:ident, $default:expr, $n:expr_2021, [$($x1:pat),*] $([$($x2: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/lexer.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | ($name:tt -> $typ:ty, $default:expr, $([$($x: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] 35 | ($name:tt -> $typ:ty, $default:expr_2021, $([$($x: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/lexer.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | ($name: tt -> $typ:ty, $default: expr, $([$val:expr; $($x2: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] 46 | ($name: tt -> $typ:ty, $default: expr_2021, $([$val:expr; $($x2: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/lexer.rs:46:52 [INFO] [stdout] | [INFO] [stdout] 46 | ($name: tt -> $typ:ty, $default: expr, $([$val:expr; $($x2: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] 46 | ($name: tt -> $typ:ty, $default: expr, $([$val:expr_2021; $($x2: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/parser.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | ($e: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] 10 | ($e: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/parser.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ($e: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] 19 | ($e: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/parser.rs:105:11 [INFO] [stdout] | [INFO] [stdout] 105 | ($tok:expr, $panic:expr, $($lhs:pat => $rhs: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] 105 | ($tok:expr_2021, $panic:expr, $($lhs:pat => $rhs: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/parser.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | ($tok:expr, $panic:expr, $($lhs:pat => $rhs: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] 105 | ($tok:expr, $panic:expr_2021, $($lhs:pat => $rhs: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/parser.rs:105:49 [INFO] [stdout] | [INFO] [stdout] 105 | ($tok:expr, $panic:expr, $($lhs:pat => $rhs: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] 105 | ($tok:expr, $panic:expr, $($lhs:pat => $rhs: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/primitive.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | ($lhs:expr; $op:tt $rhs:expr; $op_fn:ident) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 113 | ($lhs:expr_2021; $op:tt $rhs:expr; $op_fn:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/primitive.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | ($lhs:expr; $op:tt $rhs:expr; $op_fn:ident) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 113 | ($lhs:expr; $op:tt $rhs:expr_2021; $op_fn:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/primitive.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | ($lhs:expr; $op:tt $rhs:expr; => $rest: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] 139 | ($lhs:expr_2021; $op:tt $rhs:expr; => $rest: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/primitive.rs:139:29 [INFO] [stdout] | [INFO] [stdout] 139 | ($lhs:expr; $op:tt $rhs:expr; => $rest: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] 139 | ($lhs:expr; $op:tt $rhs:expr_2021; => $rest: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/primitive.rs:139:44 [INFO] [stdout] | [INFO] [stdout] 139 | ($lhs:expr; $op:tt $rhs:expr; => $rest: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] 139 | ($lhs:expr; $op:tt $rhs:expr; => $rest:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/primitive.rs:420:16 [INFO] [stdout] | [INFO] [stdout] 420 | if let String(ref s1) = self { [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: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | env::set_var("RUST_BACKTRACE", "1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [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 #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 40 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 41 ~ unsafe { env::set_var("RUST_BACKTRACE", "1") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interpreter.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | let val = if let Some(v) = scope.borrow().find_key(&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/interpreter.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | } 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] 183 ~ let val = match scope.borrow().find_key(&name) { Some(v) => { [INFO] [stdout] 184 | v.borrow().clone() [INFO] [stdout] 185 ~ } _ => { [INFO] [stdout] 186 | return Err(RuntimeErr::new( [INFO] [stdout] ... [INFO] [stdout] 189 | )); [INFO] [stdout] 190 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interpreter.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 241 | if let Some(v) = scope.borrow().find_key(&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/interpreter.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 241 ~ match scope.borrow().find_key(&name) { Some(v) => { [INFO] [stdout] 242 | Ok(ChValue::from(Primitive::Ref(v))) [INFO] [stdout] 243 ~ } _ => { [INFO] [stdout] 244 | Err(RuntimeErr::new( [INFO] [stdout] ... [INFO] [stdout] 247 | )) [INFO] [stdout] 248 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lexer.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | if let Ok(res) = num.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | 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/lexer.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 103 ~ match num.parse() { Ok(res) => { [INFO] [stdout] 104 | return Some(res); [INFO] [stdout] 105 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i32, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i32, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, f32, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, f32, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, f64, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, f32, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i64, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, isize, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i16, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i128, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i8, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i32, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, u8, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, u32, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, u64, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, u128, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, u16, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, usize, TokenType>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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/lexer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos, Debug, PartialEq, Clone)] [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(Logos + use<'s>, Debug, PartialEq, Clone)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.32s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking chronos v0.1.0 (/tmp/fixit) [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/primitive.rs:420:16 [INFO] [stdout] | [INFO] [stdout] 420 | if let String(ref s1) = self { [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | env::set_var("RUST_BACKTRACE", "1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/primitive.rs:420:16 [INFO] [stdout] | [INFO] [stdout] 420 | if let String(ref s1) = self { [INFO] [stdout] | -^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chronos` (bin "chronos") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | env::set_var("RUST_BACKTRACE", "1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chronos` (bin "chronos" test) due to 2 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "7395b79b129b26e29f412be8aed79ae7302bfec7c11ce80886f584a1d506f402", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7395b79b129b26e29f412be8aed79ae7302bfec7c11ce80886f584a1d506f402", kill_on_drop: false }` [INFO] [stdout] 7395b79b129b26e29f412be8aed79ae7302bfec7c11ce80886f584a1d506f402