[INFO] cloning repository https://github.com/Trivaxy/sculk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Trivaxy/sculk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrivaxy%2Fsculk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrivaxy%2Fsculk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0fcee3fad140c5205b657c58261bdf54c37c7327 [INFO] checking Trivaxy/sculk/0fcee3fad140c5205b657c58261bdf54c37c7327 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrivaxy%2Fsculk" "/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/Trivaxy/sculk 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/Trivaxy/sculk [INFO] finished tweaking git repo https://github.com/Trivaxy/sculk [INFO] tweaked toml for git repo https://github.com/Trivaxy/sculk written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Trivaxy/sculk 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] c2c0fff4eb041b74630f73e9c0cae71d30d07a792ff713d1347c51fbf107561a [INFO] running `Command { std: "docker" "start" "-a" "c2c0fff4eb041b74630f73e9c0cae71d30d07a792ff713d1347c51fbf107561a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2c0fff4eb041b74630f73e9c0cae71d30d07a792ff713d1347c51fbf107561a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2c0fff4eb041b74630f73e9c0cae71d30d07a792ff713d1347c51fbf107561a", kill_on_drop: false }` [INFO] [stdout] c2c0fff4eb041b74630f73e9c0cae71d30d07a792ff713d1347c51fbf107561a [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] ecaa712a2f65a198a663e6c63fb5ee444939f24e97d6caee2a5f7353e2d7e111 [INFO] running `Command { std: "docker" "start" "-a" "ecaa712a2f65a198a663e6c63fb5ee444939f24e97d6caee2a5f7353e2d7e111", 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.76 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking intset v1.0.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking ariadne v0.3.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking by_address v1.1.0 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking argh_shared v0.1.12 [INFO] [stderr] Compiling argh_derive v0.1.12 [INFO] [stderr] Checking dpc v0.2.5 [INFO] [stderr] Checking argh v0.1.12 [INFO] [stderr] Checking sculk 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 `sculk` [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:230:14 [INFO] [stdout] | [INFO] [stdout] 230 | ($parser:expr, $err:expr, $($token: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] = 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] 230 | ($parser:expr_2021, $err:expr, $($token:pat),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [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:11:23 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone, Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/parser.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] | [INFO] [stderr] = help: consider importing this enum instead: [INFO] [stderr] dpc::parse::lex::Token [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/lexer.rs:156:22 [INFO] [stderr] | [INFO] [stderr] 156 | lexer: Lexer<'a, Token<'a>>, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum [INFO] [stderr] | [INFO] [stderr] 1 + use dpc::parse::lex::Token; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/lexer.rs:157:21 [INFO] [stderr] | [INFO] [stderr] 157 | current: Option>, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum [INFO] [stderr] | [INFO] [stderr] 1 + use dpc::parse::lex::Token; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/lexer.rs:158:18 [INFO] [stderr] | [INFO] [stderr] 158 | next: Option>, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum [INFO] [stderr] | [INFO] [stderr] 1 + use dpc::parse::lex::Token; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stderr] --> src/lexer.rs:167:25 [INFO] [stderr] | [INFO] [stderr] 167 | let mut lexer = Token::lexer(src); [INFO] [stderr] | ^^^^^ use of undeclared type `Token` [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum [INFO] [stderr] | [INFO] [stderr] 1 + use dpc::parse::lex::Token; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/lexer.rs:182:39 [INFO] [stderr] | [INFO] [stderr] 182 | pub fn next(&mut self) -> Option<&Token> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum [INFO] [stderr] | [INFO] [stderr] 1 + use dpc::parse::lex::Token; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/lexer.rs:194:39 [INFO] [stderr] | [INFO] [stderr] 194 | pub fn peek(&mut self) -> Option<&Token> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum [INFO] [stderr] | [INFO] [stderr] 1 + use dpc::parse::lex::Token; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/lexer.rs:198:42 [INFO] [stderr] | [INFO] [stderr] 198 | pub fn current(&mut self) -> Option<&Token> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum [INFO] [stderr] | [INFO] [stderr] 1 + use dpc::parse::lex::Token; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [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/parser.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | ($parser:expr, $err:expr, $($token: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] 230 | ($parser:expr, $err:expr_2021, $($token: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:241:14 [INFO] [stdout] | [INFO] [stdout] 241 | ($parser:expr, $token:pat, $err: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] 241 | ($parser:expr_2021, $token:pat, $err: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:241:37 [INFO] [stdout] | [INFO] [stdout] 241 | ($parser:expr, $token:pat, $err: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] 241 | ($parser:expr, $token:pat, $err: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/backend/type_pool.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | if let SculkType::Struct(ref mut def) = ty { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [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/backend/type_pool.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | if let SculkType::Struct(def) = &self.types[i] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | 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/backend/type_pool.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | } [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] 78 ~ match &self.types[i] { SculkType::Struct(def) => { [INFO] [stdout] 79 | let mut offset = 0; [INFO] [stdout] ... [INFO] [stdout] 87 | offsets_by_index.push((i, offsets)); [INFO] [stdout] 88 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/backend/type_pool.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | if let SculkType::Struct(def) = &mut self.types[i] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | 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/backend/type_pool.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 92 ~ match &mut self.types[i] { SculkType::Struct(def) => { [INFO] [stdout] 93 | def.field_offsets = offsets; [INFO] [stdout] 94 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, &'s str, lexer::Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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] 11 | #[derive(Clone, Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, &'s str, lexer::Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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] 11 | #[derive(Clone, Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, char, lexer::Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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] 11 | #[derive(Clone, Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, bool, lexer::Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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] 11 | #[derive(Clone, Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i32, lexer::Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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] 11 | #[derive(Clone, Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, bool, lexer::Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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] 11 | #[derive(Clone, Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, (), lexer::Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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] 11 | #[derive(Clone, Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `sculk` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [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:11:23 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone, Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/parser.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] | [INFO] [stderr] = help: consider importing this enum instead: [INFO] [stderr] dpc::parse::lex::Token [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/lexer.rs:156:22 [INFO] [stderr] | [INFO] [stderr] 156 | lexer: Lexer<'a, Token<'a>>, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum [INFO] [stderr] | [INFO] [stderr] 1 + use dpc::parse::lex::Token; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/lexer.rs:157:21 [INFO] [stderr] | [INFO] [stderr] 157 | current: Option>, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum [INFO] [stderr] | [INFO] [stderr] 1 + use dpc::parse::lex::Token; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/lexer.rs:158:18 [INFO] [stderr] | [INFO] [stderr] 158 | next: Option>, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum [INFO] [stderr] | [INFO] [stderr] 1 + use dpc::parse::lex::Token; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stderr] --> src/lexer.rs:167:25 [INFO] [stderr] | [INFO] [stderr] 167 | let mut lexer = Token::lexer(src); [INFO] [stderr] | ^^^^^ use of undeclared type `Token` [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum [INFO] [stderr] | [INFO] [stderr] 1 + use dpc::parse::lex::Token; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/lexer.rs:182:39 [INFO] [stderr] | [INFO] [stderr] 182 | pub fn next(&mut self) -> Option<&Token> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum [INFO] [stderr] | [INFO] [stderr] 1 + use dpc::parse::lex::Token; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/lexer.rs:194:39 [INFO] [stderr] | [INFO] [stderr] 194 | pub fn peek(&mut self) -> Option<&Token> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum [INFO] [stderr] | [INFO] [stderr] 1 + use dpc::parse::lex::Token; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/lexer.rs:198:42 [INFO] [stderr] | [INFO] [stderr] 198 | pub fn current(&mut self) -> Option<&Token> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this enum [INFO] [stderr] | [INFO] [stderr] 1 + use dpc::parse::lex::Token; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [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/parser.rs:230:14 [INFO] [stdout] | [INFO] [stdout] 230 | ($parser:expr, $err:expr, $($token: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] = 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] 230 | ($parser:expr_2021, $err:expr, $($token: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:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | ($parser:expr, $err:expr, $($token: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] 230 | ($parser:expr, $err:expr_2021, $($token: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:241:14 [INFO] [stdout] | [INFO] [stdout] 241 | ($parser:expr, $token:pat, $err: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] 241 | ($parser:expr_2021, $token:pat, $err: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:241:37 [INFO] [stdout] | [INFO] [stdout] 241 | ($parser:expr, $token:pat, $err: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] 241 | ($parser:expr, $token:pat, $err: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/backend/type_pool.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | if let SculkType::Struct(ref mut def) = ty { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [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/backend/type_pool.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | if let SculkType::Struct(def) = &self.types[i] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | 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/backend/type_pool.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | } [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] 78 ~ match &self.types[i] { SculkType::Struct(def) => { [INFO] [stdout] 79 | let mut offset = 0; [INFO] [stdout] ... [INFO] [stdout] 87 | offsets_by_index.push((i, offsets)); [INFO] [stdout] 88 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/backend/type_pool.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | if let SculkType::Struct(def) = &mut self.types[i] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | 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/backend/type_pool.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 92 ~ match &mut self.types[i] { SculkType::Struct(def) => { [INFO] [stdout] 93 | def.field_offsets = offsets; [INFO] [stdout] 94 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, &'s str, lexer::Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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] 11 | #[derive(Clone, Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, &'s str, lexer::Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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] 11 | #[derive(Clone, Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.40s [INFO] [stdout] warning: `impl CallbackResult<'s, char, lexer::Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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] 11 | #[derive(Clone, Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, bool, lexer::Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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] 11 | #[derive(Clone, Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i32, lexer::Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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] 11 | #[derive(Clone, Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, bool, lexer::Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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] 11 | #[derive(Clone, Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, (), lexer::Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Logos, Debug, PartialEq)] [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] 11 | #[derive(Clone, Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking sculk v0.1.0 (/tmp/fixit) [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/backend/type_pool.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | if let SculkType::Struct(ref mut def) = ty { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/backend/type_pool.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | if let SculkType::Struct(ref mut def) = ty { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sculk` (bin "sculk" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sculk` (bin "sculk") 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" "ecaa712a2f65a198a663e6c63fb5ee444939f24e97d6caee2a5f7353e2d7e111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecaa712a2f65a198a663e6c63fb5ee444939f24e97d6caee2a5f7353e2d7e111", kill_on_drop: false }` [INFO] [stdout] ecaa712a2f65a198a663e6c63fb5ee444939f24e97d6caee2a5f7353e2d7e111